diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+BSD 3-Clause License
+
+Copyright (c) 2023-2025, Ian Duncan & Mercury Technologies
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+   contributors may be used to endorse or promote products derived from
+   this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/src/Proto/Dependencies/Gogoproto/Gogo.hs b/src/Proto/Dependencies/Gogoproto/Gogo.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Dependencies/Gogoproto/Gogo.hs
@@ -0,0 +1,33 @@
+{- This file was auto-generated from dependencies/gogoproto/gogo.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Dependencies.Gogoproto.Gogo (
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Descriptor
diff --git a/src/Proto/Dependencies/Gogoproto/Gogo_Fields.hs b/src/Proto/Dependencies/Gogoproto/Gogo_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Dependencies/Gogoproto/Gogo_Fields.hs
@@ -0,0 +1,30 @@
+{- This file was auto-generated from dependencies/gogoproto/gogo.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Dependencies.Gogoproto.Gogo_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Descriptor
diff --git a/src/Proto/Google/Api/Annotations.hs b/src/Proto/Google/Api/Annotations.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Google/Api/Annotations.hs
@@ -0,0 +1,34 @@
+{- This file was auto-generated from google/api/annotations.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Google.Api.Annotations (
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Api.Http
+import qualified Proto.Google.Protobuf.Descriptor
diff --git a/src/Proto/Google/Api/Annotations_Fields.hs b/src/Proto/Google/Api/Annotations_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Google/Api/Annotations_Fields.hs
@@ -0,0 +1,31 @@
+{- This file was auto-generated from google/api/annotations.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Google.Api.Annotations_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Api.Http
+import qualified Proto.Google.Protobuf.Descriptor
diff --git a/src/Proto/Google/Api/Http.hs b/src/Proto/Google/Api/Http.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Google/Api/Http.hs
@@ -0,0 +1,1591 @@
+{- This file was auto-generated from google/api/http.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Google.Api.Http (
+        CustomHttpPattern(), Http(), HttpRule(), HttpRule'Pattern(..),
+        _HttpRule'Get, _HttpRule'Put, _HttpRule'Post, _HttpRule'Delete,
+        _HttpRule'Patch, _HttpRule'Custom
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+{- | Fields :
+     
+         * 'Proto.Google.Api.Http_Fields.kind' @:: Lens' CustomHttpPattern Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.path' @:: Lens' CustomHttpPattern Data.Text.Text@ -}
+data CustomHttpPattern
+  = CustomHttpPattern'_constructor {_CustomHttpPattern'kind :: !Data.Text.Text,
+                                    _CustomHttpPattern'path :: !Data.Text.Text,
+                                    _CustomHttpPattern'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CustomHttpPattern where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CustomHttpPattern "kind" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CustomHttpPattern'kind
+           (\ x__ y__ -> x__ {_CustomHttpPattern'kind = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CustomHttpPattern "path" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CustomHttpPattern'path
+           (\ x__ y__ -> x__ {_CustomHttpPattern'path = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CustomHttpPattern where
+  messageName _ = Data.Text.pack "google.api.CustomHttpPattern"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1CustomHttpPattern\DC2\DC2\n\
+      \\EOTkind\CAN\SOH \SOH(\tR\EOTkind\DC2\DC2\n\
+      \\EOTpath\CAN\STX \SOH(\tR\EOTpath"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        kind__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "kind"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"kind")) ::
+              Data.ProtoLens.FieldDescriptor CustomHttpPattern
+        path__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "path"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"path")) ::
+              Data.ProtoLens.FieldDescriptor CustomHttpPattern
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, kind__field_descriptor),
+           (Data.ProtoLens.Tag 2, path__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CustomHttpPattern'_unknownFields
+        (\ x__ y__ -> x__ {_CustomHttpPattern'_unknownFields = y__})
+  defMessage
+    = CustomHttpPattern'_constructor
+        {_CustomHttpPattern'kind = Data.ProtoLens.fieldDefault,
+         _CustomHttpPattern'path = Data.ProtoLens.fieldDefault,
+         _CustomHttpPattern'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CustomHttpPattern
+          -> Data.ProtoLens.Encoding.Bytes.Parser CustomHttpPattern
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "kind"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"kind") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "path"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"path") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CustomHttpPattern"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"kind") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"path") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData CustomHttpPattern where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CustomHttpPattern'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CustomHttpPattern'kind x__)
+                (Control.DeepSeq.deepseq (_CustomHttpPattern'path x__) ()))
+{- | Fields :
+     
+         * 'Proto.Google.Api.Http_Fields.rules' @:: Lens' Http [HttpRule]@
+         * 'Proto.Google.Api.Http_Fields.vec'rules' @:: Lens' Http (Data.Vector.Vector HttpRule)@
+         * 'Proto.Google.Api.Http_Fields.fullyDecodeReservedExpansion' @:: Lens' Http Prelude.Bool@ -}
+data Http
+  = Http'_constructor {_Http'rules :: !(Data.Vector.Vector HttpRule),
+                       _Http'fullyDecodeReservedExpansion :: !Prelude.Bool,
+                       _Http'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Http where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Http "rules" [HttpRule] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Http'rules (\ x__ y__ -> x__ {_Http'rules = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Http "vec'rules" (Data.Vector.Vector HttpRule) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Http'rules (\ x__ y__ -> x__ {_Http'rules = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Http "fullyDecodeReservedExpansion" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Http'fullyDecodeReservedExpansion
+           (\ x__ y__ -> x__ {_Http'fullyDecodeReservedExpansion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Http where
+  messageName _ = Data.Text.pack "google.api.Http"
+  packedMessageDescriptor _
+    = "\n\
+      \\EOTHttp\DC2*\n\
+      \\ENQrules\CAN\SOH \ETX(\v2\DC4.google.api.HttpRuleR\ENQrules\DC2E\n\
+      \\USfully_decode_reserved_expansion\CAN\STX \SOH(\bR\FSfullyDecodeReservedExpansion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        rules__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rules"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor HttpRule)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"rules")) ::
+              Data.ProtoLens.FieldDescriptor Http
+        fullyDecodeReservedExpansion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fully_decode_reserved_expansion"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"fullyDecodeReservedExpansion")) ::
+              Data.ProtoLens.FieldDescriptor Http
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, rules__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            fullyDecodeReservedExpansion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Http'_unknownFields
+        (\ x__ y__ -> x__ {_Http'_unknownFields = y__})
+  defMessage
+    = Http'_constructor
+        {_Http'rules = Data.Vector.Generic.empty,
+         _Http'fullyDecodeReservedExpansion = Data.ProtoLens.fieldDefault,
+         _Http'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Http
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld HttpRule
+             -> Data.ProtoLens.Encoding.Bytes.Parser Http
+        loop x mutable'rules
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'rules <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'rules)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'rules") frozen'rules x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "rules"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'rules y)
+                                loop x v
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "fully_decode_reserved_expansion"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"fullyDecodeReservedExpansion") y
+                                     x)
+                                  mutable'rules
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'rules
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'rules <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'rules)
+          "Http"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'rules") _x))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"fullyDecodeReservedExpansion") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Http where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Http'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Http'rules x__)
+                (Control.DeepSeq.deepseq
+                   (_Http'fullyDecodeReservedExpansion x__) ()))
+{- | Fields :
+     
+         * 'Proto.Google.Api.Http_Fields.selector' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.body' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.responseBody' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.additionalBindings' @:: Lens' HttpRule [HttpRule]@
+         * 'Proto.Google.Api.Http_Fields.vec'additionalBindings' @:: Lens' HttpRule (Data.Vector.Vector HttpRule)@
+         * 'Proto.Google.Api.Http_Fields.maybe'pattern'' @:: Lens' HttpRule (Prelude.Maybe HttpRule'Pattern)@
+         * 'Proto.Google.Api.Http_Fields.maybe'get' @:: Lens' HttpRule (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Google.Api.Http_Fields.get' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.maybe'put' @:: Lens' HttpRule (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Google.Api.Http_Fields.put' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.maybe'post' @:: Lens' HttpRule (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Google.Api.Http_Fields.post' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.maybe'delete' @:: Lens' HttpRule (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Google.Api.Http_Fields.delete' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.maybe'patch' @:: Lens' HttpRule (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Google.Api.Http_Fields.patch' @:: Lens' HttpRule Data.Text.Text@
+         * 'Proto.Google.Api.Http_Fields.maybe'custom' @:: Lens' HttpRule (Prelude.Maybe CustomHttpPattern)@
+         * 'Proto.Google.Api.Http_Fields.custom' @:: Lens' HttpRule CustomHttpPattern@ -}
+data HttpRule
+  = HttpRule'_constructor {_HttpRule'selector :: !Data.Text.Text,
+                           _HttpRule'body :: !Data.Text.Text,
+                           _HttpRule'responseBody :: !Data.Text.Text,
+                           _HttpRule'additionalBindings :: !(Data.Vector.Vector HttpRule),
+                           _HttpRule'pattern' :: !(Prelude.Maybe HttpRule'Pattern),
+                           _HttpRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show HttpRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data HttpRule'Pattern
+  = HttpRule'Get !Data.Text.Text |
+    HttpRule'Put !Data.Text.Text |
+    HttpRule'Post !Data.Text.Text |
+    HttpRule'Delete !Data.Text.Text |
+    HttpRule'Patch !Data.Text.Text |
+    HttpRule'Custom !CustomHttpPattern
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField HttpRule "selector" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'selector (\ x__ y__ -> x__ {_HttpRule'selector = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HttpRule "body" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'body (\ x__ y__ -> x__ {_HttpRule'body = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HttpRule "responseBody" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'responseBody
+           (\ x__ y__ -> x__ {_HttpRule'responseBody = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HttpRule "additionalBindings" [HttpRule] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'additionalBindings
+           (\ x__ y__ -> x__ {_HttpRule'additionalBindings = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField HttpRule "vec'additionalBindings" (Data.Vector.Vector HttpRule) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'additionalBindings
+           (\ x__ y__ -> x__ {_HttpRule'additionalBindings = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'pattern'" (Prelude.Maybe HttpRule'Pattern) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'get" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HttpRule'Get x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap HttpRule'Get y__))
+instance Data.ProtoLens.Field.HasField HttpRule "get" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HttpRule'Get x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap HttpRule'Get y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'put" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HttpRule'Put x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap HttpRule'Put y__))
+instance Data.ProtoLens.Field.HasField HttpRule "put" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HttpRule'Put x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap HttpRule'Put y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'post" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HttpRule'Post x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap HttpRule'Post y__))
+instance Data.ProtoLens.Field.HasField HttpRule "post" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HttpRule'Post x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap HttpRule'Post y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'delete" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HttpRule'Delete x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap HttpRule'Delete y__))
+instance Data.ProtoLens.Field.HasField HttpRule "delete" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HttpRule'Delete x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap HttpRule'Delete y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'patch" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HttpRule'Patch x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap HttpRule'Patch y__))
+instance Data.ProtoLens.Field.HasField HttpRule "patch" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HttpRule'Patch x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap HttpRule'Patch y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField HttpRule "maybe'custom" (Prelude.Maybe CustomHttpPattern) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HttpRule'Custom x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap HttpRule'Custom y__))
+instance Data.ProtoLens.Field.HasField HttpRule "custom" CustomHttpPattern where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HttpRule'pattern' (\ x__ y__ -> x__ {_HttpRule'pattern' = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HttpRule'Custom x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap HttpRule'Custom y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message HttpRule where
+  messageName _ = Data.Text.pack "google.api.HttpRule"
+  packedMessageDescriptor _
+    = "\n\
+      \\bHttpRule\DC2\SUB\n\
+      \\bselector\CAN\SOH \SOH(\tR\bselector\DC2\DC2\n\
+      \\ETXget\CAN\STX \SOH(\tH\NULR\ETXget\DC2\DC2\n\
+      \\ETXput\CAN\ETX \SOH(\tH\NULR\ETXput\DC2\DC4\n\
+      \\EOTpost\CAN\EOT \SOH(\tH\NULR\EOTpost\DC2\CAN\n\
+      \\ACKdelete\CAN\ENQ \SOH(\tH\NULR\ACKdelete\DC2\SYN\n\
+      \\ENQpatch\CAN\ACK \SOH(\tH\NULR\ENQpatch\DC27\n\
+      \\ACKcustom\CAN\b \SOH(\v2\GS.google.api.CustomHttpPatternH\NULR\ACKcustom\DC2\DC2\n\
+      \\EOTbody\CAN\a \SOH(\tR\EOTbody\DC2#\n\
+      \\rresponse_body\CAN\f \SOH(\tR\fresponseBody\DC2E\n\
+      \\DC3additional_bindings\CAN\v \ETX(\v2\DC4.google.api.HttpRuleR\DC2additionalBindingsB\t\n\
+      \\apattern"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        selector__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "selector"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"selector")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        body__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "body"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"body")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        responseBody__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "response_body"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"responseBody")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        additionalBindings__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "additional_bindings"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor HttpRule)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"additionalBindings")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        get__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "get"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'get")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        put__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "put"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'put")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        post__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "post"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'post")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        delete__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "delete"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'delete")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        patch__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "patch"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'patch")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+        custom__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "custom"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CustomHttpPattern)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'custom")) ::
+              Data.ProtoLens.FieldDescriptor HttpRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, selector__field_descriptor),
+           (Data.ProtoLens.Tag 7, body__field_descriptor),
+           (Data.ProtoLens.Tag 12, responseBody__field_descriptor),
+           (Data.ProtoLens.Tag 11, additionalBindings__field_descriptor),
+           (Data.ProtoLens.Tag 2, get__field_descriptor),
+           (Data.ProtoLens.Tag 3, put__field_descriptor),
+           (Data.ProtoLens.Tag 4, post__field_descriptor),
+           (Data.ProtoLens.Tag 5, delete__field_descriptor),
+           (Data.ProtoLens.Tag 6, patch__field_descriptor),
+           (Data.ProtoLens.Tag 8, custom__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _HttpRule'_unknownFields
+        (\ x__ y__ -> x__ {_HttpRule'_unknownFields = y__})
+  defMessage
+    = HttpRule'_constructor
+        {_HttpRule'selector = Data.ProtoLens.fieldDefault,
+         _HttpRule'body = Data.ProtoLens.fieldDefault,
+         _HttpRule'responseBody = Data.ProtoLens.fieldDefault,
+         _HttpRule'additionalBindings = Data.Vector.Generic.empty,
+         _HttpRule'pattern' = Prelude.Nothing,
+         _HttpRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          HttpRule
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld HttpRule
+             -> Data.ProtoLens.Encoding.Bytes.Parser HttpRule
+        loop x mutable'additionalBindings
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'additionalBindings <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                     (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                        mutable'additionalBindings)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'additionalBindings")
+                              frozen'additionalBindings x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "selector"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"selector") y x)
+                                  mutable'additionalBindings
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "body"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"body") y x)
+                                  mutable'additionalBindings
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "response_body"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"responseBody") y x)
+                                  mutable'additionalBindings
+                        90
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "additional_bindings"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'additionalBindings y)
+                                loop x v
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "get"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"get") y x)
+                                  mutable'additionalBindings
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "put"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"put") y x)
+                                  mutable'additionalBindings
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "post"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"post") y x)
+                                  mutable'additionalBindings
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "delete"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"delete") y x)
+                                  mutable'additionalBindings
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "patch"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"patch") y x)
+                                  mutable'additionalBindings
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "custom"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"custom") y x)
+                                  mutable'additionalBindings
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'additionalBindings
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'additionalBindings <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                              Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'additionalBindings)
+          "HttpRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"selector") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"body") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"responseBody") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'additionalBindings") _x))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'pattern'") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just (HttpRule'Get v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v)
+                            (Prelude.Just (HttpRule'Put v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v)
+                            (Prelude.Just (HttpRule'Post v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v)
+                            (Prelude.Just (HttpRule'Delete v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v)
+                            (Prelude.Just (HttpRule'Patch v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v)
+                            (Prelude.Just (HttpRule'Custom v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData HttpRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_HttpRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_HttpRule'selector x__)
+                (Control.DeepSeq.deepseq
+                   (_HttpRule'body x__)
+                   (Control.DeepSeq.deepseq
+                      (_HttpRule'responseBody x__)
+                      (Control.DeepSeq.deepseq
+                         (_HttpRule'additionalBindings x__)
+                         (Control.DeepSeq.deepseq (_HttpRule'pattern' x__) ())))))
+instance Control.DeepSeq.NFData HttpRule'Pattern where
+  rnf (HttpRule'Get x__) = Control.DeepSeq.rnf x__
+  rnf (HttpRule'Put x__) = Control.DeepSeq.rnf x__
+  rnf (HttpRule'Post x__) = Control.DeepSeq.rnf x__
+  rnf (HttpRule'Delete x__) = Control.DeepSeq.rnf x__
+  rnf (HttpRule'Patch x__) = Control.DeepSeq.rnf x__
+  rnf (HttpRule'Custom x__) = Control.DeepSeq.rnf x__
+_HttpRule'Get ::
+  Data.ProtoLens.Prism.Prism' HttpRule'Pattern Data.Text.Text
+_HttpRule'Get
+  = Data.ProtoLens.Prism.prism'
+      HttpRule'Get
+      (\ p__
+         -> case p__ of
+              (HttpRule'Get p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HttpRule'Put ::
+  Data.ProtoLens.Prism.Prism' HttpRule'Pattern Data.Text.Text
+_HttpRule'Put
+  = Data.ProtoLens.Prism.prism'
+      HttpRule'Put
+      (\ p__
+         -> case p__ of
+              (HttpRule'Put p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HttpRule'Post ::
+  Data.ProtoLens.Prism.Prism' HttpRule'Pattern Data.Text.Text
+_HttpRule'Post
+  = Data.ProtoLens.Prism.prism'
+      HttpRule'Post
+      (\ p__
+         -> case p__ of
+              (HttpRule'Post p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HttpRule'Delete ::
+  Data.ProtoLens.Prism.Prism' HttpRule'Pattern Data.Text.Text
+_HttpRule'Delete
+  = Data.ProtoLens.Prism.prism'
+      HttpRule'Delete
+      (\ p__
+         -> case p__ of
+              (HttpRule'Delete p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HttpRule'Patch ::
+  Data.ProtoLens.Prism.Prism' HttpRule'Pattern Data.Text.Text
+_HttpRule'Patch
+  = Data.ProtoLens.Prism.prism'
+      HttpRule'Patch
+      (\ p__
+         -> case p__ of
+              (HttpRule'Patch p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HttpRule'Custom ::
+  Data.ProtoLens.Prism.Prism' HttpRule'Pattern CustomHttpPattern
+_HttpRule'Custom
+  = Data.ProtoLens.Prism.prism'
+      HttpRule'Custom
+      (\ p__
+         -> case p__ of
+              (HttpRule'Custom p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \\NAKgoogle/api/http.proto\DC2\n\
+    \google.api\"y\n\
+    \\EOTHttp\DC2*\n\
+    \\ENQrules\CAN\SOH \ETX(\v2\DC4.google.api.HttpRuleR\ENQrules\DC2E\n\
+    \\USfully_decode_reserved_expansion\CAN\STX \SOH(\bR\FSfullyDecodeReservedExpansion\"\218\STX\n\
+    \\bHttpRule\DC2\SUB\n\
+    \\bselector\CAN\SOH \SOH(\tR\bselector\DC2\DC2\n\
+    \\ETXget\CAN\STX \SOH(\tH\NULR\ETXget\DC2\DC2\n\
+    \\ETXput\CAN\ETX \SOH(\tH\NULR\ETXput\DC2\DC4\n\
+    \\EOTpost\CAN\EOT \SOH(\tH\NULR\EOTpost\DC2\CAN\n\
+    \\ACKdelete\CAN\ENQ \SOH(\tH\NULR\ACKdelete\DC2\SYN\n\
+    \\ENQpatch\CAN\ACK \SOH(\tH\NULR\ENQpatch\DC27\n\
+    \\ACKcustom\CAN\b \SOH(\v2\GS.google.api.CustomHttpPatternH\NULR\ACKcustom\DC2\DC2\n\
+    \\EOTbody\CAN\a \SOH(\tR\EOTbody\DC2#\n\
+    \\rresponse_body\CAN\f \SOH(\tR\fresponseBody\DC2E\n\
+    \\DC3additional_bindings\CAN\v \ETX(\v2\DC4.google.api.HttpRuleR\DC2additionalBindingsB\t\n\
+    \\apattern\";\n\
+    \\DC1CustomHttpPattern\DC2\DC2\n\
+    \\EOTkind\CAN\SOH \SOH(\tR\EOTkind\DC2\DC2\n\
+    \\EOTpath\CAN\STX \SOH(\tR\EOTpathBj\n\
+    \\SOcom.google.apiB\tHttpProtoP\SOHZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\248\SOH\SOH\162\STX\EOTGAPIJ\178s\n\
+    \\a\DC2\ENQ\SO\NUL\250\STX\SOH\n\
+    \\188\EOT\n\
+    \\SOH\f\DC2\ETX\SO\NUL\DC22\177\EOT Copyright 2023 Google LLC\n\
+    \\n\
+    \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\
+    \ you may not use this file except in compliance with the License.\n\
+    \ You may obtain a copy of the License at\n\
+    \\n\
+    \     http://www.apache.org/licenses/LICENSE-2.0\n\
+    \\n\
+    \ Unless required by applicable law or agreed to in writing, software\n\
+    \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\
+    \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
+    \ See the License for the specific language governing permissions and\n\
+    \ limitations under the License.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\DLE\NUL\DC3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\DC2\NUL\US\n\
+    \\t\n\
+    \\STX\b\US\DC2\ETX\DC2\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\DC3\NULX\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\DC3\NULX\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\DC4\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\DC4\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\NAK\NUL*\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\NAK\NUL*\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SYN\NUL'\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\SYN\NUL'\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETB\NUL\"\n\
+    \\t\n\
+    \\STX\b$\DC2\ETX\ETB\NUL\"\n\
+    \\205\SOH\n\
+    \\STX\EOT\NUL\DC2\EOT\FS\NUL)\SOH\SUB\192\SOH Defines the HTTP configuration for an API service. It contains a list of\n\
+    \ [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method\n\
+    \ to one or more HTTP REST API methods.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\FS\b\f\n\
+    \\162\SOH\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX \STX\RS\SUB\148\SOH A list of HTTP configuration rules that apply to individual API methods.\n\
+    \\n\
+    \ **NOTE:** All service configuration rules follow \"last one wins\" order.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX \STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX \v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX \DC4\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX \FS\GS\n\
+    \\148\STX\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX(\STX+\SUB\134\STX When set to true, URL path parameters will be fully URI-decoded except in\n\
+    \ cases of single segment matches in reserved expansion, where \"%2F\" will be\n\
+    \ left encoded.\n\
+    \\n\
+    \ The default behavior is to not decode RFC 6570 reserved characters in multi\n\
+    \ segment matches.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX(\STX\ACK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX(\a&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX()*\n\
+    \\187S\n\
+    \\STX\EOT\SOH\DC2\ACK\187\STX\NUL\241\STX\SOH\SUB\172S # gRPC Transcoding\n\
+    \\n\
+    \ gRPC Transcoding is a feature for mapping between a gRPC method and one or\n\
+    \ more HTTP REST endpoints. It allows developers to build a single API service\n\
+    \ that supports both gRPC APIs and REST APIs. Many systems, including [Google\n\
+    \ APIs](https://github.com/googleapis/googleapis),\n\
+    \ [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC\n\
+    \ Gateway](https://github.com/grpc-ecosystem/grpc-gateway),\n\
+    \ and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature\n\
+    \ and use it for large scale production services.\n\
+    \\n\
+    \ `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies\n\
+    \ how different portions of the gRPC request message are mapped to the URL\n\
+    \ path, URL query parameters, and HTTP request body. It also controls how the\n\
+    \ gRPC response message is mapped to the HTTP response body. `HttpRule` is\n\
+    \ typically specified as an `google.api.http` annotation on the gRPC method.\n\
+    \\n\
+    \ Each mapping specifies a URL path template and an HTTP method. The path\n\
+    \ template may refer to one or more fields in the gRPC request message, as long\n\
+    \ as each field is a non-repeated field with a primitive (non-message) type.\n\
+    \ The path template controls how fields of the request message are mapped to\n\
+    \ the URL path.\n\
+    \\n\
+    \ Example:\n\
+    \\n\
+    \     service Messaging {\n\
+    \       rpc GetMessage(GetMessageRequest) returns (Message) {\n\
+    \         option (google.api.http) = {\n\
+    \             get: \"/v1/{name=messages/*}\"\n\
+    \         };\n\
+    \       }\n\
+    \     }\n\
+    \     message GetMessageRequest {\n\
+    \       string name = 1; // Mapped to URL path.\n\
+    \     }\n\
+    \     message Message {\n\
+    \       string text = 1; // The resource content.\n\
+    \     }\n\
+    \\n\
+    \ This enables an HTTP REST to gRPC mapping as below:\n\
+    \\n\
+    \ HTTP | gRPC\n\
+    \ -----|-----\n\
+    \ `GET /v1/messages/123456`  | `GetMessage(name: \"messages/123456\")`\n\
+    \\n\
+    \ Any fields in the request message which are not bound by the path template\n\
+    \ automatically become HTTP query parameters if there is no HTTP request body.\n\
+    \ For example:\n\
+    \\n\
+    \     service Messaging {\n\
+    \       rpc GetMessage(GetMessageRequest) returns (Message) {\n\
+    \         option (google.api.http) = {\n\
+    \             get:\"/v1/messages/{message_id}\"\n\
+    \         };\n\
+    \       }\n\
+    \     }\n\
+    \     message GetMessageRequest {\n\
+    \       message SubMessage {\n\
+    \         string subfield = 1;\n\
+    \       }\n\
+    \       string message_id = 1; // Mapped to URL path.\n\
+    \       int64 revision = 2;    // Mapped to URL query parameter `revision`.\n\
+    \       SubMessage sub = 3;    // Mapped to URL query parameter `sub.subfield`.\n\
+    \     }\n\
+    \\n\
+    \ This enables a HTTP JSON to RPC mapping as below:\n\
+    \\n\
+    \ HTTP | gRPC\n\
+    \ -----|-----\n\
+    \ `GET /v1/messages/123456?revision=2&sub.subfield=foo` |\n\
+    \ `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield:\n\
+    \ \"foo\"))`\n\
+    \\n\
+    \ Note that fields which are mapped to URL query parameters must have a\n\
+    \ primitive type or a repeated primitive type or a non-repeated message type.\n\
+    \ In the case of a repeated type, the parameter can be repeated in the URL\n\
+    \ as `...?param=A&param=B`. In the case of a message type, each field of the\n\
+    \ message is mapped to a separate parameter, such as\n\
+    \ `...?foo.a=A&foo.b=B&foo.c=C`.\n\
+    \\n\
+    \ For HTTP methods that allow a request body, the `body` field\n\
+    \ specifies the mapping. Consider a REST update method on the\n\
+    \ message resource collection:\n\
+    \\n\
+    \     service Messaging {\n\
+    \       rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n\
+    \         option (google.api.http) = {\n\
+    \           patch: \"/v1/messages/{message_id}\"\n\
+    \           body: \"message\"\n\
+    \         };\n\
+    \       }\n\
+    \     }\n\
+    \     message UpdateMessageRequest {\n\
+    \       string message_id = 1; // mapped to the URL\n\
+    \       Message message = 2;   // mapped to the body\n\
+    \     }\n\
+    \\n\
+    \ The following HTTP JSON to RPC mapping is enabled, where the\n\
+    \ representation of the JSON in the request body is determined by\n\
+    \ protos JSON encoding:\n\
+    \\n\
+    \ HTTP | gRPC\n\
+    \ -----|-----\n\
+    \ `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n\
+    \ \"123456\" message { text: \"Hi!\" })`\n\
+    \\n\
+    \ The special name `*` can be used in the body mapping to define that\n\
+    \ every field not bound by the path template should be mapped to the\n\
+    \ request body.  This enables the following alternative definition of\n\
+    \ the update method:\n\
+    \\n\
+    \     service Messaging {\n\
+    \       rpc UpdateMessage(Message) returns (Message) {\n\
+    \         option (google.api.http) = {\n\
+    \           patch: \"/v1/messages/{message_id}\"\n\
+    \           body: \"*\"\n\
+    \         };\n\
+    \       }\n\
+    \     }\n\
+    \     message Message {\n\
+    \       string message_id = 1;\n\
+    \       string text = 2;\n\
+    \     }\n\
+    \\n\
+    \\n\
+    \ The following HTTP JSON to RPC mapping is enabled:\n\
+    \\n\
+    \ HTTP | gRPC\n\
+    \ -----|-----\n\
+    \ `PATCH /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id:\n\
+    \ \"123456\" text: \"Hi!\")`\n\
+    \\n\
+    \ Note that when using `*` in the body mapping, it is not possible to\n\
+    \ have HTTP parameters, as all fields not bound by the path end in\n\
+    \ the body. This makes this option more rarely used in practice when\n\
+    \ defining REST APIs. The common usage of `*` is in custom methods\n\
+    \ which don't use the URL at all for transferring data.\n\
+    \\n\
+    \ It is possible to define multiple HTTP methods for one RPC by using\n\
+    \ the `additional_bindings` option. Example:\n\
+    \\n\
+    \     service Messaging {\n\
+    \       rpc GetMessage(GetMessageRequest) returns (Message) {\n\
+    \         option (google.api.http) = {\n\
+    \           get: \"/v1/messages/{message_id}\"\n\
+    \           additional_bindings {\n\
+    \             get: \"/v1/users/{user_id}/messages/{message_id}\"\n\
+    \           }\n\
+    \         };\n\
+    \       }\n\
+    \     }\n\
+    \     message GetMessageRequest {\n\
+    \       string message_id = 1;\n\
+    \       string user_id = 2;\n\
+    \     }\n\
+    \\n\
+    \ This enables the following two alternative HTTP JSON to RPC mappings:\n\
+    \\n\
+    \ HTTP | gRPC\n\
+    \ -----|-----\n\
+    \ `GET /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n\
+    \ `GET /v1/users/me/messages/123456` | `GetMessage(user_id: \"me\" message_id:\n\
+    \ \"123456\")`\n\
+    \\n\
+    \ ## Rules for HTTP mapping\n\
+    \\n\
+    \ 1. Leaf request fields (recursive expansion nested messages in the request\n\
+    \    message) are classified into three categories:\n\
+    \    - Fields referred by the path template. They are passed via the URL path.\n\
+    \    - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They\n\
+    \    are passed via the HTTP\n\
+    \      request body.\n\
+    \    - All other fields are passed via the URL query parameters, and the\n\
+    \      parameter name is the field path in the request message. A repeated\n\
+    \      field can be represented as multiple query parameters under the same\n\
+    \      name.\n\
+    \  2. If [HttpRule.body][google.api.HttpRule.body] is \"*\", there is no URL\n\
+    \  query parameter, all fields\n\
+    \     are passed via URL path and HTTP request body.\n\
+    \  3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP\n\
+    \  request body, all\n\
+    \     fields are passed via URL path and URL query parameters.\n\
+    \\n\
+    \ ### Path template syntax\n\
+    \\n\
+    \     Template = \"/\" Segments [ Verb ] ;\n\
+    \     Segments = Segment { \"/\" Segment } ;\n\
+    \     Segment  = \"*\" | \"**\" | LITERAL | Variable ;\n\
+    \     Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n\
+    \     FieldPath = IDENT { \".\" IDENT } ;\n\
+    \     Verb     = \":\" LITERAL ;\n\
+    \\n\
+    \ The syntax `*` matches a single URL path segment. The syntax `**` matches\n\
+    \ zero or more URL path segments, which must be the last part of the URL path\n\
+    \ except the `Verb`.\n\
+    \\n\
+    \ The syntax `Variable` matches part of the URL path as specified by its\n\
+    \ template. A variable template must not contain other variables. If a variable\n\
+    \ matches a single path segment, its template may be omitted, e.g. `{var}`\n\
+    \ is equivalent to `{var=*}`.\n\
+    \\n\
+    \ The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`\n\
+    \ contains any reserved character, such characters should be percent-encoded\n\
+    \ before the matching.\n\
+    \\n\
+    \ If a variable contains exactly one path segment, such as `\"{var}\"` or\n\
+    \ `\"{var=*}\"`, when such a variable is expanded into a URL path on the client\n\
+    \ side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The\n\
+    \ server side does the reverse decoding. Such variables show up in the\n\
+    \ [Discovery\n\
+    \ Document](https://developers.google.com/discovery/v1/reference/apis) as\n\
+    \ `{var}`.\n\
+    \\n\
+    \ If a variable contains multiple path segments, such as `\"{var=foo/*}\"`\n\
+    \ or `\"{var=**}\"`, when such a variable is expanded into a URL path on the\n\
+    \ client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.\n\
+    \ The server side does the reverse decoding, except \"%2F\" and \"%2f\" are left\n\
+    \ unchanged. Such variables show up in the\n\
+    \ [Discovery\n\
+    \ Document](https://developers.google.com/discovery/v1/reference/apis) as\n\
+    \ `{+var}`.\n\
+    \\n\
+    \ ## Using gRPC API Service Configuration\n\
+    \\n\
+    \ gRPC API Service Configuration (service config) is a configuration language\n\
+    \ for configuring a gRPC service to become a user-facing product. The\n\
+    \ service config is simply the YAML representation of the `google.api.Service`\n\
+    \ proto message.\n\
+    \\n\
+    \ As an alternative to annotating your proto file, you can configure gRPC\n\
+    \ transcoding in your service config YAML files. You do this by specifying a\n\
+    \ `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same\n\
+    \ effect as the proto annotation. This can be particularly useful if you\n\
+    \ have a proto that is reused in multiple services. Note that any transcoding\n\
+    \ specified in the service config will override any matching transcoding\n\
+    \ configuration in the proto.\n\
+    \\n\
+    \ Example:\n\
+    \\n\
+    \     http:\n\
+    \       rules:\n\
+    \         # Selects a gRPC method and applies HttpRule to it.\n\
+    \         - selector: example.v1.Messaging.GetMessage\n\
+    \           get: /v1/messages/{message_id}/{sub.subfield}\n\
+    \\n\
+    \ ## Special notes\n\
+    \\n\
+    \ When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the\n\
+    \ proto to JSON conversion must follow the [proto3\n\
+    \ specification](https://developers.google.com/protocol-buffers/docs/proto3#json).\n\
+    \\n\
+    \ While the single segment variable follows the semantics of\n\
+    \ [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String\n\
+    \ Expansion, the multi segment variable **does not** follow RFC 6570 Section\n\
+    \ 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion\n\
+    \ does not expand special characters like `?` and `#`, which would lead\n\
+    \ to invalid URLs. As the result, gRPC Transcoding uses a custom encoding\n\
+    \ for multi segment variables.\n\
+    \\n\
+    \ The path variables **must not** refer to any repeated or mapped field,\n\
+    \ because client libraries are not capable of handling such variable expansion.\n\
+    \\n\
+    \ The path variables **must not** capture the leading \"/\" character. The reason\n\
+    \ is that the most common use case \"{var}\" does not capture the leading \"/\"\n\
+    \ character. For consistency, all path variables must share the same behavior.\n\
+    \\n\
+    \ Repeated message fields must not be mapped to URL query parameters, because\n\
+    \ no client library can support such complicated mapping.\n\
+    \\n\
+    \ If an API needs to use a JSON array for request or response body, it can map\n\
+    \ the request or response body to a repeated field. However, some gRPC\n\
+    \ Transcoding implementations may not support this feature.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SOH\SOH\DC2\EOT\187\STX\b\DLE\n\
+    \\143\SOH\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\EOT\192\STX\STX\SYN\SUB\128\SOH Selects a method to which this rule applies.\n\
+    \\n\
+    \ Refer to [selector][google.api.DocumentationRule.selector] for syntax\n\
+    \ details.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\EOT\192\STX\STX\b\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\EOT\192\STX\t\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\EOT\192\STX\DC4\NAK\n\
+    \\208\SOH\n\
+    \\EOT\EOT\SOH\b\NUL\DC2\ACK\197\STX\STX\219\STX\ETX\SUB\191\SOH Determines the URL pattern is matched by this rules. This pattern can be\n\
+    \ used with any of the {get|put|post|delete|patch} methods. A custom method\n\
+    \ can be defined using the 'custom' field.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\b\NUL\SOH\DC2\EOT\197\STX\b\SI\n\
+    \\\\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\EOT\200\STX\EOT\DC3\SUBN Maps to HTTP GET. Used for listing and getting information about\n\
+    \ resources.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\EOT\200\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\EOT\200\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\EOT\200\STX\DC1\DC2\n\
+    \@\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\EOT\203\STX\EOT\DC3\SUB2 Maps to HTTP PUT. Used for replacing a resource.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\EOT\203\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\EOT\203\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\EOT\203\STX\DC1\DC2\n\
+    \X\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\EOT\206\STX\EOT\DC4\SUBJ Maps to HTTP POST. Used for creating a resource or performing an action.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\EOT\206\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\EOT\206\STX\v\SI\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\EOT\206\STX\DC2\DC3\n\
+    \B\n\
+    \\EOT\EOT\SOH\STX\EOT\DC2\EOT\209\STX\EOT\SYN\SUB4 Maps to HTTP DELETE. Used for deleting a resource.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\EOT\209\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\EOT\209\STX\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\EOT\209\STX\DC4\NAK\n\
+    \A\n\
+    \\EOT\EOT\SOH\STX\ENQ\DC2\EOT\212\STX\EOT\NAK\SUB3 Maps to HTTP PATCH. Used for updating a resource.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ENQ\DC2\EOT\212\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\EOT\212\STX\v\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\EOT\212\STX\DC3\DC4\n\
+    \\152\STX\n\
+    \\EOT\EOT\SOH\STX\ACK\DC2\EOT\218\STX\EOT!\SUB\137\STX The custom pattern is used for specifying an HTTP method that is not\n\
+    \ included in the `pattern` field, such as HEAD, or \"*\" to leave the\n\
+    \ HTTP method unspecified for this rule. The wild-card rule is useful\n\
+    \ for services that provide content to Web (HTML) clients.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\EOT\218\STX\EOT\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\EOT\218\STX\SYN\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\EOT\218\STX\US \n\
+    \\196\STX\n\
+    \\EOT\EOT\SOH\STX\a\DC2\EOT\227\STX\STX\DC2\SUB\181\STX The name of the request field whose value is mapped to the HTTP request\n\
+    \ body, or `*` for mapping all request fields not captured by the path\n\
+    \ pattern to the HTTP body, or omitted for not having any HTTP request body.\n\
+    \\n\
+    \ NOTE: the referred field must be present at the top-level of the request\n\
+    \ message type.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\a\ENQ\DC2\EOT\227\STX\STX\b\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\a\SOH\DC2\EOT\227\STX\t\r\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\a\ETX\DC2\EOT\227\STX\DLE\DC1\n\
+    \\153\STX\n\
+    \\EOT\EOT\SOH\STX\b\DC2\EOT\235\STX\STX\FS\SUB\138\STX Optional. The name of the response field whose value is mapped to the HTTP\n\
+    \ response body. When omitted, the entire response message will be used\n\
+    \ as the HTTP response body.\n\
+    \\n\
+    \ NOTE: The referred field must be present at the top-level of the response\n\
+    \ message type.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\b\ENQ\DC2\EOT\235\STX\STX\b\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\b\SOH\DC2\EOT\235\STX\t\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\b\ETX\DC2\EOT\235\STX\EM\ESC\n\
+    \\187\SOH\n\
+    \\EOT\EOT\SOH\STX\t\DC2\EOT\240\STX\STX-\SUB\172\SOH Additional HTTP bindings for the selector. Nested bindings must\n\
+    \ not contain an `additional_bindings` field themselves (that is,\n\
+    \ the nesting may only be one level deep).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\t\EOT\DC2\EOT\240\STX\STX\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\t\ACK\DC2\EOT\240\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\t\SOH\DC2\EOT\240\STX\DC4'\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\t\ETX\DC2\EOT\240\STX*,\n\
+    \G\n\
+    \\STX\EOT\STX\DC2\ACK\244\STX\NUL\250\STX\SOH\SUB9 A custom pattern is used for defining custom HTTP verb.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\STX\SOH\DC2\EOT\244\STX\b\EM\n\
+    \2\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\EOT\246\STX\STX\DC2\SUB$ The name of this custom HTTP verb.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\246\STX\STX\b\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\246\STX\t\r\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\246\STX\DLE\DC1\n\
+    \5\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\EOT\249\STX\STX\DC2\SUB' The path matched by this custom verb.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\EOT\249\STX\STX\b\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\249\STX\t\r\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\249\STX\DLE\DC1b\ACKproto3"
diff --git a/src/Proto/Google/Api/Http_Fields.hs b/src/Proto/Google/Api/Http_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Google/Api/Http_Fields.hs
@@ -0,0 +1,160 @@
+{- This file was auto-generated from google/api/http.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Google.Api.Http_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+additionalBindings ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "additionalBindings" a) =>
+  Lens.Family2.LensLike' f s a
+additionalBindings
+  = Data.ProtoLens.Field.field @"additionalBindings"
+body ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "body" a) =>
+  Lens.Family2.LensLike' f s a
+body = Data.ProtoLens.Field.field @"body"
+custom ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "custom" a) =>
+  Lens.Family2.LensLike' f s a
+custom = Data.ProtoLens.Field.field @"custom"
+delete ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "delete" a) =>
+  Lens.Family2.LensLike' f s a
+delete = Data.ProtoLens.Field.field @"delete"
+fullyDecodeReservedExpansion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "fullyDecodeReservedExpansion" a) =>
+  Lens.Family2.LensLike' f s a
+fullyDecodeReservedExpansion
+  = Data.ProtoLens.Field.field @"fullyDecodeReservedExpansion"
+get ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "get" a) =>
+  Lens.Family2.LensLike' f s a
+get = Data.ProtoLens.Field.field @"get"
+kind ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "kind" a) =>
+  Lens.Family2.LensLike' f s a
+kind = Data.ProtoLens.Field.field @"kind"
+maybe'custom ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'custom" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'custom = Data.ProtoLens.Field.field @"maybe'custom"
+maybe'delete ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'delete" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'delete = Data.ProtoLens.Field.field @"maybe'delete"
+maybe'get ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'get" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'get = Data.ProtoLens.Field.field @"maybe'get"
+maybe'patch ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'patch" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'patch = Data.ProtoLens.Field.field @"maybe'patch"
+maybe'pattern' ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'pattern'" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'pattern' = Data.ProtoLens.Field.field @"maybe'pattern'"
+maybe'post ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'post" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'post = Data.ProtoLens.Field.field @"maybe'post"
+maybe'put ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'put" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'put = Data.ProtoLens.Field.field @"maybe'put"
+patch ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "patch" a) =>
+  Lens.Family2.LensLike' f s a
+patch = Data.ProtoLens.Field.field @"patch"
+path ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "path" a) =>
+  Lens.Family2.LensLike' f s a
+path = Data.ProtoLens.Field.field @"path"
+post ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "post" a) =>
+  Lens.Family2.LensLike' f s a
+post = Data.ProtoLens.Field.field @"post"
+put ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "put" a) =>
+  Lens.Family2.LensLike' f s a
+put = Data.ProtoLens.Field.field @"put"
+responseBody ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "responseBody" a) =>
+  Lens.Family2.LensLike' f s a
+responseBody = Data.ProtoLens.Field.field @"responseBody"
+rules ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "rules" a) =>
+  Lens.Family2.LensLike' f s a
+rules = Data.ProtoLens.Field.field @"rules"
+selector ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "selector" a) =>
+  Lens.Family2.LensLike' f s a
+selector = Data.ProtoLens.Field.field @"selector"
+vec'additionalBindings ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'additionalBindings" a) =>
+  Lens.Family2.LensLike' f s a
+vec'additionalBindings
+  = Data.ProtoLens.Field.field @"vec'additionalBindings"
+vec'rules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'rules" a) =>
+  Lens.Family2.LensLike' f s a
+vec'rules = Data.ProtoLens.Field.field @"vec'rules"
diff --git a/src/Proto/Health/V1/Health.hs b/src/Proto/Health/V1/Health.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Health/V1/Health.hs
@@ -0,0 +1,525 @@
+{- This file was auto-generated from health/v1/health.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Health.V1.Health (
+        Health(..), HealthCheckRequest(), HealthCheckResponse(),
+        HealthCheckResponse'ServingStatus(..),
+        HealthCheckResponse'ServingStatus(),
+        HealthCheckResponse'ServingStatus'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+{- | Fields :
+     
+         * 'Proto.Health.V1.Health_Fields.service' @:: Lens' HealthCheckRequest Data.Text.Text@ -}
+data HealthCheckRequest
+  = HealthCheckRequest'_constructor {_HealthCheckRequest'service :: !Data.Text.Text,
+                                     _HealthCheckRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show HealthCheckRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField HealthCheckRequest "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HealthCheckRequest'service
+           (\ x__ y__ -> x__ {_HealthCheckRequest'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message HealthCheckRequest where
+  messageName _ = Data.Text.pack "grpc.health.v1.HealthCheckRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2HealthCheckRequest\DC2\CAN\n\
+      \\aservice\CAN\SOH \SOH(\tR\aservice"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor HealthCheckRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, service__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _HealthCheckRequest'_unknownFields
+        (\ x__ y__ -> x__ {_HealthCheckRequest'_unknownFields = y__})
+  defMessage
+    = HealthCheckRequest'_constructor
+        {_HealthCheckRequest'service = Data.ProtoLens.fieldDefault,
+         _HealthCheckRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          HealthCheckRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser HealthCheckRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HealthCheckRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData HealthCheckRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_HealthCheckRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_HealthCheckRequest'service x__) ())
+{- | Fields :
+     
+         * 'Proto.Health.V1.Health_Fields.status' @:: Lens' HealthCheckResponse HealthCheckResponse'ServingStatus@ -}
+data HealthCheckResponse
+  = HealthCheckResponse'_constructor {_HealthCheckResponse'status :: !HealthCheckResponse'ServingStatus,
+                                      _HealthCheckResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show HealthCheckResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField HealthCheckResponse "status" HealthCheckResponse'ServingStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HealthCheckResponse'status
+           (\ x__ y__ -> x__ {_HealthCheckResponse'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message HealthCheckResponse where
+  messageName _ = Data.Text.pack "grpc.health.v1.HealthCheckResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3HealthCheckResponse\DC2I\n\
+      \\ACKstatus\CAN\SOH \SOH(\SO21.grpc.health.v1.HealthCheckResponse.ServingStatusR\ACKstatus\"O\n\
+      \\rServingStatus\DC2\v\n\
+      \\aUNKNOWN\DLE\NUL\DC2\v\n\
+      \\aSERVING\DLE\SOH\DC2\SI\n\
+      \\vNOT_SERVING\DLE\STX\DC2\DC3\n\
+      \\SISERVICE_UNKNOWN\DLE\ETX"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        status__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor HealthCheckResponse'ServingStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"status")) ::
+              Data.ProtoLens.FieldDescriptor HealthCheckResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, status__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _HealthCheckResponse'_unknownFields
+        (\ x__ y__ -> x__ {_HealthCheckResponse'_unknownFields = y__})
+  defMessage
+    = HealthCheckResponse'_constructor
+        {_HealthCheckResponse'status = Data.ProtoLens.fieldDefault,
+         _HealthCheckResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          HealthCheckResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser HealthCheckResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "status"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HealthCheckResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"status") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData HealthCheckResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_HealthCheckResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_HealthCheckResponse'status x__) ())
+newtype HealthCheckResponse'ServingStatus'UnrecognizedValue
+  = HealthCheckResponse'ServingStatus'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data HealthCheckResponse'ServingStatus
+  = HealthCheckResponse'UNKNOWN |
+    HealthCheckResponse'SERVING |
+    HealthCheckResponse'NOT_SERVING |
+    HealthCheckResponse'SERVICE_UNKNOWN |
+    HealthCheckResponse'ServingStatus'Unrecognized !HealthCheckResponse'ServingStatus'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum HealthCheckResponse'ServingStatus where
+  maybeToEnum 0 = Prelude.Just HealthCheckResponse'UNKNOWN
+  maybeToEnum 1 = Prelude.Just HealthCheckResponse'SERVING
+  maybeToEnum 2 = Prelude.Just HealthCheckResponse'NOT_SERVING
+  maybeToEnum 3 = Prelude.Just HealthCheckResponse'SERVICE_UNKNOWN
+  maybeToEnum k
+    = Prelude.Just
+        (HealthCheckResponse'ServingStatus'Unrecognized
+           (HealthCheckResponse'ServingStatus'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum HealthCheckResponse'UNKNOWN = "UNKNOWN"
+  showEnum HealthCheckResponse'SERVING = "SERVING"
+  showEnum HealthCheckResponse'NOT_SERVING = "NOT_SERVING"
+  showEnum HealthCheckResponse'SERVICE_UNKNOWN = "SERVICE_UNKNOWN"
+  showEnum
+    (HealthCheckResponse'ServingStatus'Unrecognized (HealthCheckResponse'ServingStatus'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "UNKNOWN"
+    = Prelude.Just HealthCheckResponse'UNKNOWN
+    | (Prelude.==) k "SERVING"
+    = Prelude.Just HealthCheckResponse'SERVING
+    | (Prelude.==) k "NOT_SERVING"
+    = Prelude.Just HealthCheckResponse'NOT_SERVING
+    | (Prelude.==) k "SERVICE_UNKNOWN"
+    = Prelude.Just HealthCheckResponse'SERVICE_UNKNOWN
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded HealthCheckResponse'ServingStatus where
+  minBound = HealthCheckResponse'UNKNOWN
+  maxBound = HealthCheckResponse'SERVICE_UNKNOWN
+instance Prelude.Enum HealthCheckResponse'ServingStatus where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ServingStatus: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum HealthCheckResponse'UNKNOWN = 0
+  fromEnum HealthCheckResponse'SERVING = 1
+  fromEnum HealthCheckResponse'NOT_SERVING = 2
+  fromEnum HealthCheckResponse'SERVICE_UNKNOWN = 3
+  fromEnum
+    (HealthCheckResponse'ServingStatus'Unrecognized (HealthCheckResponse'ServingStatus'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ HealthCheckResponse'SERVICE_UNKNOWN
+    = Prelude.error
+        "HealthCheckResponse'ServingStatus.succ: bad argument HealthCheckResponse'SERVICE_UNKNOWN. This value would be out of bounds."
+  succ HealthCheckResponse'UNKNOWN = HealthCheckResponse'SERVING
+  succ HealthCheckResponse'SERVING = HealthCheckResponse'NOT_SERVING
+  succ HealthCheckResponse'NOT_SERVING
+    = HealthCheckResponse'SERVICE_UNKNOWN
+  succ (HealthCheckResponse'ServingStatus'Unrecognized _)
+    = Prelude.error
+        "HealthCheckResponse'ServingStatus.succ: bad argument: unrecognized value"
+  pred HealthCheckResponse'UNKNOWN
+    = Prelude.error
+        "HealthCheckResponse'ServingStatus.pred: bad argument HealthCheckResponse'UNKNOWN. This value would be out of bounds."
+  pred HealthCheckResponse'SERVING = HealthCheckResponse'UNKNOWN
+  pred HealthCheckResponse'NOT_SERVING = HealthCheckResponse'SERVING
+  pred HealthCheckResponse'SERVICE_UNKNOWN
+    = HealthCheckResponse'NOT_SERVING
+  pred (HealthCheckResponse'ServingStatus'Unrecognized _)
+    = Prelude.error
+        "HealthCheckResponse'ServingStatus.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault HealthCheckResponse'ServingStatus where
+  fieldDefault = HealthCheckResponse'UNKNOWN
+instance Control.DeepSeq.NFData HealthCheckResponse'ServingStatus where
+  rnf x__ = Prelude.seq x__ ()
+data Health = Health {}
+instance Data.ProtoLens.Service.Types.Service Health where
+  type ServiceName Health = "Health"
+  type ServicePackage Health = "grpc.health.v1"
+  type ServiceMethods Health = '["check", "watch"]
+  packedServiceDescriptor _
+    = "\n\
+      \\ACKHealth\DC2P\n\
+      \\ENQCheck\DC2\".grpc.health.v1.HealthCheckRequest\SUB#.grpc.health.v1.HealthCheckResponse\DC2R\n\
+      \\ENQWatch\DC2\".grpc.health.v1.HealthCheckRequest\SUB#.grpc.health.v1.HealthCheckResponse0\SOH"
+instance Data.ProtoLens.Service.Types.HasMethodImpl Health "check" where
+  type MethodName Health "check" = "Check"
+  type MethodInput Health "check" = HealthCheckRequest
+  type MethodOutput Health "check" = HealthCheckResponse
+  type MethodStreamingType Health "check" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl Health "watch" where
+  type MethodName Health "watch" = "Watch"
+  type MethodInput Health "watch" = HealthCheckRequest
+  type MethodOutput Health "watch" = HealthCheckResponse
+  type MethodStreamingType Health "watch" = 'Data.ProtoLens.Service.Types.ServerStreaming
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \\SYNhealth/v1/health.proto\DC2\SOgrpc.health.v1\".\n\
+    \\DC2HealthCheckRequest\DC2\CAN\n\
+    \\aservice\CAN\SOH \SOH(\tR\aservice\"\177\SOH\n\
+    \\DC3HealthCheckResponse\DC2I\n\
+    \\ACKstatus\CAN\SOH \SOH(\SO21.grpc.health.v1.HealthCheckResponse.ServingStatusR\ACKstatus\"O\n\
+    \\rServingStatus\DC2\v\n\
+    \\aUNKNOWN\DLE\NUL\DC2\v\n\
+    \\aSERVING\DLE\SOH\DC2\SI\n\
+    \\vNOT_SERVING\DLE\STX\DC2\DC3\n\
+    \\SISERVICE_UNKNOWN\DLE\ETX2\174\SOH\n\
+    \\ACKHealth\DC2P\n\
+    \\ENQCheck\DC2\".grpc.health.v1.HealthCheckRequest\SUB#.grpc.health.v1.HealthCheckResponse\DC2R\n\
+    \\ENQWatch\DC2\".grpc.health.v1.HealthCheckRequest\SUB#.grpc.health.v1.HealthCheckResponse0\SOHBa\n\
+    \\DC1io.grpc.health.v1B\vHealthProtoP\SOHZ,google.golang.org/grpc/health/grpc_health_v1\170\STX\SOGrpc.Health.V1J\151\DC2\n\
+    \\ACK\DC2\EOT\DC1\NUL>\SOH\n\
+    \\198\ENQ\n\
+    \\SOH\f\DC2\ETX\DC1\NUL\DC22\183\EOT Copyright 2015 The gRPC Authors\n\
+    \\n\
+    \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\
+    \ you may not use this file except in compliance with the License.\n\
+    \ You may obtain a copy of the License at\n\
+    \\n\
+    \     http://www.apache.org/licenses/LICENSE-2.0\n\
+    \\n\
+    \ Unless required by applicable law or agreed to in writing, software\n\
+    \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\
+    \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
+    \ See the License for the specific language governing permissions and\n\
+    \ limitations under the License.\n\
+    \2\129\SOH The canonical version of this proto can be found at\n\
+    \ https://github.com/grpc/grpc-proto/blob/master/grpc/health/v1/health.proto\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\DC3\NUL\ETB\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\NAK\NUL+\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\NAK\NUL+\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SYN\NULC\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SYN\NULC\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETB\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\ETB\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\CAN\NUL,\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\CAN\NUL,\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\EM\NUL*\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\EM\NUL*\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT\ESC\NUL\GS\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\ESC\b\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\FS\STX\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\FS\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\FS\t\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\FS\DC3\DC4\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT\US\NUL'\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\US\b\ESC\n\
+    \\f\n\
+    \\EOT\EOT\SOH\EOT\NUL\DC2\EOT \STX%\ETX\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\EOT\NUL\SOH\DC2\ETX \a\DC4\n\
+    \\r\n\
+    \\ACK\EOT\SOH\EOT\NUL\STX\NUL\DC2\ETX!\EOT\DLE\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\NUL\SOH\DC2\ETX!\EOT\v\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\NUL\STX\DC2\ETX!\SO\SI\n\
+    \\r\n\
+    \\ACK\EOT\SOH\EOT\NUL\STX\SOH\DC2\ETX\"\EOT\DLE\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\SOH\SOH\DC2\ETX\"\EOT\v\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\SOH\STX\DC2\ETX\"\SO\SI\n\
+    \\r\n\
+    \\ACK\EOT\SOH\EOT\NUL\STX\STX\DC2\ETX#\EOT\DC4\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\STX\SOH\DC2\ETX#\EOT\SI\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\STX\STX\DC2\ETX#\DC2\DC3\n\
+    \/\n\
+    \\ACK\EOT\SOH\EOT\NUL\STX\ETX\DC2\ETX$\EOT\CAN\"  Used only by the Watch method.\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\ETX\SOH\DC2\ETX$\EOT\DC3\n\
+    \\SO\n\
+    \\a\EOT\SOH\EOT\NUL\STX\ETX\STX\DC2\ETX$\SYN\ETB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX&\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX&\STX\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX&\DLE\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX&\EM\SUB\n\
+    \\n\
+    \\n\
+    \\STX\ACK\NUL\DC2\EOT)\NUL>\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\ACK\NUL\SOH\DC2\ETX)\b\SO\n\
+    \^\n\
+    \\EOT\ACK\NUL\STX\NUL\DC2\ETX,\STX>\SUBQ If the requested service is unknown, the call will fail with status\n\
+    \ NOT_FOUND.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\NUL\SOH\DC2\ETX,\ACK\v\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\NUL\STX\DC2\ETX,\f\RS\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\NUL\ETX\DC2\ETX,)<\n\
+    \\222\ACK\n\
+    \\EOT\ACK\NUL\STX\SOH\DC2\ETX=\STXE\SUB\208\ACK Performs a watch for the serving status of the requested service.\n\
+    \ The server will immediately send back a message indicating the current\n\
+    \ serving status.  It will then subsequently send a new message whenever\n\
+    \ the service's serving status changes.\n\
+    \\n\
+    \ If the requested service is unknown when the call is received, the\n\
+    \ server will send a message setting the serving status to\n\
+    \ SERVICE_UNKNOWN but will *not* terminate the call.  If at some\n\
+    \ future point, the serving status of the service becomes known, the\n\
+    \ server will send a new message with the service's serving status.\n\
+    \\n\
+    \ If the call terminates with status UNIMPLEMENTED, then clients\n\
+    \ should assume this method is not supported and should not retry the\n\
+    \ call.  If the call terminates with any other status (including OK),\n\
+    \ clients should retry the call with appropriate exponential backoff.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\SOH\SOH\DC2\ETX=\ACK\v\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\SOH\STX\DC2\ETX=\f\RS\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\SOH\ACK\DC2\ETX=)/\n\
+    \\f\n\
+    \\ENQ\ACK\NUL\STX\SOH\ETX\DC2\ETX=0Cb\ACKproto3"
diff --git a/src/Proto/Health/V1/Health_Fields.hs b/src/Proto/Health/V1/Health_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Health/V1/Health_Fields.hs
@@ -0,0 +1,39 @@
+{- This file was auto-generated from health/v1/health.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Health.V1.Health_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+status ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "status" a) =>
+  Lens.Family2.LensLike' f s a
+status = Data.ProtoLens.Field.field @"status"
diff --git a/src/Proto/Rpc/Status.hs b/src/Proto/Rpc/Status.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Rpc/Status.hs
@@ -0,0 +1,354 @@
+{- This file was auto-generated from rpc/status.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Rpc.Status (
+        Status()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Any
+{- | Fields :
+     
+         * 'Proto.Rpc.Status_Fields.code' @:: Lens' Status Data.Int.Int32@
+         * 'Proto.Rpc.Status_Fields.message' @:: Lens' Status Data.Text.Text@
+         * 'Proto.Rpc.Status_Fields.details' @:: Lens' Status [Proto.Google.Protobuf.Any.Any]@
+         * 'Proto.Rpc.Status_Fields.vec'details' @:: Lens' Status (Data.Vector.Vector Proto.Google.Protobuf.Any.Any)@ -}
+data Status
+  = Status'_constructor {_Status'code :: !Data.Int.Int32,
+                         _Status'message :: !Data.Text.Text,
+                         _Status'details :: !(Data.Vector.Vector Proto.Google.Protobuf.Any.Any),
+                         _Status'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Status where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Status "code" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Status'code (\ x__ y__ -> x__ {_Status'code = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Status "message" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Status'message (\ x__ y__ -> x__ {_Status'message = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Status "details" [Proto.Google.Protobuf.Any.Any] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Status'details (\ x__ y__ -> x__ {_Status'details = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Status "vec'details" (Data.Vector.Vector Proto.Google.Protobuf.Any.Any) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Status'details (\ x__ y__ -> x__ {_Status'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Status where
+  messageName _ = Data.Text.pack "google.rpc.Status"
+  packedMessageDescriptor _
+    = "\n\
+      \\ACKStatus\DC2\DC2\n\
+      \\EOTcode\CAN\SOH \SOH(\ENQR\EOTcode\DC2\CAN\n\
+      \\amessage\CAN\STX \SOH(\tR\amessage\DC2.\n\
+      \\adetails\CAN\ETX \ETX(\v2\DC4.google.protobuf.AnyR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        code__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "code"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"code")) ::
+              Data.ProtoLens.FieldDescriptor Status
+        message__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::
+              Data.ProtoLens.FieldDescriptor Status
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Any.Any)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"details")) ::
+              Data.ProtoLens.FieldDescriptor Status
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, code__field_descriptor),
+           (Data.ProtoLens.Tag 2, message__field_descriptor),
+           (Data.ProtoLens.Tag 3, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Status'_unknownFields
+        (\ x__ y__ -> x__ {_Status'_unknownFields = y__})
+  defMessage
+    = Status'_constructor
+        {_Status'code = Data.ProtoLens.fieldDefault,
+         _Status'message = Data.ProtoLens.fieldDefault,
+         _Status'details = Data.Vector.Generic.empty,
+         _Status'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Status
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Any.Any
+             -> Data.ProtoLens.Encoding.Bytes.Parser Status
+        loop x mutable'details
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'details <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                             mutable'details)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'details") frozen'details x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "code"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"code") y x)
+                                  mutable'details
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)
+                                  mutable'details
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "details"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'details y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'details
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'details <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                   Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'details)
+          "Status"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"code") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'details") _x))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Status where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Status'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Status'code x__)
+                (Control.DeepSeq.deepseq
+                   (_Status'message x__)
+                   (Control.DeepSeq.deepseq (_Status'details x__) ())))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \\DLErpc/status.proto\DC2\n\
+    \google.rpc\SUB\EMgoogle/protobuf/any.proto\"f\n\
+    \\ACKStatus\DC2\DC2\n\
+    \\EOTcode\CAN\SOH \SOH(\ENQR\EOTcode\DC2\CAN\n\
+    \\amessage\CAN\STX \SOH(\tR\amessage\DC2.\n\
+    \\adetails\CAN\ETX \ETX(\v2\DC4.google.protobuf.AnyR\adetailsBa\n\
+    \\SOcom.google.rpcB\vStatusProtoP\SOHZ7google.golang.org/genproto/googleapis/rpc/status;status\248\SOH\SOH\162\STX\ETXRPCJ\138\SI\n\
+    \\ACK\DC2\EOT\DC1\NUL3\SOH\n\
+    \\194\ENQ\n\
+    \\SOH\f\DC2\ETX\DC1\NUL\DC22\177\EOT Copyright 2022 Google LLC\n\
+    \\n\
+    \ Licensed under the Apache License, Version 2.0 (the \"License\");\n\
+    \ you may not use this file except in compliance with the License.\n\
+    \ You may obtain a copy of the License at\n\
+    \\n\
+    \     http://www.apache.org/licenses/LICENSE-2.0\n\
+    \\n\
+    \ Unless required by applicable law or agreed to in writing, software\n\
+    \ distributed under the License is distributed on an \"AS IS\" BASIS,\n\
+    \ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
+    \ See the License for the specific language governing permissions and\n\
+    \ limitations under the License.\n\
+    \2\131\SOH The canonical version of this proto can be found at\n\
+    \ https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\DC3\NUL\DC3\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\NAK\NUL#\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETB\NUL\US\n\
+    \\t\n\
+    \\STX\b\US\DC2\ETX\ETB\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\CAN\NULN\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\CAN\NULN\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\EM\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\EM\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL,\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\SUB\NUL,\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL'\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL'\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL!\n\
+    \\t\n\
+    \\STX\b$\DC2\ETX\FS\NUL!\n\
+    \\190\ETX\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL3\SOH\SUB\177\ETX The `Status` type defines a logical error model that is suitable for\n\
+    \ different programming environments, including REST APIs and RPC APIs. It is\n\
+    \ used by [gRPC](https://github.com/grpc). Each `Status` message contains\n\
+    \ three pieces of data: error code, error message, and error details.\n\
+    \\n\
+    \ You can find out more about this error model and how to work with it in the\n\
+    \ [API Design Guide](https://cloud.google.com/apis/design/errors).\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b\SO\n\
+    \e\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX(\STX\DC1\SUBX The status code, which should be an enum value of\n\
+    \ [google.rpc.Code][google.rpc.Code].\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX(\STX\a\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX(\b\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX(\SI\DLE\n\
+    \\236\SOH\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX.\STX\NAK\SUB\222\SOH A developer-facing error message, which should be in English. Any\n\
+    \ user-facing error message should be localized and sent in the\n\
+    \ [google.rpc.Status.details][google.rpc.Status.details] field, or localized\n\
+    \ by the client.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX.\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX.\t\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX.\DC3\DC4\n\
+    \y\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX2\STX+\SUBl A list of messages that carry the error details.  There is a common set of\n\
+    \ message types for APIs to use.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX2\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX2\v\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX2\US&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX2)*b\ACKproto3"
diff --git a/src/Proto/Rpc/Status_Fields.hs b/src/Proto/Rpc/Status_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Rpc/Status_Fields.hs
@@ -0,0 +1,51 @@
+{- This file was auto-generated from rpc/status.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Rpc.Status_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Any
+code ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "code" a) =>
+  Lens.Family2.LensLike' f s a
+code = Data.ProtoLens.Field.field @"code"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+message ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>
+  Lens.Family2.LensLike' f s a
+message = Data.ProtoLens.Field.field @"message"
+vec'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'details" a) =>
+  Lens.Family2.LensLike' f s a
+vec'details = Data.ProtoLens.Field.field @"vec'details"
diff --git a/src/Proto/Temporal/Api/Activity/V1/Message.hs b/src/Proto/Temporal/Api/Activity/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Activity/V1/Message.hs
@@ -0,0 +1,579 @@
+{- This file was auto-generated from temporal/api/activity/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Activity.V1.Message (
+        ActivityOptions()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.taskQueue' @:: Lens' ActivityOptions Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.maybe'taskQueue' @:: Lens' ActivityOptions (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.scheduleToCloseTimeout' @:: Lens' ActivityOptions Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ActivityOptions (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.scheduleToStartTimeout' @:: Lens' ActivityOptions Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.maybe'scheduleToStartTimeout' @:: Lens' ActivityOptions (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.startToCloseTimeout' @:: Lens' ActivityOptions Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.maybe'startToCloseTimeout' @:: Lens' ActivityOptions (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.heartbeatTimeout' @:: Lens' ActivityOptions Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.maybe'heartbeatTimeout' @:: Lens' ActivityOptions (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.retryPolicy' @:: Lens' ActivityOptions Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.Activity.V1.Message_Fields.maybe'retryPolicy' @:: Lens' ActivityOptions (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@ -}
+data ActivityOptions
+  = ActivityOptions'_constructor {_ActivityOptions'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                  _ActivityOptions'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                  _ActivityOptions'scheduleToStartTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                  _ActivityOptions'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                  _ActivityOptions'heartbeatTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                  _ActivityOptions'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                  _ActivityOptions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityOptions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityOptions "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'taskQueue
+           (\ x__ y__ -> x__ {_ActivityOptions'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityOptions "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'taskQueue
+           (\ x__ y__ -> x__ {_ActivityOptions'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityOptions "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'scheduleToCloseTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityOptions "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'scheduleToCloseTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityOptions "scheduleToStartTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'scheduleToStartTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'scheduleToStartTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityOptions "maybe'scheduleToStartTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'scheduleToStartTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'scheduleToStartTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityOptions "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'startToCloseTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityOptions "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'startToCloseTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityOptions "heartbeatTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'heartbeatTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'heartbeatTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityOptions "maybe'heartbeatTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'heartbeatTimeout
+           (\ x__ y__ -> x__ {_ActivityOptions'heartbeatTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityOptions "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'retryPolicy
+           (\ x__ y__ -> x__ {_ActivityOptions'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityOptions "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityOptions'retryPolicy
+           (\ x__ y__ -> x__ {_ActivityOptions'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityOptions where
+  messageName _
+    = Data.Text.pack "temporal.api.activity.v1.ActivityOptions"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIActivityOptions\DC2C\n\
+      \\n\
+      \task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+      \\EMschedule_to_start_timeout\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+      \\DC1heartbeat_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+      \\fretry_policy\CAN\ACK \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor ActivityOptions
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityOptions
+        scheduleToStartTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_start_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityOptions
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityOptions
+        heartbeatTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityOptions
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ActivityOptions
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 3, scheduleToStartTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 4, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 5, heartbeatTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, retryPolicy__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityOptions'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityOptions'_unknownFields = y__})
+  defMessage
+    = ActivityOptions'_constructor
+        {_ActivityOptions'taskQueue = Prelude.Nothing,
+         _ActivityOptions'scheduleToCloseTimeout = Prelude.Nothing,
+         _ActivityOptions'scheduleToStartTimeout = Prelude.Nothing,
+         _ActivityOptions'startToCloseTimeout = Prelude.Nothing,
+         _ActivityOptions'heartbeatTimeout = Prelude.Nothing,
+         _ActivityOptions'retryPolicy = Prelude.Nothing,
+         _ActivityOptions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityOptions
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityOptions
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_start_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToStartTimeout") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "heartbeat_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"heartbeatTimeout") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityOptions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'retryPolicy") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ActivityOptions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityOptions'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityOptions'taskQueue x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityOptions'scheduleToCloseTimeout x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityOptions'scheduleToStartTimeout x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityOptions'startToCloseTimeout x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityOptions'heartbeatTimeout x__)
+                            (Control.DeepSeq.deepseq
+                               (_ActivityOptions'retryPolicy x__) ()))))))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \&temporal/api/activity/v1/message.proto\DC2\CANtemporal.api.activity.v1\SUB$temporal/api/common/v1/message.proto\SUB'temporal/api/taskqueue/v1/message.proto\SUB\RSgoogle/protobuf/duration.proto\"\226\ETX\n\
+    \\SIActivityOptions\DC2C\n\
+    \\n\
+    \task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+    \\EMschedule_to_start_timeout\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+    \\DC1heartbeat_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+    \\fretry_policy\CAN\ACK \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicyB\147\SOH\n\
+    \\ESCio.temporal.api.activity.v1B\fMessageProtoP\SOHZ'go.temporal.io/api/activity/v1;activity\170\STX\SUBTemporalio.Api.Activity.V1\234\STX\GSTemporalio::Api::Activity::V1J\187\NAK\n\
+    \\ACK\DC2\EOT\SYN\NULB\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL!\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL>\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL>\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL4\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL6\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL6\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL7\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL7\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL.\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL1\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX$\NUL(\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT&\NULB\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX&\b\ETB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX'\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX'\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX'(2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX'56\n\
+    \\186\STX\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX.\EOT;\SUB\172\STX Indicates how long the caller is willing to wait for an activity completion. Limits how long\n\
+    \ retries will be attempted. Either this or `start_to_close_timeout` must be specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX.\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX.\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX.9:\n\
+    \\158\ETX\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX6\EOT;\SUB\144\ETX Limits time an activity task can stay in a task queue before a worker picks it up. This\n\
+    \ timeout is always non retryable, as all a retry would achieve is to put it back into the same\n\
+    \ queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not\n\
+    \ specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX6\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX6\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX69:\n\
+    \\186\STX\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX=\EOT8\SUB\172\STX Maximum time an activity is allowed to execute after being picked up by a worker. This\n\
+    \ timeout is always retryable. Either this or `schedule_to_close_timeout` must be\n\
+    \ specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX=\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX=\GS3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX=67\n\
+    \K\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX?\EOT3\SUB> Maximum permitted time between successful worker heartbeats.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX?\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX?\GS.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX?12\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETXA\EOT8\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETXA\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETXA'3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETXA67b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Activity/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Activity/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Activity/V1/Message_Fields.hs
@@ -0,0 +1,111 @@
+{- This file was auto-generated from temporal/api/activity/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Activity.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatTimeout = Data.ProtoLens.Field.field @"heartbeatTimeout"
+maybe'heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatTimeout
+  = Data.ProtoLens.Field.field @"maybe'heartbeatTimeout"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout"
+maybe'startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToCloseTimeout"
+maybe'taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueue = Data.ProtoLens.Field.field @"maybe'taskQueue"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"scheduleToStartTimeout"
+startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToCloseTimeout
+  = Data.ProtoLens.Field.field @"startToCloseTimeout"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
diff --git a/src/Proto/Temporal/Api/Batch/V1/Message.hs b/src/Proto/Temporal/Api/Batch/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Batch/V1/Message.hs
@@ -0,0 +1,2652 @@
+{- This file was auto-generated from temporal/api/batch/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Batch.V1.Message (
+        BatchOperationCancellation(), BatchOperationDeletion(),
+        BatchOperationInfo(), BatchOperationReset(),
+        BatchOperationSignal(), BatchOperationTermination(),
+        BatchOperationTriggerWorkflowRule(),
+        BatchOperationTriggerWorkflowRule'Rule(..),
+        _BatchOperationTriggerWorkflowRule'Id,
+        _BatchOperationTriggerWorkflowRule'Spec,
+        BatchOperationUnpauseActivities(),
+        BatchOperationUnpauseActivities'Activity(..),
+        _BatchOperationUnpauseActivities'Type,
+        _BatchOperationUnpauseActivities'MatchAll,
+        BatchOperationUpdateWorkflowExecutionOptions()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.FieldMask
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.BatchOperation
+import qualified Proto.Temporal.Api.Enums.V1.Reset
+import qualified Proto.Temporal.Api.Rules.V1.Message
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationCancellation Data.Text.Text@ -}
+data BatchOperationCancellation
+  = BatchOperationCancellation'_constructor {_BatchOperationCancellation'identity :: !Data.Text.Text,
+                                             _BatchOperationCancellation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationCancellation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationCancellation "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationCancellation'identity
+           (\ x__ y__ -> x__ {_BatchOperationCancellation'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationCancellation where
+  messageName _
+    = Data.Text.pack "temporal.api.batch.v1.BatchOperationCancellation"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBBatchOperationCancellation\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationCancellation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationCancellation'_unknownFields
+        (\ x__ y__
+           -> x__ {_BatchOperationCancellation'_unknownFields = y__})
+  defMessage
+    = BatchOperationCancellation'_constructor
+        {_BatchOperationCancellation'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationCancellation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationCancellation
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationCancellation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchOperationCancellation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData BatchOperationCancellation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationCancellation'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationCancellation'identity x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationDeletion Data.Text.Text@ -}
+data BatchOperationDeletion
+  = BatchOperationDeletion'_constructor {_BatchOperationDeletion'identity :: !Data.Text.Text,
+                                         _BatchOperationDeletion'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationDeletion where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationDeletion "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationDeletion'identity
+           (\ x__ y__ -> x__ {_BatchOperationDeletion'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationDeletion where
+  messageName _
+    = Data.Text.pack "temporal.api.batch.v1.BatchOperationDeletion"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNBatchOperationDeletion\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationDeletion
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationDeletion'_unknownFields
+        (\ x__ y__ -> x__ {_BatchOperationDeletion'_unknownFields = y__})
+  defMessage
+    = BatchOperationDeletion'_constructor
+        {_BatchOperationDeletion'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationDeletion'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationDeletion
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationDeletion
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchOperationDeletion"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData BatchOperationDeletion where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationDeletion'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_BatchOperationDeletion'identity x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.jobId' @:: Lens' BatchOperationInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.state' @:: Lens' BatchOperationInfo Proto.Temporal.Api.Enums.V1.BatchOperation.BatchOperationState@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.startTime' @:: Lens' BatchOperationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'startTime' @:: Lens' BatchOperationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.closeTime' @:: Lens' BatchOperationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'closeTime' @:: Lens' BatchOperationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data BatchOperationInfo
+  = BatchOperationInfo'_constructor {_BatchOperationInfo'jobId :: !Data.Text.Text,
+                                     _BatchOperationInfo'state :: !Proto.Temporal.Api.Enums.V1.BatchOperation.BatchOperationState,
+                                     _BatchOperationInfo'startTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                     _BatchOperationInfo'closeTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                     _BatchOperationInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationInfo "jobId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationInfo'jobId
+           (\ x__ y__ -> x__ {_BatchOperationInfo'jobId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationInfo "state" Proto.Temporal.Api.Enums.V1.BatchOperation.BatchOperationState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationInfo'state
+           (\ x__ y__ -> x__ {_BatchOperationInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationInfo "startTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationInfo'startTime
+           (\ x__ y__ -> x__ {_BatchOperationInfo'startTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationInfo "maybe'startTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationInfo'startTime
+           (\ x__ y__ -> x__ {_BatchOperationInfo'startTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationInfo "closeTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationInfo'closeTime
+           (\ x__ y__ -> x__ {_BatchOperationInfo'closeTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationInfo "maybe'closeTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationInfo'closeTime
+           (\ x__ y__ -> x__ {_BatchOperationInfo'closeTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.batch.v1.BatchOperationInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2BatchOperationInfo\DC2\NAK\n\
+      \\ACKjob_id\CAN\SOH \SOH(\tR\ENQjobId\DC2@\n\
+      \\ENQstate\CAN\STX \SOH(\SO2*.temporal.api.enums.v1.BatchOperationStateR\ENQstate\DC29\n\
+      \\n\
+      \start_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC29\n\
+      \\n\
+      \close_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\tcloseTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        jobId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "job_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"jobId")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.BatchOperation.BatchOperationState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationInfo
+        startTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startTime")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationInfo
+        closeTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "close_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'closeTime")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, jobId__field_descriptor),
+           (Data.ProtoLens.Tag 2, state__field_descriptor),
+           (Data.ProtoLens.Tag 3, startTime__field_descriptor),
+           (Data.ProtoLens.Tag 4, closeTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationInfo'_unknownFields
+        (\ x__ y__ -> x__ {_BatchOperationInfo'_unknownFields = y__})
+  defMessage
+    = BatchOperationInfo'_constructor
+        {_BatchOperationInfo'jobId = Data.ProtoLens.fieldDefault,
+         _BatchOperationInfo'state = Data.ProtoLens.fieldDefault,
+         _BatchOperationInfo'startTime = Prelude.Nothing,
+         _BatchOperationInfo'closeTime = Prelude.Nothing,
+         _BatchOperationInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "job_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"jobId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startTime") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "close_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"closeTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchOperationInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"jobId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'startTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'closeTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData BatchOperationInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationInfo'jobId x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationInfo'state x__)
+                   (Control.DeepSeq.deepseq
+                      (_BatchOperationInfo'startTime x__)
+                      (Control.DeepSeq.deepseq (_BatchOperationInfo'closeTime x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationReset Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.options' @:: Lens' BatchOperationReset Proto.Temporal.Api.Common.V1.Message.ResetOptions@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'options' @:: Lens' BatchOperationReset (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ResetOptions)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.resetType' @:: Lens' BatchOperationReset Proto.Temporal.Api.Enums.V1.Reset.ResetType@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.resetReapplyType' @:: Lens' BatchOperationReset Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType@ -}
+data BatchOperationReset
+  = BatchOperationReset'_constructor {_BatchOperationReset'identity :: !Data.Text.Text,
+                                      _BatchOperationReset'options :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ResetOptions),
+                                      _BatchOperationReset'resetType :: !Proto.Temporal.Api.Enums.V1.Reset.ResetType,
+                                      _BatchOperationReset'resetReapplyType :: !Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType,
+                                      _BatchOperationReset'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationReset where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationReset "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationReset'identity
+           (\ x__ y__ -> x__ {_BatchOperationReset'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationReset "options" Proto.Temporal.Api.Common.V1.Message.ResetOptions where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationReset'options
+           (\ x__ y__ -> x__ {_BatchOperationReset'options = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationReset "maybe'options" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ResetOptions) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationReset'options
+           (\ x__ y__ -> x__ {_BatchOperationReset'options = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationReset "resetType" Proto.Temporal.Api.Enums.V1.Reset.ResetType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationReset'resetType
+           (\ x__ y__ -> x__ {_BatchOperationReset'resetType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationReset "resetReapplyType" Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationReset'resetReapplyType
+           (\ x__ y__ -> x__ {_BatchOperationReset'resetReapplyType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationReset where
+  messageName _
+    = Data.Text.pack "temporal.api.batch.v1.BatchOperationReset"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3BatchOperationReset\DC2\SUB\n\
+      \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2>\n\
+      \\aoptions\CAN\EOT \SOH(\v2$.temporal.api.common.v1.ResetOptionsR\aoptions\DC2?\n\
+      \\n\
+      \reset_type\CAN\SOH \SOH(\SO2 .temporal.api.enums.v1.ResetTypeR\tresetType\DC2U\n\
+      \\DC2reset_reapply_type\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.ResetReapplyTypeR\DLEresetReapplyType"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationReset
+        options__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "options"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.ResetOptions)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'options")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationReset
+        resetType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Reset.ResetType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resetType")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationReset
+        resetReapplyType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_reapply_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resetReapplyType")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationReset
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 3, identity__field_descriptor),
+           (Data.ProtoLens.Tag 4, options__field_descriptor),
+           (Data.ProtoLens.Tag 1, resetType__field_descriptor),
+           (Data.ProtoLens.Tag 2, resetReapplyType__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationReset'_unknownFields
+        (\ x__ y__ -> x__ {_BatchOperationReset'_unknownFields = y__})
+  defMessage
+    = BatchOperationReset'_constructor
+        {_BatchOperationReset'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationReset'options = Prelude.Nothing,
+         _BatchOperationReset'resetType = Data.ProtoLens.fieldDefault,
+         _BatchOperationReset'resetReapplyType = Data.ProtoLens.fieldDefault,
+         _BatchOperationReset'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationReset
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationReset
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "options"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"options") y x)
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "reset_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"resetType") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "reset_reapply_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resetReapplyType") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchOperationReset"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'options") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"resetType") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"resetReapplyType") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                               ((Prelude..)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  Prelude.fromEnum _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData BatchOperationReset where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationReset'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationReset'identity x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationReset'options x__)
+                   (Control.DeepSeq.deepseq
+                      (_BatchOperationReset'resetType x__)
+                      (Control.DeepSeq.deepseq
+                         (_BatchOperationReset'resetReapplyType x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.signal' @:: Lens' BatchOperationSignal Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.input' @:: Lens' BatchOperationSignal Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'input' @:: Lens' BatchOperationSignal (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.header' @:: Lens' BatchOperationSignal Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'header' @:: Lens' BatchOperationSignal (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationSignal Data.Text.Text@ -}
+data BatchOperationSignal
+  = BatchOperationSignal'_constructor {_BatchOperationSignal'signal :: !Data.Text.Text,
+                                       _BatchOperationSignal'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                       _BatchOperationSignal'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                       _BatchOperationSignal'identity :: !Data.Text.Text,
+                                       _BatchOperationSignal'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationSignal where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationSignal "signal" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationSignal'signal
+           (\ x__ y__ -> x__ {_BatchOperationSignal'signal = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationSignal "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationSignal'input
+           (\ x__ y__ -> x__ {_BatchOperationSignal'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationSignal "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationSignal'input
+           (\ x__ y__ -> x__ {_BatchOperationSignal'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationSignal "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationSignal'header
+           (\ x__ y__ -> x__ {_BatchOperationSignal'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationSignal "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationSignal'header
+           (\ x__ y__ -> x__ {_BatchOperationSignal'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationSignal "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationSignal'identity
+           (\ x__ y__ -> x__ {_BatchOperationSignal'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationSignal where
+  messageName _
+    = Data.Text.pack "temporal.api.batch.v1.BatchOperationSignal"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4BatchOperationSignal\DC2\SYN\n\
+      \\ACKsignal\CAN\SOH \SOH(\tR\ACKsignal\DC26\n\
+      \\ENQinput\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC26\n\
+      \\ACKheader\CAN\ETX \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2\SUB\n\
+      \\bidentity\CAN\EOT \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        signal__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"signal")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationSignal
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationSignal
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationSignal
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationSignal
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, signal__field_descriptor),
+           (Data.ProtoLens.Tag 2, input__field_descriptor),
+           (Data.ProtoLens.Tag 3, header__field_descriptor),
+           (Data.ProtoLens.Tag 4, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationSignal'_unknownFields
+        (\ x__ y__ -> x__ {_BatchOperationSignal'_unknownFields = y__})
+  defMessage
+    = BatchOperationSignal'_constructor
+        {_BatchOperationSignal'signal = Data.ProtoLens.fieldDefault,
+         _BatchOperationSignal'input = Prelude.Nothing,
+         _BatchOperationSignal'header = Prelude.Nothing,
+         _BatchOperationSignal'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationSignal'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationSignal
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationSignal
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "signal"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"signal") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchOperationSignal"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"signal") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData BatchOperationSignal where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationSignal'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationSignal'signal x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationSignal'input x__)
+                   (Control.DeepSeq.deepseq
+                      (_BatchOperationSignal'header x__)
+                      (Control.DeepSeq.deepseq
+                         (_BatchOperationSignal'identity x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.details' @:: Lens' BatchOperationTermination Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'details' @:: Lens' BatchOperationTermination (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationTermination Data.Text.Text@ -}
+data BatchOperationTermination
+  = BatchOperationTermination'_constructor {_BatchOperationTermination'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                            _BatchOperationTermination'identity :: !Data.Text.Text,
+                                            _BatchOperationTermination'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationTermination where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationTermination "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTermination'details
+           (\ x__ y__ -> x__ {_BatchOperationTermination'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationTermination "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTermination'details
+           (\ x__ y__ -> x__ {_BatchOperationTermination'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationTermination "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTermination'identity
+           (\ x__ y__ -> x__ {_BatchOperationTermination'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationTermination where
+  messageName _
+    = Data.Text.pack "temporal.api.batch.v1.BatchOperationTermination"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMBatchOperationTermination\DC2:\n\
+      \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2\SUB\n\
+      \\bidentity\CAN\STX \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationTermination
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationTermination
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, details__field_descriptor),
+           (Data.ProtoLens.Tag 2, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationTermination'_unknownFields
+        (\ x__ y__
+           -> x__ {_BatchOperationTermination'_unknownFields = y__})
+  defMessage
+    = BatchOperationTermination'_constructor
+        {_BatchOperationTermination'details = Prelude.Nothing,
+         _BatchOperationTermination'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationTermination'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationTermination
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationTermination
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchOperationTermination"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData BatchOperationTermination where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationTermination'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationTermination'details x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationTermination'identity x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationTriggerWorkflowRule Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'rule' @:: Lens' BatchOperationTriggerWorkflowRule (Prelude.Maybe BatchOperationTriggerWorkflowRule'Rule)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'id' @:: Lens' BatchOperationTriggerWorkflowRule (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.id' @:: Lens' BatchOperationTriggerWorkflowRule Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'spec' @:: Lens' BatchOperationTriggerWorkflowRule (Prelude.Maybe Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.spec' @:: Lens' BatchOperationTriggerWorkflowRule Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec@ -}
+data BatchOperationTriggerWorkflowRule
+  = BatchOperationTriggerWorkflowRule'_constructor {_BatchOperationTriggerWorkflowRule'identity :: !Data.Text.Text,
+                                                    _BatchOperationTriggerWorkflowRule'rule :: !(Prelude.Maybe BatchOperationTriggerWorkflowRule'Rule),
+                                                    _BatchOperationTriggerWorkflowRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationTriggerWorkflowRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data BatchOperationTriggerWorkflowRule'Rule
+  = BatchOperationTriggerWorkflowRule'Id !Data.Text.Text |
+    BatchOperationTriggerWorkflowRule'Spec !Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField BatchOperationTriggerWorkflowRule "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTriggerWorkflowRule'identity
+           (\ x__ y__
+              -> x__ {_BatchOperationTriggerWorkflowRule'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationTriggerWorkflowRule "maybe'rule" (Prelude.Maybe BatchOperationTriggerWorkflowRule'Rule) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTriggerWorkflowRule'rule
+           (\ x__ y__ -> x__ {_BatchOperationTriggerWorkflowRule'rule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationTriggerWorkflowRule "maybe'id" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTriggerWorkflowRule'rule
+           (\ x__ y__ -> x__ {_BatchOperationTriggerWorkflowRule'rule = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (BatchOperationTriggerWorkflowRule'Id x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap BatchOperationTriggerWorkflowRule'Id y__))
+instance Data.ProtoLens.Field.HasField BatchOperationTriggerWorkflowRule "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTriggerWorkflowRule'rule
+           (\ x__ y__ -> x__ {_BatchOperationTriggerWorkflowRule'rule = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (BatchOperationTriggerWorkflowRule'Id x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap BatchOperationTriggerWorkflowRule'Id y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField BatchOperationTriggerWorkflowRule "maybe'spec" (Prelude.Maybe Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTriggerWorkflowRule'rule
+           (\ x__ y__ -> x__ {_BatchOperationTriggerWorkflowRule'rule = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (BatchOperationTriggerWorkflowRule'Spec x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap BatchOperationTriggerWorkflowRule'Spec y__))
+instance Data.ProtoLens.Field.HasField BatchOperationTriggerWorkflowRule "spec" Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationTriggerWorkflowRule'rule
+           (\ x__ y__ -> x__ {_BatchOperationTriggerWorkflowRule'rule = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (BatchOperationTriggerWorkflowRule'Spec x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap BatchOperationTriggerWorkflowRule'Spec y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message BatchOperationTriggerWorkflowRule where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.batch.v1.BatchOperationTriggerWorkflowRule"
+  packedMessageDescriptor _
+    = "\n\
+      \!BatchOperationTriggerWorkflowRule\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\DLE\n\
+      \\STXid\CAN\STX \SOH(\tH\NULR\STXid\DC2=\n\
+      \\EOTspec\CAN\ETX \SOH(\v2'.temporal.api.rules.v1.WorkflowRuleSpecH\NULR\EOTspecB\ACK\n\
+      \\EOTrule"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationTriggerWorkflowRule
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'id")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationTriggerWorkflowRule
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationTriggerWorkflowRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, identity__field_descriptor),
+           (Data.ProtoLens.Tag 2, id__field_descriptor),
+           (Data.ProtoLens.Tag 3, spec__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationTriggerWorkflowRule'_unknownFields
+        (\ x__ y__
+           -> x__ {_BatchOperationTriggerWorkflowRule'_unknownFields = y__})
+  defMessage
+    = BatchOperationTriggerWorkflowRule'_constructor
+        {_BatchOperationTriggerWorkflowRule'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationTriggerWorkflowRule'rule = Prelude.Nothing,
+         _BatchOperationTriggerWorkflowRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationTriggerWorkflowRule
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationTriggerWorkflowRule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "BatchOperationTriggerWorkflowRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'rule") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (BatchOperationTriggerWorkflowRule'Id v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.Text.Encoding.encodeUtf8 v)
+                   (Prelude.Just (BatchOperationTriggerWorkflowRule'Spec v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData BatchOperationTriggerWorkflowRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationTriggerWorkflowRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationTriggerWorkflowRule'identity x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationTriggerWorkflowRule'rule x__) ()))
+instance Control.DeepSeq.NFData BatchOperationTriggerWorkflowRule'Rule where
+  rnf (BatchOperationTriggerWorkflowRule'Id x__)
+    = Control.DeepSeq.rnf x__
+  rnf (BatchOperationTriggerWorkflowRule'Spec x__)
+    = Control.DeepSeq.rnf x__
+_BatchOperationTriggerWorkflowRule'Id ::
+  Data.ProtoLens.Prism.Prism' BatchOperationTriggerWorkflowRule'Rule Data.Text.Text
+_BatchOperationTriggerWorkflowRule'Id
+  = Data.ProtoLens.Prism.prism'
+      BatchOperationTriggerWorkflowRule'Id
+      (\ p__
+         -> case p__ of
+              (BatchOperationTriggerWorkflowRule'Id p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_BatchOperationTriggerWorkflowRule'Spec ::
+  Data.ProtoLens.Prism.Prism' BatchOperationTriggerWorkflowRule'Rule Proto.Temporal.Api.Rules.V1.Message.WorkflowRuleSpec
+_BatchOperationTriggerWorkflowRule'Spec
+  = Data.ProtoLens.Prism.prism'
+      BatchOperationTriggerWorkflowRule'Spec
+      (\ p__
+         -> case p__ of
+              (BatchOperationTriggerWorkflowRule'Spec p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationUnpauseActivities Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.resetAttempts' @:: Lens' BatchOperationUnpauseActivities Prelude.Bool@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.resetHeartbeat' @:: Lens' BatchOperationUnpauseActivities Prelude.Bool@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.jitter' @:: Lens' BatchOperationUnpauseActivities Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'jitter' @:: Lens' BatchOperationUnpauseActivities (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'activity' @:: Lens' BatchOperationUnpauseActivities (Prelude.Maybe BatchOperationUnpauseActivities'Activity)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'type'' @:: Lens' BatchOperationUnpauseActivities (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.type'' @:: Lens' BatchOperationUnpauseActivities Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'matchAll' @:: Lens' BatchOperationUnpauseActivities (Prelude.Maybe Prelude.Bool)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.matchAll' @:: Lens' BatchOperationUnpauseActivities Prelude.Bool@ -}
+data BatchOperationUnpauseActivities
+  = BatchOperationUnpauseActivities'_constructor {_BatchOperationUnpauseActivities'identity :: !Data.Text.Text,
+                                                  _BatchOperationUnpauseActivities'resetAttempts :: !Prelude.Bool,
+                                                  _BatchOperationUnpauseActivities'resetHeartbeat :: !Prelude.Bool,
+                                                  _BatchOperationUnpauseActivities'jitter :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                  _BatchOperationUnpauseActivities'activity :: !(Prelude.Maybe BatchOperationUnpauseActivities'Activity),
+                                                  _BatchOperationUnpauseActivities'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationUnpauseActivities where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data BatchOperationUnpauseActivities'Activity
+  = BatchOperationUnpauseActivities'Type !Data.Text.Text |
+    BatchOperationUnpauseActivities'MatchAll !Prelude.Bool
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'identity
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "resetAttempts" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'resetAttempts
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'resetAttempts = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "resetHeartbeat" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'resetHeartbeat
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'resetHeartbeat = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "jitter" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'jitter
+           (\ x__ y__ -> x__ {_BatchOperationUnpauseActivities'jitter = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "maybe'jitter" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'jitter
+           (\ x__ y__ -> x__ {_BatchOperationUnpauseActivities'jitter = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "maybe'activity" (Prelude.Maybe BatchOperationUnpauseActivities'Activity) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'activity
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'activity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "maybe'type'" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'activity
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'activity = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (BatchOperationUnpauseActivities'Type x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap BatchOperationUnpauseActivities'Type y__))
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "type'" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'activity
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'activity = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (BatchOperationUnpauseActivities'Type x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap BatchOperationUnpauseActivities'Type y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "maybe'matchAll" (Prelude.Maybe Prelude.Bool) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'activity
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'activity = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (BatchOperationUnpauseActivities'MatchAll x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap BatchOperationUnpauseActivities'MatchAll y__))
+instance Data.ProtoLens.Field.HasField BatchOperationUnpauseActivities "matchAll" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUnpauseActivities'activity
+           (\ x__ y__
+              -> x__ {_BatchOperationUnpauseActivities'activity = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (BatchOperationUnpauseActivities'MatchAll x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap BatchOperationUnpauseActivities'MatchAll y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message BatchOperationUnpauseActivities where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.batch.v1.BatchOperationUnpauseActivities"
+  packedMessageDescriptor _
+    = "\n\
+      \\USBatchOperationUnpauseActivities\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\DC4\n\
+      \\EOTtype\CAN\STX \SOH(\tH\NULR\EOTtype\DC2\GS\n\
+      \\tmatch_all\CAN\ETX \SOH(\bH\NULR\bmatchAll\DC2%\n\
+      \\SOreset_attempts\CAN\EOT \SOH(\bR\rresetAttempts\DC2'\n\
+      \\SIreset_heartbeat\CAN\ENQ \SOH(\bR\SOresetHeartbeat\DC21\n\
+      \\ACKjitter\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\ACKjitterB\n\
+      \\n\
+      \\bactivity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUnpauseActivities
+        resetAttempts__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_attempts"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resetAttempts")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUnpauseActivities
+        resetHeartbeat__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_heartbeat"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resetHeartbeat")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUnpauseActivities
+        jitter__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "jitter"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'jitter")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUnpauseActivities
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'type'")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUnpauseActivities
+        matchAll__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "match_all"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'matchAll")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUnpauseActivities
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, identity__field_descriptor),
+           (Data.ProtoLens.Tag 4, resetAttempts__field_descriptor),
+           (Data.ProtoLens.Tag 5, resetHeartbeat__field_descriptor),
+           (Data.ProtoLens.Tag 6, jitter__field_descriptor),
+           (Data.ProtoLens.Tag 2, type'__field_descriptor),
+           (Data.ProtoLens.Tag 3, matchAll__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationUnpauseActivities'_unknownFields
+        (\ x__ y__
+           -> x__ {_BatchOperationUnpauseActivities'_unknownFields = y__})
+  defMessage
+    = BatchOperationUnpauseActivities'_constructor
+        {_BatchOperationUnpauseActivities'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationUnpauseActivities'resetAttempts = Data.ProtoLens.fieldDefault,
+         _BatchOperationUnpauseActivities'resetHeartbeat = Data.ProtoLens.fieldDefault,
+         _BatchOperationUnpauseActivities'jitter = Prelude.Nothing,
+         _BatchOperationUnpauseActivities'activity = Prelude.Nothing,
+         _BatchOperationUnpauseActivities'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationUnpauseActivities
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationUnpauseActivities
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "reset_attempts"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resetAttempts") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "reset_heartbeat"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resetHeartbeat") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "jitter"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"jitter") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "match_all"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"matchAll") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "BatchOperationUnpauseActivities"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"resetAttempts") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"resetHeartbeat") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'jitter") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'activity") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just (BatchOperationUnpauseActivities'Type v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v)
+                            (Prelude.Just (BatchOperationUnpauseActivities'MatchAll v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                                   ((Prelude..)
+                                      Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (\ b -> if b then 1 else 0) v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData BatchOperationUnpauseActivities where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationUnpauseActivities'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationUnpauseActivities'identity x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationUnpauseActivities'resetAttempts x__)
+                   (Control.DeepSeq.deepseq
+                      (_BatchOperationUnpauseActivities'resetHeartbeat x__)
+                      (Control.DeepSeq.deepseq
+                         (_BatchOperationUnpauseActivities'jitter x__)
+                         (Control.DeepSeq.deepseq
+                            (_BatchOperationUnpauseActivities'activity x__) ())))))
+instance Control.DeepSeq.NFData BatchOperationUnpauseActivities'Activity where
+  rnf (BatchOperationUnpauseActivities'Type x__)
+    = Control.DeepSeq.rnf x__
+  rnf (BatchOperationUnpauseActivities'MatchAll x__)
+    = Control.DeepSeq.rnf x__
+_BatchOperationUnpauseActivities'Type ::
+  Data.ProtoLens.Prism.Prism' BatchOperationUnpauseActivities'Activity Data.Text.Text
+_BatchOperationUnpauseActivities'Type
+  = Data.ProtoLens.Prism.prism'
+      BatchOperationUnpauseActivities'Type
+      (\ p__
+         -> case p__ of
+              (BatchOperationUnpauseActivities'Type p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_BatchOperationUnpauseActivities'MatchAll ::
+  Data.ProtoLens.Prism.Prism' BatchOperationUnpauseActivities'Activity Prelude.Bool
+_BatchOperationUnpauseActivities'MatchAll
+  = Data.ProtoLens.Prism.prism'
+      BatchOperationUnpauseActivities'MatchAll
+      (\ p__
+         -> case p__ of
+              (BatchOperationUnpauseActivities'MatchAll p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.identity' @:: Lens' BatchOperationUpdateWorkflowExecutionOptions Data.Text.Text@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.workflowExecutionOptions' @:: Lens' BatchOperationUpdateWorkflowExecutionOptions Proto.Temporal.Api.Workflow.V1.Message.WorkflowExecutionOptions@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'workflowExecutionOptions' @:: Lens' BatchOperationUpdateWorkflowExecutionOptions (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.WorkflowExecutionOptions)@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.updateMask' @:: Lens' BatchOperationUpdateWorkflowExecutionOptions Proto.Google.Protobuf.FieldMask.FieldMask@
+         * 'Proto.Temporal.Api.Batch.V1.Message_Fields.maybe'updateMask' @:: Lens' BatchOperationUpdateWorkflowExecutionOptions (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask)@ -}
+data BatchOperationUpdateWorkflowExecutionOptions
+  = BatchOperationUpdateWorkflowExecutionOptions'_constructor {_BatchOperationUpdateWorkflowExecutionOptions'identity :: !Data.Text.Text,
+                                                               _BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions :: !(Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.WorkflowExecutionOptions),
+                                                               _BatchOperationUpdateWorkflowExecutionOptions'updateMask :: !(Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask),
+                                                               _BatchOperationUpdateWorkflowExecutionOptions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BatchOperationUpdateWorkflowExecutionOptions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BatchOperationUpdateWorkflowExecutionOptions "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUpdateWorkflowExecutionOptions'identity
+           (\ x__ y__
+              -> x__
+                   {_BatchOperationUpdateWorkflowExecutionOptions'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUpdateWorkflowExecutionOptions "workflowExecutionOptions" Proto.Temporal.Api.Workflow.V1.Message.WorkflowExecutionOptions where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions
+           (\ x__ y__
+              -> x__
+                   {_BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationUpdateWorkflowExecutionOptions "maybe'workflowExecutionOptions" (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.WorkflowExecutionOptions) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions
+           (\ x__ y__
+              -> x__
+                   {_BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BatchOperationUpdateWorkflowExecutionOptions "updateMask" Proto.Google.Protobuf.FieldMask.FieldMask where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUpdateWorkflowExecutionOptions'updateMask
+           (\ x__ y__
+              -> x__
+                   {_BatchOperationUpdateWorkflowExecutionOptions'updateMask = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BatchOperationUpdateWorkflowExecutionOptions "maybe'updateMask" (Prelude.Maybe Proto.Google.Protobuf.FieldMask.FieldMask) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BatchOperationUpdateWorkflowExecutionOptions'updateMask
+           (\ x__ y__
+              -> x__
+                   {_BatchOperationUpdateWorkflowExecutionOptions'updateMask = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BatchOperationUpdateWorkflowExecutionOptions where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions"
+  packedMessageDescriptor _
+    = "\n\
+      \,BatchOperationUpdateWorkflowExecutionOptions\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2p\n\
+      \\SUBworkflow_execution_options\CAN\STX \SOH(\v22.temporal.api.workflow.v1.WorkflowExecutionOptionsR\CANworkflowExecutionOptions\DC2;\n\
+      \\vupdate_mask\CAN\ETX \SOH(\v2\SUB.google.protobuf.FieldMaskR\n\
+      \updateMask"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUpdateWorkflowExecutionOptions
+        workflowExecutionOptions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_options"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Workflow.V1.Message.WorkflowExecutionOptions)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionOptions")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUpdateWorkflowExecutionOptions
+        updateMask__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_mask"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.FieldMask.FieldMask)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'updateMask")) ::
+              Data.ProtoLens.FieldDescriptor BatchOperationUpdateWorkflowExecutionOptions
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, identity__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecutionOptions__field_descriptor),
+           (Data.ProtoLens.Tag 3, updateMask__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BatchOperationUpdateWorkflowExecutionOptions'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_BatchOperationUpdateWorkflowExecutionOptions'_unknownFields = y__})
+  defMessage
+    = BatchOperationUpdateWorkflowExecutionOptions'_constructor
+        {_BatchOperationUpdateWorkflowExecutionOptions'identity = Data.ProtoLens.fieldDefault,
+         _BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions = Prelude.Nothing,
+         _BatchOperationUpdateWorkflowExecutionOptions'updateMask = Prelude.Nothing,
+         _BatchOperationUpdateWorkflowExecutionOptions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BatchOperationUpdateWorkflowExecutionOptions
+          -> Data.ProtoLens.Encoding.Bytes.Parser BatchOperationUpdateWorkflowExecutionOptions
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_options"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionOptions") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "update_mask"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"updateMask") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "BatchOperationUpdateWorkflowExecutionOptions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowExecutionOptions") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'updateMask") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData BatchOperationUpdateWorkflowExecutionOptions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BatchOperationUpdateWorkflowExecutionOptions'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BatchOperationUpdateWorkflowExecutionOptions'identity x__)
+                (Control.DeepSeq.deepseq
+                   (_BatchOperationUpdateWorkflowExecutionOptions'workflowExecutionOptions
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_BatchOperationUpdateWorkflowExecutionOptions'updateMask x__)
+                      ())))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \#temporal/api/batch/v1/message.proto\DC2\NAKtemporal.api.batch.v1\SUB\RSgoogle/protobuf/duration.proto\SUB google/protobuf/field_mask.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/common/v1/message.proto\SUB+temporal/api/enums/v1/batch_operation.proto\SUB!temporal/api/enums/v1/reset.proto\SUB#temporal/api/rules/v1/message.proto\SUB&temporal/api/workflow/v1/message.proto\"\227\SOH\n\
+    \\DC2BatchOperationInfo\DC2\NAK\n\
+    \\ACKjob_id\CAN\SOH \SOH(\tR\ENQjobId\DC2@\n\
+    \\ENQstate\CAN\STX \SOH(\SO2*.temporal.api.enums.v1.BatchOperationStateR\ENQstate\DC29\n\
+    \\n\
+    \start_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC29\n\
+    \\n\
+    \close_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\tcloseTime\"s\n\
+    \\EMBatchOperationTermination\DC2:\n\
+    \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2\SUB\n\
+    \\bidentity\CAN\STX \SOH(\tR\bidentity\"\186\SOH\n\
+    \\DC4BatchOperationSignal\DC2\SYN\n\
+    \\ACKsignal\CAN\SOH \SOH(\tR\ACKsignal\DC26\n\
+    \\ENQinput\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC26\n\
+    \\ACKheader\CAN\ETX \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2\SUB\n\
+    \\bidentity\CAN\EOT \SOH(\tR\bidentity\"8\n\
+    \\SUBBatchOperationCancellation\DC2\SUB\n\
+    \\bidentity\CAN\SOH \SOH(\tR\bidentity\"4\n\
+    \\SYNBatchOperationDeletion\DC2\SUB\n\
+    \\bidentity\CAN\SOH \SOH(\tR\bidentity\"\137\STX\n\
+    \\DC3BatchOperationReset\DC2\SUB\n\
+    \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2>\n\
+    \\aoptions\CAN\EOT \SOH(\v2$.temporal.api.common.v1.ResetOptionsR\aoptions\DC2?\n\
+    \\n\
+    \reset_type\CAN\SOH \SOH(\SO2 .temporal.api.enums.v1.ResetTypeR\tresetType\DC2U\n\
+    \\DC2reset_reapply_type\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.ResetReapplyTypeR\DLEresetReapplyType\"\249\SOH\n\
+    \,BatchOperationUpdateWorkflowExecutionOptions\DC2\SUB\n\
+    \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2p\n\
+    \\SUBworkflow_execution_options\CAN\STX \SOH(\v22.temporal.api.workflow.v1.WorkflowExecutionOptionsR\CANworkflowExecutionOptions\DC2;\n\
+    \\vupdate_mask\CAN\ETX \SOH(\v2\SUB.google.protobuf.FieldMaskR\n\
+    \updateMask\"\129\STX\n\
+    \\USBatchOperationUnpauseActivities\DC2\SUB\n\
+    \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\DC4\n\
+    \\EOTtype\CAN\STX \SOH(\tH\NULR\EOTtype\DC2\GS\n\
+    \\tmatch_all\CAN\ETX \SOH(\bH\NULR\bmatchAll\DC2%\n\
+    \\SOreset_attempts\CAN\EOT \SOH(\bR\rresetAttempts\DC2'\n\
+    \\SIreset_heartbeat\CAN\ENQ \SOH(\bR\SOresetHeartbeat\DC21\n\
+    \\ACKjitter\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\ACKjitterB\n\
+    \\n\
+    \\bactivity\"\152\SOH\n\
+    \!BatchOperationTriggerWorkflowRule\DC2\SUB\n\
+    \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\DLE\n\
+    \\STXid\CAN\STX \SOH(\tH\NULR\STXid\DC2=\n\
+    \\EOTspec\CAN\ETX \SOH(\v2'.temporal.api.rules.v1.WorkflowRuleSpecH\NULR\EOTspecB\ACK\n\
+    \\EOTruleB\132\SOH\n\
+    \\CANio.temporal.api.batch.v1B\fMessageProtoP\SOHZ!go.temporal.io/api/batch/v1;batch\170\STX\ETBTemporalio.Api.Batch.V1\234\STX\SUBTemporalio::Api::Batch::V1J\246\&0\n\
+    \\a\DC2\ENQ\SYN\NUL\155\SOH\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\RS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL8\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL1\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL3\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL4\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL4\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL*\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL)\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX$\NUL.\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX%\NUL5\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX&\NUL+\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX'\NUL-\n\
+    \\t\n\
+    \\STX\ETX\a\DC2\ETX(\NUL0\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT*\NUL3\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX*\b\SUB\n\
+    \\ESC\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX,\STX\DC4\SUB\SO Batch job ID\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX,\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX,\t\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX,\DC2\DC3\n\
+    \$\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX.\STX6\SUB\ETB Batch operation state\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX.\STX+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX.,1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX.45\n\
+    \)\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX0\STX+\SUB\FS Batch operation start time\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX0\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX0\FS&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX0)*\n\
+    \)\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX2\STX+\SUB\FS Batch operation close time\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX2\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX2\FS&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX2)*\n\
+    \\140\STX\n\
+    \\STX\EOT\SOH\DC2\EOT8\NUL=\SOH\SUB\255\SOH BatchOperationTermination sends terminate requests to batch workflows.\n\
+    \ Keep the parameter in sync with temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest.\n\
+    \ Ignore first_execution_run_id because this is used for single workflow operation.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX8\b!\n\
+    \F\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX:\STX.\SUB9 Serialized value(s) to provide to the termination event\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX:\STX!\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX:\")\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX:,-\n\
+    \0\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX<\STX\SYN\SUB# The identity of the worker/client\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX<\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX<\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX<\DC4\NAK\n\
+    \\166\SOH\n\
+    \\STX\EOT\STX\DC2\EOTA\NULK\SOH\SUB\153\SOH BatchOperationSignal sends signals to batch workflows.\n\
+    \ Keep the parameter in sync with temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXA\b\FS\n\
+    \U\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXC\STX\DC4\SUBH The workflow author-defined name of the signal to send to the workflow\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXC\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXC\t\SI\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXC\DC2\DC3\n\
+    \=\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXE\STX,\SUB0 Serialized value(s) to provide with the signal\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXE\STX!\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXE\"'\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXE*+\n\
+    \\137\SOH\n\
+    \\EOT\EOT\STX\STX\STX\DC2\ETXH\STX+\SUB| Headers that are passed with the signal to the processing workflow.\n\
+    \ These can include things like auth or tracing tokens.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETXH\STX\US\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXH &\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXH)*\n\
+    \0\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\ETXJ\STX\SYN\SUB# The identity of the worker/client\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ENQ\DC2\ETXJ\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXJ\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXJ\DC4\NAK\n\
+    \\142\STX\n\
+    \\STX\EOT\ETX\DC2\EOTP\NULS\SOH\SUB\129\STX BatchOperationCancellation sends cancel requests to batch workflows.\n\
+    \ Keep the parameter in sync with temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest.\n\
+    \ Ignore first_execution_run_id because this is used for single workflow operation.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETXP\b\"\n\
+    \0\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETXR\STX\SYN\SUB# The identity of the worker/client\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXR\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXR\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXR\DC4\NAK\n\
+    \\178\SOH\n\
+    \\STX\EOT\EOT\DC2\EOTW\NULZ\SOH\SUB\165\SOH BatchOperationDeletion sends deletion requests to batch workflows.\n\
+    \ Keep the parameter in sync with temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXW\b\RS\n\
+    \0\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXY\STX\SYN\SUB# The identity of the worker/client\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXY\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXY\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXY\DC4\NAK\n\
+    \\171\SOH\n\
+    \\STX\EOT\ENQ\DC2\EOT^\NULj\SOH\SUB\158\SOH BatchOperationReset sends reset requests to batch workflows.\n\
+    \ Keep the parameter in sync with temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETX^\b\ESC\n\
+    \1\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETX`\STX\SYN\SUB$ The identity of the worker/client.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETX`\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETX`\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETX`\DC4\NAK\n\
+    \m\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETXc\STX2\SUB` Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\ETXc\STX%\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXc&-\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXc01\n\
+    \6\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\ETXf\STX1\SUB) Reset type (deprecated, use `options`).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ACK\DC2\ETXf\STX!\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\ETXf\",\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\ETXf/0\n\
+    \I\n\
+    \\EOT\EOT\ENQ\STX\ETX\DC2\ETXh\STX@\SUB< History event reapply options (deprecated, use `options`).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ACK\DC2\ETXh\STX(\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\SOH\DC2\ETXh);\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ETX\DC2\ETXh>?\n\
+    \\230\SOH\n\
+    \\STX\EOT\ACK\DC2\EOTn\NULx\SOH\SUB\217\SOH BatchOperationUpdateWorkflowExecutionOptions sends UpdateWorkflowExecutionOptions requests to batch workflows.\n\
+    \ Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXn\b4\n\
+    \1\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXp\STX\SYN\SUB$ The identity of the worker/client.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXp\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXp\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXp\DC4\NAK\n\
+    \f\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETXs\STXS\SUBY Workflow Execution options. Partial updates are accepted and controlled by update_mask.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\ETXs\STX3\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETXs4N\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETXsQR\n\
+    \\185\SOH\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\ETXw\STX,\SUB\171\SOH Controls which fields from `workflow_execution_options` will be applied.\n\
+    \ To unset a field, set it to null and use the update mask to indicate that it should be mutated.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\ETXw\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\ETXw\FS'\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\ETXw*+\n\
+    \Y\n\
+    \\STX\EOT\a\DC2\ENQ{\NUL\142\SOH\SOH\SUBL BatchOperationUnpauseActivities sends unpause requests to batch workflows.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETX{\b'\n\
+    \1\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETX}\STX\SYN\SUB$ The identity of the worker/client.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETX}\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETX}\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETX}\DC4\NAK\n\
+    \h\n\
+    \\EOT\EOT\a\b\NUL\DC2\ACK\128\SOH\STX\131\SOH\ETX\SUBX The activity to unpause. If match_all is set to true, all activities will be unpaused.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\b\NUL\SOH\DC2\EOT\128\SOH\b\DLE\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\129\SOH\EOT\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\129\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\129\SOH\v\SI\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\129\SOH\DC2\DC3\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\130\SOH\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ENQ\DC2\EOT\130\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\130\SOH\t\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\130\SOH\NAK\SYN\n\
+    \K\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\134\SOH\STX\SUB\SUB= Providing this flag will also reset the number of attempts.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ENQ\DC2\EOT\134\SOH\STX\ACK\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\134\SOH\a\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\134\SOH\CAN\EM\n\
+    \J\n\
+    \\EOT\EOT\a\STX\EOT\DC2\EOT\137\SOH\STX\ESC\SUB< Providing this flag will also reset the heartbeat details.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ENQ\DC2\EOT\137\SOH\STX\ACK\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\EOT\137\SOH\a\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\EOT\137\SOH\EM\SUB\n\
+    \\147\SOH\n\
+    \\EOT\EOT\a\STX\ENQ\DC2\EOT\141\SOH\STX&\SUB\132\SOH If set, the activity will start at a random time within the specified jitter\n\
+    \ duration, introducing variability to the start time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\ACK\DC2\EOT\141\SOH\STX\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\SOH\DC2\EOT\141\SOH\ESC!\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\ETX\DC2\EOT\141\SOH$%\n\
+    \h\n\
+    \\STX\EOT\b\DC2\ACK\145\SOH\NUL\155\SOH\SOH\SUBZ BatchOperationTriggerWorkflowRule sends TriggerWorkflowRule requests to batch workflows.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\145\SOH\b)\n\
+    \2\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\147\SOH\STX\SYN\SUB$ The identity of the worker/client.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\147\SOH\STX\b\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\147\SOH\t\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\147\SOH\DC4\NAK\n\
+    \\SO\n\
+    \\EOT\EOT\b\b\NUL\DC2\ACK\149\SOH\STX\154\SOH\ETX\n\
+    \\r\n\
+    \\ENQ\EOT\b\b\NUL\SOH\DC2\EOT\149\SOH\b\f\n\
+    \$\n\
+    \\EOT\EOT\b\STX\SOH\DC2\EOT\151\SOH\EOT\DC2\SUB\SYN ID of existing rule.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\EOT\151\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\151\SOH\v\r\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\151\SOH\DLE\DC1\n\
+    \]\n\
+    \\EOT\EOT\b\STX\STX\DC2\EOT\153\SOH\EOT4\SUBO Rule specification to be applied to the workflow without creating a new rule.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\153\SOH\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\153\SOH+/\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\153\SOH23b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Batch/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Batch/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Batch/V1/Message_Fields.hs
@@ -0,0 +1,244 @@
+{- This file was auto-generated from temporal/api/batch/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Batch.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.FieldMask
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.BatchOperation
+import qualified Proto.Temporal.Api.Enums.V1.Reset
+import qualified Proto.Temporal.Api.Rules.V1.Message
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+closeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "closeTime" a) =>
+  Lens.Family2.LensLike' f s a
+closeTime = Data.ProtoLens.Field.field @"closeTime"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+jitter ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jitter" a) =>
+  Lens.Family2.LensLike' f s a
+jitter = Data.ProtoLens.Field.field @"jitter"
+jobId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jobId" a) =>
+  Lens.Family2.LensLike' f s a
+jobId = Data.ProtoLens.Field.field @"jobId"
+matchAll ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "matchAll" a) =>
+  Lens.Family2.LensLike' f s a
+matchAll = Data.ProtoLens.Field.field @"matchAll"
+maybe'activity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activity = Data.ProtoLens.Field.field @"maybe'activity"
+maybe'closeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'closeTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'closeTime = Data.ProtoLens.Field.field @"maybe'closeTime"
+maybe'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'details" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'details = Data.ProtoLens.Field.field @"maybe'details"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'id ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'id" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'id = Data.ProtoLens.Field.field @"maybe'id"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'jitter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'jitter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'jitter = Data.ProtoLens.Field.field @"maybe'jitter"
+maybe'matchAll ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'matchAll" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'matchAll = Data.ProtoLens.Field.field @"maybe'matchAll"
+maybe'options ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'options" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'options = Data.ProtoLens.Field.field @"maybe'options"
+maybe'rule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rule = Data.ProtoLens.Field.field @"maybe'rule"
+maybe'spec ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'spec" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'spec = Data.ProtoLens.Field.field @"maybe'spec"
+maybe'startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTime = Data.ProtoLens.Field.field @"maybe'startTime"
+maybe'type' ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'type'" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'type' = Data.ProtoLens.Field.field @"maybe'type'"
+maybe'updateMask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateMask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateMask = Data.ProtoLens.Field.field @"maybe'updateMask"
+maybe'workflowExecutionOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionOptions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionOptions
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionOptions"
+options ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "options" a) =>
+  Lens.Family2.LensLike' f s a
+options = Data.ProtoLens.Field.field @"options"
+resetAttempts ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetAttempts" a) =>
+  Lens.Family2.LensLike' f s a
+resetAttempts = Data.ProtoLens.Field.field @"resetAttempts"
+resetHeartbeat ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetHeartbeat" a) =>
+  Lens.Family2.LensLike' f s a
+resetHeartbeat = Data.ProtoLens.Field.field @"resetHeartbeat"
+resetReapplyType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetReapplyType" a) =>
+  Lens.Family2.LensLike' f s a
+resetReapplyType = Data.ProtoLens.Field.field @"resetReapplyType"
+resetType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetType" a) =>
+  Lens.Family2.LensLike' f s a
+resetType = Data.ProtoLens.Field.field @"resetType"
+signal ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "signal" a) =>
+  Lens.Family2.LensLike' f s a
+signal = Data.ProtoLens.Field.field @"signal"
+spec ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spec" a) =>
+  Lens.Family2.LensLike' f s a
+spec = Data.ProtoLens.Field.field @"spec"
+startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTime" a) =>
+  Lens.Family2.LensLike' f s a
+startTime = Data.ProtoLens.Field.field @"startTime"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+updateMask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateMask" a) =>
+  Lens.Family2.LensLike' f s a
+updateMask = Data.ProtoLens.Field.field @"updateMask"
+workflowExecutionOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionOptions" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionOptions
+  = Data.ProtoLens.Field.field @"workflowExecutionOptions"
diff --git a/src/Proto/Temporal/Api/Command/V1/Message.hs b/src/Proto/Temporal/Api/Command/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Command/V1/Message.hs
@@ -0,0 +1,8905 @@
+{- This file was auto-generated from temporal/api/command/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Command.V1.Message (
+        CancelTimerCommandAttributes(),
+        CancelWorkflowExecutionCommandAttributes(), Command(),
+        Command'Attributes(..),
+        _Command'ScheduleActivityTaskCommandAttributes,
+        _Command'StartTimerCommandAttributes,
+        _Command'CompleteWorkflowExecutionCommandAttributes,
+        _Command'FailWorkflowExecutionCommandAttributes,
+        _Command'RequestCancelActivityTaskCommandAttributes,
+        _Command'CancelTimerCommandAttributes,
+        _Command'CancelWorkflowExecutionCommandAttributes,
+        _Command'RequestCancelExternalWorkflowExecutionCommandAttributes,
+        _Command'RecordMarkerCommandAttributes,
+        _Command'ContinueAsNewWorkflowExecutionCommandAttributes,
+        _Command'StartChildWorkflowExecutionCommandAttributes,
+        _Command'SignalExternalWorkflowExecutionCommandAttributes,
+        _Command'UpsertWorkflowSearchAttributesCommandAttributes,
+        _Command'ProtocolMessageCommandAttributes,
+        _Command'ModifyWorkflowPropertiesCommandAttributes,
+        _Command'ScheduleNexusOperationCommandAttributes,
+        _Command'RequestCancelNexusOperationCommandAttributes,
+        CompleteWorkflowExecutionCommandAttributes(),
+        ContinueAsNewWorkflowExecutionCommandAttributes(),
+        FailWorkflowExecutionCommandAttributes(),
+        ModifyWorkflowPropertiesCommandAttributes(),
+        ProtocolMessageCommandAttributes(),
+        RecordMarkerCommandAttributes(),
+        RecordMarkerCommandAttributes'DetailsEntry(),
+        RequestCancelActivityTaskCommandAttributes(),
+        RequestCancelExternalWorkflowExecutionCommandAttributes(),
+        RequestCancelNexusOperationCommandAttributes(),
+        ScheduleActivityTaskCommandAttributes(),
+        ScheduleNexusOperationCommandAttributes(),
+        ScheduleNexusOperationCommandAttributes'NexusHeaderEntry(),
+        SignalExternalWorkflowExecutionCommandAttributes(),
+        StartChildWorkflowExecutionCommandAttributes(),
+        StartTimerCommandAttributes(),
+        UpsertWorkflowSearchAttributesCommandAttributes()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.CommandType
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.timerId' @:: Lens' CancelTimerCommandAttributes Data.Text.Text@ -}
+data CancelTimerCommandAttributes
+  = CancelTimerCommandAttributes'_constructor {_CancelTimerCommandAttributes'timerId :: !Data.Text.Text,
+                                               _CancelTimerCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelTimerCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelTimerCommandAttributes "timerId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelTimerCommandAttributes'timerId
+           (\ x__ y__ -> x__ {_CancelTimerCommandAttributes'timerId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelTimerCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.CancelTimerCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\FSCancelTimerCommandAttributes\DC2\EM\n\
+      \\btimer_id\CAN\SOH \SOH(\tR\atimerId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timerId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"timerId")) ::
+              Data.ProtoLens.FieldDescriptor CancelTimerCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timerId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelTimerCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_CancelTimerCommandAttributes'_unknownFields = y__})
+  defMessage
+    = CancelTimerCommandAttributes'_constructor
+        {_CancelTimerCommandAttributes'timerId = Data.ProtoLens.fieldDefault,
+         _CancelTimerCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelTimerCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelTimerCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "timer_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"timerId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelTimerCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"timerId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CancelTimerCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelTimerCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CancelTimerCommandAttributes'timerId x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.details' @:: Lens' CancelWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'details' @:: Lens' CancelWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data CancelWorkflowExecutionCommandAttributes
+  = CancelWorkflowExecutionCommandAttributes'_constructor {_CancelWorkflowExecutionCommandAttributes'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                           _CancelWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelWorkflowExecutionCommandAttributes "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelWorkflowExecutionCommandAttributes'details
+           (\ x__ y__
+              -> x__ {_CancelWorkflowExecutionCommandAttributes'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CancelWorkflowExecutionCommandAttributes "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelWorkflowExecutionCommandAttributes'details
+           (\ x__ y__
+              -> x__ {_CancelWorkflowExecutionCommandAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.CancelWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \(CancelWorkflowExecutionCommandAttributes\DC2:\n\
+      \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor CancelWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_CancelWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = CancelWorkflowExecutionCommandAttributes'_constructor
+        {_CancelWorkflowExecutionCommandAttributes'details = Prelude.Nothing,
+         _CancelWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "CancelWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CancelWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelWorkflowExecutionCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CancelWorkflowExecutionCommandAttributes'details x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.commandType' @:: Lens' Command Proto.Temporal.Api.Enums.V1.CommandType.CommandType@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.userMetadata' @:: Lens' Command Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'userMetadata' @:: Lens' Command (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'attributes' @:: Lens' Command (Prelude.Maybe Command'Attributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'scheduleActivityTaskCommandAttributes' @:: Lens' Command (Prelude.Maybe ScheduleActivityTaskCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduleActivityTaskCommandAttributes' @:: Lens' Command ScheduleActivityTaskCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'startTimerCommandAttributes' @:: Lens' Command (Prelude.Maybe StartTimerCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.startTimerCommandAttributes' @:: Lens' Command StartTimerCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'completeWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe CompleteWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.completeWorkflowExecutionCommandAttributes' @:: Lens' Command CompleteWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'failWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe FailWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.failWorkflowExecutionCommandAttributes' @:: Lens' Command FailWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'requestCancelActivityTaskCommandAttributes' @:: Lens' Command (Prelude.Maybe RequestCancelActivityTaskCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.requestCancelActivityTaskCommandAttributes' @:: Lens' Command RequestCancelActivityTaskCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'cancelTimerCommandAttributes' @:: Lens' Command (Prelude.Maybe CancelTimerCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.cancelTimerCommandAttributes' @:: Lens' Command CancelTimerCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'cancelWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe CancelWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.cancelWorkflowExecutionCommandAttributes' @:: Lens' Command CancelWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'requestCancelExternalWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe RequestCancelExternalWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.requestCancelExternalWorkflowExecutionCommandAttributes' @:: Lens' Command RequestCancelExternalWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'recordMarkerCommandAttributes' @:: Lens' Command (Prelude.Maybe RecordMarkerCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.recordMarkerCommandAttributes' @:: Lens' Command RecordMarkerCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'continueAsNewWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe ContinueAsNewWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.continueAsNewWorkflowExecutionCommandAttributes' @:: Lens' Command ContinueAsNewWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'startChildWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe StartChildWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.startChildWorkflowExecutionCommandAttributes' @:: Lens' Command StartChildWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'signalExternalWorkflowExecutionCommandAttributes' @:: Lens' Command (Prelude.Maybe SignalExternalWorkflowExecutionCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.signalExternalWorkflowExecutionCommandAttributes' @:: Lens' Command SignalExternalWorkflowExecutionCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'upsertWorkflowSearchAttributesCommandAttributes' @:: Lens' Command (Prelude.Maybe UpsertWorkflowSearchAttributesCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.upsertWorkflowSearchAttributesCommandAttributes' @:: Lens' Command UpsertWorkflowSearchAttributesCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'protocolMessageCommandAttributes' @:: Lens' Command (Prelude.Maybe ProtocolMessageCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.protocolMessageCommandAttributes' @:: Lens' Command ProtocolMessageCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'modifyWorkflowPropertiesCommandAttributes' @:: Lens' Command (Prelude.Maybe ModifyWorkflowPropertiesCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.modifyWorkflowPropertiesCommandAttributes' @:: Lens' Command ModifyWorkflowPropertiesCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'scheduleNexusOperationCommandAttributes' @:: Lens' Command (Prelude.Maybe ScheduleNexusOperationCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduleNexusOperationCommandAttributes' @:: Lens' Command ScheduleNexusOperationCommandAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'requestCancelNexusOperationCommandAttributes' @:: Lens' Command (Prelude.Maybe RequestCancelNexusOperationCommandAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.requestCancelNexusOperationCommandAttributes' @:: Lens' Command RequestCancelNexusOperationCommandAttributes@ -}
+data Command
+  = Command'_constructor {_Command'commandType :: !Proto.Temporal.Api.Enums.V1.CommandType.CommandType,
+                          _Command'userMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata),
+                          _Command'attributes :: !(Prelude.Maybe Command'Attributes),
+                          _Command'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Command where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Command'Attributes
+  = Command'ScheduleActivityTaskCommandAttributes !ScheduleActivityTaskCommandAttributes |
+    Command'StartTimerCommandAttributes !StartTimerCommandAttributes |
+    Command'CompleteWorkflowExecutionCommandAttributes !CompleteWorkflowExecutionCommandAttributes |
+    Command'FailWorkflowExecutionCommandAttributes !FailWorkflowExecutionCommandAttributes |
+    Command'RequestCancelActivityTaskCommandAttributes !RequestCancelActivityTaskCommandAttributes |
+    Command'CancelTimerCommandAttributes !CancelTimerCommandAttributes |
+    Command'CancelWorkflowExecutionCommandAttributes !CancelWorkflowExecutionCommandAttributes |
+    Command'RequestCancelExternalWorkflowExecutionCommandAttributes !RequestCancelExternalWorkflowExecutionCommandAttributes |
+    Command'RecordMarkerCommandAttributes !RecordMarkerCommandAttributes |
+    Command'ContinueAsNewWorkflowExecutionCommandAttributes !ContinueAsNewWorkflowExecutionCommandAttributes |
+    Command'StartChildWorkflowExecutionCommandAttributes !StartChildWorkflowExecutionCommandAttributes |
+    Command'SignalExternalWorkflowExecutionCommandAttributes !SignalExternalWorkflowExecutionCommandAttributes |
+    Command'UpsertWorkflowSearchAttributesCommandAttributes !UpsertWorkflowSearchAttributesCommandAttributes |
+    Command'ProtocolMessageCommandAttributes !ProtocolMessageCommandAttributes |
+    Command'ModifyWorkflowPropertiesCommandAttributes !ModifyWorkflowPropertiesCommandAttributes |
+    Command'ScheduleNexusOperationCommandAttributes !ScheduleNexusOperationCommandAttributes |
+    Command'RequestCancelNexusOperationCommandAttributes !RequestCancelNexusOperationCommandAttributes
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Command "commandType" Proto.Temporal.Api.Enums.V1.CommandType.CommandType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'commandType
+           (\ x__ y__ -> x__ {_Command'commandType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Command "userMetadata" Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'userMetadata
+           (\ x__ y__ -> x__ {_Command'userMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Command "maybe'userMetadata" (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'userMetadata
+           (\ x__ y__ -> x__ {_Command'userMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Command "maybe'attributes" (Prelude.Maybe Command'Attributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Command "maybe'scheduleActivityTaskCommandAttributes" (Prelude.Maybe ScheduleActivityTaskCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'ScheduleActivityTaskCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap Command'ScheduleActivityTaskCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "scheduleActivityTaskCommandAttributes" ScheduleActivityTaskCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'ScheduleActivityTaskCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap Command'ScheduleActivityTaskCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'startTimerCommandAttributes" (Prelude.Maybe StartTimerCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'StartTimerCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Command'StartTimerCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "startTimerCommandAttributes" StartTimerCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'StartTimerCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Command'StartTimerCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'completeWorkflowExecutionCommandAttributes" (Prelude.Maybe CompleteWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'CompleteWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'CompleteWorkflowExecutionCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "completeWorkflowExecutionCommandAttributes" CompleteWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'CompleteWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'CompleteWorkflowExecutionCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'failWorkflowExecutionCommandAttributes" (Prelude.Maybe FailWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'FailWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'FailWorkflowExecutionCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "failWorkflowExecutionCommandAttributes" FailWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'FailWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'FailWorkflowExecutionCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'requestCancelActivityTaskCommandAttributes" (Prelude.Maybe RequestCancelActivityTaskCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'RequestCancelActivityTaskCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'RequestCancelActivityTaskCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "requestCancelActivityTaskCommandAttributes" RequestCancelActivityTaskCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'RequestCancelActivityTaskCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'RequestCancelActivityTaskCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'cancelTimerCommandAttributes" (Prelude.Maybe CancelTimerCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'CancelTimerCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Command'CancelTimerCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "cancelTimerCommandAttributes" CancelTimerCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'CancelTimerCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Command'CancelTimerCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'cancelWorkflowExecutionCommandAttributes" (Prelude.Maybe CancelWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'CancelWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'CancelWorkflowExecutionCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "cancelWorkflowExecutionCommandAttributes" CancelWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'CancelWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'CancelWorkflowExecutionCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'requestCancelExternalWorkflowExecutionCommandAttributes" (Prelude.Maybe RequestCancelExternalWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'RequestCancelExternalWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'RequestCancelExternalWorkflowExecutionCommandAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField Command "requestCancelExternalWorkflowExecutionCommandAttributes" RequestCancelExternalWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'RequestCancelExternalWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'RequestCancelExternalWorkflowExecutionCommandAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'recordMarkerCommandAttributes" (Prelude.Maybe RecordMarkerCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'RecordMarkerCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap Command'RecordMarkerCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "recordMarkerCommandAttributes" RecordMarkerCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'RecordMarkerCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap Command'RecordMarkerCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'continueAsNewWorkflowExecutionCommandAttributes" (Prelude.Maybe ContinueAsNewWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'ContinueAsNewWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'ContinueAsNewWorkflowExecutionCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "continueAsNewWorkflowExecutionCommandAttributes" ContinueAsNewWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'ContinueAsNewWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'ContinueAsNewWorkflowExecutionCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'startChildWorkflowExecutionCommandAttributes" (Prelude.Maybe StartChildWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'StartChildWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'StartChildWorkflowExecutionCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "startChildWorkflowExecutionCommandAttributes" StartChildWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'StartChildWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'StartChildWorkflowExecutionCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'signalExternalWorkflowExecutionCommandAttributes" (Prelude.Maybe SignalExternalWorkflowExecutionCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'SignalExternalWorkflowExecutionCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'SignalExternalWorkflowExecutionCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "signalExternalWorkflowExecutionCommandAttributes" SignalExternalWorkflowExecutionCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'SignalExternalWorkflowExecutionCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'SignalExternalWorkflowExecutionCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'upsertWorkflowSearchAttributesCommandAttributes" (Prelude.Maybe UpsertWorkflowSearchAttributesCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'UpsertWorkflowSearchAttributesCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'UpsertWorkflowSearchAttributesCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "upsertWorkflowSearchAttributesCommandAttributes" UpsertWorkflowSearchAttributesCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'UpsertWorkflowSearchAttributesCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'UpsertWorkflowSearchAttributesCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'protocolMessageCommandAttributes" (Prelude.Maybe ProtocolMessageCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'ProtocolMessageCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap Command'ProtocolMessageCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "protocolMessageCommandAttributes" ProtocolMessageCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'ProtocolMessageCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap Command'ProtocolMessageCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'modifyWorkflowPropertiesCommandAttributes" (Prelude.Maybe ModifyWorkflowPropertiesCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'ModifyWorkflowPropertiesCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'ModifyWorkflowPropertiesCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "modifyWorkflowPropertiesCommandAttributes" ModifyWorkflowPropertiesCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'ModifyWorkflowPropertiesCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'ModifyWorkflowPropertiesCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'scheduleNexusOperationCommandAttributes" (Prelude.Maybe ScheduleNexusOperationCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'ScheduleNexusOperationCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'ScheduleNexusOperationCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "scheduleNexusOperationCommandAttributes" ScheduleNexusOperationCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'ScheduleNexusOperationCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'ScheduleNexusOperationCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Command "maybe'requestCancelNexusOperationCommandAttributes" (Prelude.Maybe RequestCancelNexusOperationCommandAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Command'RequestCancelNexusOperationCommandAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   Command'RequestCancelNexusOperationCommandAttributes y__))
+instance Data.ProtoLens.Field.HasField Command "requestCancelNexusOperationCommandAttributes" RequestCancelNexusOperationCommandAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Command'attributes (\ x__ y__ -> x__ {_Command'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Command'RequestCancelNexusOperationCommandAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      Command'RequestCancelNexusOperationCommandAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Command where
+  messageName _ = Data.Text.pack "temporal.api.command.v1.Command"
+  packedMessageDescriptor _
+    = "\n\
+      \\aCommand\DC2E\n\
+      \\fcommand_type\CAN\SOH \SOH(\SO2\".temporal.api.enums.v1.CommandTypeR\vcommandType\DC2G\n\
+      \\ruser_metadata\CAN\173\STX \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC2\154\SOH\n\
+      \)schedule_activity_task_command_attributes\CAN\STX \SOH(\v2>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\NULR%scheduleActivityTaskCommandAttributes\DC2{\n\
+      \\RSstart_timer_command_attributes\CAN\ETX \SOH(\v24.temporal.api.command.v1.StartTimerCommandAttributesH\NULR\ESCstartTimerCommandAttributes\DC2\169\SOH\n\
+      \.complete_workflow_execution_command_attributes\CAN\EOT \SOH(\v2C.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\NULR*completeWorkflowExecutionCommandAttributes\DC2\157\SOH\n\
+      \*fail_workflow_execution_command_attributes\CAN\ENQ \SOH(\v2?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\NULR&failWorkflowExecutionCommandAttributes\DC2\170\SOH\n\
+      \/request_cancel_activity_task_command_attributes\CAN\ACK \SOH(\v2C.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\NULR*requestCancelActivityTaskCommandAttributes\DC2~\n\
+      \\UScancel_timer_command_attributes\CAN\a \SOH(\v25.temporal.api.command.v1.CancelTimerCommandAttributesH\NULR\FScancelTimerCommandAttributes\DC2\163\SOH\n\
+      \,cancel_workflow_execution_command_attributes\CAN\b \SOH(\v2A.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\NULR(cancelWorkflowExecutionCommandAttributes\DC2\210\SOH\n\
+      \=request_cancel_external_workflow_execution_command_attributes\CAN\t \SOH(\v2P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\NULR7requestCancelExternalWorkflowExecutionCommandAttributes\DC2\129\SOH\n\
+      \ record_marker_command_attributes\CAN\n\
+      \ \SOH(\v26.temporal.api.command.v1.RecordMarkerCommandAttributesH\NULR\GSrecordMarkerCommandAttributes\DC2\186\SOH\n\
+      \5continue_as_new_workflow_execution_command_attributes\CAN\v \SOH(\v2H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\NULR/continueAsNewWorkflowExecutionCommandAttributes\DC2\176\SOH\n\
+      \1start_child_workflow_execution_command_attributes\CAN\f \SOH(\v2E.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\NULR,startChildWorkflowExecutionCommandAttributes\DC2\188\SOH\n\
+      \5signal_external_workflow_execution_command_attributes\CAN\r \SOH(\v2I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\NULR0signalExternalWorkflowExecutionCommandAttributes\DC2\185\SOH\n\
+      \4upsert_workflow_search_attributes_command_attributes\CAN\SO \SOH(\v2H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\NULR/upsertWorkflowSearchAttributesCommandAttributes\DC2\138\SOH\n\
+      \#protocol_message_command_attributes\CAN\SI \SOH(\v29.temporal.api.command.v1.ProtocolMessageCommandAttributesH\NULR protocolMessageCommandAttributes\DC2\166\SOH\n\
+      \-modify_workflow_properties_command_attributes\CAN\DC1 \SOH(\v2B.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\NULR)modifyWorkflowPropertiesCommandAttributes\DC2\160\SOH\n\
+      \+schedule_nexus_operation_command_attributes\CAN\DC2 \SOH(\v2@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\NULR'scheduleNexusOperationCommandAttributes\DC2\176\SOH\n\
+      \1request_cancel_nexus_operation_command_attributes\CAN\DC3 \SOH(\v2E.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\NULR,requestCancelNexusOperationCommandAttributesB\f\n\
+      \\n\
+      \attributes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        commandType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "command_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.CommandType.CommandType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"commandType")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        userMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "user_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'userMetadata")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        scheduleActivityTaskCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_activity_task_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleActivityTaskCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'scheduleActivityTaskCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        startTimerCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_timer_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartTimerCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'startTimerCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        completeWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "complete_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CompleteWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'completeWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        failWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fail_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor FailWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'failWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        requestCancelActivityTaskCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_activity_task_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelActivityTaskCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelActivityTaskCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        cancelTimerCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_timer_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelTimerCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'cancelTimerCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        cancelWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'cancelWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        requestCancelExternalWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_external_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelExternalWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        recordMarkerCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "record_marker_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RecordMarkerCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'recordMarkerCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        continueAsNewWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continue_as_new_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ContinueAsNewWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'continueAsNewWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        startChildWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_child_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'startChildWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        signalExternalWorkflowExecutionCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_external_workflow_execution_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalExternalWorkflowExecutionCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'signalExternalWorkflowExecutionCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        upsertWorkflowSearchAttributesCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upsert_workflow_search_attributes_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpsertWorkflowSearchAttributesCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'upsertWorkflowSearchAttributesCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        protocolMessageCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "protocol_message_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ProtocolMessageCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'protocolMessageCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        modifyWorkflowPropertiesCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "modify_workflow_properties_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ModifyWorkflowPropertiesCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'modifyWorkflowPropertiesCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        scheduleNexusOperationCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_nexus_operation_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleNexusOperationCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'scheduleNexusOperationCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+        requestCancelNexusOperationCommandAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_nexus_operation_command_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelNexusOperationCommandAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelNexusOperationCommandAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Command
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, commandType__field_descriptor),
+           (Data.ProtoLens.Tag 301, userMetadata__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            scheduleActivityTaskCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            startTimerCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 4, 
+            completeWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 5, 
+            failWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 6, 
+            requestCancelActivityTaskCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 7, 
+            cancelTimerCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 8, 
+            cancelWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 9, 
+            requestCancelExternalWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 10, 
+            recordMarkerCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            continueAsNewWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 12, 
+            startChildWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 13, 
+            signalExternalWorkflowExecutionCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 14, 
+            upsertWorkflowSearchAttributesCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 15, 
+            protocolMessageCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 17, 
+            modifyWorkflowPropertiesCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 18, 
+            scheduleNexusOperationCommandAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 19, 
+            requestCancelNexusOperationCommandAttributes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Command'_unknownFields
+        (\ x__ y__ -> x__ {_Command'_unknownFields = y__})
+  defMessage
+    = Command'_constructor
+        {_Command'commandType = Data.ProtoLens.fieldDefault,
+         _Command'userMetadata = Prelude.Nothing,
+         _Command'attributes = Prelude.Nothing,
+         _Command'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Command -> Data.ProtoLens.Encoding.Bytes.Parser Command
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "command_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"commandType") y x)
+                        2410
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "user_metadata"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"userMetadata") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_activity_task_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"scheduleActivityTaskCommandAttributes")
+                                     y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_timer_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startTimerCommandAttributes") y
+                                     x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "complete_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"completeWorkflowExecutionCommandAttributes")
+                                     y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "fail_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"failWorkflowExecutionCommandAttributes")
+                                     y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_activity_task_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"requestCancelActivityTaskCommandAttributes")
+                                     y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_timer_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelTimerCommandAttributes") y
+                                     x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"cancelWorkflowExecutionCommandAttributes")
+                                     y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_external_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"requestCancelExternalWorkflowExecutionCommandAttributes")
+                                     y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "record_marker_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"recordMarkerCommandAttributes") y
+                                     x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "continue_as_new_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"continueAsNewWorkflowExecutionCommandAttributes")
+                                     y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_child_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"startChildWorkflowExecutionCommandAttributes")
+                                     y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "signal_external_workflow_execution_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"signalExternalWorkflowExecutionCommandAttributes")
+                                     y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upsert_workflow_search_attributes_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"upsertWorkflowSearchAttributesCommandAttributes")
+                                     y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "protocol_message_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"protocolMessageCommandAttributes")
+                                     y x)
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "modify_workflow_properties_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"modifyWorkflowPropertiesCommandAttributes")
+                                     y x)
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_nexus_operation_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"scheduleNexusOperationCommandAttributes")
+                                     y x)
+                        154
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_nexus_operation_command_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"requestCancelNexusOperationCommandAttributes")
+                                     y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Command"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"commandType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'userMetadata") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 2410)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'attributes") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just (Command'ScheduleActivityTaskCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'StartTimerCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'CompleteWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'FailWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'RequestCancelActivityTaskCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'CancelTimerCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'CancelWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'RequestCancelExternalWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'RecordMarkerCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'ContinueAsNewWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'StartChildWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'SignalExternalWorkflowExecutionCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 106)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'UpsertWorkflowSearchAttributesCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 114)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'ProtocolMessageCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 122)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'ModifyWorkflowPropertiesCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 138)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'ScheduleNexusOperationCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 146)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Command'RequestCancelNexusOperationCommandAttributes v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 154)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Command where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Command'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Command'commandType x__)
+                (Control.DeepSeq.deepseq
+                   (_Command'userMetadata x__)
+                   (Control.DeepSeq.deepseq (_Command'attributes x__) ())))
+instance Control.DeepSeq.NFData Command'Attributes where
+  rnf (Command'ScheduleActivityTaskCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'StartTimerCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'CompleteWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'FailWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'RequestCancelActivityTaskCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'CancelTimerCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'CancelWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (Command'RequestCancelExternalWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'RecordMarkerCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'ContinueAsNewWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'StartChildWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'SignalExternalWorkflowExecutionCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'UpsertWorkflowSearchAttributesCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'ProtocolMessageCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'ModifyWorkflowPropertiesCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'ScheduleNexusOperationCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Command'RequestCancelNexusOperationCommandAttributes x__)
+    = Control.DeepSeq.rnf x__
+_Command'ScheduleActivityTaskCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes ScheduleActivityTaskCommandAttributes
+_Command'ScheduleActivityTaskCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'ScheduleActivityTaskCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'ScheduleActivityTaskCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'StartTimerCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes StartTimerCommandAttributes
+_Command'StartTimerCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'StartTimerCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'StartTimerCommandAttributes p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'CompleteWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes CompleteWorkflowExecutionCommandAttributes
+_Command'CompleteWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'CompleteWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'CompleteWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'FailWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes FailWorkflowExecutionCommandAttributes
+_Command'FailWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'FailWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'FailWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'RequestCancelActivityTaskCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes RequestCancelActivityTaskCommandAttributes
+_Command'RequestCancelActivityTaskCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'RequestCancelActivityTaskCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'RequestCancelActivityTaskCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'CancelTimerCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes CancelTimerCommandAttributes
+_Command'CancelTimerCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'CancelTimerCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'CancelTimerCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'CancelWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes CancelWorkflowExecutionCommandAttributes
+_Command'CancelWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'CancelWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'CancelWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'RequestCancelExternalWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes RequestCancelExternalWorkflowExecutionCommandAttributes
+_Command'RequestCancelExternalWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'RequestCancelExternalWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'RequestCancelExternalWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'RecordMarkerCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes RecordMarkerCommandAttributes
+_Command'RecordMarkerCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'RecordMarkerCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'RecordMarkerCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'ContinueAsNewWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes ContinueAsNewWorkflowExecutionCommandAttributes
+_Command'ContinueAsNewWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'ContinueAsNewWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'ContinueAsNewWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'StartChildWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes StartChildWorkflowExecutionCommandAttributes
+_Command'StartChildWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'StartChildWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'StartChildWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'SignalExternalWorkflowExecutionCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes SignalExternalWorkflowExecutionCommandAttributes
+_Command'SignalExternalWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'SignalExternalWorkflowExecutionCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'SignalExternalWorkflowExecutionCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'UpsertWorkflowSearchAttributesCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes UpsertWorkflowSearchAttributesCommandAttributes
+_Command'UpsertWorkflowSearchAttributesCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'UpsertWorkflowSearchAttributesCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'UpsertWorkflowSearchAttributesCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'ProtocolMessageCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes ProtocolMessageCommandAttributes
+_Command'ProtocolMessageCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'ProtocolMessageCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'ProtocolMessageCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'ModifyWorkflowPropertiesCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes ModifyWorkflowPropertiesCommandAttributes
+_Command'ModifyWorkflowPropertiesCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'ModifyWorkflowPropertiesCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'ModifyWorkflowPropertiesCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'ScheduleNexusOperationCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes ScheduleNexusOperationCommandAttributes
+_Command'ScheduleNexusOperationCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'ScheduleNexusOperationCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'ScheduleNexusOperationCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Command'RequestCancelNexusOperationCommandAttributes ::
+  Data.ProtoLens.Prism.Prism' Command'Attributes RequestCancelNexusOperationCommandAttributes
+_Command'RequestCancelNexusOperationCommandAttributes
+  = Data.ProtoLens.Prism.prism'
+      Command'RequestCancelNexusOperationCommandAttributes
+      (\ p__
+         -> case p__ of
+              (Command'RequestCancelNexusOperationCommandAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.result' @:: Lens' CompleteWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'result' @:: Lens' CompleteWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data CompleteWorkflowExecutionCommandAttributes
+  = CompleteWorkflowExecutionCommandAttributes'_constructor {_CompleteWorkflowExecutionCommandAttributes'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                             _CompleteWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CompleteWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CompleteWorkflowExecutionCommandAttributes "result" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompleteWorkflowExecutionCommandAttributes'result
+           (\ x__ y__
+              -> x__ {_CompleteWorkflowExecutionCommandAttributes'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CompleteWorkflowExecutionCommandAttributes "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompleteWorkflowExecutionCommandAttributes'result
+           (\ x__ y__
+              -> x__ {_CompleteWorkflowExecutionCommandAttributes'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CompleteWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \*CompleteWorkflowExecutionCommandAttributes\DC28\n\
+      \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor CompleteWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CompleteWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_CompleteWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = CompleteWorkflowExecutionCommandAttributes'_constructor
+        {_CompleteWorkflowExecutionCommandAttributes'result = Prelude.Nothing,
+         _CompleteWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CompleteWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser CompleteWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "CompleteWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CompleteWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CompleteWorkflowExecutionCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CompleteWorkflowExecutionCommandAttributes'result x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowType' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowType' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.taskQueue' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'taskQueue' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.input' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'input' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowRunTimeout' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowTaskTimeout' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowTaskTimeout' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.backoffStartInterval' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'backoffStartInterval' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.retryPolicy' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'retryPolicy' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.initiator' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.failure' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'failure' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.lastCompletionResult' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'lastCompletionResult' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.cronSchedule' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.header' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'header' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.memo' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'memo' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.searchAttributes' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'searchAttributes' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.inheritBuildId' @:: Lens' ContinueAsNewWorkflowExecutionCommandAttributes Prelude.Bool@ -}
+data ContinueAsNewWorkflowExecutionCommandAttributes
+  = ContinueAsNewWorkflowExecutionCommandAttributes'_constructor {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'initiator :: !Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator,
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'cronSchedule :: !Data.Text.Text,
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'inheritBuildId :: !Prelude.Bool,
+                                                                  _ContinueAsNewWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ContinueAsNewWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "backoffStartInterval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'backoffStartInterval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "initiator" Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'initiator
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'initiator = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "lastCompletionResult" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'lastCompletionResult" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'cronSchedule
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'memo
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'memo
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecutionCommandAttributes "inheritBuildId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecutionCommandAttributes'inheritBuildId
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecutionCommandAttributes'inheritBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ContinueAsNewWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \/ContinueAsNewWorkflowExecutionCommandAttributes\DC2I\n\
+      \\rworkflow_type\CAN\SOH \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+      \\n\
+      \task_queue\CAN\STX \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ENQinput\CAN\ETX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2O\n\
+      \\SYNbackoff_start_interval\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\DC4backoffStartInterval\DC2F\n\
+      \\fretry_policy\CAN\a \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2K\n\
+      \\tinitiator\CAN\b \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\DC2:\n\
+      \\afailure\CAN\t \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2V\n\
+      \\SYNlast_completion_result\CAN\n\
+      \ \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC2#\n\
+      \\rcron_schedule\CAN\v \SOH(\tR\fcronSchedule\DC26\n\
+      \\ACKheader\CAN\f \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+      \\EOTmemo\CAN\r \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\SO \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+      \\DLEinherit_build_id\CAN\SI \SOH(\bR\SOinheritBuildId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        backoffStartInterval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backoff_start_interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'backoffStartInterval")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        initiator__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiator"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiator")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        lastCompletionResult__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_completion_result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastCompletionResult")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+        inheritBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "inherit_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"inheritBuildId")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 2, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 3, input__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 5, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, backoffStartInterval__field_descriptor),
+           (Data.ProtoLens.Tag 7, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 8, initiator__field_descriptor),
+           (Data.ProtoLens.Tag 9, failure__field_descriptor),
+           (Data.ProtoLens.Tag 10, lastCompletionResult__field_descriptor),
+           (Data.ProtoLens.Tag 11, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 12, header__field_descriptor),
+           (Data.ProtoLens.Tag 13, memo__field_descriptor),
+           (Data.ProtoLens.Tag 14, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 15, inheritBuildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ContinueAsNewWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ContinueAsNewWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = ContinueAsNewWorkflowExecutionCommandAttributes'_constructor
+        {_ContinueAsNewWorkflowExecutionCommandAttributes'workflowType = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'input = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'initiator = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'failure = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'cronSchedule = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'header = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'memo = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'inheritBuildId = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ContinueAsNewWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ContinueAsNewWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "backoff_start_interval"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"backoffStartInterval") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "initiator"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"initiator") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_completion_result"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastCompletionResult") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        120
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "inherit_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"inheritBuildId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ContinueAsNewWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'backoffStartInterval") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'retryPolicy") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"initiator") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                           ((Prelude..)
+                                              ((Prelude..)
+                                                 Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 Prelude.fromIntegral)
+                                              Prelude.fromEnum _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'failure") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'lastCompletionResult")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field @"cronSchedule") _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                    ((Prelude..)
+                                                       (\ bs
+                                                          -> (Data.Monoid.<>)
+                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                  (Prelude.fromIntegral
+                                                                     (Data.ByteString.length bs)))
+                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                  bs))
+                                                       Data.Text.Encoding.encodeUtf8 _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field @"maybe'header") _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field @"maybe'memo")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              106)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'searchAttributes")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 114)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"inheritBuildId")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   120)
+                                                                ((Prelude..)
+                                                                   Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (\ b -> if b then 1 else 0) _v))
+                                                       (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                          (Lens.Family2.view
+                                                             Data.ProtoLens.unknownFields
+                                                             _x))))))))))))))))
+instance Control.DeepSeq.NFData ContinueAsNewWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ContinueAsNewWorkflowExecutionCommandAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ContinueAsNewWorkflowExecutionCommandAttributes'workflowType x__)
+                (Control.DeepSeq.deepseq
+                   (_ContinueAsNewWorkflowExecutionCommandAttributes'taskQueue x__)
+                   (Control.DeepSeq.deepseq
+                      (_ContinueAsNewWorkflowExecutionCommandAttributes'input x__)
+                      (Control.DeepSeq.deepseq
+                         (_ContinueAsNewWorkflowExecutionCommandAttributes'workflowRunTimeout
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_ContinueAsNewWorkflowExecutionCommandAttributes'workflowTaskTimeout
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_ContinueAsNewWorkflowExecutionCommandAttributes'backoffStartInterval
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ContinueAsNewWorkflowExecutionCommandAttributes'retryPolicy x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ContinueAsNewWorkflowExecutionCommandAttributes'initiator
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ContinueAsNewWorkflowExecutionCommandAttributes'failure
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ContinueAsNewWorkflowExecutionCommandAttributes'lastCompletionResult
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ContinueAsNewWorkflowExecutionCommandAttributes'cronSchedule
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_ContinueAsNewWorkflowExecutionCommandAttributes'header
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_ContinueAsNewWorkflowExecutionCommandAttributes'memo
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_ContinueAsNewWorkflowExecutionCommandAttributes'searchAttributes
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_ContinueAsNewWorkflowExecutionCommandAttributes'inheritBuildId
+                                                             x__)
+                                                          ())))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.failure' @:: Lens' FailWorkflowExecutionCommandAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'failure' @:: Lens' FailWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data FailWorkflowExecutionCommandAttributes
+  = FailWorkflowExecutionCommandAttributes'_constructor {_FailWorkflowExecutionCommandAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                         _FailWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show FailWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField FailWorkflowExecutionCommandAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailWorkflowExecutionCommandAttributes'failure
+           (\ x__ y__
+              -> x__ {_FailWorkflowExecutionCommandAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField FailWorkflowExecutionCommandAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailWorkflowExecutionCommandAttributes'failure
+           (\ x__ y__
+              -> x__ {_FailWorkflowExecutionCommandAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message FailWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.FailWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \&FailWorkflowExecutionCommandAttributes\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor FailWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _FailWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_FailWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = FailWorkflowExecutionCommandAttributes'_constructor
+        {_FailWorkflowExecutionCommandAttributes'failure = Prelude.Nothing,
+         _FailWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          FailWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser FailWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "FailWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData FailWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_FailWorkflowExecutionCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_FailWorkflowExecutionCommandAttributes'failure x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.upsertedMemo' @:: Lens' ModifyWorkflowPropertiesCommandAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'upsertedMemo' @:: Lens' ModifyWorkflowPropertiesCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@ -}
+data ModifyWorkflowPropertiesCommandAttributes
+  = ModifyWorkflowPropertiesCommandAttributes'_constructor {_ModifyWorkflowPropertiesCommandAttributes'upsertedMemo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                            _ModifyWorkflowPropertiesCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ModifyWorkflowPropertiesCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ModifyWorkflowPropertiesCommandAttributes "upsertedMemo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ModifyWorkflowPropertiesCommandAttributes'upsertedMemo
+           (\ x__ y__
+              -> x__
+                   {_ModifyWorkflowPropertiesCommandAttributes'upsertedMemo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ModifyWorkflowPropertiesCommandAttributes "maybe'upsertedMemo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ModifyWorkflowPropertiesCommandAttributes'upsertedMemo
+           (\ x__ y__
+              -> x__
+                   {_ModifyWorkflowPropertiesCommandAttributes'upsertedMemo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ModifyWorkflowPropertiesCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \)ModifyWorkflowPropertiesCommandAttributes\DC2A\n\
+      \\rupserted_memo\CAN\SOH \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        upsertedMemo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upserted_memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'upsertedMemo")) ::
+              Data.ProtoLens.FieldDescriptor ModifyWorkflowPropertiesCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, upsertedMemo__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ModifyWorkflowPropertiesCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ModifyWorkflowPropertiesCommandAttributes'_unknownFields = y__})
+  defMessage
+    = ModifyWorkflowPropertiesCommandAttributes'_constructor
+        {_ModifyWorkflowPropertiesCommandAttributes'upsertedMemo = Prelude.Nothing,
+         _ModifyWorkflowPropertiesCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ModifyWorkflowPropertiesCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ModifyWorkflowPropertiesCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upserted_memo"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"upsertedMemo") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ModifyWorkflowPropertiesCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'upsertedMemo") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ModifyWorkflowPropertiesCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ModifyWorkflowPropertiesCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ModifyWorkflowPropertiesCommandAttributes'upsertedMemo x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.messageId' @:: Lens' ProtocolMessageCommandAttributes Data.Text.Text@ -}
+data ProtocolMessageCommandAttributes
+  = ProtocolMessageCommandAttributes'_constructor {_ProtocolMessageCommandAttributes'messageId :: !Data.Text.Text,
+                                                   _ProtocolMessageCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ProtocolMessageCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ProtocolMessageCommandAttributes "messageId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ProtocolMessageCommandAttributes'messageId
+           (\ x__ y__
+              -> x__ {_ProtocolMessageCommandAttributes'messageId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ProtocolMessageCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.ProtocolMessageCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \ ProtocolMessageCommandAttributes\DC2\GS\n\
+      \\n\
+      \message_id\CAN\SOH \SOH(\tR\tmessageId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        messageId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"messageId")) ::
+              Data.ProtoLens.FieldDescriptor ProtocolMessageCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, messageId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ProtocolMessageCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_ProtocolMessageCommandAttributes'_unknownFields = y__})
+  defMessage
+    = ProtocolMessageCommandAttributes'_constructor
+        {_ProtocolMessageCommandAttributes'messageId = Data.ProtoLens.fieldDefault,
+         _ProtocolMessageCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ProtocolMessageCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ProtocolMessageCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"messageId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ProtocolMessageCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"messageId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ProtocolMessageCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ProtocolMessageCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ProtocolMessageCommandAttributes'messageId x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.markerName' @:: Lens' RecordMarkerCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.details' @:: Lens' RecordMarkerCommandAttributes (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.header' @:: Lens' RecordMarkerCommandAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'header' @:: Lens' RecordMarkerCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.failure' @:: Lens' RecordMarkerCommandAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'failure' @:: Lens' RecordMarkerCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data RecordMarkerCommandAttributes
+  = RecordMarkerCommandAttributes'_constructor {_RecordMarkerCommandAttributes'markerName :: !Data.Text.Text,
+                                                _RecordMarkerCommandAttributes'details :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                _RecordMarkerCommandAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                _RecordMarkerCommandAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                _RecordMarkerCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RecordMarkerCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes "markerName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'markerName
+           (\ x__ y__
+              -> x__ {_RecordMarkerCommandAttributes'markerName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes "details" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'details
+           (\ x__ y__ -> x__ {_RecordMarkerCommandAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'header
+           (\ x__ y__ -> x__ {_RecordMarkerCommandAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'header
+           (\ x__ y__ -> x__ {_RecordMarkerCommandAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'failure
+           (\ x__ y__ -> x__ {_RecordMarkerCommandAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'failure
+           (\ x__ y__ -> x__ {_RecordMarkerCommandAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RecordMarkerCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.RecordMarkerCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSRecordMarkerCommandAttributes\DC2\US\n\
+      \\vmarker_name\CAN\SOH \SOH(\tR\n\
+      \markerName\DC2]\n\
+      \\adetails\CAN\STX \ETX(\v2C.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntryR\adetails\DC26\n\
+      \\ACKheader\CAN\ETX \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2:\n\
+      \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\SUB\\\n\
+      \\fDetailsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC26\n\
+      \\ENQvalue\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        markerName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "marker_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"markerName")) ::
+              Data.ProtoLens.FieldDescriptor RecordMarkerCommandAttributes
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RecordMarkerCommandAttributes'DetailsEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"details")) ::
+              Data.ProtoLens.FieldDescriptor RecordMarkerCommandAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor RecordMarkerCommandAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor RecordMarkerCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, markerName__field_descriptor),
+           (Data.ProtoLens.Tag 2, details__field_descriptor),
+           (Data.ProtoLens.Tag 3, header__field_descriptor),
+           (Data.ProtoLens.Tag 4, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RecordMarkerCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_RecordMarkerCommandAttributes'_unknownFields = y__})
+  defMessage
+    = RecordMarkerCommandAttributes'_constructor
+        {_RecordMarkerCommandAttributes'markerName = Data.ProtoLens.fieldDefault,
+         _RecordMarkerCommandAttributes'details = Data.Map.empty,
+         _RecordMarkerCommandAttributes'header = Prelude.Nothing,
+         _RecordMarkerCommandAttributes'failure = Prelude.Nothing,
+         _RecordMarkerCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RecordMarkerCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser RecordMarkerCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "marker_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"markerName") y x)
+                        18
+                          -> do !(entry :: RecordMarkerCommandAttributes'DetailsEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                            (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                  (Prelude.fromIntegral
+                                                                                                     len)
+                                                                                                  Data.ProtoLens.parseMessage)
+                                                                                            "details"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"details")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RecordMarkerCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"markerName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.Monoid.mconcat
+                   (Prelude.map
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                       (Data.ProtoLens.defMessage ::
+                                          RecordMarkerCommandAttributes'DetailsEntry)))))
+                      (Data.Map.toList
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"details") _x))))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData RecordMarkerCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RecordMarkerCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RecordMarkerCommandAttributes'markerName x__)
+                (Control.DeepSeq.deepseq
+                   (_RecordMarkerCommandAttributes'details x__)
+                   (Control.DeepSeq.deepseq
+                      (_RecordMarkerCommandAttributes'header x__)
+                      (Control.DeepSeq.deepseq
+                         (_RecordMarkerCommandAttributes'failure x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.key' @:: Lens' RecordMarkerCommandAttributes'DetailsEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.value' @:: Lens' RecordMarkerCommandAttributes'DetailsEntry Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'value' @:: Lens' RecordMarkerCommandAttributes'DetailsEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data RecordMarkerCommandAttributes'DetailsEntry
+  = RecordMarkerCommandAttributes'DetailsEntry'_constructor {_RecordMarkerCommandAttributes'DetailsEntry'key :: !Data.Text.Text,
+                                                             _RecordMarkerCommandAttributes'DetailsEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                             _RecordMarkerCommandAttributes'DetailsEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RecordMarkerCommandAttributes'DetailsEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes'DetailsEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'DetailsEntry'key
+           (\ x__ y__
+              -> x__ {_RecordMarkerCommandAttributes'DetailsEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes'DetailsEntry "value" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'DetailsEntry'value
+           (\ x__ y__
+              -> x__ {_RecordMarkerCommandAttributes'DetailsEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RecordMarkerCommandAttributes'DetailsEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RecordMarkerCommandAttributes'DetailsEntry'value
+           (\ x__ y__
+              -> x__ {_RecordMarkerCommandAttributes'DetailsEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RecordMarkerCommandAttributes'DetailsEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fDetailsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC26\n\
+      \\ENQvalue\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor RecordMarkerCommandAttributes'DetailsEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor RecordMarkerCommandAttributes'DetailsEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RecordMarkerCommandAttributes'DetailsEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RecordMarkerCommandAttributes'DetailsEntry'_unknownFields = y__})
+  defMessage
+    = RecordMarkerCommandAttributes'DetailsEntry'_constructor
+        {_RecordMarkerCommandAttributes'DetailsEntry'key = Data.ProtoLens.fieldDefault,
+         _RecordMarkerCommandAttributes'DetailsEntry'value = Prelude.Nothing,
+         _RecordMarkerCommandAttributes'DetailsEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RecordMarkerCommandAttributes'DetailsEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser RecordMarkerCommandAttributes'DetailsEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DetailsEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData RecordMarkerCommandAttributes'DetailsEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RecordMarkerCommandAttributes'DetailsEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RecordMarkerCommandAttributes'DetailsEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_RecordMarkerCommandAttributes'DetailsEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduledEventId' @:: Lens' RequestCancelActivityTaskCommandAttributes Data.Int.Int64@ -}
+data RequestCancelActivityTaskCommandAttributes
+  = RequestCancelActivityTaskCommandAttributes'_constructor {_RequestCancelActivityTaskCommandAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                             _RequestCancelActivityTaskCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelActivityTaskCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelActivityTaskCommandAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelActivityTaskCommandAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelActivityTaskCommandAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelActivityTaskCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.RequestCancelActivityTaskCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \*RequestCancelActivityTaskCommandAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelActivityTaskCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelActivityTaskCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RequestCancelActivityTaskCommandAttributes'_unknownFields = y__})
+  defMessage
+    = RequestCancelActivityTaskCommandAttributes'_constructor
+        {_RequestCancelActivityTaskCommandAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _RequestCancelActivityTaskCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelActivityTaskCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelActivityTaskCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RequestCancelActivityTaskCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RequestCancelActivityTaskCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelActivityTaskCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RequestCancelActivityTaskCommandAttributes'scheduledEventId x__)
+                ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.namespace' @:: Lens' RequestCancelExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowId' @:: Lens' RequestCancelExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.runId' @:: Lens' RequestCancelExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.control' @:: Lens' RequestCancelExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.childWorkflowOnly' @:: Lens' RequestCancelExternalWorkflowExecutionCommandAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.reason' @:: Lens' RequestCancelExternalWorkflowExecutionCommandAttributes Data.Text.Text@ -}
+data RequestCancelExternalWorkflowExecutionCommandAttributes
+  = RequestCancelExternalWorkflowExecutionCommandAttributes'_constructor {_RequestCancelExternalWorkflowExecutionCommandAttributes'namespace :: !Data.Text.Text,
+                                                                          _RequestCancelExternalWorkflowExecutionCommandAttributes'workflowId :: !Data.Text.Text,
+                                                                          _RequestCancelExternalWorkflowExecutionCommandAttributes'runId :: !Data.Text.Text,
+                                                                          _RequestCancelExternalWorkflowExecutionCommandAttributes'control :: !Data.Text.Text,
+                                                                          _RequestCancelExternalWorkflowExecutionCommandAttributes'childWorkflowOnly :: !Prelude.Bool,
+                                                                          _RequestCancelExternalWorkflowExecutionCommandAttributes'reason :: !Data.Text.Text,
+                                                                          _RequestCancelExternalWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelExternalWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionCommandAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionCommandAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionCommandAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionCommandAttributes "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionCommandAttributes'workflowId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionCommandAttributes'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionCommandAttributes "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionCommandAttributes'runId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionCommandAttributes'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionCommandAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionCommandAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionCommandAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionCommandAttributes "childWorkflowOnly" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionCommandAttributes'childWorkflowOnly
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionCommandAttributes'childWorkflowOnly = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionCommandAttributes "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionCommandAttributes'reason
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionCommandAttributes'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelExternalWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \7RequestCancelExternalWorkflowExecutionCommandAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId\DC2\CAN\n\
+      \\acontrol\CAN\EOT \SOH(\tR\acontrol\DC2.\n\
+      \\DC3child_workflow_only\CAN\ENQ \SOH(\bR\DC1childWorkflowOnly\DC2\SYN\n\
+      \\ACKreason\CAN\ACK \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes
+        childWorkflowOnly__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_only"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"childWorkflowOnly")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, runId__field_descriptor),
+           (Data.ProtoLens.Tag 4, control__field_descriptor),
+           (Data.ProtoLens.Tag 5, childWorkflowOnly__field_descriptor),
+           (Data.ProtoLens.Tag 6, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelExternalWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RequestCancelExternalWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = RequestCancelExternalWorkflowExecutionCommandAttributes'_constructor
+        {_RequestCancelExternalWorkflowExecutionCommandAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionCommandAttributes'workflowId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionCommandAttributes'runId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionCommandAttributes'control = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionCommandAttributes'childWorkflowOnly = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionCommandAttributes'reason = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelExternalWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelExternalWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "child_workflow_only"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"childWorkflowOnly") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RequestCancelExternalWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"childWorkflowOnly") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (\ b -> if b then 1 else 0) _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData RequestCancelExternalWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelExternalWorkflowExecutionCommandAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_RequestCancelExternalWorkflowExecutionCommandAttributes'namespace
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_RequestCancelExternalWorkflowExecutionCommandAttributes'workflowId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_RequestCancelExternalWorkflowExecutionCommandAttributes'runId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_RequestCancelExternalWorkflowExecutionCommandAttributes'control
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_RequestCancelExternalWorkflowExecutionCommandAttributes'childWorkflowOnly
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_RequestCancelExternalWorkflowExecutionCommandAttributes'reason
+                                  x__)
+                               ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduledEventId' @:: Lens' RequestCancelNexusOperationCommandAttributes Data.Int.Int64@ -}
+data RequestCancelNexusOperationCommandAttributes
+  = RequestCancelNexusOperationCommandAttributes'_constructor {_RequestCancelNexusOperationCommandAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                               _RequestCancelNexusOperationCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelNexusOperationCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelNexusOperationCommandAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelNexusOperationCommandAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelNexusOperationCommandAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelNexusOperationCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.RequestCancelNexusOperationCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \,RequestCancelNexusOperationCommandAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelNexusOperationCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelNexusOperationCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RequestCancelNexusOperationCommandAttributes'_unknownFields = y__})
+  defMessage
+    = RequestCancelNexusOperationCommandAttributes'_constructor
+        {_RequestCancelNexusOperationCommandAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _RequestCancelNexusOperationCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelNexusOperationCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelNexusOperationCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RequestCancelNexusOperationCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RequestCancelNexusOperationCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelNexusOperationCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RequestCancelNexusOperationCommandAttributes'scheduledEventId
+                   x__)
+                ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.activityId' @:: Lens' ScheduleActivityTaskCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.activityType' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Temporal.Api.Common.V1.Message.ActivityType@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'activityType' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.taskQueue' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'taskQueue' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.header' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'header' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.input' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'input' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduleToCloseTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduleToStartTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'scheduleToStartTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.startToCloseTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'startToCloseTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.heartbeatTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'heartbeatTimeout' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.retryPolicy' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'retryPolicy' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.requestEagerExecution' @:: Lens' ScheduleActivityTaskCommandAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.useWorkflowBuildId' @:: Lens' ScheduleActivityTaskCommandAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.priority' @:: Lens' ScheduleActivityTaskCommandAttributes Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'priority' @:: Lens' ScheduleActivityTaskCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data ScheduleActivityTaskCommandAttributes
+  = ScheduleActivityTaskCommandAttributes'_constructor {_ScheduleActivityTaskCommandAttributes'activityId :: !Data.Text.Text,
+                                                        _ScheduleActivityTaskCommandAttributes'activityType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType),
+                                                        _ScheduleActivityTaskCommandAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                        _ScheduleActivityTaskCommandAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                        _ScheduleActivityTaskCommandAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                        _ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                        _ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                        _ScheduleActivityTaskCommandAttributes'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                        _ScheduleActivityTaskCommandAttributes'heartbeatTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                        _ScheduleActivityTaskCommandAttributes'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                        _ScheduleActivityTaskCommandAttributes'requestEagerExecution :: !Prelude.Bool,
+                                                        _ScheduleActivityTaskCommandAttributes'useWorkflowBuildId :: !Prelude.Bool,
+                                                        _ScheduleActivityTaskCommandAttributes'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                                        _ScheduleActivityTaskCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleActivityTaskCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'activityId
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "activityType" Proto.Temporal.Api.Common.V1.Message.ActivityType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'activityType
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'activityType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'activityType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'activityType
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'header
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'header
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'input
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'input
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "scheduleToStartTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'scheduleToStartTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'startToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'startToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "heartbeatTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'heartbeatTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'heartbeatTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'heartbeatTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'heartbeatTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'heartbeatTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'retryPolicy
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'retryPolicy
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "requestEagerExecution" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'requestEagerExecution
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'requestEagerExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "useWorkflowBuildId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'useWorkflowBuildId
+           (\ x__ y__
+              -> x__
+                   {_ScheduleActivityTaskCommandAttributes'useWorkflowBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'priority
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivityTaskCommandAttributes "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivityTaskCommandAttributes'priority
+           (\ x__ y__
+              -> x__ {_ScheduleActivityTaskCommandAttributes'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleActivityTaskCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.ScheduleActivityTaskCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \%ScheduleActivityTaskCommandAttributes\DC2\US\n\
+      \\vactivity_id\CAN\SOH \SOH(\tR\n\
+      \activityId\DC2I\n\
+      \\ractivity_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2C\n\
+      \\n\
+      \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ACKheader\CAN\ENQ \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC26\n\
+      \\ENQinput\CAN\ACK \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+      \\EMschedule_to_start_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+      \\DC1heartbeat_timeout\CAN\n\
+      \ \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+      \\fretry_policy\CAN\v \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC26\n\
+      \\ETBrequest_eager_execution\CAN\f \SOH(\bR\NAKrequestEagerExecution\DC21\n\
+      \\NAKuse_workflow_build_id\CAN\r \SOH(\bR\DC2useWorkflowBuildId\DC2<\n\
+      \\bpriority\CAN\SO \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\EOT\b\ETX\DLE\EOT"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.ActivityType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityType")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        scheduleToStartTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_start_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        heartbeatTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        requestEagerExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_eager_execution"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestEagerExecution")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        useWorkflowBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "use_workflow_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"useWorkflowBuildId")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivityTaskCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 2, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 4, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 5, header__field_descriptor),
+           (Data.ProtoLens.Tag 6, input__field_descriptor),
+           (Data.ProtoLens.Tag 7, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, scheduleToStartTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, heartbeatTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 11, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 12, requestEagerExecution__field_descriptor),
+           (Data.ProtoLens.Tag 13, useWorkflowBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 14, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleActivityTaskCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ScheduleActivityTaskCommandAttributes'_unknownFields = y__})
+  defMessage
+    = ScheduleActivityTaskCommandAttributes'_constructor
+        {_ScheduleActivityTaskCommandAttributes'activityId = Data.ProtoLens.fieldDefault,
+         _ScheduleActivityTaskCommandAttributes'activityType = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'taskQueue = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'header = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'input = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'startToCloseTimeout = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'heartbeatTimeout = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'retryPolicy = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'requestEagerExecution = Data.ProtoLens.fieldDefault,
+         _ScheduleActivityTaskCommandAttributes'useWorkflowBuildId = Data.ProtoLens.fieldDefault,
+         _ScheduleActivityTaskCommandAttributes'priority = Prelude.Nothing,
+         _ScheduleActivityTaskCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleActivityTaskCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleActivityTaskCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_start_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToStartTimeout") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "heartbeat_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"heartbeatTimeout") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        96
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "request_eager_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestEagerExecution") y x)
+                        104
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "use_workflow_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"useWorkflowBuildId") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ScheduleActivityTaskCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'activityType") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")
+                                      _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'retryPolicy") _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"requestEagerExecution")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 96)
+                                                    ((Prelude..)
+                                                       Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (\ b -> if b then 1 else 0) _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field
+                                                          @"useWorkflowBuildId")
+                                                       _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 104)
+                                                       ((Prelude..)
+                                                          Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (\ b -> if b then 1 else 0) _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field
+                                                           @"maybe'priority")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              114)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                    (Lens.Family2.view
+                                                       Data.ProtoLens.unknownFields _x))))))))))))))
+instance Control.DeepSeq.NFData ScheduleActivityTaskCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleActivityTaskCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleActivityTaskCommandAttributes'activityId x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleActivityTaskCommandAttributes'activityType x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleActivityTaskCommandAttributes'taskQueue x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleActivityTaskCommandAttributes'header x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleActivityTaskCommandAttributes'input x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleActivityTaskCommandAttributes'scheduleToCloseTimeout x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ScheduleActivityTaskCommandAttributes'scheduleToStartTimeout
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ScheduleActivityTaskCommandAttributes'startToCloseTimeout
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ScheduleActivityTaskCommandAttributes'heartbeatTimeout
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ScheduleActivityTaskCommandAttributes'retryPolicy x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ScheduleActivityTaskCommandAttributes'requestEagerExecution
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_ScheduleActivityTaskCommandAttributes'useWorkflowBuildId
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_ScheduleActivityTaskCommandAttributes'priority
+                                                       x__)
+                                                    ())))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.endpoint' @:: Lens' ScheduleNexusOperationCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.service' @:: Lens' ScheduleNexusOperationCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.operation' @:: Lens' ScheduleNexusOperationCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.input' @:: Lens' ScheduleNexusOperationCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'input' @:: Lens' ScheduleNexusOperationCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.scheduleToCloseTimeout' @:: Lens' ScheduleNexusOperationCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ScheduleNexusOperationCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.nexusHeader' @:: Lens' ScheduleNexusOperationCommandAttributes (Data.Map.Map Data.Text.Text Data.Text.Text)@ -}
+data ScheduleNexusOperationCommandAttributes
+  = ScheduleNexusOperationCommandAttributes'_constructor {_ScheduleNexusOperationCommandAttributes'endpoint :: !Data.Text.Text,
+                                                          _ScheduleNexusOperationCommandAttributes'service :: !Data.Text.Text,
+                                                          _ScheduleNexusOperationCommandAttributes'operation :: !Data.Text.Text,
+                                                          _ScheduleNexusOperationCommandAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                          _ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                          _ScheduleNexusOperationCommandAttributes'nexusHeader :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                                          _ScheduleNexusOperationCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleNexusOperationCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "endpoint" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'endpoint
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperationCommandAttributes'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'service
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperationCommandAttributes'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'operation
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperationCommandAttributes'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'input
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperationCommandAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'input
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperationCommandAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes "nexusHeader" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'nexusHeader
+           (\ x__ y__
+              -> x__
+                   {_ScheduleNexusOperationCommandAttributes'nexusHeader = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleNexusOperationCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.ScheduleNexusOperationCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \'ScheduleNexusOperationCommandAttributes\DC2\SUB\n\
+      \\bendpoint\CAN\SOH \SOH(\tR\bendpoint\DC2\CAN\n\
+      \\aservice\CAN\STX \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\ETX \SOH(\tR\toperation\DC25\n\
+      \\ENQinput\CAN\EOT \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2t\n\
+      \\fnexus_header\CAN\ACK \ETX(\v2Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntryR\vnexusHeader\SUB>\n\
+      \\DLENexusHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"endpoint")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes
+        nexusHeader__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleNexusOperationCommandAttributes'NexusHeaderEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"nexusHeader")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, endpoint__field_descriptor),
+           (Data.ProtoLens.Tag 2, service__field_descriptor),
+           (Data.ProtoLens.Tag 3, operation__field_descriptor),
+           (Data.ProtoLens.Tag 4, input__field_descriptor),
+           (Data.ProtoLens.Tag 5, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, nexusHeader__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleNexusOperationCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ScheduleNexusOperationCommandAttributes'_unknownFields = y__})
+  defMessage
+    = ScheduleNexusOperationCommandAttributes'_constructor
+        {_ScheduleNexusOperationCommandAttributes'endpoint = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperationCommandAttributes'service = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperationCommandAttributes'operation = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperationCommandAttributes'input = Prelude.Nothing,
+         _ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout = Prelude.Nothing,
+         _ScheduleNexusOperationCommandAttributes'nexusHeader = Data.Map.empty,
+         _ScheduleNexusOperationCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleNexusOperationCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleNexusOperationCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        50
+                          -> do !(entry :: ScheduleNexusOperationCommandAttributes'NexusHeaderEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                          (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                              Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                                (Prelude.fromIntegral
+                                                                                                                   len)
+                                                                                                                Data.ProtoLens.parseMessage)
+                                                                                                          "nexus_header"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"nexusHeader")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ScheduleNexusOperationCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"endpoint") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (Data.Monoid.mconcat
+                               (Prelude.map
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"value")
+                                                   (Prelude.snd _v)
+                                                   (Data.ProtoLens.defMessage ::
+                                                      ScheduleNexusOperationCommandAttributes'NexusHeaderEntry)))))
+                                  (Data.Map.toList
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"nexusHeader") _x))))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ScheduleNexusOperationCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleNexusOperationCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleNexusOperationCommandAttributes'endpoint x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleNexusOperationCommandAttributes'service x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleNexusOperationCommandAttributes'operation x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleNexusOperationCommandAttributes'input x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleNexusOperationCommandAttributes'scheduleToCloseTimeout
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleNexusOperationCommandAttributes'nexusHeader x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.key' @:: Lens' ScheduleNexusOperationCommandAttributes'NexusHeaderEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.value' @:: Lens' ScheduleNexusOperationCommandAttributes'NexusHeaderEntry Data.Text.Text@ -}
+data ScheduleNexusOperationCommandAttributes'NexusHeaderEntry
+  = ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_constructor {_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'key :: !Data.Text.Text,
+                                                                           _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'value :: !Data.Text.Text,
+                                                                           _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleNexusOperationCommandAttributes'NexusHeaderEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes'NexusHeaderEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'key
+           (\ x__ y__
+              -> x__
+                   {_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperationCommandAttributes'NexusHeaderEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'value
+           (\ x__ y__
+              -> x__
+                   {_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleNexusOperationCommandAttributes'NexusHeaderEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLENexusHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes'NexusHeaderEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperationCommandAttributes'NexusHeaderEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_unknownFields = y__})
+  defMessage
+    = ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_constructor
+        {_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'key = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'value = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleNexusOperationCommandAttributes'NexusHeaderEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleNexusOperationCommandAttributes'NexusHeaderEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusHeaderEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ScheduleNexusOperationCommandAttributes'NexusHeaderEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleNexusOperationCommandAttributes'NexusHeaderEntry'value
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.namespace' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.execution' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'execution' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.signalName' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.input' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'input' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.control' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.childWorkflowOnly' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.header' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'header' @:: Lens' SignalExternalWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@ -}
+data SignalExternalWorkflowExecutionCommandAttributes
+  = SignalExternalWorkflowExecutionCommandAttributes'_constructor {_SignalExternalWorkflowExecutionCommandAttributes'namespace :: !Data.Text.Text,
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'execution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'signalName :: !Data.Text.Text,
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'control :: !Data.Text.Text,
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'childWorkflowOnly :: !Prelude.Bool,
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                                   _SignalExternalWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalExternalWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "execution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'execution
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'execution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "maybe'execution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'execution
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'execution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "signalName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'signalName
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'signalName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "childWorkflowOnly" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'childWorkflowOnly
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'childWorkflowOnly = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionCommandAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionCommandAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionCommandAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SignalExternalWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \0SignalExternalWorkflowExecutionCommandAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2G\n\
+      \\texecution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\DC2\US\n\
+      \\vsignal_name\CAN\ETX \SOH(\tR\n\
+      \signalName\DC26\n\
+      \\ENQinput\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2\CAN\n\
+      \\acontrol\CAN\ENQ \SOH(\tR\acontrol\DC2.\n\
+      \\DC3child_workflow_only\CAN\ACK \SOH(\bR\DC1childWorkflowOnly\DC26\n\
+      \\ACKheader\CAN\a \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+        execution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'execution")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+        signalName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"signalName")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+        childWorkflowOnly__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_only"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"childWorkflowOnly")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, execution__field_descriptor),
+           (Data.ProtoLens.Tag 3, signalName__field_descriptor),
+           (Data.ProtoLens.Tag 4, input__field_descriptor),
+           (Data.ProtoLens.Tag 5, control__field_descriptor),
+           (Data.ProtoLens.Tag 6, childWorkflowOnly__field_descriptor),
+           (Data.ProtoLens.Tag 7, header__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalExternalWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_SignalExternalWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = SignalExternalWorkflowExecutionCommandAttributes'_constructor
+        {_SignalExternalWorkflowExecutionCommandAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionCommandAttributes'execution = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionCommandAttributes'signalName = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionCommandAttributes'input = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionCommandAttributes'control = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionCommandAttributes'childWorkflowOnly = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionCommandAttributes'header = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalExternalWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser SignalExternalWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "execution"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"execution") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "signal_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"signalName") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "child_workflow_only"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"childWorkflowOnly") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "SignalExternalWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'execution") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"signalName") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"childWorkflowOnly") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (\ b -> if b then 1 else 0) _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'header") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalExternalWorkflowExecutionCommandAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_SignalExternalWorkflowExecutionCommandAttributes'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalExternalWorkflowExecutionCommandAttributes'execution x__)
+                   (Control.DeepSeq.deepseq
+                      (_SignalExternalWorkflowExecutionCommandAttributes'signalName x__)
+                      (Control.DeepSeq.deepseq
+                         (_SignalExternalWorkflowExecutionCommandAttributes'input x__)
+                         (Control.DeepSeq.deepseq
+                            (_SignalExternalWorkflowExecutionCommandAttributes'control x__)
+                            (Control.DeepSeq.deepseq
+                               (_SignalExternalWorkflowExecutionCommandAttributes'childWorkflowOnly
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_SignalExternalWorkflowExecutionCommandAttributes'header x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.namespace' @:: Lens' StartChildWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowId' @:: Lens' StartChildWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowType' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowType' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.taskQueue' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'taskQueue' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.input' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'input' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowExecutionTimeout' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowExecutionTimeout' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowRunTimeout' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowTaskTimeout' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'workflowTaskTimeout' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.parentClosePolicy' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.control' @:: Lens' StartChildWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.workflowIdReusePolicy' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.retryPolicy' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'retryPolicy' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.cronSchedule' @:: Lens' StartChildWorkflowExecutionCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.header' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'header' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.memo' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'memo' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.searchAttributes' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'searchAttributes' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.inheritBuildId' @:: Lens' StartChildWorkflowExecutionCommandAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.priority' @:: Lens' StartChildWorkflowExecutionCommandAttributes Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'priority' @:: Lens' StartChildWorkflowExecutionCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data StartChildWorkflowExecutionCommandAttributes
+  = StartChildWorkflowExecutionCommandAttributes'_constructor {_StartChildWorkflowExecutionCommandAttributes'namespace :: !Data.Text.Text,
+                                                               _StartChildWorkflowExecutionCommandAttributes'workflowId :: !Data.Text.Text,
+                                                               _StartChildWorkflowExecutionCommandAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                               _StartChildWorkflowExecutionCommandAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                               _StartChildWorkflowExecutionCommandAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                               _StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                               _StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                               _StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                               _StartChildWorkflowExecutionCommandAttributes'parentClosePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy,
+                                                               _StartChildWorkflowExecutionCommandAttributes'control :: !Data.Text.Text,
+                                                               _StartChildWorkflowExecutionCommandAttributes'workflowIdReusePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy,
+                                                               _StartChildWorkflowExecutionCommandAttributes'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                               _StartChildWorkflowExecutionCommandAttributes'cronSchedule :: !Data.Text.Text,
+                                                               _StartChildWorkflowExecutionCommandAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                               _StartChildWorkflowExecutionCommandAttributes'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                               _StartChildWorkflowExecutionCommandAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                               _StartChildWorkflowExecutionCommandAttributes'inheritBuildId :: !Prelude.Bool,
+                                                               _StartChildWorkflowExecutionCommandAttributes'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                                               _StartChildWorkflowExecutionCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecutionCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "parentClosePolicy" Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'parentClosePolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'parentClosePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "workflowIdReusePolicy" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'workflowIdReusePolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'workflowIdReusePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'cronSchedule
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'memo
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecutionCommandAttributes'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'memo
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecutionCommandAttributes'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "inheritBuildId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'inheritBuildId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'inheritBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'priority
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionCommandAttributes "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionCommandAttributes'priority
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionCommandAttributes'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecutionCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \,StartChildWorkflowExecutionCommandAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2I\n\
+      \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+      \\n\
+      \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ENQinput\CAN\ENQ \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2X\n\
+      \\DC3parent_close_policy\CAN\t \SOH(\SO2(.temporal.api.enums.v1.ParentClosePolicyR\DC1parentClosePolicy\DC2\CAN\n\
+      \\acontrol\CAN\n\
+      \ \SOH(\tR\acontrol\DC2e\n\
+      \\CANworkflow_id_reuse_policy\CAN\v \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+      \\fretry_policy\CAN\f \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+      \\rcron_schedule\CAN\r \SOH(\tR\fcronSchedule\DC26\n\
+      \\ACKheader\CAN\SO \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+      \\EOTmemo\CAN\SI \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\DLE \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+      \\DLEinherit_build_id\CAN\DC1 \SOH(\bR\SOinheritBuildId\DC2<\n\
+      \\bpriority\CAN\DC2 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        parentClosePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_close_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentClosePolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        workflowIdReusePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id_reuse_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowIdReusePolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        inheritBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "inherit_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"inheritBuildId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 4, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 5, input__field_descriptor),
+           (Data.ProtoLens.Tag 6, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 7, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, parentClosePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 10, control__field_descriptor),
+           (Data.ProtoLens.Tag 11, workflowIdReusePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 12, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 13, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 14, header__field_descriptor),
+           (Data.ProtoLens.Tag 15, memo__field_descriptor),
+           (Data.ProtoLens.Tag 16, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 17, inheritBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 18, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecutionCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartChildWorkflowExecutionCommandAttributes'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecutionCommandAttributes'_constructor
+        {_StartChildWorkflowExecutionCommandAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'workflowId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'workflowType = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'taskQueue = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'input = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'parentClosePolicy = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'control = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'workflowIdReusePolicy = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'retryPolicy = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'cronSchedule = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'header = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'memo = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'searchAttributes = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'inheritBuildId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionCommandAttributes'priority = Prelude.Nothing,
+         _StartChildWorkflowExecutionCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecutionCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecutionCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                        72
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "parent_close_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentClosePolicy") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        88
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "workflow_id_reuse_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowIdReusePolicy") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        136
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "inherit_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"inheritBuildId") y x)
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "StartChildWorkflowExecutionCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (let
+                                        _v
+                                          = Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"parentClosePolicy") _x
+                                      in
+                                        if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                            Data.Monoid.mempty
+                                        else
+                                            (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt 72)
+                                              ((Prelude..)
+                                                 ((Prelude..)
+                                                    Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    Prelude.fromIntegral)
+                                                 Prelude.fromEnum _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field @"control") _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                 ((Prelude..)
+                                                    (\ bs
+                                                       -> (Data.Monoid.<>)
+                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                               (Prelude.fromIntegral
+                                                                  (Data.ByteString.length bs)))
+                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                               bs))
+                                                    Data.Text.Encoding.encodeUtf8 _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"workflowIdReusePolicy")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 88)
+                                                    ((Prelude..)
+                                                       ((Prelude..)
+                                                          Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          Prelude.fromIntegral)
+                                                       Prelude.fromEnum _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field
+                                                        @"maybe'retryPolicy")
+                                                     _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field
+                                                             @"cronSchedule")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             106)
+                                                          ((Prelude..)
+                                                             (\ bs
+                                                                -> (Data.Monoid.<>)
+                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                        (Prelude.fromIntegral
+                                                                           (Data.ByteString.length
+                                                                              bs)))
+                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                        bs))
+                                                             Data.Text.Encoding.encodeUtf8 _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'header")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 114)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (case
+                                                            Lens.Family2.view
+                                                              (Data.ProtoLens.Field.field
+                                                                 @"maybe'memo")
+                                                              _x
+                                                        of
+                                                          Prelude.Nothing -> Data.Monoid.mempty
+                                                          (Prelude.Just _v)
+                                                            -> (Data.Monoid.<>)
+                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                    122)
+                                                                 ((Prelude..)
+                                                                    (\ bs
+                                                                       -> (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               (Prelude.fromIntegral
+                                                                                  (Data.ByteString.length
+                                                                                     bs)))
+                                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                               bs))
+                                                                    Data.ProtoLens.encodeMessage
+                                                                    _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'searchAttributes")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       130)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          ((Data.Monoid.<>)
+                                                             (let
+                                                                _v
+                                                                  = Lens.Family2.view
+                                                                      (Data.ProtoLens.Field.field
+                                                                         @"inheritBuildId")
+                                                                      _x
+                                                              in
+                                                                if (Prelude.==)
+                                                                     _v
+                                                                     Data.ProtoLens.fieldDefault then
+                                                                    Data.Monoid.mempty
+                                                                else
+                                                                    (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         136)
+                                                                      ((Prelude..)
+                                                                         Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (\ b -> if b then 1 else 0)
+                                                                         _v))
+                                                             ((Data.Monoid.<>)
+                                                                (case
+                                                                     Lens.Family2.view
+                                                                       (Data.ProtoLens.Field.field
+                                                                          @"maybe'priority")
+                                                                       _x
+                                                                 of
+                                                                   Prelude.Nothing
+                                                                     -> Data.Monoid.mempty
+                                                                   (Prelude.Just _v)
+                                                                     -> (Data.Monoid.<>)
+                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                             146)
+                                                                          ((Prelude..)
+                                                                             (\ bs
+                                                                                -> (Data.Monoid.<>)
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                        (Prelude.fromIntegral
+                                                                                           (Data.ByteString.length
+                                                                                              bs)))
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                        bs))
+                                                                             Data.ProtoLens.encodeMessage
+                                                                             _v))
+                                                                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                   (Lens.Family2.view
+                                                                      Data.ProtoLens.unknownFields
+                                                                      _x)))))))))))))))))))
+instance Control.DeepSeq.NFData StartChildWorkflowExecutionCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecutionCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecutionCommandAttributes'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecutionCommandAttributes'workflowId x__)
+                   (Control.DeepSeq.deepseq
+                      (_StartChildWorkflowExecutionCommandAttributes'workflowType x__)
+                      (Control.DeepSeq.deepseq
+                         (_StartChildWorkflowExecutionCommandAttributes'taskQueue x__)
+                         (Control.DeepSeq.deepseq
+                            (_StartChildWorkflowExecutionCommandAttributes'input x__)
+                            (Control.DeepSeq.deepseq
+                               (_StartChildWorkflowExecutionCommandAttributes'workflowExecutionTimeout
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_StartChildWorkflowExecutionCommandAttributes'workflowRunTimeout
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_StartChildWorkflowExecutionCommandAttributes'workflowTaskTimeout
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_StartChildWorkflowExecutionCommandAttributes'parentClosePolicy
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_StartChildWorkflowExecutionCommandAttributes'control
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_StartChildWorkflowExecutionCommandAttributes'workflowIdReusePolicy
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_StartChildWorkflowExecutionCommandAttributes'retryPolicy
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_StartChildWorkflowExecutionCommandAttributes'cronSchedule
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_StartChildWorkflowExecutionCommandAttributes'header
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_StartChildWorkflowExecutionCommandAttributes'memo
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_StartChildWorkflowExecutionCommandAttributes'searchAttributes
+                                                                x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_StartChildWorkflowExecutionCommandAttributes'inheritBuildId
+                                                                   x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_StartChildWorkflowExecutionCommandAttributes'priority
+                                                                      x__)
+                                                                   ()))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.timerId' @:: Lens' StartTimerCommandAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.startToFireTimeout' @:: Lens' StartTimerCommandAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'startToFireTimeout' @:: Lens' StartTimerCommandAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@ -}
+data StartTimerCommandAttributes
+  = StartTimerCommandAttributes'_constructor {_StartTimerCommandAttributes'timerId :: !Data.Text.Text,
+                                              _StartTimerCommandAttributes'startToFireTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                              _StartTimerCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartTimerCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartTimerCommandAttributes "timerId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimerCommandAttributes'timerId
+           (\ x__ y__ -> x__ {_StartTimerCommandAttributes'timerId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartTimerCommandAttributes "startToFireTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimerCommandAttributes'startToFireTimeout
+           (\ x__ y__
+              -> x__ {_StartTimerCommandAttributes'startToFireTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartTimerCommandAttributes "maybe'startToFireTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimerCommandAttributes'startToFireTimeout
+           (\ x__ y__
+              -> x__ {_StartTimerCommandAttributes'startToFireTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartTimerCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.StartTimerCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCStartTimerCommandAttributes\DC2\EM\n\
+      \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2L\n\
+      \\NAKstart_to_fire_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC2startToFireTimeout"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timerId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"timerId")) ::
+              Data.ProtoLens.FieldDescriptor StartTimerCommandAttributes
+        startToFireTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_fire_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToFireTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartTimerCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timerId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startToFireTimeout__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartTimerCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_StartTimerCommandAttributes'_unknownFields = y__})
+  defMessage
+    = StartTimerCommandAttributes'_constructor
+        {_StartTimerCommandAttributes'timerId = Data.ProtoLens.fieldDefault,
+         _StartTimerCommandAttributes'startToFireTimeout = Prelude.Nothing,
+         _StartTimerCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartTimerCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartTimerCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "timer_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"timerId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_fire_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToFireTimeout") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StartTimerCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"timerId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'startToFireTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartTimerCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartTimerCommandAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartTimerCommandAttributes'timerId x__)
+                (Control.DeepSeq.deepseq
+                   (_StartTimerCommandAttributes'startToFireTimeout x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.searchAttributes' @:: Lens' UpsertWorkflowSearchAttributesCommandAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.Command.V1.Message_Fields.maybe'searchAttributes' @:: Lens' UpsertWorkflowSearchAttributesCommandAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@ -}
+data UpsertWorkflowSearchAttributesCommandAttributes
+  = UpsertWorkflowSearchAttributesCommandAttributes'_constructor {_UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                                  _UpsertWorkflowSearchAttributesCommandAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpsertWorkflowSearchAttributesCommandAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributesCommandAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributesCommandAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpsertWorkflowSearchAttributesCommandAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \/UpsertWorkflowSearchAttributesCommandAttributes\DC2U\n\
+      \\DC1search_attributes\CAN\SOH \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor UpsertWorkflowSearchAttributesCommandAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, searchAttributes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpsertWorkflowSearchAttributesCommandAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_UpsertWorkflowSearchAttributesCommandAttributes'_unknownFields = y__})
+  defMessage
+    = UpsertWorkflowSearchAttributesCommandAttributes'_constructor
+        {_UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes = Prelude.Nothing,
+         _UpsertWorkflowSearchAttributesCommandAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpsertWorkflowSearchAttributesCommandAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpsertWorkflowSearchAttributesCommandAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "UpsertWorkflowSearchAttributesCommandAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'searchAttributes") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData UpsertWorkflowSearchAttributesCommandAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpsertWorkflowSearchAttributesCommandAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_UpsertWorkflowSearchAttributesCommandAttributes'searchAttributes
+                   x__)
+                ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \%temporal/api/command/v1/message.proto\DC2\ETBtemporal.api.command.v1\SUB\RSgoogle/protobuf/duration.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB(temporal/api/enums/v1/command_type.proto\SUB$temporal/api/common/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\SUB'temporal/api/taskqueue/v1/message.proto\SUB'temporal/api/sdk/v1/user_metadata.proto\"\131\a\n\
+    \%ScheduleActivityTaskCommandAttributes\DC2\US\n\
+    \\vactivity_id\CAN\SOH \SOH(\tR\n\
+    \activityId\DC2I\n\
+    \\ractivity_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2C\n\
+    \\n\
+    \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ACKheader\CAN\ENQ \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC26\n\
+    \\ENQinput\CAN\ACK \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+    \\EMschedule_to_start_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+    \\DC1heartbeat_timeout\CAN\n\
+    \ \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+    \\fretry_policy\CAN\v \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC26\n\
+    \\ETBrequest_eager_execution\CAN\f \SOH(\bR\NAKrequestEagerExecution\DC21\n\
+    \\NAKuse_workflow_build_id\CAN\r \SOH(\bR\DC2useWorkflowBuildId\DC2<\n\
+    \\bpriority\CAN\SO \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\EOT\b\ETX\DLE\EOT\"Z\n\
+    \*RequestCancelActivityTaskCommandAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\"\134\SOH\n\
+    \\ESCStartTimerCommandAttributes\DC2\EM\n\
+    \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2L\n\
+    \\NAKstart_to_fire_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC2startToFireTimeout\"f\n\
+    \*CompleteWorkflowExecutionCommandAttributes\DC28\n\
+    \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\"d\n\
+    \&FailWorkflowExecutionCommandAttributes\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"9\n\
+    \\FSCancelTimerCommandAttributes\DC2\EM\n\
+    \\btimer_id\CAN\SOH \SOH(\tR\atimerId\"f\n\
+    \(CancelWorkflowExecutionCommandAttributes\DC2:\n\
+    \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\"\241\SOH\n\
+    \7RequestCancelExternalWorkflowExecutionCommandAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2\NAK\n\
+    \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId\DC2\CAN\n\
+    \\acontrol\CAN\EOT \SOH(\tR\acontrol\DC2.\n\
+    \\DC3child_workflow_only\CAN\ENQ \SOH(\bR\DC1childWorkflowOnly\DC2\SYN\n\
+    \\ACKreason\CAN\ACK \SOH(\tR\ACKreason\"\244\STX\n\
+    \0SignalExternalWorkflowExecutionCommandAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2G\n\
+    \\texecution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\DC2\US\n\
+    \\vsignal_name\CAN\ETX \SOH(\tR\n\
+    \signalName\DC26\n\
+    \\ENQinput\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2\CAN\n\
+    \\acontrol\CAN\ENQ \SOH(\tR\acontrol\DC2.\n\
+    \\DC3child_workflow_only\CAN\ACK \SOH(\bR\DC1childWorkflowOnly\DC26\n\
+    \\ACKheader\CAN\a \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\"\136\SOH\n\
+    \/UpsertWorkflowSearchAttributesCommandAttributes\DC2U\n\
+    \\DC1search_attributes\CAN\SOH \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\"n\n\
+    \)ModifyWorkflowPropertiesCommandAttributes\DC2A\n\
+    \\rupserted_memo\CAN\SOH \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo\"\241\STX\n\
+    \\GSRecordMarkerCommandAttributes\DC2\US\n\
+    \\vmarker_name\CAN\SOH \SOH(\tR\n\
+    \markerName\DC2]\n\
+    \\adetails\CAN\STX \ETX(\v2C.temporal.api.command.v1.RecordMarkerCommandAttributes.DetailsEntryR\adetails\DC26\n\
+    \\ACKheader\CAN\ETX \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2:\n\
+    \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\SUB\\\n\
+    \\fDetailsEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC26\n\
+    \\ENQvalue\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQvalue:\STX8\SOH\"\159\b\n\
+    \/ContinueAsNewWorkflowExecutionCommandAttributes\DC2I\n\
+    \\rworkflow_type\CAN\SOH \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+    \\n\
+    \task_queue\CAN\STX \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ENQinput\CAN\ETX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2O\n\
+    \\SYNbackoff_start_interval\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\DC4backoffStartInterval\DC2F\n\
+    \\fretry_policy\CAN\a \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2K\n\
+    \\tinitiator\CAN\b \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\DC2:\n\
+    \\afailure\CAN\t \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2V\n\
+    \\SYNlast_completion_result\CAN\n\
+    \ \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC2#\n\
+    \\rcron_schedule\CAN\v \SOH(\tR\fcronSchedule\DC26\n\
+    \\ACKheader\CAN\f \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+    \\EOTmemo\CAN\r \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\SO \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+    \\DLEinherit_build_id\CAN\SI \SOH(\bR\SOinheritBuildId\"\155\t\n\
+    \,StartChildWorkflowExecutionCommandAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2I\n\
+    \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+    \\n\
+    \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ENQinput\CAN\ENQ \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2X\n\
+    \\DC3parent_close_policy\CAN\t \SOH(\SO2(.temporal.api.enums.v1.ParentClosePolicyR\DC1parentClosePolicy\DC2\CAN\n\
+    \\acontrol\CAN\n\
+    \ \SOH(\tR\acontrol\DC2e\n\
+    \\CANworkflow_id_reuse_policy\CAN\v \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+    \\fretry_policy\CAN\f \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+    \\rcron_schedule\CAN\r \SOH(\tR\fcronSchedule\DC26\n\
+    \\ACKheader\CAN\SO \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+    \\EOTmemo\CAN\SI \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\DLE \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+    \\DLEinherit_build_id\CAN\DC1 \SOH(\bR\SOinheritBuildId\DC2<\n\
+    \\bpriority\CAN\DC2 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\"A\n\
+    \ ProtocolMessageCommandAttributes\DC2\GS\n\
+    \\n\
+    \message_id\CAN\SOH \SOH(\tR\tmessageId\"\192\ETX\n\
+    \'ScheduleNexusOperationCommandAttributes\DC2\SUB\n\
+    \\bendpoint\CAN\SOH \SOH(\tR\bendpoint\DC2\CAN\n\
+    \\aservice\CAN\STX \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\ETX \SOH(\tR\toperation\DC25\n\
+    \\ENQinput\CAN\EOT \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2t\n\
+    \\fnexus_header\CAN\ACK \ETX(\v2Q.temporal.api.command.v1.ScheduleNexusOperationCommandAttributes.NexusHeaderEntryR\vnexusHeader\SUB>\n\
+    \\DLENexusHeaderEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"\\\n\
+    \,RequestCancelNexusOperationCommandAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\"\176\ETB\n\
+    \\aCommand\DC2E\n\
+    \\fcommand_type\CAN\SOH \SOH(\SO2\".temporal.api.enums.v1.CommandTypeR\vcommandType\DC2G\n\
+    \\ruser_metadata\CAN\173\STX \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC2\154\SOH\n\
+    \)schedule_activity_task_command_attributes\CAN\STX \SOH(\v2>.temporal.api.command.v1.ScheduleActivityTaskCommandAttributesH\NULR%scheduleActivityTaskCommandAttributes\DC2{\n\
+    \\RSstart_timer_command_attributes\CAN\ETX \SOH(\v24.temporal.api.command.v1.StartTimerCommandAttributesH\NULR\ESCstartTimerCommandAttributes\DC2\169\SOH\n\
+    \.complete_workflow_execution_command_attributes\CAN\EOT \SOH(\v2C.temporal.api.command.v1.CompleteWorkflowExecutionCommandAttributesH\NULR*completeWorkflowExecutionCommandAttributes\DC2\157\SOH\n\
+    \*fail_workflow_execution_command_attributes\CAN\ENQ \SOH(\v2?.temporal.api.command.v1.FailWorkflowExecutionCommandAttributesH\NULR&failWorkflowExecutionCommandAttributes\DC2\170\SOH\n\
+    \/request_cancel_activity_task_command_attributes\CAN\ACK \SOH(\v2C.temporal.api.command.v1.RequestCancelActivityTaskCommandAttributesH\NULR*requestCancelActivityTaskCommandAttributes\DC2~\n\
+    \\UScancel_timer_command_attributes\CAN\a \SOH(\v25.temporal.api.command.v1.CancelTimerCommandAttributesH\NULR\FScancelTimerCommandAttributes\DC2\163\SOH\n\
+    \,cancel_workflow_execution_command_attributes\CAN\b \SOH(\v2A.temporal.api.command.v1.CancelWorkflowExecutionCommandAttributesH\NULR(cancelWorkflowExecutionCommandAttributes\DC2\210\SOH\n\
+    \=request_cancel_external_workflow_execution_command_attributes\CAN\t \SOH(\v2P.temporal.api.command.v1.RequestCancelExternalWorkflowExecutionCommandAttributesH\NULR7requestCancelExternalWorkflowExecutionCommandAttributes\DC2\129\SOH\n\
+    \ record_marker_command_attributes\CAN\n\
+    \ \SOH(\v26.temporal.api.command.v1.RecordMarkerCommandAttributesH\NULR\GSrecordMarkerCommandAttributes\DC2\186\SOH\n\
+    \5continue_as_new_workflow_execution_command_attributes\CAN\v \SOH(\v2H.temporal.api.command.v1.ContinueAsNewWorkflowExecutionCommandAttributesH\NULR/continueAsNewWorkflowExecutionCommandAttributes\DC2\176\SOH\n\
+    \1start_child_workflow_execution_command_attributes\CAN\f \SOH(\v2E.temporal.api.command.v1.StartChildWorkflowExecutionCommandAttributesH\NULR,startChildWorkflowExecutionCommandAttributes\DC2\188\SOH\n\
+    \5signal_external_workflow_execution_command_attributes\CAN\r \SOH(\v2I.temporal.api.command.v1.SignalExternalWorkflowExecutionCommandAttributesH\NULR0signalExternalWorkflowExecutionCommandAttributes\DC2\185\SOH\n\
+    \4upsert_workflow_search_attributes_command_attributes\CAN\SO \SOH(\v2H.temporal.api.command.v1.UpsertWorkflowSearchAttributesCommandAttributesH\NULR/upsertWorkflowSearchAttributesCommandAttributes\DC2\138\SOH\n\
+    \#protocol_message_command_attributes\CAN\SI \SOH(\v29.temporal.api.command.v1.ProtocolMessageCommandAttributesH\NULR protocolMessageCommandAttributes\DC2\166\SOH\n\
+    \-modify_workflow_properties_command_attributes\CAN\DC1 \SOH(\v2B.temporal.api.command.v1.ModifyWorkflowPropertiesCommandAttributesH\NULR)modifyWorkflowPropertiesCommandAttributes\DC2\160\SOH\n\
+    \+schedule_nexus_operation_command_attributes\CAN\DC2 \SOH(\v2@.temporal.api.command.v1.ScheduleNexusOperationCommandAttributesH\NULR'scheduleNexusOperationCommandAttributes\DC2\176\SOH\n\
+    \1request_cancel_nexus_operation_command_attributes\CAN\DC3 \SOH(\v2E.temporal.api.command.v1.RequestCancelNexusOperationCommandAttributesH\NULR,requestCancelNexusOperationCommandAttributesB\f\n\
+    \\n\
+    \attributesB\142\SOH\n\
+    \\SUBio.temporal.api.command.v1B\fMessageProtoP\SOHZ%go.temporal.io/api/command/v1;command\170\STX\EMTemporalio.Api.Command.V1\234\STX\FSTemporalio::Api::Command::V1J\254s\n\
+    \\a\DC2\ENQ\SYN\NUL\181\STX\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL \n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL<\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL<\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL3\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL5\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX#\NUL.\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX$\NUL2\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX%\NUL.\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX&\NUL/\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX'\NUL1\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX(\NUL1\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT*\NULZ\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX*\b-\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX+\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX,\EOT:\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX,\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX,(5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX,89\n\
+    \j\n\
+    \\ETX\EOT\NUL\t\DC2\ETX.\EOT\SI\SUB^ This used to be a `namespace` field which allowed to schedule activity in another namespace.\n\
+    \\n\
+    \\v\n\
+    \\EOT\EOT\NUL\t\NUL\DC2\ETX.\r\SO\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\t\NUL\SOH\DC2\ETX.\r\SO\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\t\NUL\STX\DC2\ETX.\r\SO\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX/\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX/\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX/(2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX/56\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX0\EOT-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX0\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX0\"(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX0+,\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX1\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX1\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX1$)\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX1,-\n\
+    \\231\ETX\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETX9\EOT;\SUB\217\ETX Indicates how long the caller is willing to wait for activity completion. The \"schedule\" time\n\
+    \ is when the activity is initially scheduled, not when the most recent retry is scheduled.\n\
+    \ Limits how long retries will be attempted. Either this or `start_to_close_timeout` must be\n\
+    \ specified. When not specified, defaults to the workflow execution timeout.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX9\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX9\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX99:\n\
+    \\175\ENQ\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETXD\EOT;\SUB\161\ENQ Limits the time an activity task can stay in a task queue before a worker picks it up. The\n\
+    \ \"schedule\" time is when the most recent retry is scheduled. This timeout should usually not\n\
+    \ be set: it's useful in specific scenarios like worker-specific task queues. This timeout is\n\
+    \ always non retryable, as all a retry would achieve is to put it back into the same queue.\n\
+    \ Defaults to `schedule_to_close_timeout` or workflow execution timeout if that is not\n\
+    \ specified. More info:\n\
+    \ https://docs.temporal.io/docs/content/what-is-a-schedule-to-start-timeout/\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETXD\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETXD\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETXD9:\n\
+    \\185\STX\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETXJ\EOT8\SUB\171\STX Maximum time an activity is allowed to execute after being picked up by a worker. This\n\
+    \ timeout is always retryable. Either this or `schedule_to_close_timeout` must be specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ACK\DC2\ETXJ\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETXJ\GS3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETXJ67\n\
+    \K\n\
+    \\EOT\EOT\NUL\STX\b\DC2\ETXL\EOT4\SUB> Maximum permitted time between successful worker heartbeats.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ACK\DC2\ETXL\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\SOH\DC2\ETXL\GS.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ETX\DC2\ETXL13\n\
+    \\136\STX\n\
+    \\EOT\EOT\NUL\STX\t\DC2\ETXP\EOT9\SUB\250\SOH Activities are provided by a default retry policy which is controlled through the service's\n\
+    \ dynamic configuration. Retries will be attempted until `schedule_to_close_timeout` has\n\
+    \ elapsed. To disable retries set retry_policy.maximum_attempts to 1.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ACK\DC2\ETXP\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\SOH\DC2\ETXP'3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ETX\DC2\ETXP68\n\
+    \\189\SOH\n\
+    \\EOT\EOT\NUL\STX\n\
+    \\DC2\ETXS\EOT&\SUB\175\SOH Request to start the activity directly bypassing matching service and worker polling\n\
+    \ The slot for executing the activity should be reserved when setting this field to true.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ENQ\DC2\ETXS\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\SOH\DC2\ETXS\t \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ETX\DC2\ETXS#%\n\
+    \\193\SOH\n\
+    \\EOT\EOT\NUL\STX\v\DC2\ETXV\EOT$\SUB\179\SOH If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,\n\
+    \ Assignment rules of the activity's Task Queue will be used to determine the Build ID.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ENQ\DC2\ETXV\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\SOH\DC2\ETXV\t\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ETX\DC2\ETXV!#\n\
+    \\140\SOH\n\
+    \\EOT\EOT\NUL\STX\f\DC2\ETXY\EOT2\SUB\DEL Priority metadata. If this message is not present, or any fields are not\n\
+    \ present, they inherit the values from the workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ACK\DC2\ETXY\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\SOH\DC2\ETXY$,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ETX\DC2\ETXY/1\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT\\\NUL_\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\\\b2\n\
+    \W\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX^\EOT!\SUBJ The `ACTIVITY_TASK_SCHEDULED` event id for the activity being cancelled.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX^\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX^\n\
+    \\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX^\US \n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOTa\NULj\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXa\b#\n\
+    \w\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXd\EOT\CAN\SUBj An id for the timer, currently live timers must have different ids. Typically autogenerated\n\
+    \ by the SDK.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXd\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXd\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXd\SYN\ETB\n\
+    \\199\SOH\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXi\EOT7\SUB\185\SOH How long until the timer fires, producing a `TIMER_FIRED` event.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXi\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXi\GS2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXi56\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOTl\NULn\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETXl\b2\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETXm\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\ETXm\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXm$*\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXm-.\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOTp\NULr\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXp\b.\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXq\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETXq\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXq$+\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXq./\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOTt\NULw\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXt\b$\n\
+    \=\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXv\EOT\CAN\SUB0 The same timer id from the start timer command\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXv\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXv\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXv\SYN\ETB\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ACK\DC2\EOTy\NUL{\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXy\b0\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXz\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ACK\DC2\ETXz\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXz$+\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXz./\n\
+    \\v\n\
+    \\STX\EOT\a\DC2\ENQ}\NUL\137\SOH\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETX}\b?\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETX~\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETX~\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETX~\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETX~\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\SOH\DC2\ETX\DEL\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\ETX\DEL\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\ETX\DEL\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\ETX\DEL\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\128\SOH\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ENQ\DC2\EOT\128\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\128\SOH\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\128\SOH\DC4\NAK\n\
+    \\ESC\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\130\SOH\EOT\ETB\SUB\r Deprecated.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ENQ\DC2\EOT\130\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\130\SOH\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\130\SOH\NAK\SYN\n\
+    \\239\SOH\n\
+    \\EOT\EOT\a\STX\EOT\DC2\EOT\134\SOH\EOT!\SUB\224\SOH Set this to true if the workflow being cancelled is a child of the workflow originating this\n\
+    \ command. The request will be rejected if it is set to true and the target workflow is *not*\n\
+    \ a child of the requesting workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ENQ\DC2\EOT\134\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\EOT\134\SOH\t\FS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\EOT\134\SOH\US \n\
+    \6\n\
+    \\EOT\EOT\a\STX\ENQ\DC2\EOT\136\SOH\EOT\SYN\SUB( Reason for requesting the cancellation\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\ENQ\DC2\EOT\136\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\SOH\DC2\EOT\136\SOH\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\ETX\DC2\EOT\136\SOH\DC4\NAK\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\139\SOH\NUL\155\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\139\SOH\b8\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\140\SOH\EOT\EM\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\140\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\140\SOH\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\140\SOH\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\SOH\DC2\EOT\141\SOH\EOT;\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\141\SOH\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\141\SOH-6\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\141\SOH9:\n\
+    \W\n\
+    \\EOT\EOT\b\STX\STX\DC2\EOT\143\SOH\EOT\ESC\SUBI The workflow author-defined name of the signal to send to the workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ENQ\DC2\EOT\143\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\143\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\143\SOH\EM\SUB\n\
+    \?\n\
+    \\EOT\EOT\b\STX\ETX\DC2\EOT\145\SOH\EOT.\SUB1 Serialized value(s) to provide with the signal.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\ACK\DC2\EOT\145\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\SOH\DC2\EOT\145\SOH$)\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\ETX\DC2\EOT\145\SOH,-\n\
+    \\SUB\n\
+    \\EOT\EOT\b\STX\EOT\DC2\EOT\147\SOH\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\EOT\ENQ\DC2\EOT\147\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\EOT\SOH\DC2\EOT\147\SOH\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\EOT\ETX\DC2\EOT\147\SOH\NAK\SYN\n\
+    \\239\SOH\n\
+    \\EOT\EOT\b\STX\ENQ\DC2\EOT\151\SOH\EOT!\SUB\224\SOH Set this to true if the workflow being cancelled is a child of the workflow originating this\n\
+    \ command. The request will be rejected if it is set to true and the target workflow is *not*\n\
+    \ a child of the requesting workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ENQ\ENQ\DC2\EOT\151\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ENQ\SOH\DC2\EOT\151\SOH\t\FS\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ENQ\ETX\DC2\EOT\151\SOH\US \n\
+    \\138\SOH\n\
+    \\EOT\EOT\b\STX\ACK\DC2\EOT\154\SOH\EOT-\SUB| Headers that are passed by the workflow that is sending a signal to the external \n\
+    \ workflow that is receiving this signal.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ACK\ACK\DC2\EOT\154\SOH\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ACK\SOH\DC2\EOT\154\SOH\"(\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ACK\ETX\DC2\EOT\154\SOH+,\n\
+    \\f\n\
+    \\STX\EOT\t\DC2\ACK\157\SOH\NUL\159\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\157\SOH\b7\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\158\SOH\EOTB\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\158\SOH\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\158\SOH,=\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\158\SOH@A\n\
+    \\f\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\161\SOH\NUL\166\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\161\SOH\b1\n\
+    \\242\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\165\SOH\EOT2\SUB\227\SOH If set, update the workflow memo with the provided values. The values will be merged with\n\
+    \ the existing memo. If the user wants to delete values, a default/empty Payload should be\n\
+    \ used as the value for the key being deleted.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ACK\DC2\EOT\165\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\165\SOH -\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\165\SOH01\n\
+    \\f\n\
+    \\STX\EOT\v\DC2\ACK\168\SOH\NUL\173\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\168\SOH\b%\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\169\SOH\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\169\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\169\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\169\SOH\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\170\SOH\EOT=\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ACK\DC2\EOT\170\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\170\SOH18\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\170\SOH;<\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\171\SOH\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ACK\DC2\EOT\171\SOH\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\171\SOH\"(\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\171\SOH+,\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\ETX\DC2\EOT\172\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ACK\DC2\EOT\172\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\172\SOH$+\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\172\SOH./\n\
+    \\f\n\
+    \\STX\EOT\f\DC2\ACK\175\SOH\NUL\203\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\175\SOH\b7\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\176\SOH\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\176\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\176\SOH(5\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\176\SOH89\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\SOH\DC2\EOT\177\SOH\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ACK\DC2\EOT\177\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\177\SOH(2\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\177\SOH56\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\STX\DC2\EOT\178\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ACK\DC2\EOT\178\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\178\SOH$)\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\178\SOH,-\n\
+    \1\n\
+    \\EOT\EOT\f\STX\ETX\DC2\EOT\181\SOH\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ACK\DC2\EOT\181\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\181\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\181\SOH45\n\
+    \2\n\
+    \\EOT\EOT\f\STX\EOT\DC2\EOT\183\SOH\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ACK\DC2\EOT\183\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\183\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\183\SOH56\n\
+    \n\n\
+    \\EOT\EOT\f\STX\ENQ\DC2\EOT\185\SOH\EOT8\SUB` How long the workflow start will be delayed - not really a \"backoff\" in the traditional sense.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\ACK\DC2\EOT\185\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\SOH\DC2\EOT\185\SOH\GS3\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\ETX\DC2\EOT\185\SOH67\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\ACK\DC2\EOT\186\SOH\EOT8\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\ACK\DC2\EOT\186\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\SOH\DC2\EOT\186\SOH'3\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\ETX\DC2\EOT\186\SOH67\n\
+    \!\n\
+    \\EOT\EOT\f\STX\a\DC2\EOT\188\SOH\EOT?\SUB\DC3 Should be removed\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\ACK\DC2\EOT\188\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\SOH\DC2\EOT\188\SOH1:\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\ETX\DC2\EOT\188\SOH=>\n\
+    \!\n\
+    \\EOT\EOT\f\STX\b\DC2\EOT\190\SOH\EOT0\SUB\DC3 Should be removed\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\ACK\DC2\EOT\190\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\SOH\DC2\EOT\190\SOH$+\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\ETX\DC2\EOT\190\SOH./\n\
+    \!\n\
+    \\EOT\EOT\f\STX\t\DC2\EOT\192\SOH\EOT@\SUB\DC3 Should be removed\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\t\ACK\DC2\EOT\192\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\t\SOH\DC2\EOT\192\SOH$:\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\t\ETX\DC2\EOT\192\SOH=?\n\
+    \^\n\
+    \\EOT\EOT\f\STX\n\
+    \\DC2\EOT\194\SOH\EOT\RS\SUBP Should be removed. Not necessarily unused but unclear and not exposed by SDKs.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\ENQ\DC2\EOT\194\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\SOH\DC2\EOT\194\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\ETX\DC2\EOT\194\SOH\ESC\GS\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\v\DC2\EOT\195\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\v\ACK\DC2\EOT\195\SOH\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\v\SOH\DC2\EOT\195\SOH\"(\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\v\ETX\DC2\EOT\195\SOH+-\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\f\DC2\EOT\196\SOH\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\f\ACK\DC2\EOT\196\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\f\SOH\DC2\EOT\196\SOH $\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\f\ETX\DC2\EOT\196\SOH')\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\r\DC2\EOT\197\SOH\EOTC\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\r\ACK\DC2\EOT\197\SOH\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\r\SOH\DC2\EOT\197\SOH,=\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\r\ETX\DC2\EOT\197\SOH@B\n\
+    \\201\SOH\n\
+    \\EOT\EOT\f\STX\SO\DC2\EOT\200\SOH\EOT\US\SUB\186\SOH If this is set, the new execution inherits the Build ID of the current execution. Otherwise,\n\
+    \ the assignment rules will be used to independently assign a Build ID to the new execution.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SO\ENQ\DC2\EOT\200\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SO\SOH\DC2\EOT\200\SOH\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SO\ETX\DC2\EOT\200\SOH\FS\RS\n\
+    \\f\n\
+    \\STX\EOT\r\DC2\ACK\205\SOH\NUL\234\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\205\SOH\b4\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\206\SOH\EOT\EM\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ENQ\DC2\EOT\206\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\206\SOH\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\206\SOH\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\207\SOH\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ENQ\DC2\EOT\207\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\207\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\207\SOH\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\STX\DC2\EOT\208\SOH\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ACK\DC2\EOT\208\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\208\SOH(5\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\208\SOH89\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\ETX\DC2\EOT\209\SOH\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ACK\DC2\EOT\209\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\209\SOH(2\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\209\SOH56\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\EOT\DC2\EOT\210\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ACK\DC2\EOT\210\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\SOH\DC2\EOT\210\SOH$)\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ETX\DC2\EOT\210\SOH,-\n\
+    \W\n\
+    \\EOT\EOT\r\STX\ENQ\DC2\EOT\212\SOH\EOT<\SUBI Total workflow execution timeout including retries and continue as new.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ACK\DC2\EOT\212\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\SOH\DC2\EOT\212\SOH\GS7\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ETX\DC2\EOT\212\SOH:;\n\
+    \1\n\
+    \\EOT\EOT\r\STX\ACK\DC2\EOT\214\SOH\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\ACK\DC2\EOT\214\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\SOH\DC2\EOT\214\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\ETX\DC2\EOT\214\SOH45\n\
+    \2\n\
+    \\EOT\EOT\r\STX\a\DC2\EOT\216\SOH\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\a\ACK\DC2\EOT\216\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\a\SOH\DC2\EOT\216\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\a\ETX\DC2\EOT\216\SOH56\n\
+    \7\n\
+    \\EOT\EOT\r\STX\b\DC2\EOT\218\SOH\EOTD\SUB) Default: PARENT_CLOSE_POLICY_TERMINATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\b\ACK\DC2\EOT\218\SOH\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\b\SOH\DC2\EOT\218\SOH,?\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\b\ETX\DC2\EOT\218\SOHBC\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\t\DC2\EOT\219\SOH\EOT\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\t\ENQ\DC2\EOT\219\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\t\SOH\DC2\EOT\219\SOH\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\t\ETX\DC2\EOT\219\SOH\NAK\ETB\n\
+    \B\n\
+    \\EOT\EOT\r\STX\n\
+    \\DC2\EOT\221\SOH\EOTN\SUB4 Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\n\
+    \\ACK\DC2\EOT\221\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\n\
+    \\SOH\DC2\EOT\221\SOH0H\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\n\
+    \\ETX\DC2\EOT\221\SOHKM\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\v\DC2\EOT\222\SOH\EOT9\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\v\ACK\DC2\EOT\222\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\v\SOH\DC2\EOT\222\SOH'3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\v\ETX\DC2\EOT\222\SOH68\n\
+    \A\n\
+    \\EOT\EOT\r\STX\f\DC2\EOT\224\SOH\EOT\RS\SUB3 Establish a cron schedule for the child workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\f\ENQ\DC2\EOT\224\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\f\SOH\DC2\EOT\224\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\f\ETX\DC2\EOT\224\SOH\ESC\GS\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\r\DC2\EOT\225\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\r\ACK\DC2\EOT\225\SOH\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\r\SOH\DC2\EOT\225\SOH\"(\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\r\ETX\DC2\EOT\225\SOH+-\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\SO\DC2\EOT\226\SOH\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SO\ACK\DC2\EOT\226\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SO\SOH\DC2\EOT\226\SOH $\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SO\ETX\DC2\EOT\226\SOH')\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\SI\DC2\EOT\227\SOH\EOTC\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SI\ACK\DC2\EOT\227\SOH\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SI\SOH\DC2\EOT\227\SOH,=\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SI\ETX\DC2\EOT\227\SOH@B\n\
+    \\202\SOH\n\
+    \\EOT\EOT\r\STX\DLE\DC2\EOT\230\SOH\EOT\US\SUB\187\SOH If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment\n\
+    \ rules of the child's Task Queue will be used to independently assign a Build ID to it.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\DLE\ENQ\DC2\EOT\230\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\DLE\SOH\DC2\EOT\230\SOH\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\DLE\ETX\DC2\EOT\230\SOH\FS\RS\n\
+    \\141\SOH\n\
+    \\EOT\EOT\r\STX\DC1\DC2\EOT\233\SOH\EOT2\SUB\DEL Priority metadata. If this message is not present, or any fields are not\n\
+    \ present, they inherit the values from the workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\DC1\ACK\DC2\EOT\233\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\DC1\SOH\DC2\EOT\233\SOH$,\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\DC1\ETX\DC2\EOT\233\SOH/1\n\
+    \\f\n\
+    \\STX\EOT\SO\DC2\ACK\236\SOH\NUL\239\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\236\SOH\b(\n\
+    \Q\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\238\SOH\EOT\SUB\SUBC The message ID of the message to which this command is a pointer.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ENQ\DC2\EOT\238\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\238\SOH\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\238\SOH\CAN\EM\n\
+    \\f\n\
+    \\STX\EOT\SI\DC2\ACK\241\SOH\NUL\138\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\241\SOH\b/\n\
+    \]\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\243\SOH\EOT\CAN\SUBO Endpoint name, must exist in the endpoint registry or this command will fail.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\243\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\243\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\243\SOH\SYN\ETB\n\
+    \\GS\n\
+    \\EOT\EOT\SI\STX\SOH\DC2\EOT\245\SOH\EOT\ETB\SUB\SI Service name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ENQ\DC2\EOT\245\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\245\SOH\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\245\SOH\NAK\SYN\n\
+    \\US\n\
+    \\EOT\EOT\SI\STX\STX\DC2\EOT\247\SOH\EOT\EM\SUB\DC1 Operation name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\STX\ENQ\DC2\EOT\247\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\STX\SOH\DC2\EOT\247\SOH\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\STX\ETX\DC2\EOT\247\SOH\ETB\CAN\n\
+    \\188\STX\n\
+    \\EOT\EOT\SI\STX\ETX\DC2\EOT\251\SOH\EOT-\SUB\173\STX Input for the operation. The server converts this into Nexus request content and the appropriate content headers\n\
+    \ internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the\n\
+    \ content is transformed back to the original Payload sent in this command.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ETX\ACK\DC2\EOT\251\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ETX\SOH\DC2\EOT\251\SOH#(\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ETX\ETX\DC2\EOT\251\SOH+,\n\
+    \\173\STX\n\
+    \\EOT\EOT\SI\STX\EOT\DC2\EOT\129\STX\EOT;\SUB\158\STX Schedule-to-close timeout for this operation.\n\
+    \ Indicates how long the caller is willing to wait for operation completion.\n\
+    \ Calls are retried internally by the server.\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\EOT\ACK\DC2\EOT\129\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\EOT\SOH\DC2\EOT\129\STX\GS6\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\EOT\ETX\DC2\EOT\129\STX9:\n\
+    \\200\ETX\n\
+    \\EOT\EOT\SI\STX\ENQ\DC2\EOT\137\STX\EOT)\SUB\185\ETX Header to attach to the Nexus request.\n\
+    \ Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and\n\
+    \ transmitted to external services as-is.\n\
+    \ This is useful for propagating tracing information.\n\
+    \ Note these headers are not the same as Temporal headers on internal activities and child workflows, these are\n\
+    \ transmitted to Nexus operations that may be external and are not traditional payloads.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ENQ\ACK\DC2\EOT\137\STX\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ENQ\SOH\DC2\EOT\137\STX\CAN$\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ENQ\ETX\DC2\EOT\137\STX'(\n\
+    \\f\n\
+    \\STX\EOT\DLE\DC2\ACK\140\STX\NUL\144\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\140\STX\b4\n\
+    \\190\SOH\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\143\STX\EOT!\SUB\175\SOH The `NEXUS_OPERATION_SCHEDULED` event ID (a unique identifier) for the operation to be canceled.\n\
+    \ The operation may ignore cancellation and end up with any completion state.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ENQ\DC2\EOT\143\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\143\STX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\143\STX\US \n\
+    \\f\n\
+    \\STX\EOT\DC1\DC2\ACK\146\STX\NUL\181\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\146\STX\b\SI\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\147\STX\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ACK\DC2\EOT\147\STX\EOT%\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\147\STX&2\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\147\STX56\n\
+    \\183\ENQ\n\
+    \\EOT\EOT\DC1\STX\SOH\DC2\EOT\158\STX\EOT9\SUB\168\ENQ Metadata on the command. This is sometimes carried over to the history event if one is\n\
+    \ created as a result of the command. Most commands won't have this information, and how this\n\
+    \ information is used is dependent upon the interface that reads it.\n\
+    \\n\
+    \ Current well-known uses:\n\
+    \  * start_child_workflow_execution_command_attributes - populates\n\
+    \    temporal.api.workflow.v1.WorkflowExecutionInfo.user_metadata where the summary and details\n\
+    \    are used by user interfaces to show fixed as-of-start workflow summary and details.\n\
+    \  * start_timer_command_attributes - populates temporal.api.history.v1.HistoryEvent for timer\n\
+    \    started where the summary is used to identify the timer.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ACK\DC2\EOT\158\STX\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\158\STX%2\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\158\STX58\n\
+    \R\n\
+    \\EOT\EOT\DC1\b\NUL\DC2\ACK\160\STX\EOT\180\STX\ENQ\SUBB The command details. The type must match that in `command_type`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\b\NUL\SOH\DC2\EOT\160\STX\n\
+    \\DC4\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\STX\DC2\EOT\161\STX\b\\\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ACK\DC2\EOT\161\STX\b-\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\161\STX.W\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\161\STXZ[\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\ETX\DC2\EOT\162\STX\bG\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\ACK\DC2\EOT\162\STX\b#\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\SOH\DC2\EOT\162\STX$B\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\ETX\DC2\EOT\162\STXEF\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\EOT\DC2\EOT\163\STX\bf\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\ACK\DC2\EOT\163\STX\b2\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\SOH\DC2\EOT\163\STX3a\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\ETX\DC2\EOT\163\STXde\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\ENQ\DC2\EOT\164\STX\b^\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\ACK\DC2\EOT\164\STX\b.\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\SOH\DC2\EOT\164\STX/Y\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\ETX\DC2\EOT\164\STX\\]\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\ACK\DC2\EOT\165\STX\bg\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ACK\ACK\DC2\EOT\165\STX\b2\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ACK\SOH\DC2\EOT\165\STX3b\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ACK\ETX\DC2\EOT\165\STXef\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\a\DC2\EOT\166\STX\bI\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\a\ACK\DC2\EOT\166\STX\b$\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\a\SOH\DC2\EOT\166\STX%D\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\a\ETX\DC2\EOT\166\STXGH\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\b\DC2\EOT\167\STX\bb\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\b\ACK\DC2\EOT\167\STX\b0\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\b\SOH\DC2\EOT\167\STX1]\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\b\ETX\DC2\EOT\167\STX`a\n\
+    \\r\n\
+    \\EOT\EOT\DC1\STX\t\DC2\ENQ\168\STX\b\130\SOH\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\t\ACK\DC2\EOT\168\STX\b?\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\t\SOH\DC2\EOT\168\STX@}\n\
+    \\SI\n\
+    \\ENQ\EOT\DC1\STX\t\ETX\DC2\ACK\168\STX\128\SOH\129\SOH\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\n\
+    \\DC2\EOT\169\STX\bL\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\n\
+    \\ACK\DC2\EOT\169\STX\b%\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\n\
+    \\SOH\DC2\EOT\169\STX&F\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\n\
+    \\ETX\DC2\EOT\169\STXIK\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\v\DC2\EOT\170\STX\bs\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\v\ACK\DC2\EOT\170\STX\b7\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\v\SOH\DC2\EOT\170\STX8m\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\v\ETX\DC2\EOT\170\STXpr\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\f\DC2\EOT\171\STX\bl\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\f\ACK\DC2\EOT\171\STX\b4\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\f\SOH\DC2\EOT\171\STX5f\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\f\ETX\DC2\EOT\171\STXik\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\r\DC2\EOT\172\STX\bt\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\r\ACK\DC2\EOT\172\STX\b8\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\r\SOH\DC2\EOT\172\STX9n\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\r\ETX\DC2\EOT\172\STXqs\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\SO\DC2\EOT\173\STX\br\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SO\ACK\DC2\EOT\173\STX\b7\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SO\SOH\DC2\EOT\173\STX8l\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SO\ETX\DC2\EOT\173\STXoq\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\SI\DC2\EOT\174\STX\bR\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SI\ACK\DC2\EOT\174\STX\b(\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SI\SOH\DC2\EOT\174\STX)L\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SI\ETX\DC2\EOT\174\STXOQ\n\
+    \n\n\
+    \\EOT\EOT\DC1\STX\DLE\DC2\EOT\176\STX\be\SUB` 16 is available for use - it was used as part of a prototype that never made it into a release\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DLE\ACK\DC2\EOT\176\STX\b1\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DLE\SOH\DC2\EOT\176\STX2_\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DLE\ETX\DC2\EOT\176\STXbd\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\DC1\DC2\EOT\178\STX\ba\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DC1\ACK\DC2\EOT\178\STX\b/\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DC1\SOH\DC2\EOT\178\STX0[\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DC1\ETX\DC2\EOT\178\STX^`\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\DC2\DC2\EOT\179\STX\bl\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DC2\ACK\DC2\EOT\179\STX\b4\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DC2\SOH\DC2\EOT\179\STX5f\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\DC2\ETX\DC2\EOT\179\STXikb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Command/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Command/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Command/V1/Message_Fields.hs
@@ -0,0 +1,783 @@
+{- This file was auto-generated from temporal/api/command/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Command.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.CommandType
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+backoffStartInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backoffStartInterval" a) =>
+  Lens.Family2.LensLike' f s a
+backoffStartInterval
+  = Data.ProtoLens.Field.field @"backoffStartInterval"
+cancelTimerCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelTimerCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+cancelTimerCommandAttributes
+  = Data.ProtoLens.Field.field @"cancelTimerCommandAttributes"
+cancelWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+cancelWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"cancelWorkflowExecutionCommandAttributes"
+childWorkflowOnly ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowOnly" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowOnly = Data.ProtoLens.Field.field @"childWorkflowOnly"
+commandType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "commandType" a) =>
+  Lens.Family2.LensLike' f s a
+commandType = Data.ProtoLens.Field.field @"commandType"
+completeWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completeWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+completeWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"completeWorkflowExecutionCommandAttributes"
+continueAsNewWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continueAsNewWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+continueAsNewWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"continueAsNewWorkflowExecutionCommandAttributes"
+control ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "control" a) =>
+  Lens.Family2.LensLike' f s a
+control = Data.ProtoLens.Field.field @"control"
+cronSchedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronSchedule" a) =>
+  Lens.Family2.LensLike' f s a
+cronSchedule = Data.ProtoLens.Field.field @"cronSchedule"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+endpoint = Data.ProtoLens.Field.field @"endpoint"
+execution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "execution" a) =>
+  Lens.Family2.LensLike' f s a
+execution = Data.ProtoLens.Field.field @"execution"
+failWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+failWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"failWorkflowExecutionCommandAttributes"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatTimeout = Data.ProtoLens.Field.field @"heartbeatTimeout"
+inheritBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "inheritBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+inheritBuildId = Data.ProtoLens.Field.field @"inheritBuildId"
+initiator ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initiator" a) =>
+  Lens.Family2.LensLike' f s a
+initiator = Data.ProtoLens.Field.field @"initiator"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+lastCompletionResult
+  = Data.ProtoLens.Field.field @"lastCompletionResult"
+markerName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "markerName" a) =>
+  Lens.Family2.LensLike' f s a
+markerName = Data.ProtoLens.Field.field @"markerName"
+maybe'activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityType
+  = Data.ProtoLens.Field.field @"maybe'activityType"
+maybe'attributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'attributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'attributes = Data.ProtoLens.Field.field @"maybe'attributes"
+maybe'backoffStartInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'backoffStartInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'backoffStartInterval
+  = Data.ProtoLens.Field.field @"maybe'backoffStartInterval"
+maybe'cancelTimerCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelTimerCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelTimerCommandAttributes
+  = Data.ProtoLens.Field.field @"maybe'cancelTimerCommandAttributes"
+maybe'cancelWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'cancelWorkflowExecutionCommandAttributes"
+maybe'completeWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completeWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completeWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'completeWorkflowExecutionCommandAttributes"
+maybe'continueAsNewWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'continueAsNewWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'continueAsNewWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'continueAsNewWorkflowExecutionCommandAttributes"
+maybe'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'details" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'details = Data.ProtoLens.Field.field @"maybe'details"
+maybe'execution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'execution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'execution = Data.ProtoLens.Field.field @"maybe'execution"
+maybe'failWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'failWorkflowExecutionCommandAttributes"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatTimeout
+  = Data.ProtoLens.Field.field @"maybe'heartbeatTimeout"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastCompletionResult
+  = Data.ProtoLens.Field.field @"maybe'lastCompletionResult"
+maybe'memo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'memo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'memo = Data.ProtoLens.Field.field @"maybe'memo"
+maybe'modifyWorkflowPropertiesCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'modifyWorkflowPropertiesCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'modifyWorkflowPropertiesCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'modifyWorkflowPropertiesCommandAttributes"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'protocolMessageCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'protocolMessageCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'protocolMessageCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'protocolMessageCommandAttributes"
+maybe'recordMarkerCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'recordMarkerCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'recordMarkerCommandAttributes
+  = Data.ProtoLens.Field.field @"maybe'recordMarkerCommandAttributes"
+maybe'requestCancelActivityTaskCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelActivityTaskCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelActivityTaskCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'requestCancelActivityTaskCommandAttributes"
+maybe'requestCancelExternalWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelExternalWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelExternalWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'requestCancelExternalWorkflowExecutionCommandAttributes"
+maybe'requestCancelNexusOperationCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelNexusOperationCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelNexusOperationCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'requestCancelNexusOperationCommandAttributes"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'scheduleActivityTaskCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleActivityTaskCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleActivityTaskCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'scheduleActivityTaskCommandAttributes"
+maybe'scheduleNexusOperationCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleNexusOperationCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleNexusOperationCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'scheduleNexusOperationCommandAttributes"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout"
+maybe'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'searchAttributes
+  = Data.ProtoLens.Field.field @"maybe'searchAttributes"
+maybe'signalExternalWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalExternalWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalExternalWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'signalExternalWorkflowExecutionCommandAttributes"
+maybe'startChildWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startChildWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startChildWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'startChildWorkflowExecutionCommandAttributes"
+maybe'startTimerCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTimerCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTimerCommandAttributes
+  = Data.ProtoLens.Field.field @"maybe'startTimerCommandAttributes"
+maybe'startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToCloseTimeout"
+maybe'startToFireTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToFireTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToFireTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToFireTimeout"
+maybe'taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueue = Data.ProtoLens.Field.field @"maybe'taskQueue"
+maybe'upsertWorkflowSearchAttributesCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'upsertWorkflowSearchAttributesCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'upsertWorkflowSearchAttributesCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'upsertWorkflowSearchAttributesCommandAttributes"
+maybe'upsertedMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'upsertedMemo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'upsertedMemo
+  = Data.ProtoLens.Field.field @"maybe'upsertedMemo"
+maybe'userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'userMetadata
+  = Data.ProtoLens.Field.field @"maybe'userMetadata"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout"
+maybe'workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowRunTimeout"
+maybe'workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout"
+maybe'workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowType
+  = Data.ProtoLens.Field.field @"maybe'workflowType"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+messageId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "messageId" a) =>
+  Lens.Family2.LensLike' f s a
+messageId = Data.ProtoLens.Field.field @"messageId"
+modifyWorkflowPropertiesCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "modifyWorkflowPropertiesCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+modifyWorkflowPropertiesCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"modifyWorkflowPropertiesCommandAttributes"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+nexusHeader ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusHeader" a) =>
+  Lens.Family2.LensLike' f s a
+nexusHeader = Data.ProtoLens.Field.field @"nexusHeader"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+parentClosePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentClosePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+parentClosePolicy = Data.ProtoLens.Field.field @"parentClosePolicy"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+protocolMessageCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "protocolMessageCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+protocolMessageCommandAttributes
+  = Data.ProtoLens.Field.field @"protocolMessageCommandAttributes"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+recordMarkerCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "recordMarkerCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+recordMarkerCommandAttributes
+  = Data.ProtoLens.Field.field @"recordMarkerCommandAttributes"
+requestCancelActivityTaskCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelActivityTaskCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelActivityTaskCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"requestCancelActivityTaskCommandAttributes"
+requestCancelExternalWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelExternalWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelExternalWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"requestCancelExternalWorkflowExecutionCommandAttributes"
+requestCancelNexusOperationCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelNexusOperationCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelNexusOperationCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"requestCancelNexusOperationCommandAttributes"
+requestEagerExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestEagerExecution" a) =>
+  Lens.Family2.LensLike' f s a
+requestEagerExecution
+  = Data.ProtoLens.Field.field @"requestEagerExecution"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+scheduleActivityTaskCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleActivityTaskCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleActivityTaskCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"scheduleActivityTaskCommandAttributes"
+scheduleNexusOperationCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleNexusOperationCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleNexusOperationCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"scheduleNexusOperationCommandAttributes"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"scheduleToStartTimeout"
+scheduledEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledEventId" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledEventId = Data.ProtoLens.Field.field @"scheduledEventId"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+signalExternalWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalExternalWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+signalExternalWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"signalExternalWorkflowExecutionCommandAttributes"
+signalName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalName" a) =>
+  Lens.Family2.LensLike' f s a
+signalName = Data.ProtoLens.Field.field @"signalName"
+startChildWorkflowExecutionCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startChildWorkflowExecutionCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+startChildWorkflowExecutionCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"startChildWorkflowExecutionCommandAttributes"
+startTimerCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTimerCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+startTimerCommandAttributes
+  = Data.ProtoLens.Field.field @"startTimerCommandAttributes"
+startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToCloseTimeout
+  = Data.ProtoLens.Field.field @"startToCloseTimeout"
+startToFireTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToFireTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToFireTimeout
+  = Data.ProtoLens.Field.field @"startToFireTimeout"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+timerId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "timerId" a) =>
+  Lens.Family2.LensLike' f s a
+timerId = Data.ProtoLens.Field.field @"timerId"
+upsertWorkflowSearchAttributesCommandAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertWorkflowSearchAttributesCommandAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+upsertWorkflowSearchAttributesCommandAttributes
+  = Data.ProtoLens.Field.field
+      @"upsertWorkflowSearchAttributesCommandAttributes"
+upsertedMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertedMemo" a) =>
+  Lens.Family2.LensLike' f s a
+upsertedMemo = Data.ProtoLens.Field.field @"upsertedMemo"
+useWorkflowBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "useWorkflowBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+useWorkflowBuildId
+  = Data.ProtoLens.Field.field @"useWorkflowBuildId"
+userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+userMetadata = Data.ProtoLens.Field.field @"userMetadata"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"workflowExecutionTimeout"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowIdReusePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowIdReusePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+workflowIdReusePolicy
+  = Data.ProtoLens.Field.field @"workflowIdReusePolicy"
+workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowRunTimeout
+  = Data.ProtoLens.Field.field @"workflowRunTimeout"
+workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"workflowTaskTimeout"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Api/Common/V1/Message.hs b/src/Proto/Temporal/Api/Common/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Common/V1/Message.hs
@@ -0,0 +1,5715 @@
+{- This file was auto-generated from temporal/api/common/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Common.V1.Message (
+        ActivityType(), Callback(), Callback'Variant(..), _Callback'Nexus',
+        _Callback'Internal', Callback'Internal(), Callback'Nexus(),
+        Callback'Nexus'HeaderEntry(), DataBlob(), Header(),
+        Header'FieldsEntry(), Link(), Link'Variant(..),
+        _Link'WorkflowEvent', _Link'BatchJob', Link'BatchJob(),
+        Link'WorkflowEvent(), Link'WorkflowEvent'Reference(..),
+        _Link'WorkflowEvent'EventRef, Link'WorkflowEvent'EventReference(),
+        Memo(), Memo'FieldsEntry(), MeteringMetadata(), Payload(),
+        Payload'MetadataEntry(), Payloads(), Priority(), ResetOptions(),
+        ResetOptions'Target(..), _ResetOptions'FirstWorkflowTask,
+        _ResetOptions'LastWorkflowTask, _ResetOptions'WorkflowTaskId,
+        _ResetOptions'BuildId, RetryPolicy(), SearchAttributes(),
+        SearchAttributes'IndexedFieldsEntry(), WorkerVersionCapabilities(),
+        WorkerVersionStamp(), WorkflowExecution(), WorkflowType()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.EventType
+import qualified Proto.Temporal.Api.Enums.V1.Reset
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.name' @:: Lens' ActivityType Data.Text.Text@ -}
+data ActivityType
+  = ActivityType'_constructor {_ActivityType'name :: !Data.Text.Text,
+                               _ActivityType'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityType where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityType "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityType'name (\ x__ y__ -> x__ {_ActivityType'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityType where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.ActivityType"
+  packedMessageDescriptor _
+    = "\n\
+      \\fActivityType\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor ActivityType
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityType'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityType'_unknownFields = y__})
+  defMessage
+    = ActivityType'_constructor
+        {_ActivityType'name = Data.ProtoLens.fieldDefault,
+         _ActivityType'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityType -> Data.ProtoLens.Encoding.Bytes.Parser ActivityType
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityType"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ActivityType where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityType'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ActivityType'name x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'variant' @:: Lens' Callback (Prelude.Maybe Callback'Variant)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'nexus' @:: Lens' Callback (Prelude.Maybe Callback'Nexus)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.nexus' @:: Lens' Callback Callback'Nexus@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'internal' @:: Lens' Callback (Prelude.Maybe Callback'Internal)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.internal' @:: Lens' Callback Callback'Internal@ -}
+data Callback
+  = Callback'_constructor {_Callback'variant :: !(Prelude.Maybe Callback'Variant),
+                           _Callback'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Callback where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Callback'Variant
+  = Callback'Nexus' !Callback'Nexus |
+    Callback'Internal' !Callback'Internal
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Callback "maybe'variant" (Prelude.Maybe Callback'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'variant (\ x__ y__ -> x__ {_Callback'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Callback "maybe'nexus" (Prelude.Maybe Callback'Nexus) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'variant (\ x__ y__ -> x__ {_Callback'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Callback'Nexus' x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Callback'Nexus' y__))
+instance Data.ProtoLens.Field.HasField Callback "nexus" Callback'Nexus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'variant (\ x__ y__ -> x__ {_Callback'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Callback'Nexus' x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Callback'Nexus' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Callback "maybe'internal" (Prelude.Maybe Callback'Internal) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'variant (\ x__ y__ -> x__ {_Callback'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Callback'Internal' x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Callback'Internal' y__))
+instance Data.ProtoLens.Field.HasField Callback "internal" Callback'Internal where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'variant (\ x__ y__ -> x__ {_Callback'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Callback'Internal' x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Callback'Internal' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Callback where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Callback"
+  packedMessageDescriptor _
+    = "\n\
+      \\bCallback\DC2>\n\
+      \\ENQnexus\CAN\STX \SOH(\v2&.temporal.api.common.v1.Callback.NexusH\NULR\ENQnexus\DC2G\n\
+      \\binternal\CAN\ETX \SOH(\v2).temporal.api.common.v1.Callback.InternalH\NULR\binternal\SUB\160\SOH\n\
+      \\ENQNexus\DC2\DLE\n\
+      \\ETXurl\CAN\SOH \SOH(\tR\ETXurl\DC2J\n\
+      \\ACKheader\CAN\STX \ETX(\v22.temporal.api.common.v1.Callback.Nexus.HeaderEntryR\ACKheader\SUB9\n\
+      \\vHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\SUB\RS\n\
+      \\bInternal\DC2\DC2\n\
+      \\EOTdata\CAN\SOH \SOH(\fR\EOTdataB\t\n\
+      \\avariantJ\EOT\b\SOH\DLE\STX"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        nexus__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Callback'Nexus)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nexus")) ::
+              Data.ProtoLens.FieldDescriptor Callback
+        internal__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "internal"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Callback'Internal)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'internal")) ::
+              Data.ProtoLens.FieldDescriptor Callback
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 2, nexus__field_descriptor),
+           (Data.ProtoLens.Tag 3, internal__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Callback'_unknownFields
+        (\ x__ y__ -> x__ {_Callback'_unknownFields = y__})
+  defMessage
+    = Callback'_constructor
+        {_Callback'variant = Prelude.Nothing,
+         _Callback'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Callback -> Data.ProtoLens.Encoding.Bytes.Parser Callback
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"nexus") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "internal"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"internal") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Callback"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (Callback'Nexus' v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (Callback'Internal' v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Callback where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Callback'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Callback'variant x__) ())
+instance Control.DeepSeq.NFData Callback'Variant where
+  rnf (Callback'Nexus' x__) = Control.DeepSeq.rnf x__
+  rnf (Callback'Internal' x__) = Control.DeepSeq.rnf x__
+_Callback'Nexus' ::
+  Data.ProtoLens.Prism.Prism' Callback'Variant Callback'Nexus
+_Callback'Nexus'
+  = Data.ProtoLens.Prism.prism'
+      Callback'Nexus'
+      (\ p__
+         -> case p__ of
+              (Callback'Nexus' p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Callback'Internal' ::
+  Data.ProtoLens.Prism.Prism' Callback'Variant Callback'Internal
+_Callback'Internal'
+  = Data.ProtoLens.Prism.prism'
+      Callback'Internal'
+      (\ p__
+         -> case p__ of
+              (Callback'Internal' p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.data'' @:: Lens' Callback'Internal Data.ByteString.ByteString@ -}
+data Callback'Internal
+  = Callback'Internal'_constructor {_Callback'Internal'data' :: !Data.ByteString.ByteString,
+                                    _Callback'Internal'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Callback'Internal where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Callback'Internal "data'" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'Internal'data'
+           (\ x__ y__ -> x__ {_Callback'Internal'data' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Callback'Internal where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Callback.Internal"
+  packedMessageDescriptor _
+    = "\n\
+      \\bInternal\DC2\DC2\n\
+      \\EOTdata\CAN\SOH \SOH(\fR\EOTdata"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        data'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "data"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"data'")) ::
+              Data.ProtoLens.FieldDescriptor Callback'Internal
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, data'__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Callback'Internal'_unknownFields
+        (\ x__ y__ -> x__ {_Callback'Internal'_unknownFields = y__})
+  defMessage
+    = Callback'Internal'_constructor
+        {_Callback'Internal'data' = Data.ProtoLens.fieldDefault,
+         _Callback'Internal'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Callback'Internal
+          -> Data.ProtoLens.Encoding.Bytes.Parser Callback'Internal
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "data"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"data'") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Internal"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"data'") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Callback'Internal where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Callback'Internal'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Callback'Internal'data' x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.url' @:: Lens' Callback'Nexus Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.header' @:: Lens' Callback'Nexus (Data.Map.Map Data.Text.Text Data.Text.Text)@ -}
+data Callback'Nexus
+  = Callback'Nexus'_constructor {_Callback'Nexus'url :: !Data.Text.Text,
+                                 _Callback'Nexus'header :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                 _Callback'Nexus'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Callback'Nexus where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Callback'Nexus "url" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'Nexus'url (\ x__ y__ -> x__ {_Callback'Nexus'url = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Callback'Nexus "header" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'Nexus'header
+           (\ x__ y__ -> x__ {_Callback'Nexus'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Callback'Nexus where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Callback.Nexus"
+  packedMessageDescriptor _
+    = "\n\
+      \\ENQNexus\DC2\DLE\n\
+      \\ETXurl\CAN\SOH \SOH(\tR\ETXurl\DC2J\n\
+      \\ACKheader\CAN\STX \ETX(\v22.temporal.api.common.v1.Callback.Nexus.HeaderEntryR\ACKheader\SUB9\n\
+      \\vHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        url__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "url"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"url")) ::
+              Data.ProtoLens.FieldDescriptor Callback'Nexus
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Callback'Nexus'HeaderEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"header")) ::
+              Data.ProtoLens.FieldDescriptor Callback'Nexus
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, url__field_descriptor),
+           (Data.ProtoLens.Tag 2, header__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Callback'Nexus'_unknownFields
+        (\ x__ y__ -> x__ {_Callback'Nexus'_unknownFields = y__})
+  defMessage
+    = Callback'Nexus'_constructor
+        {_Callback'Nexus'url = Data.ProtoLens.fieldDefault,
+         _Callback'Nexus'header = Data.Map.empty,
+         _Callback'Nexus'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Callback'Nexus
+          -> Data.ProtoLens.Encoding.Bytes.Parser Callback'Nexus
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "url"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"url") y x)
+                        18
+                          -> do !(entry :: Callback'Nexus'HeaderEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                            (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                  (Prelude.fromIntegral
+                                                                                     len)
+                                                                                  Data.ProtoLens.parseMessage)
+                                                                            "header"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"header")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Nexus"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"url") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.Monoid.mconcat
+                   (Prelude.map
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                       (Data.ProtoLens.defMessage :: Callback'Nexus'HeaderEntry)))))
+                      (Data.Map.toList
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"header") _x))))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Callback'Nexus where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Callback'Nexus'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Callback'Nexus'url x__)
+                (Control.DeepSeq.deepseq (_Callback'Nexus'header x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.key' @:: Lens' Callback'Nexus'HeaderEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.value' @:: Lens' Callback'Nexus'HeaderEntry Data.Text.Text@ -}
+data Callback'Nexus'HeaderEntry
+  = Callback'Nexus'HeaderEntry'_constructor {_Callback'Nexus'HeaderEntry'key :: !Data.Text.Text,
+                                             _Callback'Nexus'HeaderEntry'value :: !Data.Text.Text,
+                                             _Callback'Nexus'HeaderEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Callback'Nexus'HeaderEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Callback'Nexus'HeaderEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'Nexus'HeaderEntry'key
+           (\ x__ y__ -> x__ {_Callback'Nexus'HeaderEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Callback'Nexus'HeaderEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Callback'Nexus'HeaderEntry'value
+           (\ x__ y__ -> x__ {_Callback'Nexus'HeaderEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Callback'Nexus'HeaderEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.common.v1.Callback.Nexus.HeaderEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\vHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Callback'Nexus'HeaderEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor Callback'Nexus'HeaderEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Callback'Nexus'HeaderEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_Callback'Nexus'HeaderEntry'_unknownFields = y__})
+  defMessage
+    = Callback'Nexus'HeaderEntry'_constructor
+        {_Callback'Nexus'HeaderEntry'key = Data.ProtoLens.fieldDefault,
+         _Callback'Nexus'HeaderEntry'value = Data.ProtoLens.fieldDefault,
+         _Callback'Nexus'HeaderEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Callback'Nexus'HeaderEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Callback'Nexus'HeaderEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeaderEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Callback'Nexus'HeaderEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Callback'Nexus'HeaderEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Callback'Nexus'HeaderEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_Callback'Nexus'HeaderEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.encodingType' @:: Lens' DataBlob Proto.Temporal.Api.Enums.V1.Common.EncodingType@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.data'' @:: Lens' DataBlob Data.ByteString.ByteString@ -}
+data DataBlob
+  = DataBlob'_constructor {_DataBlob'encodingType :: !Proto.Temporal.Api.Enums.V1.Common.EncodingType,
+                           _DataBlob'data' :: !Data.ByteString.ByteString,
+                           _DataBlob'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DataBlob where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DataBlob "encodingType" Proto.Temporal.Api.Enums.V1.Common.EncodingType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DataBlob'encodingType
+           (\ x__ y__ -> x__ {_DataBlob'encodingType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DataBlob "data'" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DataBlob'data' (\ x__ y__ -> x__ {_DataBlob'data' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DataBlob where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.DataBlob"
+  packedMessageDescriptor _
+    = "\n\
+      \\bDataBlob\DC2H\n\
+      \\rencoding_type\CAN\SOH \SOH(\SO2#.temporal.api.enums.v1.EncodingTypeR\fencodingType\DC2\DC2\n\
+      \\EOTdata\CAN\STX \SOH(\fR\EOTdata"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        encodingType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "encoding_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.EncodingType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"encodingType")) ::
+              Data.ProtoLens.FieldDescriptor DataBlob
+        data'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "data"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"data'")) ::
+              Data.ProtoLens.FieldDescriptor DataBlob
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, encodingType__field_descriptor),
+           (Data.ProtoLens.Tag 2, data'__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DataBlob'_unknownFields
+        (\ x__ y__ -> x__ {_DataBlob'_unknownFields = y__})
+  defMessage
+    = DataBlob'_constructor
+        {_DataBlob'encodingType = Data.ProtoLens.fieldDefault,
+         _DataBlob'data' = Data.ProtoLens.fieldDefault,
+         _DataBlob'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: DataBlob -> Data.ProtoLens.Encoding.Bytes.Parser DataBlob
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "encoding_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"encodingType") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "data"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"data'") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DataBlob"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"encodingType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"data'") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData DataBlob where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DataBlob'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DataBlob'encodingType x__)
+                (Control.DeepSeq.deepseq (_DataBlob'data' x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.fields' @:: Lens' Header (Data.Map.Map Data.Text.Text Payload)@ -}
+data Header
+  = Header'_constructor {_Header'fields :: !(Data.Map.Map Data.Text.Text Payload),
+                         _Header'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Header where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Header "fields" (Data.Map.Map Data.Text.Text Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Header'fields (\ x__ y__ -> x__ {_Header'fields = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Header where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Header"
+  packedMessageDescriptor _
+    = "\n\
+      \\ACKHeader\DC2B\n\
+      \\ACKfields\CAN\SOH \ETX(\v2*.temporal.api.common.v1.Header.FieldsEntryR\ACKfields\SUBZ\n\
+      \\vFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        fields__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fields"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Header'FieldsEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"fields")) ::
+              Data.ProtoLens.FieldDescriptor Header
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, fields__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Header'_unknownFields
+        (\ x__ y__ -> x__ {_Header'_unknownFields = y__})
+  defMessage
+    = Header'_constructor
+        {_Header'fields = Data.Map.empty, _Header'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Header -> Data.ProtoLens.Encoding.Bytes.Parser Header
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: Header'FieldsEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                                                          (Prelude.fromIntegral len)
+                                                                          Data.ProtoLens.parseMessage)
+                                                                    "fields"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"fields")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Header"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage :: Header'FieldsEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"fields") _x))))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Header where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Header'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Header'fields x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.key' @:: Lens' Header'FieldsEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.value' @:: Lens' Header'FieldsEntry Payload@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'value' @:: Lens' Header'FieldsEntry (Prelude.Maybe Payload)@ -}
+data Header'FieldsEntry
+  = Header'FieldsEntry'_constructor {_Header'FieldsEntry'key :: !Data.Text.Text,
+                                     _Header'FieldsEntry'value :: !(Prelude.Maybe Payload),
+                                     _Header'FieldsEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Header'FieldsEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Header'FieldsEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Header'FieldsEntry'key
+           (\ x__ y__ -> x__ {_Header'FieldsEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Header'FieldsEntry "value" Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Header'FieldsEntry'value
+           (\ x__ y__ -> x__ {_Header'FieldsEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Header'FieldsEntry "maybe'value" (Prelude.Maybe Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Header'FieldsEntry'value
+           (\ x__ y__ -> x__ {_Header'FieldsEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Header'FieldsEntry where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Header.FieldsEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\vFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Header'FieldsEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor Header'FieldsEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Header'FieldsEntry'_unknownFields
+        (\ x__ y__ -> x__ {_Header'FieldsEntry'_unknownFields = y__})
+  defMessage
+    = Header'FieldsEntry'_constructor
+        {_Header'FieldsEntry'key = Data.ProtoLens.fieldDefault,
+         _Header'FieldsEntry'value = Prelude.Nothing,
+         _Header'FieldsEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Header'FieldsEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Header'FieldsEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "FieldsEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Header'FieldsEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Header'FieldsEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Header'FieldsEntry'key x__)
+                (Control.DeepSeq.deepseq (_Header'FieldsEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'variant' @:: Lens' Link (Prelude.Maybe Link'Variant)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'workflowEvent' @:: Lens' Link (Prelude.Maybe Link'WorkflowEvent)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.workflowEvent' @:: Lens' Link Link'WorkflowEvent@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'batchJob' @:: Lens' Link (Prelude.Maybe Link'BatchJob)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.batchJob' @:: Lens' Link Link'BatchJob@ -}
+data Link
+  = Link'_constructor {_Link'variant :: !(Prelude.Maybe Link'Variant),
+                       _Link'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Link where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Link'Variant
+  = Link'WorkflowEvent' !Link'WorkflowEvent |
+    Link'BatchJob' !Link'BatchJob
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Link "maybe'variant" (Prelude.Maybe Link'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'variant (\ x__ y__ -> x__ {_Link'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link "maybe'workflowEvent" (Prelude.Maybe Link'WorkflowEvent) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'variant (\ x__ y__ -> x__ {_Link'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Link'WorkflowEvent' x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Link'WorkflowEvent' y__))
+instance Data.ProtoLens.Field.HasField Link "workflowEvent" Link'WorkflowEvent where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'variant (\ x__ y__ -> x__ {_Link'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Link'WorkflowEvent' x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Link'WorkflowEvent' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Link "maybe'batchJob" (Prelude.Maybe Link'BatchJob) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'variant (\ x__ y__ -> x__ {_Link'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Link'BatchJob' x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Link'BatchJob' y__))
+instance Data.ProtoLens.Field.HasField Link "batchJob" Link'BatchJob where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'variant (\ x__ y__ -> x__ {_Link'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Link'BatchJob' x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Link'BatchJob' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Link where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Link"
+  packedMessageDescriptor _
+    = "\n\
+      \\EOTLink\DC2S\n\
+      \\SOworkflow_event\CAN\SOH \SOH(\v2*.temporal.api.common.v1.Link.WorkflowEventH\NULR\rworkflowEvent\DC2D\n\
+      \\tbatch_job\CAN\STX \SOH(\v2%.temporal.api.common.v1.Link.BatchJobH\NULR\bbatchJob\SUB\186\STX\n\
+      \\rWorkflowEvent\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId\DC2X\n\
+      \\tevent_ref\CANd \SOH(\v29.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\NULR\beventRef\SUBl\n\
+      \\SOEventReference\DC2\EM\n\
+      \\bevent_id\CAN\SOH \SOH(\ETXR\aeventId\DC2?\n\
+      \\n\
+      \event_type\CAN\STX \SOH(\SO2 .temporal.api.enums.v1.EventTypeR\teventTypeB\v\n\
+      \\treference\SUB!\n\
+      \\bBatchJob\DC2\NAK\n\
+      \\ACKjob_id\CAN\SOH \SOH(\tR\ENQjobIdB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowEvent__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_event"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Link'WorkflowEvent)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowEvent")) ::
+              Data.ProtoLens.FieldDescriptor Link
+        batchJob__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "batch_job"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Link'BatchJob)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'batchJob")) ::
+              Data.ProtoLens.FieldDescriptor Link
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowEvent__field_descriptor),
+           (Data.ProtoLens.Tag 2, batchJob__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Link'_unknownFields
+        (\ x__ y__ -> x__ {_Link'_unknownFields = y__})
+  defMessage
+    = Link'_constructor
+        {_Link'variant = Prelude.Nothing, _Link'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Link -> Data.ProtoLens.Encoding.Bytes.Parser Link
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_event"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowEvent") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "batch_job"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"batchJob") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Link"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (Link'WorkflowEvent' v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (Link'BatchJob' v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Link where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Link'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Link'variant x__) ())
+instance Control.DeepSeq.NFData Link'Variant where
+  rnf (Link'WorkflowEvent' x__) = Control.DeepSeq.rnf x__
+  rnf (Link'BatchJob' x__) = Control.DeepSeq.rnf x__
+_Link'WorkflowEvent' ::
+  Data.ProtoLens.Prism.Prism' Link'Variant Link'WorkflowEvent
+_Link'WorkflowEvent'
+  = Data.ProtoLens.Prism.prism'
+      Link'WorkflowEvent'
+      (\ p__
+         -> case p__ of
+              (Link'WorkflowEvent' p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Link'BatchJob' ::
+  Data.ProtoLens.Prism.Prism' Link'Variant Link'BatchJob
+_Link'BatchJob'
+  = Data.ProtoLens.Prism.prism'
+      Link'BatchJob'
+      (\ p__
+         -> case p__ of
+              (Link'BatchJob' p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.jobId' @:: Lens' Link'BatchJob Data.Text.Text@ -}
+data Link'BatchJob
+  = Link'BatchJob'_constructor {_Link'BatchJob'jobId :: !Data.Text.Text,
+                                _Link'BatchJob'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Link'BatchJob where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Link'BatchJob "jobId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'BatchJob'jobId
+           (\ x__ y__ -> x__ {_Link'BatchJob'jobId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Link'BatchJob where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Link.BatchJob"
+  packedMessageDescriptor _
+    = "\n\
+      \\bBatchJob\DC2\NAK\n\
+      \\ACKjob_id\CAN\SOH \SOH(\tR\ENQjobId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        jobId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "job_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"jobId")) ::
+              Data.ProtoLens.FieldDescriptor Link'BatchJob
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, jobId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Link'BatchJob'_unknownFields
+        (\ x__ y__ -> x__ {_Link'BatchJob'_unknownFields = y__})
+  defMessage
+    = Link'BatchJob'_constructor
+        {_Link'BatchJob'jobId = Data.ProtoLens.fieldDefault,
+         _Link'BatchJob'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Link'BatchJob -> Data.ProtoLens.Encoding.Bytes.Parser Link'BatchJob
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "job_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"jobId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BatchJob"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"jobId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Link'BatchJob where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Link'BatchJob'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Link'BatchJob'jobId x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.namespace' @:: Lens' Link'WorkflowEvent Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.workflowId' @:: Lens' Link'WorkflowEvent Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.runId' @:: Lens' Link'WorkflowEvent Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'reference' @:: Lens' Link'WorkflowEvent (Prelude.Maybe Link'WorkflowEvent'Reference)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'eventRef' @:: Lens' Link'WorkflowEvent (Prelude.Maybe Link'WorkflowEvent'EventReference)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.eventRef' @:: Lens' Link'WorkflowEvent Link'WorkflowEvent'EventReference@ -}
+data Link'WorkflowEvent
+  = Link'WorkflowEvent'_constructor {_Link'WorkflowEvent'namespace :: !Data.Text.Text,
+                                     _Link'WorkflowEvent'workflowId :: !Data.Text.Text,
+                                     _Link'WorkflowEvent'runId :: !Data.Text.Text,
+                                     _Link'WorkflowEvent'reference :: !(Prelude.Maybe Link'WorkflowEvent'Reference),
+                                     _Link'WorkflowEvent'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Link'WorkflowEvent where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Link'WorkflowEvent'Reference
+  = Link'WorkflowEvent'EventRef !Link'WorkflowEvent'EventReference
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'namespace
+           (\ x__ y__ -> x__ {_Link'WorkflowEvent'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'workflowId
+           (\ x__ y__ -> x__ {_Link'WorkflowEvent'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'runId
+           (\ x__ y__ -> x__ {_Link'WorkflowEvent'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent "maybe'reference" (Prelude.Maybe Link'WorkflowEvent'Reference) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'reference
+           (\ x__ y__ -> x__ {_Link'WorkflowEvent'reference = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent "maybe'eventRef" (Prelude.Maybe Link'WorkflowEvent'EventReference) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'reference
+           (\ x__ y__ -> x__ {_Link'WorkflowEvent'reference = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Link'WorkflowEvent'EventRef x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Link'WorkflowEvent'EventRef y__))
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent "eventRef" Link'WorkflowEvent'EventReference where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'reference
+           (\ x__ y__ -> x__ {_Link'WorkflowEvent'reference = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Link'WorkflowEvent'EventRef x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Link'WorkflowEvent'EventRef y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Link'WorkflowEvent where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Link.WorkflowEvent"
+  packedMessageDescriptor _
+    = "\n\
+      \\rWorkflowEvent\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId\DC2X\n\
+      \\tevent_ref\CANd \SOH(\v29.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\NULR\beventRef\SUBl\n\
+      \\SOEventReference\DC2\EM\n\
+      \\bevent_id\CAN\SOH \SOH(\ETXR\aeventId\DC2?\n\
+      \\n\
+      \event_type\CAN\STX \SOH(\SO2 .temporal.api.enums.v1.EventTypeR\teventTypeB\v\n\
+      \\treference"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor Link'WorkflowEvent
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor Link'WorkflowEvent
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor Link'WorkflowEvent
+        eventRef__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_ref"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Link'WorkflowEvent'EventReference)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'eventRef")) ::
+              Data.ProtoLens.FieldDescriptor Link'WorkflowEvent
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, runId__field_descriptor),
+           (Data.ProtoLens.Tag 100, eventRef__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Link'WorkflowEvent'_unknownFields
+        (\ x__ y__ -> x__ {_Link'WorkflowEvent'_unknownFields = y__})
+  defMessage
+    = Link'WorkflowEvent'_constructor
+        {_Link'WorkflowEvent'namespace = Data.ProtoLens.fieldDefault,
+         _Link'WorkflowEvent'workflowId = Data.ProtoLens.fieldDefault,
+         _Link'WorkflowEvent'runId = Data.ProtoLens.fieldDefault,
+         _Link'WorkflowEvent'reference = Prelude.Nothing,
+         _Link'WorkflowEvent'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Link'WorkflowEvent
+          -> Data.ProtoLens.Encoding.Bytes.Parser Link'WorkflowEvent
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        802
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "event_ref"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"eventRef") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowEvent"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'reference") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just (Link'WorkflowEvent'EventRef v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 802)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData Link'WorkflowEvent where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Link'WorkflowEvent'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Link'WorkflowEvent'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_Link'WorkflowEvent'workflowId x__)
+                   (Control.DeepSeq.deepseq
+                      (_Link'WorkflowEvent'runId x__)
+                      (Control.DeepSeq.deepseq (_Link'WorkflowEvent'reference x__) ()))))
+instance Control.DeepSeq.NFData Link'WorkflowEvent'Reference where
+  rnf (Link'WorkflowEvent'EventRef x__) = Control.DeepSeq.rnf x__
+_Link'WorkflowEvent'EventRef ::
+  Data.ProtoLens.Prism.Prism' Link'WorkflowEvent'Reference Link'WorkflowEvent'EventReference
+_Link'WorkflowEvent'EventRef
+  = Data.ProtoLens.Prism.prism'
+      Link'WorkflowEvent'EventRef
+      (\ p__
+         -> case p__ of
+              (Link'WorkflowEvent'EventRef p__val) -> Prelude.Just p__val)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.eventId' @:: Lens' Link'WorkflowEvent'EventReference Data.Int.Int64@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.eventType' @:: Lens' Link'WorkflowEvent'EventReference Proto.Temporal.Api.Enums.V1.EventType.EventType@ -}
+data Link'WorkflowEvent'EventReference
+  = Link'WorkflowEvent'EventReference'_constructor {_Link'WorkflowEvent'EventReference'eventId :: !Data.Int.Int64,
+                                                    _Link'WorkflowEvent'EventReference'eventType :: !Proto.Temporal.Api.Enums.V1.EventType.EventType,
+                                                    _Link'WorkflowEvent'EventReference'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Link'WorkflowEvent'EventReference where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent'EventReference "eventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'EventReference'eventId
+           (\ x__ y__
+              -> x__ {_Link'WorkflowEvent'EventReference'eventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link'WorkflowEvent'EventReference "eventType" Proto.Temporal.Api.Enums.V1.EventType.EventType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'WorkflowEvent'EventReference'eventType
+           (\ x__ y__
+              -> x__ {_Link'WorkflowEvent'EventReference'eventType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Link'WorkflowEvent'EventReference where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.common.v1.Link.WorkflowEvent.EventReference"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOEventReference\DC2\EM\n\
+      \\bevent_id\CAN\SOH \SOH(\ETXR\aeventId\DC2?\n\
+      \\n\
+      \event_type\CAN\STX \SOH(\SO2 .temporal.api.enums.v1.EventTypeR\teventType"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        eventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"eventId")) ::
+              Data.ProtoLens.FieldDescriptor Link'WorkflowEvent'EventReference
+        eventType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.EventType.EventType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"eventType")) ::
+              Data.ProtoLens.FieldDescriptor Link'WorkflowEvent'EventReference
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, eventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, eventType__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Link'WorkflowEvent'EventReference'_unknownFields
+        (\ x__ y__
+           -> x__ {_Link'WorkflowEvent'EventReference'_unknownFields = y__})
+  defMessage
+    = Link'WorkflowEvent'EventReference'_constructor
+        {_Link'WorkflowEvent'EventReference'eventId = Data.ProtoLens.fieldDefault,
+         _Link'WorkflowEvent'EventReference'eventType = Data.ProtoLens.fieldDefault,
+         _Link'WorkflowEvent'EventReference'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Link'WorkflowEvent'EventReference
+          -> Data.ProtoLens.Encoding.Bytes.Parser Link'WorkflowEvent'EventReference
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "event_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"eventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "event_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"eventType") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "EventReference"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"eventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"eventType") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Link'WorkflowEvent'EventReference where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Link'WorkflowEvent'EventReference'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Link'WorkflowEvent'EventReference'eventId x__)
+                (Control.DeepSeq.deepseq
+                   (_Link'WorkflowEvent'EventReference'eventType x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.fields' @:: Lens' Memo (Data.Map.Map Data.Text.Text Payload)@ -}
+data Memo
+  = Memo'_constructor {_Memo'fields :: !(Data.Map.Map Data.Text.Text Payload),
+                       _Memo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Memo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Memo "fields" (Data.Map.Map Data.Text.Text Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Memo'fields (\ x__ y__ -> x__ {_Memo'fields = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Memo where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Memo"
+  packedMessageDescriptor _
+    = "\n\
+      \\EOTMemo\DC2@\n\
+      \\ACKfields\CAN\SOH \ETX(\v2(.temporal.api.common.v1.Memo.FieldsEntryR\ACKfields\SUBZ\n\
+      \\vFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        fields__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fields"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Memo'FieldsEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"fields")) ::
+              Data.ProtoLens.FieldDescriptor Memo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, fields__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Memo'_unknownFields
+        (\ x__ y__ -> x__ {_Memo'_unknownFields = y__})
+  defMessage
+    = Memo'_constructor
+        {_Memo'fields = Data.Map.empty, _Memo'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Memo -> Data.ProtoLens.Encoding.Bytes.Parser Memo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: Memo'FieldsEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                  (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                      Data.ProtoLens.Encoding.Bytes.isolate
+                                                                        (Prelude.fromIntegral len)
+                                                                        Data.ProtoLens.parseMessage)
+                                                                  "fields"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"fields")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Memo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage :: Memo'FieldsEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"fields") _x))))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Memo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Memo'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Memo'fields x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.key' @:: Lens' Memo'FieldsEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.value' @:: Lens' Memo'FieldsEntry Payload@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'value' @:: Lens' Memo'FieldsEntry (Prelude.Maybe Payload)@ -}
+data Memo'FieldsEntry
+  = Memo'FieldsEntry'_constructor {_Memo'FieldsEntry'key :: !Data.Text.Text,
+                                   _Memo'FieldsEntry'value :: !(Prelude.Maybe Payload),
+                                   _Memo'FieldsEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Memo'FieldsEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Memo'FieldsEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Memo'FieldsEntry'key
+           (\ x__ y__ -> x__ {_Memo'FieldsEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Memo'FieldsEntry "value" Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Memo'FieldsEntry'value
+           (\ x__ y__ -> x__ {_Memo'FieldsEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Memo'FieldsEntry "maybe'value" (Prelude.Maybe Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Memo'FieldsEntry'value
+           (\ x__ y__ -> x__ {_Memo'FieldsEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Memo'FieldsEntry where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Memo.FieldsEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\vFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Memo'FieldsEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor Memo'FieldsEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Memo'FieldsEntry'_unknownFields
+        (\ x__ y__ -> x__ {_Memo'FieldsEntry'_unknownFields = y__})
+  defMessage
+    = Memo'FieldsEntry'_constructor
+        {_Memo'FieldsEntry'key = Data.ProtoLens.fieldDefault,
+         _Memo'FieldsEntry'value = Prelude.Nothing,
+         _Memo'FieldsEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Memo'FieldsEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Memo'FieldsEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "FieldsEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Memo'FieldsEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Memo'FieldsEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Memo'FieldsEntry'key x__)
+                (Control.DeepSeq.deepseq (_Memo'FieldsEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.nonfirstLocalActivityExecutionAttempts' @:: Lens' MeteringMetadata Data.Word.Word32@ -}
+data MeteringMetadata
+  = MeteringMetadata'_constructor {_MeteringMetadata'nonfirstLocalActivityExecutionAttempts :: !Data.Word.Word32,
+                                   _MeteringMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show MeteringMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField MeteringMetadata "nonfirstLocalActivityExecutionAttempts" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MeteringMetadata'nonfirstLocalActivityExecutionAttempts
+           (\ x__ y__
+              -> x__
+                   {_MeteringMetadata'nonfirstLocalActivityExecutionAttempts = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message MeteringMetadata where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.MeteringMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEMeteringMetadata\DC2Z\n\
+      \*nonfirst_local_activity_execution_attempts\CAN\r \SOH(\rR&nonfirstLocalActivityExecutionAttempts"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        nonfirstLocalActivityExecutionAttempts__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nonfirst_local_activity_execution_attempts"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field
+                    @"nonfirstLocalActivityExecutionAttempts")) ::
+              Data.ProtoLens.FieldDescriptor MeteringMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 13, 
+            nonfirstLocalActivityExecutionAttempts__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _MeteringMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_MeteringMetadata'_unknownFields = y__})
+  defMessage
+    = MeteringMetadata'_constructor
+        {_MeteringMetadata'nonfirstLocalActivityExecutionAttempts = Data.ProtoLens.fieldDefault,
+         _MeteringMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          MeteringMetadata
+          -> Data.ProtoLens.Encoding.Bytes.Parser MeteringMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        104
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "nonfirst_local_activity_execution_attempts"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nonfirstLocalActivityExecutionAttempts")
+                                     y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MeteringMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field
+                         @"nonfirstLocalActivityExecutionAttempts")
+                      _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 104)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData MeteringMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_MeteringMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_MeteringMetadata'nonfirstLocalActivityExecutionAttempts x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.metadata' @:: Lens' Payload (Data.Map.Map Data.Text.Text Data.ByteString.ByteString)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.data'' @:: Lens' Payload Data.ByteString.ByteString@ -}
+data Payload
+  = Payload'_constructor {_Payload'metadata :: !(Data.Map.Map Data.Text.Text Data.ByteString.ByteString),
+                          _Payload'data' :: !Data.ByteString.ByteString,
+                          _Payload'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Payload where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Payload "metadata" (Data.Map.Map Data.Text.Text Data.ByteString.ByteString) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Payload'metadata (\ x__ y__ -> x__ {_Payload'metadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Payload "data'" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Payload'data' (\ x__ y__ -> x__ {_Payload'data' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Payload where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Payload"
+  packedMessageDescriptor _
+    = "\n\
+      \\aPayload\DC2I\n\
+      \\bmetadata\CAN\SOH \ETX(\v2-.temporal.api.common.v1.Payload.MetadataEntryR\bmetadata\DC2\DC2\n\
+      \\EOTdata\CAN\STX \SOH(\fR\EOTdata\SUB;\n\
+      \\rMetadataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\fR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        metadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Payload'MetadataEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"metadata")) ::
+              Data.ProtoLens.FieldDescriptor Payload
+        data'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "data"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"data'")) ::
+              Data.ProtoLens.FieldDescriptor Payload
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, metadata__field_descriptor),
+           (Data.ProtoLens.Tag 2, data'__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Payload'_unknownFields
+        (\ x__ y__ -> x__ {_Payload'_unknownFields = y__})
+  defMessage
+    = Payload'_constructor
+        {_Payload'metadata = Data.Map.empty,
+         _Payload'data' = Data.ProtoLens.fieldDefault,
+         _Payload'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Payload -> Data.ProtoLens.Encoding.Bytes.Parser Payload
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: Payload'MetadataEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                                                             (Prelude.fromIntegral
+                                                                                len)
+                                                                             Data.ProtoLens.parseMessage)
+                                                                       "metadata"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"metadata")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "data"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"data'") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Payload"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage :: Payload'MetadataEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"metadata") _x))))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"data'") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Payload where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Payload'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Payload'metadata x__)
+                (Control.DeepSeq.deepseq (_Payload'data' x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.key' @:: Lens' Payload'MetadataEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.value' @:: Lens' Payload'MetadataEntry Data.ByteString.ByteString@ -}
+data Payload'MetadataEntry
+  = Payload'MetadataEntry'_constructor {_Payload'MetadataEntry'key :: !Data.Text.Text,
+                                        _Payload'MetadataEntry'value :: !Data.ByteString.ByteString,
+                                        _Payload'MetadataEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Payload'MetadataEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Payload'MetadataEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Payload'MetadataEntry'key
+           (\ x__ y__ -> x__ {_Payload'MetadataEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Payload'MetadataEntry "value" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Payload'MetadataEntry'value
+           (\ x__ y__ -> x__ {_Payload'MetadataEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Payload'MetadataEntry where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.Payload.MetadataEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\rMetadataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\fR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Payload'MetadataEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor Payload'MetadataEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Payload'MetadataEntry'_unknownFields
+        (\ x__ y__ -> x__ {_Payload'MetadataEntry'_unknownFields = y__})
+  defMessage
+    = Payload'MetadataEntry'_constructor
+        {_Payload'MetadataEntry'key = Data.ProtoLens.fieldDefault,
+         _Payload'MetadataEntry'value = Data.ProtoLens.fieldDefault,
+         _Payload'MetadataEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Payload'MetadataEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Payload'MetadataEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MetadataEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Payload'MetadataEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Payload'MetadataEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Payload'MetadataEntry'key x__)
+                (Control.DeepSeq.deepseq (_Payload'MetadataEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.payloads' @:: Lens' Payloads [Payload]@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.vec'payloads' @:: Lens' Payloads (Data.Vector.Vector Payload)@ -}
+data Payloads
+  = Payloads'_constructor {_Payloads'payloads :: !(Data.Vector.Vector Payload),
+                           _Payloads'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Payloads where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Payloads "payloads" [Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Payloads'payloads (\ x__ y__ -> x__ {_Payloads'payloads = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Payloads "vec'payloads" (Data.Vector.Vector Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Payloads'payloads (\ x__ y__ -> x__ {_Payloads'payloads = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Payloads where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Payloads"
+  packedMessageDescriptor _
+    = "\n\
+      \\bPayloads\DC2;\n\
+      \\bpayloads\CAN\SOH \ETX(\v2\US.temporal.api.common.v1.PayloadR\bpayloads"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        payloads__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "payloads"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"payloads")) ::
+              Data.ProtoLens.FieldDescriptor Payloads
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, payloads__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Payloads'_unknownFields
+        (\ x__ y__ -> x__ {_Payloads'_unknownFields = y__})
+  defMessage
+    = Payloads'_constructor
+        {_Payloads'payloads = Data.Vector.Generic.empty,
+         _Payloads'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Payloads
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser Payloads
+        loop x mutable'payloads
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'payloads <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'payloads)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'payloads") frozen'payloads x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "payloads"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'payloads y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'payloads
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'payloads <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'payloads)
+          "Payloads"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'payloads") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Payloads where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Payloads'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Payloads'payloads x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.priorityKey' @:: Lens' Priority Data.Int.Int32@ -}
+data Priority
+  = Priority'_constructor {_Priority'priorityKey :: !Data.Int.Int32,
+                           _Priority'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Priority where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Priority "priorityKey" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Priority'priorityKey
+           (\ x__ y__ -> x__ {_Priority'priorityKey = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Priority where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.Priority"
+  packedMessageDescriptor _
+    = "\n\
+      \\bPriority\DC2!\n\
+      \\fpriority_key\CAN\SOH \SOH(\ENQR\vpriorityKey"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        priorityKey__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority_key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"priorityKey")) ::
+              Data.ProtoLens.FieldDescriptor Priority
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, priorityKey__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Priority'_unknownFields
+        (\ x__ y__ -> x__ {_Priority'_unknownFields = y__})
+  defMessage
+    = Priority'_constructor
+        {_Priority'priorityKey = Data.ProtoLens.fieldDefault,
+         _Priority'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Priority -> Data.ProtoLens.Encoding.Bytes.Parser Priority
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "priority_key"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priorityKey") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Priority"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"priorityKey") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Priority where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Priority'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Priority'priorityKey x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.resetReapplyType' @:: Lens' ResetOptions Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.currentRunOnly' @:: Lens' ResetOptions Prelude.Bool@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.resetReapplyExcludeTypes' @:: Lens' ResetOptions [Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType]@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.vec'resetReapplyExcludeTypes' @:: Lens' ResetOptions (Data.Vector.Vector Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'target' @:: Lens' ResetOptions (Prelude.Maybe ResetOptions'Target)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'firstWorkflowTask' @:: Lens' ResetOptions (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.firstWorkflowTask' @:: Lens' ResetOptions Proto.Google.Protobuf.Empty.Empty@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'lastWorkflowTask' @:: Lens' ResetOptions (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.lastWorkflowTask' @:: Lens' ResetOptions Proto.Google.Protobuf.Empty.Empty@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'workflowTaskId' @:: Lens' ResetOptions (Prelude.Maybe Data.Int.Int64)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.workflowTaskId' @:: Lens' ResetOptions Data.Int.Int64@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'buildId' @:: Lens' ResetOptions (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.buildId' @:: Lens' ResetOptions Data.Text.Text@ -}
+data ResetOptions
+  = ResetOptions'_constructor {_ResetOptions'resetReapplyType :: !Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType,
+                               _ResetOptions'currentRunOnly :: !Prelude.Bool,
+                               _ResetOptions'resetReapplyExcludeTypes :: !(Data.Vector.Vector Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType),
+                               _ResetOptions'target :: !(Prelude.Maybe ResetOptions'Target),
+                               _ResetOptions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResetOptions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ResetOptions'Target
+  = ResetOptions'FirstWorkflowTask !Proto.Google.Protobuf.Empty.Empty |
+    ResetOptions'LastWorkflowTask !Proto.Google.Protobuf.Empty.Empty |
+    ResetOptions'WorkflowTaskId !Data.Int.Int64 |
+    ResetOptions'BuildId !Data.Text.Text
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ResetOptions "resetReapplyType" Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'resetReapplyType
+           (\ x__ y__ -> x__ {_ResetOptions'resetReapplyType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetOptions "currentRunOnly" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'currentRunOnly
+           (\ x__ y__ -> x__ {_ResetOptions'currentRunOnly = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetOptions "resetReapplyExcludeTypes" [Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'resetReapplyExcludeTypes
+           (\ x__ y__ -> x__ {_ResetOptions'resetReapplyExcludeTypes = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ResetOptions "vec'resetReapplyExcludeTypes" (Data.Vector.Vector Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'resetReapplyExcludeTypes
+           (\ x__ y__ -> x__ {_ResetOptions'resetReapplyExcludeTypes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetOptions "maybe'target" (Prelude.Maybe ResetOptions'Target) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetOptions "maybe'firstWorkflowTask" (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResetOptions'FirstWorkflowTask x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ResetOptions'FirstWorkflowTask y__))
+instance Data.ProtoLens.Field.HasField ResetOptions "firstWorkflowTask" Proto.Google.Protobuf.Empty.Empty where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResetOptions'FirstWorkflowTask x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ResetOptions'FirstWorkflowTask y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ResetOptions "maybe'lastWorkflowTask" (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResetOptions'LastWorkflowTask x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ResetOptions'LastWorkflowTask y__))
+instance Data.ProtoLens.Field.HasField ResetOptions "lastWorkflowTask" Proto.Google.Protobuf.Empty.Empty where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResetOptions'LastWorkflowTask x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ResetOptions'LastWorkflowTask y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ResetOptions "maybe'workflowTaskId" (Prelude.Maybe Data.Int.Int64) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResetOptions'WorkflowTaskId x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ResetOptions'WorkflowTaskId y__))
+instance Data.ProtoLens.Field.HasField ResetOptions "workflowTaskId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResetOptions'WorkflowTaskId x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ResetOptions'WorkflowTaskId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField ResetOptions "maybe'buildId" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResetOptions'BuildId x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ResetOptions'BuildId y__))
+instance Data.ProtoLens.Field.HasField ResetOptions "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetOptions'target
+           (\ x__ y__ -> x__ {_ResetOptions'target = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResetOptions'BuildId x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ResetOptions'BuildId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message ResetOptions where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.ResetOptions"
+  packedMessageDescriptor _
+    = "\n\
+      \\fResetOptions\DC2H\n\
+      \\DC3first_workflow_task\CAN\SOH \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\DC1firstWorkflowTask\DC2F\n\
+      \\DC2last_workflow_task\CAN\STX \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\DLElastWorkflowTask\DC2*\n\
+      \\DLEworkflow_task_id\CAN\ETX \SOH(\ETXH\NULR\SOworkflowTaskId\DC2\ESC\n\
+      \\bbuild_id\CAN\EOT \SOH(\tH\NULR\abuildId\DC2U\n\
+      \\DC2reset_reapply_type\CAN\n\
+      \ \SOH(\SO2'.temporal.api.enums.v1.ResetReapplyTypeR\DLEresetReapplyType\DC2(\n\
+      \\DLEcurrent_run_only\CAN\v \SOH(\bR\SOcurrentRunOnly\DC2m\n\
+      \\ESCreset_reapply_exclude_types\CAN\f \ETX(\SO2..temporal.api.enums.v1.ResetReapplyExcludeTypeR\CANresetReapplyExcludeTypesB\b\n\
+      \\ACKtarget"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        resetReapplyType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_reapply_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resetReapplyType")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+        currentRunOnly__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_run_only"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"currentRunOnly")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+        resetReapplyExcludeTypes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_reapply_exclude_types"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"resetReapplyExcludeTypes")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+        firstWorkflowTask__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_workflow_task"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Empty.Empty)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'firstWorkflowTask")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+        lastWorkflowTask__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_workflow_task"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Empty.Empty)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastWorkflowTask")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+        workflowTaskId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskId")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'buildId")) ::
+              Data.ProtoLens.FieldDescriptor ResetOptions
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 10, resetReapplyType__field_descriptor),
+           (Data.ProtoLens.Tag 11, currentRunOnly__field_descriptor),
+           (Data.ProtoLens.Tag 12, 
+            resetReapplyExcludeTypes__field_descriptor),
+           (Data.ProtoLens.Tag 1, firstWorkflowTask__field_descriptor),
+           (Data.ProtoLens.Tag 2, lastWorkflowTask__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowTaskId__field_descriptor),
+           (Data.ProtoLens.Tag 4, buildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResetOptions'_unknownFields
+        (\ x__ y__ -> x__ {_ResetOptions'_unknownFields = y__})
+  defMessage
+    = ResetOptions'_constructor
+        {_ResetOptions'resetReapplyType = Data.ProtoLens.fieldDefault,
+         _ResetOptions'currentRunOnly = Data.ProtoLens.fieldDefault,
+         _ResetOptions'resetReapplyExcludeTypes = Data.Vector.Generic.empty,
+         _ResetOptions'target = Prelude.Nothing,
+         _ResetOptions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResetOptions
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Enums.V1.Reset.ResetReapplyExcludeType
+             -> Data.ProtoLens.Encoding.Bytes.Parser ResetOptions
+        loop x mutable'resetReapplyExcludeTypes
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'resetReapplyExcludeTypes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                              mutable'resetReapplyExcludeTypes)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'resetReapplyExcludeTypes")
+                              frozen'resetReapplyExcludeTypes x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        80
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "reset_reapply_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resetReapplyType") y x)
+                                  mutable'resetReapplyExcludeTypes
+                        88
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "current_run_only"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentRunOnly") y x)
+                                  mutable'resetReapplyExcludeTypes
+                        96
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.toEnum
+                                           (Prelude.fmap
+                                              Prelude.fromIntegral
+                                              Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                        "reset_reapply_exclude_types"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'resetReapplyExcludeTypes y)
+                                loop x v
+                        98
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.toEnum
+                                                                       (Prelude.fmap
+                                                                          Prelude.fromIntegral
+                                                                          Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                                                    "reset_reapply_exclude_types"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'resetReapplyExcludeTypes)
+                                loop x y
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "first_workflow_task"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"firstWorkflowTask") y x)
+                                  mutable'resetReapplyExcludeTypes
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_workflow_task"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastWorkflowTask") y x)
+                                  mutable'resetReapplyExcludeTypes
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskId") y x)
+                                  mutable'resetReapplyExcludeTypes
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                                  mutable'resetReapplyExcludeTypes
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'resetReapplyExcludeTypes
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'resetReapplyExcludeTypes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'resetReapplyExcludeTypes)
+          "ResetOptions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"resetReapplyType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 80)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"currentRunOnly") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 88)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      p = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'resetReapplyExcludeTypes") _x
+                    in
+                      if Data.Vector.Generic.null p then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                            ((\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               (Data.ProtoLens.Encoding.Bytes.runBuilder
+                                  (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                     ((Prelude..)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral)
+                                        Prelude.fromEnum)
+                                     p))))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'target") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just (ResetOptions'FirstWorkflowTask v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage v)
+                         (Prelude.Just (ResetOptions'LastWorkflowTask v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage v)
+                         (Prelude.Just (ResetOptions'WorkflowTaskId v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                                ((Prelude..)
+                                   Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral v)
+                         (Prelude.Just (ResetOptions'BuildId v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.Text.Encoding.encodeUtf8 v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData ResetOptions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResetOptions'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResetOptions'resetReapplyType x__)
+                (Control.DeepSeq.deepseq
+                   (_ResetOptions'currentRunOnly x__)
+                   (Control.DeepSeq.deepseq
+                      (_ResetOptions'resetReapplyExcludeTypes x__)
+                      (Control.DeepSeq.deepseq (_ResetOptions'target x__) ()))))
+instance Control.DeepSeq.NFData ResetOptions'Target where
+  rnf (ResetOptions'FirstWorkflowTask x__) = Control.DeepSeq.rnf x__
+  rnf (ResetOptions'LastWorkflowTask x__) = Control.DeepSeq.rnf x__
+  rnf (ResetOptions'WorkflowTaskId x__) = Control.DeepSeq.rnf x__
+  rnf (ResetOptions'BuildId x__) = Control.DeepSeq.rnf x__
+_ResetOptions'FirstWorkflowTask ::
+  Data.ProtoLens.Prism.Prism' ResetOptions'Target Proto.Google.Protobuf.Empty.Empty
+_ResetOptions'FirstWorkflowTask
+  = Data.ProtoLens.Prism.prism'
+      ResetOptions'FirstWorkflowTask
+      (\ p__
+         -> case p__ of
+              (ResetOptions'FirstWorkflowTask p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResetOptions'LastWorkflowTask ::
+  Data.ProtoLens.Prism.Prism' ResetOptions'Target Proto.Google.Protobuf.Empty.Empty
+_ResetOptions'LastWorkflowTask
+  = Data.ProtoLens.Prism.prism'
+      ResetOptions'LastWorkflowTask
+      (\ p__
+         -> case p__ of
+              (ResetOptions'LastWorkflowTask p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResetOptions'WorkflowTaskId ::
+  Data.ProtoLens.Prism.Prism' ResetOptions'Target Data.Int.Int64
+_ResetOptions'WorkflowTaskId
+  = Data.ProtoLens.Prism.prism'
+      ResetOptions'WorkflowTaskId
+      (\ p__
+         -> case p__ of
+              (ResetOptions'WorkflowTaskId p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResetOptions'BuildId ::
+  Data.ProtoLens.Prism.Prism' ResetOptions'Target Data.Text.Text
+_ResetOptions'BuildId
+  = Data.ProtoLens.Prism.prism'
+      ResetOptions'BuildId
+      (\ p__
+         -> case p__ of
+              (ResetOptions'BuildId p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.initialInterval' @:: Lens' RetryPolicy Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'initialInterval' @:: Lens' RetryPolicy (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.backoffCoefficient' @:: Lens' RetryPolicy Prelude.Double@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maximumInterval' @:: Lens' RetryPolicy Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'maximumInterval' @:: Lens' RetryPolicy (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maximumAttempts' @:: Lens' RetryPolicy Data.Int.Int32@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.nonRetryableErrorTypes' @:: Lens' RetryPolicy [Data.Text.Text]@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.vec'nonRetryableErrorTypes' @:: Lens' RetryPolicy (Data.Vector.Vector Data.Text.Text)@ -}
+data RetryPolicy
+  = RetryPolicy'_constructor {_RetryPolicy'initialInterval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                              _RetryPolicy'backoffCoefficient :: !Prelude.Double,
+                              _RetryPolicy'maximumInterval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                              _RetryPolicy'maximumAttempts :: !Data.Int.Int32,
+                              _RetryPolicy'nonRetryableErrorTypes :: !(Data.Vector.Vector Data.Text.Text),
+                              _RetryPolicy'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RetryPolicy where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RetryPolicy "initialInterval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'initialInterval
+           (\ x__ y__ -> x__ {_RetryPolicy'initialInterval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RetryPolicy "maybe'initialInterval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'initialInterval
+           (\ x__ y__ -> x__ {_RetryPolicy'initialInterval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RetryPolicy "backoffCoefficient" Prelude.Double where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'backoffCoefficient
+           (\ x__ y__ -> x__ {_RetryPolicy'backoffCoefficient = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RetryPolicy "maximumInterval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'maximumInterval
+           (\ x__ y__ -> x__ {_RetryPolicy'maximumInterval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RetryPolicy "maybe'maximumInterval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'maximumInterval
+           (\ x__ y__ -> x__ {_RetryPolicy'maximumInterval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RetryPolicy "maximumAttempts" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'maximumAttempts
+           (\ x__ y__ -> x__ {_RetryPolicy'maximumAttempts = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RetryPolicy "nonRetryableErrorTypes" [Data.Text.Text] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'nonRetryableErrorTypes
+           (\ x__ y__ -> x__ {_RetryPolicy'nonRetryableErrorTypes = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField RetryPolicy "vec'nonRetryableErrorTypes" (Data.Vector.Vector Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RetryPolicy'nonRetryableErrorTypes
+           (\ x__ y__ -> x__ {_RetryPolicy'nonRetryableErrorTypes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RetryPolicy where
+  messageName _ = Data.Text.pack "temporal.api.common.v1.RetryPolicy"
+  packedMessageDescriptor _
+    = "\n\
+      \\vRetryPolicy\DC2D\n\
+      \\DLEinitial_interval\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\SIinitialInterval\DC2/\n\
+      \\DC3backoff_coefficient\CAN\STX \SOH(\SOHR\DC2backoffCoefficient\DC2D\n\
+      \\DLEmaximum_interval\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\SImaximumInterval\DC2)\n\
+      \\DLEmaximum_attempts\CAN\EOT \SOH(\ENQR\SImaximumAttempts\DC29\n\
+      \\EMnon_retryable_error_types\CAN\ENQ \ETX(\tR\SYNnonRetryableErrorTypes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        initialInterval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initial_interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'initialInterval")) ::
+              Data.ProtoLens.FieldDescriptor RetryPolicy
+        backoffCoefficient__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backoff_coefficient"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Double)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"backoffCoefficient")) ::
+              Data.ProtoLens.FieldDescriptor RetryPolicy
+        maximumInterval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "maximum_interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'maximumInterval")) ::
+              Data.ProtoLens.FieldDescriptor RetryPolicy
+        maximumAttempts__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "maximum_attempts"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"maximumAttempts")) ::
+              Data.ProtoLens.FieldDescriptor RetryPolicy
+        nonRetryableErrorTypes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "non_retryable_error_types"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"nonRetryableErrorTypes")) ::
+              Data.ProtoLens.FieldDescriptor RetryPolicy
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, initialInterval__field_descriptor),
+           (Data.ProtoLens.Tag 2, backoffCoefficient__field_descriptor),
+           (Data.ProtoLens.Tag 3, maximumInterval__field_descriptor),
+           (Data.ProtoLens.Tag 4, maximumAttempts__field_descriptor),
+           (Data.ProtoLens.Tag 5, nonRetryableErrorTypes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RetryPolicy'_unknownFields
+        (\ x__ y__ -> x__ {_RetryPolicy'_unknownFields = y__})
+  defMessage
+    = RetryPolicy'_constructor
+        {_RetryPolicy'initialInterval = Prelude.Nothing,
+         _RetryPolicy'backoffCoefficient = Data.ProtoLens.fieldDefault,
+         _RetryPolicy'maximumInterval = Prelude.Nothing,
+         _RetryPolicy'maximumAttempts = Data.ProtoLens.fieldDefault,
+         _RetryPolicy'nonRetryableErrorTypes = Data.Vector.Generic.empty,
+         _RetryPolicy'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RetryPolicy
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text
+             -> Data.ProtoLens.Encoding.Bytes.Parser RetryPolicy
+        loop x mutable'nonRetryableErrorTypes
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'nonRetryableErrorTypes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                            mutable'nonRetryableErrorTypes)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'nonRetryableErrorTypes")
+                              frozen'nonRetryableErrorTypes x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "initial_interval"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initialInterval") y x)
+                                  mutable'nonRetryableErrorTypes
+                        17
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToDouble
+                                          Data.ProtoLens.Encoding.Bytes.getFixed64)
+                                       "backoff_coefficient"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"backoffCoefficient") y x)
+                                  mutable'nonRetryableErrorTypes
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "maximum_interval"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"maximumInterval") y x)
+                                  mutable'nonRetryableErrorTypes
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "maximum_attempts"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"maximumAttempts") y x)
+                                  mutable'nonRetryableErrorTypes
+                        42
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.getText
+                                              (Prelude.fromIntegral len))
+                                        "non_retryable_error_types"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'nonRetryableErrorTypes y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'nonRetryableErrorTypes
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'nonRetryableErrorTypes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                  Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'nonRetryableErrorTypes)
+          "RetryPolicy"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'initialInterval") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"backoffCoefficient") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 17)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putFixed64
+                            Data.ProtoLens.Encoding.Bytes.doubleToWord _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'maximumInterval") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"maximumAttempts") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.Text.Encoding.encodeUtf8 _v))
+                            (Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"vec'nonRetryableErrorTypes") _x))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData RetryPolicy where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RetryPolicy'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RetryPolicy'initialInterval x__)
+                (Control.DeepSeq.deepseq
+                   (_RetryPolicy'backoffCoefficient x__)
+                   (Control.DeepSeq.deepseq
+                      (_RetryPolicy'maximumInterval x__)
+                      (Control.DeepSeq.deepseq
+                         (_RetryPolicy'maximumAttempts x__)
+                         (Control.DeepSeq.deepseq
+                            (_RetryPolicy'nonRetryableErrorTypes x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.indexedFields' @:: Lens' SearchAttributes (Data.Map.Map Data.Text.Text Payload)@ -}
+data SearchAttributes
+  = SearchAttributes'_constructor {_SearchAttributes'indexedFields :: !(Data.Map.Map Data.Text.Text Payload),
+                                   _SearchAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SearchAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SearchAttributes "indexedFields" (Data.Map.Map Data.Text.Text Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SearchAttributes'indexedFields
+           (\ x__ y__ -> x__ {_SearchAttributes'indexedFields = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SearchAttributes where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.SearchAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLESearchAttributes\DC2b\n\
+      \\SOindexed_fields\CAN\SOH \ETX(\v2;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntryR\rindexedFields\SUBa\n\
+      \\DC2IndexedFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        indexedFields__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "indexed_fields"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SearchAttributes'IndexedFieldsEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"indexedFields")) ::
+              Data.ProtoLens.FieldDescriptor SearchAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, indexedFields__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SearchAttributes'_unknownFields
+        (\ x__ y__ -> x__ {_SearchAttributes'_unknownFields = y__})
+  defMessage
+    = SearchAttributes'_constructor
+        {_SearchAttributes'indexedFields = Data.Map.empty,
+         _SearchAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SearchAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser SearchAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: SearchAttributes'IndexedFieldsEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                     (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                         Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                           (Prelude.fromIntegral
+                                                                                              len)
+                                                                                           Data.ProtoLens.parseMessage)
+                                                                                     "indexed_fields"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"indexedFields")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SearchAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage ::
+                                       SearchAttributes'IndexedFieldsEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"indexedFields") _x))))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData SearchAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SearchAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_SearchAttributes'indexedFields x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.key' @:: Lens' SearchAttributes'IndexedFieldsEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.value' @:: Lens' SearchAttributes'IndexedFieldsEntry Payload@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.maybe'value' @:: Lens' SearchAttributes'IndexedFieldsEntry (Prelude.Maybe Payload)@ -}
+data SearchAttributes'IndexedFieldsEntry
+  = SearchAttributes'IndexedFieldsEntry'_constructor {_SearchAttributes'IndexedFieldsEntry'key :: !Data.Text.Text,
+                                                      _SearchAttributes'IndexedFieldsEntry'value :: !(Prelude.Maybe Payload),
+                                                      _SearchAttributes'IndexedFieldsEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SearchAttributes'IndexedFieldsEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SearchAttributes'IndexedFieldsEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SearchAttributes'IndexedFieldsEntry'key
+           (\ x__ y__
+              -> x__ {_SearchAttributes'IndexedFieldsEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SearchAttributes'IndexedFieldsEntry "value" Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SearchAttributes'IndexedFieldsEntry'value
+           (\ x__ y__
+              -> x__ {_SearchAttributes'IndexedFieldsEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SearchAttributes'IndexedFieldsEntry "maybe'value" (Prelude.Maybe Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SearchAttributes'IndexedFieldsEntry'value
+           (\ x__ y__
+              -> x__ {_SearchAttributes'IndexedFieldsEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SearchAttributes'IndexedFieldsEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.common.v1.SearchAttributes.IndexedFieldsEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2IndexedFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor SearchAttributes'IndexedFieldsEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor SearchAttributes'IndexedFieldsEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SearchAttributes'IndexedFieldsEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_SearchAttributes'IndexedFieldsEntry'_unknownFields = y__})
+  defMessage
+    = SearchAttributes'IndexedFieldsEntry'_constructor
+        {_SearchAttributes'IndexedFieldsEntry'key = Data.ProtoLens.fieldDefault,
+         _SearchAttributes'IndexedFieldsEntry'value = Prelude.Nothing,
+         _SearchAttributes'IndexedFieldsEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SearchAttributes'IndexedFieldsEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser SearchAttributes'IndexedFieldsEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "IndexedFieldsEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData SearchAttributes'IndexedFieldsEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SearchAttributes'IndexedFieldsEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SearchAttributes'IndexedFieldsEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_SearchAttributes'IndexedFieldsEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.buildId' @:: Lens' WorkerVersionCapabilities Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.useVersioning' @:: Lens' WorkerVersionCapabilities Prelude.Bool@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.deploymentSeriesName' @:: Lens' WorkerVersionCapabilities Data.Text.Text@ -}
+data WorkerVersionCapabilities
+  = WorkerVersionCapabilities'_constructor {_WorkerVersionCapabilities'buildId :: !Data.Text.Text,
+                                            _WorkerVersionCapabilities'useVersioning :: !Prelude.Bool,
+                                            _WorkerVersionCapabilities'deploymentSeriesName :: !Data.Text.Text,
+                                            _WorkerVersionCapabilities'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerVersionCapabilities where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerVersionCapabilities "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerVersionCapabilities'buildId
+           (\ x__ y__ -> x__ {_WorkerVersionCapabilities'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerVersionCapabilities "useVersioning" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerVersionCapabilities'useVersioning
+           (\ x__ y__
+              -> x__ {_WorkerVersionCapabilities'useVersioning = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerVersionCapabilities "deploymentSeriesName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerVersionCapabilities'deploymentSeriesName
+           (\ x__ y__
+              -> x__ {_WorkerVersionCapabilities'deploymentSeriesName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerVersionCapabilities where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.WorkerVersionCapabilities"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMWorkerVersionCapabilities\DC2\EM\n\
+      \\bbuild_id\CAN\SOH \SOH(\tR\abuildId\DC2%\n\
+      \\SOuse_versioning\CAN\STX \SOH(\bR\ruseVersioning\DC24\n\
+      \\SYNdeployment_series_name\CAN\EOT \SOH(\tR\DC4deploymentSeriesName"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkerVersionCapabilities
+        useVersioning__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "use_versioning"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"useVersioning")) ::
+              Data.ProtoLens.FieldDescriptor WorkerVersionCapabilities
+        deploymentSeriesName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_series_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deploymentSeriesName")) ::
+              Data.ProtoLens.FieldDescriptor WorkerVersionCapabilities
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, buildId__field_descriptor),
+           (Data.ProtoLens.Tag 2, useVersioning__field_descriptor),
+           (Data.ProtoLens.Tag 4, deploymentSeriesName__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerVersionCapabilities'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkerVersionCapabilities'_unknownFields = y__})
+  defMessage
+    = WorkerVersionCapabilities'_constructor
+        {_WorkerVersionCapabilities'buildId = Data.ProtoLens.fieldDefault,
+         _WorkerVersionCapabilities'useVersioning = Data.ProtoLens.fieldDefault,
+         _WorkerVersionCapabilities'deploymentSeriesName = Data.ProtoLens.fieldDefault,
+         _WorkerVersionCapabilities'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerVersionCapabilities
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkerVersionCapabilities
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "use_versioning"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"useVersioning") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "deployment_series_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentSeriesName") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkerVersionCapabilities"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"useVersioning") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"deploymentSeriesName") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkerVersionCapabilities where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerVersionCapabilities'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerVersionCapabilities'buildId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerVersionCapabilities'useVersioning x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkerVersionCapabilities'deploymentSeriesName x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.buildId' @:: Lens' WorkerVersionStamp Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.useVersioning' @:: Lens' WorkerVersionStamp Prelude.Bool@ -}
+data WorkerVersionStamp
+  = WorkerVersionStamp'_constructor {_WorkerVersionStamp'buildId :: !Data.Text.Text,
+                                     _WorkerVersionStamp'useVersioning :: !Prelude.Bool,
+                                     _WorkerVersionStamp'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerVersionStamp where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerVersionStamp "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerVersionStamp'buildId
+           (\ x__ y__ -> x__ {_WorkerVersionStamp'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerVersionStamp "useVersioning" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerVersionStamp'useVersioning
+           (\ x__ y__ -> x__ {_WorkerVersionStamp'useVersioning = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerVersionStamp where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.WorkerVersionStamp"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2WorkerVersionStamp\DC2\EM\n\
+      \\bbuild_id\CAN\SOH \SOH(\tR\abuildId\DC2%\n\
+      \\SOuse_versioning\CAN\ETX \SOH(\bR\ruseVersioning"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkerVersionStamp
+        useVersioning__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "use_versioning"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"useVersioning")) ::
+              Data.ProtoLens.FieldDescriptor WorkerVersionStamp
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, buildId__field_descriptor),
+           (Data.ProtoLens.Tag 3, useVersioning__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerVersionStamp'_unknownFields
+        (\ x__ y__ -> x__ {_WorkerVersionStamp'_unknownFields = y__})
+  defMessage
+    = WorkerVersionStamp'_constructor
+        {_WorkerVersionStamp'buildId = Data.ProtoLens.fieldDefault,
+         _WorkerVersionStamp'useVersioning = Data.ProtoLens.fieldDefault,
+         _WorkerVersionStamp'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerVersionStamp
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkerVersionStamp
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "use_versioning"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"useVersioning") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkerVersionStamp"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"useVersioning") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkerVersionStamp where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerVersionStamp'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerVersionStamp'buildId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerVersionStamp'useVersioning x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.workflowId' @:: Lens' WorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.runId' @:: Lens' WorkflowExecution Data.Text.Text@ -}
+data WorkflowExecution
+  = WorkflowExecution'_constructor {_WorkflowExecution'workflowId :: !Data.Text.Text,
+                                    _WorkflowExecution'runId :: !Data.Text.Text,
+                                    _WorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecution "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecution'workflowId
+           (\ x__ y__ -> x__ {_WorkflowExecution'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecution "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecution'runId
+           (\ x__ y__ -> x__ {_WorkflowExecution'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecution where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.WorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1WorkflowExecution\DC2\US\n\
+      \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecution
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 2, runId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecution'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecution'_unknownFields = y__})
+  defMessage
+    = WorkflowExecution'_constructor
+        {_WorkflowExecution'workflowId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecution'runId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecution'workflowId x__)
+                (Control.DeepSeq.deepseq (_WorkflowExecution'runId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Common.V1.Message_Fields.name' @:: Lens' WorkflowType Data.Text.Text@ -}
+data WorkflowType
+  = WorkflowType'_constructor {_WorkflowType'name :: !Data.Text.Text,
+                               _WorkflowType'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowType where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowType "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowType'name (\ x__ y__ -> x__ {_WorkflowType'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowType where
+  messageName _
+    = Data.Text.pack "temporal.api.common.v1.WorkflowType"
+  packedMessageDescriptor _
+    = "\n\
+      \\fWorkflowType\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowType
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowType'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowType'_unknownFields = y__})
+  defMessage
+    = WorkflowType'_constructor
+        {_WorkflowType'name = Data.ProtoLens.fieldDefault,
+         _WorkflowType'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowType -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowType
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowType"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowType where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowType'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WorkflowType'name x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \$temporal/api/common/v1/message.proto\DC2\SYNtemporal.api.common.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\ESCgoogle/protobuf/empty.proto\SUB\"temporal/api/enums/v1/common.proto\SUB&temporal/api/enums/v1/event_type.proto\SUB!temporal/api/enums/v1/reset.proto\"h\n\
+    \\bDataBlob\DC2H\n\
+    \\rencoding_type\CAN\SOH \SOH(\SO2#.temporal.api.enums.v1.EncodingTypeR\fencodingType\DC2\DC2\n\
+    \\EOTdata\CAN\STX \SOH(\fR\EOTdata\"G\n\
+    \\bPayloads\DC2;\n\
+    \\bpayloads\CAN\SOH \ETX(\v2\US.temporal.api.common.v1.PayloadR\bpayloads\"\165\SOH\n\
+    \\aPayload\DC2I\n\
+    \\bmetadata\CAN\SOH \ETX(\v2-.temporal.api.common.v1.Payload.MetadataEntryR\bmetadata\DC2\DC2\n\
+    \\EOTdata\CAN\STX \SOH(\fR\EOTdata\SUB;\n\
+    \\rMetadataEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\fR\ENQvalue:\STX8\SOH\"\217\SOH\n\
+    \\DLESearchAttributes\DC2b\n\
+    \\SOindexed_fields\CAN\SOH \ETX(\v2;.temporal.api.common.v1.SearchAttributes.IndexedFieldsEntryR\rindexedFields\SUBa\n\
+    \\DC2IndexedFieldsEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\164\SOH\n\
+    \\EOTMemo\DC2@\n\
+    \\ACKfields\CAN\SOH \ETX(\v2(.temporal.api.common.v1.Memo.FieldsEntryR\ACKfields\SUBZ\n\
+    \\vFieldsEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\168\SOH\n\
+    \\ACKHeader\DC2B\n\
+    \\ACKfields\CAN\SOH \ETX(\v2*.temporal.api.common.v1.Header.FieldsEntryR\ACKfields\SUBZ\n\
+    \\vFieldsEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"K\n\
+    \\DC1WorkflowExecution\DC2\US\n\
+    \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+    \workflowId\DC2\NAK\n\
+    \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\"\"\n\
+    \\fWorkflowType\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\"\"\n\
+    \\fActivityType\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\"\176\STX\n\
+    \\vRetryPolicy\DC2D\n\
+    \\DLEinitial_interval\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\SIinitialInterval\DC2/\n\
+    \\DC3backoff_coefficient\CAN\STX \SOH(\SOHR\DC2backoffCoefficient\DC2D\n\
+    \\DLEmaximum_interval\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\SImaximumInterval\DC2)\n\
+    \\DLEmaximum_attempts\CAN\EOT \SOH(\ENQR\SImaximumAttempts\DC29\n\
+    \\EMnon_retryable_error_types\CAN\ENQ \ETX(\tR\SYNnonRetryableErrorTypes\"n\n\
+    \\DLEMeteringMetadata\DC2Z\n\
+    \*nonfirst_local_activity_execution_attempts\CAN\r \SOH(\rR&nonfirstLocalActivityExecutionAttempts\"V\n\
+    \\DC2WorkerVersionStamp\DC2\EM\n\
+    \\bbuild_id\CAN\SOH \SOH(\tR\abuildId\DC2%\n\
+    \\SOuse_versioning\CAN\ETX \SOH(\bR\ruseVersioning\"\147\SOH\n\
+    \\EMWorkerVersionCapabilities\DC2\EM\n\
+    \\bbuild_id\CAN\SOH \SOH(\tR\abuildId\DC2%\n\
+    \\SOuse_versioning\CAN\STX \SOH(\bR\ruseVersioning\DC24\n\
+    \\SYNdeployment_series_name\CAN\EOT \SOH(\tR\DC4deploymentSeriesName\"\227\ETX\n\
+    \\fResetOptions\DC2H\n\
+    \\DC3first_workflow_task\CAN\SOH \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\DC1firstWorkflowTask\DC2F\n\
+    \\DC2last_workflow_task\CAN\STX \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\DLElastWorkflowTask\DC2*\n\
+    \\DLEworkflow_task_id\CAN\ETX \SOH(\ETXH\NULR\SOworkflowTaskId\DC2\ESC\n\
+    \\bbuild_id\CAN\EOT \SOH(\tH\NULR\abuildId\DC2U\n\
+    \\DC2reset_reapply_type\CAN\n\
+    \ \SOH(\SO2'.temporal.api.enums.v1.ResetReapplyTypeR\DLEresetReapplyType\DC2(\n\
+    \\DLEcurrent_run_only\CAN\v \SOH(\bR\SOcurrentRunOnly\DC2m\n\
+    \\ESCreset_reapply_exclude_types\CAN\f \ETX(\SO2..temporal.api.enums.v1.ResetReapplyExcludeTypeR\CANresetReapplyExcludeTypesB\b\n\
+    \\ACKtarget\"\231\STX\n\
+    \\bCallback\DC2>\n\
+    \\ENQnexus\CAN\STX \SOH(\v2&.temporal.api.common.v1.Callback.NexusH\NULR\ENQnexus\DC2G\n\
+    \\binternal\CAN\ETX \SOH(\v2).temporal.api.common.v1.Callback.InternalH\NULR\binternal\SUB\160\SOH\n\
+    \\ENQNexus\DC2\DLE\n\
+    \\ETXurl\CAN\SOH \SOH(\tR\ETXurl\DC2J\n\
+    \\ACKheader\CAN\STX \ETX(\v22.temporal.api.common.v1.Callback.Nexus.HeaderEntryR\ACKheader\SUB9\n\
+    \\vHeaderEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\SUB\RS\n\
+    \\bInternal\DC2\DC2\n\
+    \\EOTdata\CAN\SOH \SOH(\fR\EOTdataB\t\n\
+    \\avariantJ\EOT\b\SOH\DLE\STX\"\140\EOT\n\
+    \\EOTLink\DC2S\n\
+    \\SOworkflow_event\CAN\SOH \SOH(\v2*.temporal.api.common.v1.Link.WorkflowEventH\NULR\rworkflowEvent\DC2D\n\
+    \\tbatch_job\CAN\STX \SOH(\v2%.temporal.api.common.v1.Link.BatchJobH\NULR\bbatchJob\SUB\186\STX\n\
+    \\rWorkflowEvent\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2\NAK\n\
+    \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId\DC2X\n\
+    \\tevent_ref\CANd \SOH(\v29.temporal.api.common.v1.Link.WorkflowEvent.EventReferenceH\NULR\beventRef\SUBl\n\
+    \\SOEventReference\DC2\EM\n\
+    \\bevent_id\CAN\SOH \SOH(\ETXR\aeventId\DC2?\n\
+    \\n\
+    \event_type\CAN\STX \SOH(\SO2 .temporal.api.enums.v1.EventTypeR\teventTypeB\v\n\
+    \\treference\SUB!\n\
+    \\bBatchJob\DC2\NAK\n\
+    \\ACKjob_id\CAN\SOH \SOH(\tR\ENQjobIdB\t\n\
+    \\avariant\"-\n\
+    \\bPriority\DC2!\n\
+    \\fpriority_key\CAN\SOH \SOH(\ENQR\vpriorityKeyB\137\SOH\n\
+    \\EMio.temporal.api.common.v1B\fMessageProtoP\SOHZ#go.temporal.io/api/common/v1;common\170\STX\CANTemporalio.Api.Common.V1\234\STX\ESCTemporalio::Api::Common::V1J\248^\n\
+    \\a\DC2\ENQ\SYN\NUL\153\STX\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL:\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL:\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL2\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL2\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL4\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL%\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX$\NUL,\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX%\NUL0\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX&\NUL+\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT(\NUL+\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX(\b\DLE\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\EOT9\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX)\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX)'4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)78\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX*\EOT\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX*\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX*\n\
+    \\SO\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX*\DC1\DC2\n\
+    \\ESC\n\
+    \\STX\EOT\SOH\DC2\EOT.\NUL0\SOH\SUB\SI See `Payload`\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX.\b\DLE\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX/\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX/\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX/\r\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX/\NAK\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX/ !\n\
+    \\239\SOH\n\
+    \\STX\EOT\STX\DC2\EOT5\NUL8\SOH\SUB\226\SOH Represents some binary (byte array) data (ex: activity input parameters or workflow result) with\n\
+    \ metadata which describes this binary data (format, encoding, encryption, etc). Serialization\n\
+    \ of the data may be user-defined.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX5\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX6\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX6\EOT\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX6\SYN\RS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX6!\"\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX7\EOT\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX7\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX7\n\
+    \\SO\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX7\DC1\DC2\n\
+    \\163\SOH\n\
+    \\STX\EOT\ETX\DC2\EOT<\NUL>\SOH\SUB\150\SOH A user-defined set of *indexed* fields that are used/exposed when listing/searching workflows.\n\
+    \ The payload is not serialized in a user-defined way.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX<\b\CAN\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX=\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\ETX=\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX=\EM'\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX=*+\n\
+    \h\n\
+    \\STX\EOT\EOT\DC2\EOTA\NULC\SOH\SUB\\ A user-defined set of *unindexed* fields that are exposed when listing/searching workflows\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXA\b\f\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXB\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETXB\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXB\EM\US\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXB\"#\n\
+    \\176\SOH\n\
+    \\STX\EOT\ENQ\DC2\EOTG\NULI\SOH\SUB\163\SOH Contains metadata that can be attached to a variety of requests, like starting a workflow, and\n\
+    \ can be propagated between, for example, workflows and activities.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXG\b\SO\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXH\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\ETXH\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXH\EM\US\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXH\"#\n\
+    \\145\STX\n\
+    \\STX\EOT\ACK\DC2\EOTN\NULQ\SOH\SUB\132\STX Identifies a specific workflow within a namespace. Practically speaking, because run_id is a\n\
+    \ uuid, a workflow execution is globally unique. Note that many commands allow specifying an empty\n\
+    \ run id as a way of saying \"target the latest run of the workflow\".\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXN\b\EM\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXO\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXO\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXO\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXO\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETXP\EOT\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ENQ\DC2\ETXP\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETXP\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETXP\DC4\NAK\n\
+    \\181\SOH\n\
+    \\STX\EOT\a\DC2\EOTU\NULW\SOH\SUB\168\SOH Represents the identifier used by a workflow author to define the workflow. Typically, the\n\
+    \ name of a function. This is sometimes referred to as the workflow's \"name\"\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETXU\b\DC4\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETXV\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETXV\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETXV\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETXV\DC2\DC3\n\
+    \\181\SOH\n\
+    \\STX\EOT\b\DC2\EOT[\NUL]\SOH\SUB\168\SOH Represents the identifier used by a activity author to define the activity. Typically, the\n\
+    \ name of a function. This is sometimes referred to as the activity's \"name\"\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\b\SOH\DC2\ETX[\b\DC4\n\
+    \\v\n\
+    \\EOT\EOT\b\STX\NUL\DC2\ETX\\\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\ETX\\\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\ETX\\\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\ETX\\\DC2\DC3\n\
+    \V\n\
+    \\STX\EOT\t\DC2\EOT`\NULp\SOH\SUBJ How retries ought to be handled, usable by both workflows and activities\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\t\SOH\DC2\ETX`\b\DC3\n\
+    \n\n\
+    \\EOT\EOT\t\STX\NUL\DC2\ETXb\EOT2\SUBa Interval of the first retry. If retryBackoffCoefficient is 1.0 then it is used for all retries.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\NUL\ACK\DC2\ETXb\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\ETXb\GS-\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\ETXb01\n\
+    \\169\SOH\n\
+    \\EOT\EOT\t\STX\SOH\DC2\ETXf\EOT#\SUB\155\SOH Coefficient used to calculate the next retry interval.\n\
+    \ The next retry interval is previous interval multiplied by the coefficient.\n\
+    \ Must be 1 or larger.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\SOH\ENQ\DC2\ETXf\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\ETXf\v\RS\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\ETXf!\"\n\
+    \\178\SOH\n\
+    \\EOT\EOT\t\STX\STX\DC2\ETXi\EOT2\SUB\164\SOH Maximum interval between retries. Exponential backoff leads to interval increase.\n\
+    \ This value is the cap of the increase. Default is 100x of the initial interval.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\STX\ACK\DC2\ETXi\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\STX\SOH\DC2\ETXi\GS-\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\STX\ETX\DC2\ETXi01\n\
+    \\159\SOH\n\
+    \\EOT\EOT\t\STX\ETX\DC2\ETXl\EOT\US\SUB\145\SOH Maximum number of attempts. When exceeded the retries stop even if not expired yet.\n\
+    \ 1 disables retries. 0 means unlimited (up to the timeouts)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\ETX\ENQ\DC2\ETXl\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\ETX\SOH\DC2\ETXl\n\
+    \\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\ETX\ETX\DC2\ETXl\GS\RS\n\
+    \\192\SOH\n\
+    \\EOT\EOT\t\STX\EOT\DC2\ETXo\EOT2\SUB\178\SOH Non-Retryable errors types. Will stop retrying if the error type matches this list. Note that\n\
+    \ this is not a substring match, the error *type* (not message) must match exactly.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\EOT\EOT\DC2\ETXo\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\EOT\ENQ\DC2\ETXo\r\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\EOT\SOH\DC2\ETXo\DC4-\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\EOT\ETX\DC2\ETXo01\n\
+    \5\n\
+    \\STX\EOT\n\
+    \\DC2\EOTs\NUL{\SOH\SUB) Metadata relevant for metering purposes\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\ETXs\b\CAN\n\
+    \\239\STX\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\ETXz\EOT;\SUB\225\STX Count of local activities which have begun an execution attempt during this workflow task,\n\
+    \ and whose first attempt occurred in some previous task. This is used for metering\n\
+    \ purposes, and does not affect workflow state.\n\
+    \\n\
+    \ (-- api-linter: core::0141::forbidden-types=disabled\n\
+    \     aip.dev/not-precedent: Negative values make no sense to represent. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\ETXz\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\ETXz\v5\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\ETXz8:\n\
+    \\157\SOH\n\
+    \\STX\EOT\v\DC2\ENQ\DEL\NUL\137\SOH\SOH\SUB\143\SOH Deprecated. This message is replaced with `Deployment` and `VersioningBehavior`.\n\
+    \ Identifies the version(s) of a worker that processed a task\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\v\SOH\DC2\ETX\DEL\b\SUB\n\
+    \\170\SOH\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\130\SOH\EOT\CAN\SUB\155\SOH An opaque whole-worker identifier. Replaces the deprecated `binary_checksum` field when this\n\
+    \ message is included in requests which previously used that.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\130\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\130\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\130\SOH\SYN\ETB\n\
+    \\173\SOH\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\134\SOH\EOT\FS\SUB\158\SOH If set, the worker is opting in to worker versioning. Otherwise, this is used only as a\n\
+    \ marker for workflow reset points and the BuildIDs search attribute.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\134\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\134\SOH\t\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\134\SOH\SUB\ESC\n\
+    \\198\STX\n\
+    \\STX\EOT\f\DC2\ACK\143\SOH\NUL\155\SOH\SOH\SUB\183\STX Identifies the version that a worker is compatible with when polling or identifying itself,\n\
+    \ and whether or not this worker is opting into the build-id based versioning feature. This is\n\
+    \ used by matching to determine which workers ought to receive what tasks.\n\
+    \ Deprecated. Use WorkerDeploymentOptions instead.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\143\SOH\b!\n\
+    \1\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\145\SOH\EOT\CAN\SUB# An opaque whole-worker identifier\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ENQ\DC2\EOT\145\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\145\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\145\SOH\SYN\ETB\n\
+    \t\n\
+    \\EOT\EOT\f\STX\SOH\DC2\EOT\149\SOH\EOT\FS\SUBf If set, the worker is opting in to worker versioning, and wishes to only receive appropriate\n\
+    \ tasks.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ENQ\DC2\EOT\149\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\149\SOH\t\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\149\SOH\SUB\ESC\n\
+    \U\n\
+    \\EOT\EOT\f\STX\STX\DC2\EOT\152\SOH\EOT&\SUBG Must be sent if user has set a deployment series name (versioning-3).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ENQ\DC2\EOT\152\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\152\SOH\v!\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\152\SOH$%\n\
+    \\141\SOH\n\
+    \\STX\EOT\r\DC2\ACK\159\SOH\NUL\188\SOH\SOH\SUB\DEL Describes where and how to reset a workflow, used for batch reset currently\n\
+    \ and may be used for single-workflow reset later.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\159\SOH\b\DC4\n\
+    \2\n\
+    \\EOT\EOT\r\b\NUL\DC2\ACK\161\SOH\EOT\176\SOH\ENQ\SUB\" Which workflow task to reset to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\b\NUL\SOH\DC2\EOT\161\SOH\n\
+    \\DLE\n\
+    \M\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\163\SOH\b6\SUB? Resets to the first workflow task completed or started event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ACK\DC2\EOT\163\SOH\b\GS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\163\SOH\RS1\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\163\SOH45\n\
+    \L\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\165\SOH\b5\SUB> Resets to the last workflow task completed or started event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ACK\DC2\EOT\165\SOH\b\GS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\165\SOH\RS0\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\165\SOH34\n\
+    \\241\SOH\n\
+    \\EOT\EOT\r\STX\STX\DC2\EOT\169\SOH\b#\SUB\226\SOH The id of a specific `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or\n\
+    \ `WORKFLOW_TASK_STARTED` event to reset to.\n\
+    \ Note that this option doesn't make sense when used as part of a batch request.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ENQ\DC2\EOT\169\SOH\b\r\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\169\SOH\SO\RS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\169\SOH!\"\n\
+    \\171\STX\n\
+    \\EOT\EOT\r\STX\ETX\DC2\EOT\175\SOH\b\FS\SUB\156\STX Resets to the first workflow task processed by this build id.\n\
+    \ If the workflow was not processed by the build id, or the workflow task can't be\n\
+    \ determined, no reset will be performed.\n\
+    \ Note that by default, this reset is allowed to be to a prior run in a chain of\n\
+    \ continue-as-new.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ENQ\DC2\EOT\175\SOH\b\SO\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\175\SOH\SI\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\175\SOH\SUB\ESC\n\
+    \\\\n\
+    \\EOT\EOT\r\STX\EOT\DC2\EOT\180\SOH\EOTC\SUBN Event types to be reapplied (deprecated)\n\
+    \ Default: RESET_REAPPLY_TYPE_SIGNAL\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ACK\DC2\EOT\180\SOH\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\SOH\DC2\EOT\180\SOH+=\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ETX\DC2\EOT\180\SOH@B\n\
+    \\138\SOH\n\
+    \\EOT\EOT\r\STX\ENQ\DC2\EOT\184\SOH\EOT\US\SUB| If true, limit the reset to only within the current run. (Applies to build_id targets and\n\
+    \ possibly others in the future.)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ENQ\DC2\EOT\184\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\SOH\DC2\EOT\184\SOH\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ETX\DC2\EOT\184\SOH\FS\RS\n\
+    \/\n\
+    \\EOT\EOT\r\STX\ACK\DC2\EOT\187\SOH\EOT\\\SUB! Event types not to be reapplied\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\EOT\DC2\EOT\187\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\ACK\DC2\EOT\187\SOH\r:\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\SOH\DC2\EOT\187\SOH;V\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\ETX\DC2\EOT\187\SOHY[\n\
+    \a\n\
+    \\STX\EOT\SO\DC2\ACK\191\SOH\NUL\213\SOH\SOH\SUBS Callback to attach to various events in the system, e.g. workflow run completion.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\191\SOH\b\DLE\n\
+    \\SO\n\
+    \\EOT\EOT\SO\ETX\NUL\DC2\ACK\192\SOH\EOT\197\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\SO\ETX\NUL\SOH\DC2\EOT\192\SOH\f\DC1\n\
+    \\US\n\
+    \\ACK\EOT\SO\ETX\NUL\STX\NUL\DC2\EOT\194\SOH\b\ETB\SUB\SI Callback URL.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\NUL\STX\NUL\ENQ\DC2\EOT\194\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\NUL\STX\NUL\SOH\DC2\EOT\194\SOH\SI\DC2\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\NUL\STX\NUL\ETX\DC2\EOT\194\SOH\NAK\SYN\n\
+    \7\n\
+    \\ACK\EOT\SO\ETX\NUL\STX\SOH\DC2\EOT\196\SOH\b'\SUB' Header to attach to callback request.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\NUL\STX\SOH\ACK\DC2\EOT\196\SOH\b\ESC\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\NUL\STX\SOH\SOH\DC2\EOT\196\SOH\FS\"\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\NUL\STX\SOH\ETX\DC2\EOT\196\SOH%&\n\
+    \\222\STX\n\
+    \\EOT\EOT\SO\ETX\SOH\DC2\ACK\203\SOH\EOT\206\SOH\ENQ\SUB\205\STX Callbacks to be delivered internally within the system.\n\
+    \ This variant is not settable in the API and will be rejected by the service with an INVALID_ARGUMENT error.\n\
+    \ The only reason that this is exposed is because callbacks are replicated across clusters via the\n\
+    \ WorkflowExecutionStarted event, which is defined in the public API.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\ETX\SOH\SOH\DC2\EOT\203\SOH\f\DC4\n\
+    \'\n\
+    \\ACK\EOT\SO\ETX\SOH\STX\NUL\DC2\EOT\205\SOH\b\ETB\SUB\ETB Opaque internal data.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\SOH\STX\NUL\ENQ\DC2\EOT\205\SOH\b\r\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\SOH\STX\NUL\SOH\DC2\EOT\205\SOH\SO\DC2\n\
+    \\SI\n\
+    \\a\EOT\SO\ETX\SOH\STX\NUL\ETX\DC2\EOT\205\SOH\NAK\SYN\n\
+    \B\n\
+    \\ETX\EOT\SO\t\DC2\EOT\208\SOH\EOT\SI\"5 For a generic callback mechanism to be added later.\n\
+    \\n\
+    \\f\n\
+    \\EOT\EOT\SO\t\NUL\DC2\EOT\208\SOH\r\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SO\t\NUL\SOH\DC2\EOT\208\SOH\r\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SO\t\NUL\STX\DC2\EOT\208\SOH\r\SO\n\
+    \\SO\n\
+    \\EOT\EOT\SO\b\NUL\DC2\ACK\209\SOH\EOT\212\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\SO\b\NUL\SOH\DC2\EOT\209\SOH\n\
+    \\DC1\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\210\SOH\b\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ACK\DC2\EOT\210\SOH\b\r\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\210\SOH\SO\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\210\SOH\SYN\ETB\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\EOT\211\SOH\b\RS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ACK\DC2\EOT\211\SOH\b\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\211\SOH\DC1\EM\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\211\SOH\FS\GS\n\
+    \\212\STX\n\
+    \\STX\EOT\SI\DC2\ACK\219\SOH\NUL\248\SOH\SOH\SUB\197\STX Link can be associated with history events. It might contain information about an external entity\n\
+    \ related to the history event. For example, workflow A makes a Nexus call that starts workflow B:\n\
+    \ in this case, a history event in workflow A could contain a Link to the workflow started event in\n\
+    \ workflow B, and vice-versa.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\219\SOH\b\f\n\
+    \\SO\n\
+    \\EOT\EOT\SI\ETX\NUL\DC2\ACK\220\SOH\EOT\235\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\SI\ETX\NUL\SOH\DC2\EOT\220\SOH\f\EM\n\
+    \\DLE\n\
+    \\ACK\EOT\SI\ETX\NUL\ETX\NUL\DC2\ACK\221\SOH\b\224\SOH\t\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\ETX\NUL\SOH\DC2\EOT\221\SOH\DLE\RS\n\
+    \\DLE\n\
+    \\b\EOT\SI\ETX\NUL\ETX\NUL\STX\NUL\DC2\EOT\222\SOH\f\US\n\
+    \\DC1\n\
+    \\t\EOT\SI\ETX\NUL\ETX\NUL\STX\NUL\ENQ\DC2\EOT\222\SOH\f\DC1\n\
+    \\DC1\n\
+    \\t\EOT\SI\ETX\NUL\ETX\NUL\STX\NUL\SOH\DC2\EOT\222\SOH\DC2\SUB\n\
+    \\DC1\n\
+    \\t\EOT\SI\ETX\NUL\ETX\NUL\STX\NUL\ETX\DC2\EOT\222\SOH\GS\RS\n\
+    \\DLE\n\
+    \\b\EOT\SI\ETX\NUL\ETX\NUL\STX\SOH\DC2\EOT\223\SOH\f;\n\
+    \\DC1\n\
+    \\t\EOT\SI\ETX\NUL\ETX\NUL\STX\SOH\ACK\DC2\EOT\223\SOH\f+\n\
+    \\DC1\n\
+    \\t\EOT\SI\ETX\NUL\ETX\NUL\STX\SOH\SOH\DC2\EOT\223\SOH,6\n\
+    \\DC1\n\
+    \\t\EOT\SI\ETX\NUL\ETX\NUL\STX\SOH\ETX\DC2\EOT\223\SOH9:\n\
+    \\SO\n\
+    \\ACK\EOT\SI\ETX\NUL\STX\NUL\DC2\EOT\226\SOH\b\GS\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\NUL\ENQ\DC2\EOT\226\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\NUL\SOH\DC2\EOT\226\SOH\SI\CAN\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\NUL\ETX\DC2\EOT\226\SOH\ESC\FS\n\
+    \\SO\n\
+    \\ACK\EOT\SI\ETX\NUL\STX\SOH\DC2\EOT\227\SOH\b\US\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\SOH\ENQ\DC2\EOT\227\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\SOH\SOH\DC2\EOT\227\SOH\SI\SUB\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\SOH\ETX\DC2\EOT\227\SOH\GS\RS\n\
+    \\SO\n\
+    \\ACK\EOT\SI\ETX\NUL\STX\STX\DC2\EOT\228\SOH\b\SUB\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\STX\ENQ\DC2\EOT\228\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\STX\SOH\DC2\EOT\228\SOH\SI\NAK\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\STX\ETX\DC2\EOT\228\SOH\CAN\EM\n\
+    \\155\SOH\n\
+    \\ACK\EOT\SI\ETX\NUL\b\NUL\DC2\ACK\232\SOH\b\234\SOH\t\SUB\136\SOH Additional information about the workflow event.\n\
+    \ Eg: the caller workflow can send the history event details that made the Nexus call.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\b\NUL\SOH\DC2\EOT\232\SOH\SO\ETB\n\
+    \\SO\n\
+    \\ACK\EOT\SI\ETX\NUL\STX\ETX\DC2\EOT\233\SOH\f+\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\ETX\ACK\DC2\EOT\233\SOH\f\SUB\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\ETX\SOH\DC2\EOT\233\SOH\ESC$\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\NUL\STX\ETX\ETX\DC2\EOT\233\SOH'*\n\
+    \\249\SOH\n\
+    \\EOT\EOT\SI\ETX\SOH\DC2\ACK\240\SOH\EOT\242\SOH\ENQ\SUB\232\SOH A link to a built-in batch job.\n\
+    \ Batch jobs can be used to perform operations on a set of workflows (e.g. terminate, signal, cancel, etc).\n\
+    \ This link can be put on workflow history events generated by actions taken by a batch job.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\ETX\SOH\SOH\DC2\EOT\240\SOH\f\DC4\n\
+    \\SO\n\
+    \\ACK\EOT\SI\ETX\SOH\STX\NUL\DC2\EOT\241\SOH\b\SUB\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\SOH\STX\NUL\ENQ\DC2\EOT\241\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\SOH\STX\NUL\SOH\DC2\EOT\241\SOH\SI\NAK\n\
+    \\SI\n\
+    \\a\EOT\SI\ETX\SOH\STX\NUL\ETX\DC2\EOT\241\SOH\CAN\EM\n\
+    \\SO\n\
+    \\EOT\EOT\SI\b\NUL\DC2\ACK\244\SOH\EOT\247\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\SI\b\NUL\SOH\DC2\EOT\244\SOH\n\
+    \\DC1\n\
+    \\f\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\245\SOH\b)\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ACK\DC2\EOT\245\SOH\b\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\245\SOH\SYN$\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\245\SOH'(\n\
+    \\f\n\
+    \\EOT\EOT\SI\STX\SOH\DC2\EOT\246\SOH\b\US\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ACK\DC2\EOT\246\SOH\b\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\246\SOH\DC1\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\246\SOH\GS\RS\n\
+    \\161\b\n\
+    \\STX\EOT\DLE\DC2\ACK\141\STX\NUL\153\STX\SOH\SUB\146\b Priority contains metadata that controls relative ordering of task processing\n\
+    \ when tasks are backlogged in a queue. Initially, Priority will be used in\n\
+    \ activity and workflow task queues, which are typically where backlogs exist.\n\
+    \ Other queues in the server (such as transfer and timer queues) and rate\n\
+    \ limiting decisions do not use Priority, but may in the future.\n\
+    \\n\
+    \ Priority is attached to workflows and activities. Activities and child\n\
+    \ workflows inherit Priority from the workflow that created them, but may\n\
+    \ override fields when they are started or modified. For each field of a\n\
+    \ Priority on an activity/workflow, not present or equal to zero/empty string\n\
+    \ means to inherit the value from the calling workflow, or if there is no\n\
+    \ calling workflow, then use the default (documented below).\n\
+    \\n\
+    \ Despite being named \"Priority\", this message will also contains fields that\n\
+    \ control \"fairness\" mechanisms.\n\
+    \\n\
+    \ The overall semantics of Priority are:\n\
+    \ 1. First, consider \"priority_key\": lower number goes first.\n\
+    \ (more will be added here later)\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\141\STX\b\DLE\n\
+    \\211\ETX\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\152\STX\EOT\ESC\SUB\196\ETX Priority key is a positive integer from 1 to n, where smaller integers\n\
+    \ correspond to higher priorities (tasks run sooner). In general, tasks in\n\
+    \ a queue should be processed in close to priority order, although small\n\
+    \ deviations are possible.\n\
+    \\n\
+    \ The maximum priority value (minimum priority) is determined by server\n\
+    \ configuration, and defaults to 5.\n\
+    \\n\
+    \ The default priority is (min+max)/2. With the default max of 5 and min of\n\
+    \ 1, that comes out to 3.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ENQ\DC2\EOT\152\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\152\STX\n\
+    \\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\152\STX\EM\SUBb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Common/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Common/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Common/V1/Message_Fields.hs
@@ -0,0 +1,372 @@
+{- This file was auto-generated from temporal/api/common/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Common.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.EventType
+import qualified Proto.Temporal.Api.Enums.V1.Reset
+backoffCoefficient ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backoffCoefficient" a) =>
+  Lens.Family2.LensLike' f s a
+backoffCoefficient
+  = Data.ProtoLens.Field.field @"backoffCoefficient"
+batchJob ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "batchJob" a) =>
+  Lens.Family2.LensLike' f s a
+batchJob = Data.ProtoLens.Field.field @"batchJob"
+buildId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "buildId" a) =>
+  Lens.Family2.LensLike' f s a
+buildId = Data.ProtoLens.Field.field @"buildId"
+currentRunOnly ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentRunOnly" a) =>
+  Lens.Family2.LensLike' f s a
+currentRunOnly = Data.ProtoLens.Field.field @"currentRunOnly"
+data' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "data'" a) =>
+  Lens.Family2.LensLike' f s a
+data' = Data.ProtoLens.Field.field @"data'"
+deploymentSeriesName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentSeriesName" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentSeriesName
+  = Data.ProtoLens.Field.field @"deploymentSeriesName"
+encodingType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "encodingType" a) =>
+  Lens.Family2.LensLike' f s a
+encodingType = Data.ProtoLens.Field.field @"encodingType"
+eventId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "eventId" a) =>
+  Lens.Family2.LensLike' f s a
+eventId = Data.ProtoLens.Field.field @"eventId"
+eventRef ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eventRef" a) =>
+  Lens.Family2.LensLike' f s a
+eventRef = Data.ProtoLens.Field.field @"eventRef"
+eventType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eventType" a) =>
+  Lens.Family2.LensLike' f s a
+eventType = Data.ProtoLens.Field.field @"eventType"
+fields ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "fields" a) =>
+  Lens.Family2.LensLike' f s a
+fields = Data.ProtoLens.Field.field @"fields"
+firstWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+firstWorkflowTask = Data.ProtoLens.Field.field @"firstWorkflowTask"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+indexedFields ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "indexedFields" a) =>
+  Lens.Family2.LensLike' f s a
+indexedFields = Data.ProtoLens.Field.field @"indexedFields"
+initialInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initialInterval" a) =>
+  Lens.Family2.LensLike' f s a
+initialInterval = Data.ProtoLens.Field.field @"initialInterval"
+internal ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "internal" a) =>
+  Lens.Family2.LensLike' f s a
+internal = Data.ProtoLens.Field.field @"internal"
+jobId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jobId" a) =>
+  Lens.Family2.LensLike' f s a
+jobId = Data.ProtoLens.Field.field @"jobId"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+lastWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+lastWorkflowTask = Data.ProtoLens.Field.field @"lastWorkflowTask"
+maximumAttempts ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maximumAttempts" a) =>
+  Lens.Family2.LensLike' f s a
+maximumAttempts = Data.ProtoLens.Field.field @"maximumAttempts"
+maximumInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maximumInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maximumInterval = Data.ProtoLens.Field.field @"maximumInterval"
+maybe'batchJob ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'batchJob" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'batchJob = Data.ProtoLens.Field.field @"maybe'batchJob"
+maybe'buildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'buildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'buildId = Data.ProtoLens.Field.field @"maybe'buildId"
+maybe'eventRef ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'eventRef" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'eventRef = Data.ProtoLens.Field.field @"maybe'eventRef"
+maybe'firstWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'firstWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'firstWorkflowTask
+  = Data.ProtoLens.Field.field @"maybe'firstWorkflowTask"
+maybe'initialInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'initialInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'initialInterval
+  = Data.ProtoLens.Field.field @"maybe'initialInterval"
+maybe'internal ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'internal" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'internal = Data.ProtoLens.Field.field @"maybe'internal"
+maybe'lastWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastWorkflowTask
+  = Data.ProtoLens.Field.field @"maybe'lastWorkflowTask"
+maybe'maximumInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'maximumInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'maximumInterval
+  = Data.ProtoLens.Field.field @"maybe'maximumInterval"
+maybe'nexus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexus" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexus = Data.ProtoLens.Field.field @"maybe'nexus"
+maybe'reference ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'reference" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'reference = Data.ProtoLens.Field.field @"maybe'reference"
+maybe'target ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'target" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'target = Data.ProtoLens.Field.field @"maybe'target"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+maybe'workflowEvent ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowEvent" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowEvent
+  = Data.ProtoLens.Field.field @"maybe'workflowEvent"
+maybe'workflowTaskId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskId
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskId"
+metadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "metadata" a) =>
+  Lens.Family2.LensLike' f s a
+metadata = Data.ProtoLens.Field.field @"metadata"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+nexus ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "nexus" a) =>
+  Lens.Family2.LensLike' f s a
+nexus = Data.ProtoLens.Field.field @"nexus"
+nonRetryableErrorTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nonRetryableErrorTypes" a) =>
+  Lens.Family2.LensLike' f s a
+nonRetryableErrorTypes
+  = Data.ProtoLens.Field.field @"nonRetryableErrorTypes"
+nonfirstLocalActivityExecutionAttempts ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nonfirstLocalActivityExecutionAttempts" a) =>
+  Lens.Family2.LensLike' f s a
+nonfirstLocalActivityExecutionAttempts
+  = Data.ProtoLens.Field.field
+      @"nonfirstLocalActivityExecutionAttempts"
+payloads ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "payloads" a) =>
+  Lens.Family2.LensLike' f s a
+payloads = Data.ProtoLens.Field.field @"payloads"
+priorityKey ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priorityKey" a) =>
+  Lens.Family2.LensLike' f s a
+priorityKey = Data.ProtoLens.Field.field @"priorityKey"
+resetReapplyExcludeTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetReapplyExcludeTypes" a) =>
+  Lens.Family2.LensLike' f s a
+resetReapplyExcludeTypes
+  = Data.ProtoLens.Field.field @"resetReapplyExcludeTypes"
+resetReapplyType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetReapplyType" a) =>
+  Lens.Family2.LensLike' f s a
+resetReapplyType = Data.ProtoLens.Field.field @"resetReapplyType"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+url ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "url" a) =>
+  Lens.Family2.LensLike' f s a
+url = Data.ProtoLens.Field.field @"url"
+useVersioning ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "useVersioning" a) =>
+  Lens.Family2.LensLike' f s a
+useVersioning = Data.ProtoLens.Field.field @"useVersioning"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'nonRetryableErrorTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'nonRetryableErrorTypes" a) =>
+  Lens.Family2.LensLike' f s a
+vec'nonRetryableErrorTypes
+  = Data.ProtoLens.Field.field @"vec'nonRetryableErrorTypes"
+vec'payloads ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'payloads" a) =>
+  Lens.Family2.LensLike' f s a
+vec'payloads = Data.ProtoLens.Field.field @"vec'payloads"
+vec'resetReapplyExcludeTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'resetReapplyExcludeTypes" a) =>
+  Lens.Family2.LensLike' f s a
+vec'resetReapplyExcludeTypes
+  = Data.ProtoLens.Field.field @"vec'resetReapplyExcludeTypes"
+workflowEvent ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowEvent" a) =>
+  Lens.Family2.LensLike' f s a
+workflowEvent = Data.ProtoLens.Field.field @"workflowEvent"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowTaskId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskId = Data.ProtoLens.Field.field @"workflowTaskId"
diff --git a/src/Proto/Temporal/Api/Deployment/V1/Message.hs b/src/Proto/Temporal/Api/Deployment/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Deployment/V1/Message.hs
@@ -0,0 +1,4819 @@
+{- This file was auto-generated from temporal/api/deployment/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Deployment.V1.Message (
+        Deployment(), DeploymentInfo(), DeploymentInfo'MetadataEntry(),
+        DeploymentInfo'TaskQueueInfo(), DeploymentListInfo(),
+        RoutingConfig(), UpdateDeploymentMetadata(),
+        UpdateDeploymentMetadata'UpsertEntriesEntry(),
+        VersionDrainageInfo(), VersionMetadata(),
+        VersionMetadata'EntriesEntry(), WorkerDeploymentInfo(),
+        WorkerDeploymentInfo'WorkerDeploymentVersionSummary(),
+        WorkerDeploymentOptions(), WorkerDeploymentVersionInfo(),
+        WorkerDeploymentVersionInfo'VersionTaskQueueInfo()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Deployment
+import qualified Proto.Temporal.Api.Enums.V1.TaskQueue
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.seriesName' @:: Lens' Deployment Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.buildId' @:: Lens' Deployment Data.Text.Text@ -}
+data Deployment
+  = Deployment'_constructor {_Deployment'seriesName :: !Data.Text.Text,
+                             _Deployment'buildId :: !Data.Text.Text,
+                             _Deployment'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Deployment where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Deployment "seriesName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Deployment'seriesName
+           (\ x__ y__ -> x__ {_Deployment'seriesName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Deployment "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Deployment'buildId (\ x__ y__ -> x__ {_Deployment'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Deployment where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.Deployment"
+  packedMessageDescriptor _
+    = "\n\
+      \\n\
+      \Deployment\DC2\US\n\
+      \\vseries_name\CAN\SOH \SOH(\tR\n\
+      \seriesName\DC2\EM\n\
+      \\bbuild_id\CAN\STX \SOH(\tR\abuildId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seriesName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "series_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"seriesName")) ::
+              Data.ProtoLens.FieldDescriptor Deployment
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor Deployment
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seriesName__field_descriptor),
+           (Data.ProtoLens.Tag 2, buildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Deployment'_unknownFields
+        (\ x__ y__ -> x__ {_Deployment'_unknownFields = y__})
+  defMessage
+    = Deployment'_constructor
+        {_Deployment'seriesName = Data.ProtoLens.fieldDefault,
+         _Deployment'buildId = Data.ProtoLens.fieldDefault,
+         _Deployment'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Deployment -> Data.ProtoLens.Encoding.Bytes.Parser Deployment
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "series_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"seriesName") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Deployment"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"seriesName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Deployment where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Deployment'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Deployment'seriesName x__)
+                (Control.DeepSeq.deepseq (_Deployment'buildId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.deployment' @:: Lens' DeploymentInfo Deployment@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'deployment' @:: Lens' DeploymentInfo (Prelude.Maybe Deployment)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.createTime' @:: Lens' DeploymentInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'createTime' @:: Lens' DeploymentInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.taskQueueInfos' @:: Lens' DeploymentInfo [DeploymentInfo'TaskQueueInfo]@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.vec'taskQueueInfos' @:: Lens' DeploymentInfo (Data.Vector.Vector DeploymentInfo'TaskQueueInfo)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.metadata' @:: Lens' DeploymentInfo (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.isCurrent' @:: Lens' DeploymentInfo Prelude.Bool@ -}
+data DeploymentInfo
+  = DeploymentInfo'_constructor {_DeploymentInfo'deployment :: !(Prelude.Maybe Deployment),
+                                 _DeploymentInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                 _DeploymentInfo'taskQueueInfos :: !(Data.Vector.Vector DeploymentInfo'TaskQueueInfo),
+                                 _DeploymentInfo'metadata :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                 _DeploymentInfo'isCurrent :: !Prelude.Bool,
+                                 _DeploymentInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeploymentInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeploymentInfo "deployment" Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'deployment
+           (\ x__ y__ -> x__ {_DeploymentInfo'deployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentInfo "maybe'deployment" (Prelude.Maybe Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'deployment
+           (\ x__ y__ -> x__ {_DeploymentInfo'deployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'createTime
+           (\ x__ y__ -> x__ {_DeploymentInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'createTime
+           (\ x__ y__ -> x__ {_DeploymentInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo "taskQueueInfos" [DeploymentInfo'TaskQueueInfo] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'taskQueueInfos
+           (\ x__ y__ -> x__ {_DeploymentInfo'taskQueueInfos = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField DeploymentInfo "vec'taskQueueInfos" (Data.Vector.Vector DeploymentInfo'TaskQueueInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'taskQueueInfos
+           (\ x__ y__ -> x__ {_DeploymentInfo'taskQueueInfos = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo "metadata" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'metadata
+           (\ x__ y__ -> x__ {_DeploymentInfo'metadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo "isCurrent" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'isCurrent
+           (\ x__ y__ -> x__ {_DeploymentInfo'isCurrent = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeploymentInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.DeploymentInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\SODeploymentInfo\DC2F\n\
+      \\n\
+      \deployment\CAN\SOH \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+      \deployment\DC2;\n\
+      \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2b\n\
+      \\DLEtask_queue_infos\CAN\ETX \ETX(\v28.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfoR\SOtaskQueueInfos\DC2T\n\
+      \\bmetadata\CAN\EOT \ETX(\v28.temporal.api.deployment.v1.DeploymentInfo.MetadataEntryR\bmetadata\DC2\GS\n\
+      \\n\
+      \is_current\CAN\ENQ \SOH(\bR\tisCurrent\SUB\\\n\
+      \\rMetadataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUB\165\SOH\n\
+      \\rTaskQueueInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+      \\EOTtype\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueTypeR\EOTtype\DC2F\n\
+      \\DC1first_poller_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\SIfirstPollerTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        deployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deployment")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo
+        taskQueueInfos__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue_infos"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DeploymentInfo'TaskQueueInfo)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"taskQueueInfos")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo
+        metadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DeploymentInfo'MetadataEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"metadata")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo
+        isCurrent__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_current"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"isCurrent")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, deployment__field_descriptor),
+           (Data.ProtoLens.Tag 2, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, taskQueueInfos__field_descriptor),
+           (Data.ProtoLens.Tag 4, metadata__field_descriptor),
+           (Data.ProtoLens.Tag 5, isCurrent__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeploymentInfo'_unknownFields
+        (\ x__ y__ -> x__ {_DeploymentInfo'_unknownFields = y__})
+  defMessage
+    = DeploymentInfo'_constructor
+        {_DeploymentInfo'deployment = Prelude.Nothing,
+         _DeploymentInfo'createTime = Prelude.Nothing,
+         _DeploymentInfo'taskQueueInfos = Data.Vector.Generic.empty,
+         _DeploymentInfo'metadata = Data.Map.empty,
+         _DeploymentInfo'isCurrent = Data.ProtoLens.fieldDefault,
+         _DeploymentInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeploymentInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld DeploymentInfo'TaskQueueInfo
+             -> Data.ProtoLens.Encoding.Bytes.Parser DeploymentInfo
+        loop x mutable'taskQueueInfos
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'taskQueueInfos <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                 (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                    mutable'taskQueueInfos)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'taskQueueInfos")
+                              frozen'taskQueueInfos x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deployment") y x)
+                                  mutable'taskQueueInfos
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                                  mutable'taskQueueInfos
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "task_queue_infos"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'taskQueueInfos y)
+                                loop x v
+                        34
+                          -> do !(entry :: DeploymentInfo'MetadataEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                              (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                  Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                    (Prelude.fromIntegral
+                                                                                       len)
+                                                                                    Data.ProtoLens.parseMessage)
+                                                                              "metadata"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"metadata")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'taskQueueInfos)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_current"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"isCurrent") y x)
+                                  mutable'taskQueueInfos
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'taskQueueInfos
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'taskQueueInfos <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'taskQueueInfos)
+          "DeploymentInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'deployment") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'taskQueueInfos") _x))
+                   ((Data.Monoid.<>)
+                      (Data.Monoid.mconcat
+                         (Prelude.map
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                             (Data.ProtoLens.defMessage ::
+                                                DeploymentInfo'MetadataEntry)))))
+                            (Data.Map.toList
+                               (Lens.Family2.view (Data.ProtoLens.Field.field @"metadata") _x))))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"isCurrent") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (\ b -> if b then 1 else 0) _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData DeploymentInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeploymentInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeploymentInfo'deployment x__)
+                (Control.DeepSeq.deepseq
+                   (_DeploymentInfo'createTime x__)
+                   (Control.DeepSeq.deepseq
+                      (_DeploymentInfo'taskQueueInfos x__)
+                      (Control.DeepSeq.deepseq
+                         (_DeploymentInfo'metadata x__)
+                         (Control.DeepSeq.deepseq (_DeploymentInfo'isCurrent x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.key' @:: Lens' DeploymentInfo'MetadataEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.value' @:: Lens' DeploymentInfo'MetadataEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'value' @:: Lens' DeploymentInfo'MetadataEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data DeploymentInfo'MetadataEntry
+  = DeploymentInfo'MetadataEntry'_constructor {_DeploymentInfo'MetadataEntry'key :: !Data.Text.Text,
+                                               _DeploymentInfo'MetadataEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                               _DeploymentInfo'MetadataEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeploymentInfo'MetadataEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeploymentInfo'MetadataEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'MetadataEntry'key
+           (\ x__ y__ -> x__ {_DeploymentInfo'MetadataEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo'MetadataEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'MetadataEntry'value
+           (\ x__ y__ -> x__ {_DeploymentInfo'MetadataEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentInfo'MetadataEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'MetadataEntry'value
+           (\ x__ y__ -> x__ {_DeploymentInfo'MetadataEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeploymentInfo'MetadataEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.DeploymentInfo.MetadataEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\rMetadataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo'MetadataEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo'MetadataEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeploymentInfo'MetadataEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_DeploymentInfo'MetadataEntry'_unknownFields = y__})
+  defMessage
+    = DeploymentInfo'MetadataEntry'_constructor
+        {_DeploymentInfo'MetadataEntry'key = Data.ProtoLens.fieldDefault,
+         _DeploymentInfo'MetadataEntry'value = Prelude.Nothing,
+         _DeploymentInfo'MetadataEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeploymentInfo'MetadataEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeploymentInfo'MetadataEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MetadataEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData DeploymentInfo'MetadataEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeploymentInfo'MetadataEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeploymentInfo'MetadataEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_DeploymentInfo'MetadataEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.name' @:: Lens' DeploymentInfo'TaskQueueInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.type'' @:: Lens' DeploymentInfo'TaskQueueInfo Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.firstPollerTime' @:: Lens' DeploymentInfo'TaskQueueInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'firstPollerTime' @:: Lens' DeploymentInfo'TaskQueueInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data DeploymentInfo'TaskQueueInfo
+  = DeploymentInfo'TaskQueueInfo'_constructor {_DeploymentInfo'TaskQueueInfo'name :: !Data.Text.Text,
+                                               _DeploymentInfo'TaskQueueInfo'type' :: !Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType,
+                                               _DeploymentInfo'TaskQueueInfo'firstPollerTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                               _DeploymentInfo'TaskQueueInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeploymentInfo'TaskQueueInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeploymentInfo'TaskQueueInfo "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'TaskQueueInfo'name
+           (\ x__ y__ -> x__ {_DeploymentInfo'TaskQueueInfo'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo'TaskQueueInfo "type'" Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'TaskQueueInfo'type'
+           (\ x__ y__ -> x__ {_DeploymentInfo'TaskQueueInfo'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentInfo'TaskQueueInfo "firstPollerTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'TaskQueueInfo'firstPollerTime
+           (\ x__ y__
+              -> x__ {_DeploymentInfo'TaskQueueInfo'firstPollerTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentInfo'TaskQueueInfo "maybe'firstPollerTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentInfo'TaskQueueInfo'firstPollerTime
+           (\ x__ y__
+              -> x__ {_DeploymentInfo'TaskQueueInfo'firstPollerTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeploymentInfo'TaskQueueInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\rTaskQueueInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+      \\EOTtype\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueTypeR\EOTtype\DC2F\n\
+      \\DC1first_poller_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\SIfirstPollerTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo'TaskQueueInfo
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"type'")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo'TaskQueueInfo
+        firstPollerTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_poller_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'firstPollerTime")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentInfo'TaskQueueInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, type'__field_descriptor),
+           (Data.ProtoLens.Tag 3, firstPollerTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeploymentInfo'TaskQueueInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_DeploymentInfo'TaskQueueInfo'_unknownFields = y__})
+  defMessage
+    = DeploymentInfo'TaskQueueInfo'_constructor
+        {_DeploymentInfo'TaskQueueInfo'name = Data.ProtoLens.fieldDefault,
+         _DeploymentInfo'TaskQueueInfo'type' = Data.ProtoLens.fieldDefault,
+         _DeploymentInfo'TaskQueueInfo'firstPollerTime = Prelude.Nothing,
+         _DeploymentInfo'TaskQueueInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeploymentInfo'TaskQueueInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeploymentInfo'TaskQueueInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "first_poller_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"firstPollerTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueueInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"type'") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'firstPollerTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData DeploymentInfo'TaskQueueInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeploymentInfo'TaskQueueInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeploymentInfo'TaskQueueInfo'name x__)
+                (Control.DeepSeq.deepseq
+                   (_DeploymentInfo'TaskQueueInfo'type' x__)
+                   (Control.DeepSeq.deepseq
+                      (_DeploymentInfo'TaskQueueInfo'firstPollerTime x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.deployment' @:: Lens' DeploymentListInfo Deployment@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'deployment' @:: Lens' DeploymentListInfo (Prelude.Maybe Deployment)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.createTime' @:: Lens' DeploymentListInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'createTime' @:: Lens' DeploymentListInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.isCurrent' @:: Lens' DeploymentListInfo Prelude.Bool@ -}
+data DeploymentListInfo
+  = DeploymentListInfo'_constructor {_DeploymentListInfo'deployment :: !(Prelude.Maybe Deployment),
+                                     _DeploymentListInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                     _DeploymentListInfo'isCurrent :: !Prelude.Bool,
+                                     _DeploymentListInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeploymentListInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeploymentListInfo "deployment" Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentListInfo'deployment
+           (\ x__ y__ -> x__ {_DeploymentListInfo'deployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentListInfo "maybe'deployment" (Prelude.Maybe Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentListInfo'deployment
+           (\ x__ y__ -> x__ {_DeploymentListInfo'deployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentListInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentListInfo'createTime
+           (\ x__ y__ -> x__ {_DeploymentListInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentListInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentListInfo'createTime
+           (\ x__ y__ -> x__ {_DeploymentListInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeploymentListInfo "isCurrent" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentListInfo'isCurrent
+           (\ x__ y__ -> x__ {_DeploymentListInfo'isCurrent = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeploymentListInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.DeploymentListInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2DeploymentListInfo\DC2F\n\
+      \\n\
+      \deployment\CAN\SOH \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+      \deployment\DC2;\n\
+      \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2\GS\n\
+      \\n\
+      \is_current\CAN\ETX \SOH(\bR\tisCurrent"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        deployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deployment")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentListInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentListInfo
+        isCurrent__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_current"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"isCurrent")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentListInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, deployment__field_descriptor),
+           (Data.ProtoLens.Tag 2, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, isCurrent__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeploymentListInfo'_unknownFields
+        (\ x__ y__ -> x__ {_DeploymentListInfo'_unknownFields = y__})
+  defMessage
+    = DeploymentListInfo'_constructor
+        {_DeploymentListInfo'deployment = Prelude.Nothing,
+         _DeploymentListInfo'createTime = Prelude.Nothing,
+         _DeploymentListInfo'isCurrent = Data.ProtoLens.fieldDefault,
+         _DeploymentListInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeploymentListInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeploymentListInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deployment") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_current"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"isCurrent") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeploymentListInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'deployment") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"isCurrent") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData DeploymentListInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeploymentListInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeploymentListInfo'deployment x__)
+                (Control.DeepSeq.deepseq
+                   (_DeploymentListInfo'createTime x__)
+                   (Control.DeepSeq.deepseq (_DeploymentListInfo'isCurrent x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.currentVersion' @:: Lens' RoutingConfig Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.rampingVersion' @:: Lens' RoutingConfig Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.rampingVersionPercentage' @:: Lens' RoutingConfig Prelude.Float@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.currentVersionChangedTime' @:: Lens' RoutingConfig Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'currentVersionChangedTime' @:: Lens' RoutingConfig (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.rampingVersionChangedTime' @:: Lens' RoutingConfig Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'rampingVersionChangedTime' @:: Lens' RoutingConfig (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.rampingVersionPercentageChangedTime' @:: Lens' RoutingConfig Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'rampingVersionPercentageChangedTime' @:: Lens' RoutingConfig (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data RoutingConfig
+  = RoutingConfig'_constructor {_RoutingConfig'currentVersion :: !Data.Text.Text,
+                                _RoutingConfig'rampingVersion :: !Data.Text.Text,
+                                _RoutingConfig'rampingVersionPercentage :: !Prelude.Float,
+                                _RoutingConfig'currentVersionChangedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                _RoutingConfig'rampingVersionChangedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                _RoutingConfig'rampingVersionPercentageChangedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                _RoutingConfig'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RoutingConfig where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RoutingConfig "currentVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'currentVersion
+           (\ x__ y__ -> x__ {_RoutingConfig'currentVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RoutingConfig "rampingVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'rampingVersion
+           (\ x__ y__ -> x__ {_RoutingConfig'rampingVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RoutingConfig "rampingVersionPercentage" Prelude.Float where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'rampingVersionPercentage
+           (\ x__ y__ -> x__ {_RoutingConfig'rampingVersionPercentage = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RoutingConfig "currentVersionChangedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'currentVersionChangedTime
+           (\ x__ y__
+              -> x__ {_RoutingConfig'currentVersionChangedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RoutingConfig "maybe'currentVersionChangedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'currentVersionChangedTime
+           (\ x__ y__
+              -> x__ {_RoutingConfig'currentVersionChangedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RoutingConfig "rampingVersionChangedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'rampingVersionChangedTime
+           (\ x__ y__
+              -> x__ {_RoutingConfig'rampingVersionChangedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RoutingConfig "maybe'rampingVersionChangedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'rampingVersionChangedTime
+           (\ x__ y__
+              -> x__ {_RoutingConfig'rampingVersionChangedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RoutingConfig "rampingVersionPercentageChangedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'rampingVersionPercentageChangedTime
+           (\ x__ y__
+              -> x__ {_RoutingConfig'rampingVersionPercentageChangedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RoutingConfig "maybe'rampingVersionPercentageChangedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RoutingConfig'rampingVersionPercentageChangedTime
+           (\ x__ y__
+              -> x__ {_RoutingConfig'rampingVersionPercentageChangedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RoutingConfig where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.RoutingConfig"
+  packedMessageDescriptor _
+    = "\n\
+      \\rRoutingConfig\DC2'\n\
+      \\SIcurrent_version\CAN\SOH \SOH(\tR\SOcurrentVersion\DC2'\n\
+      \\SIramping_version\CAN\STX \SOH(\tR\SOrampingVersion\DC2<\n\
+      \\SUBramping_version_percentage\CAN\ETX \SOH(\STXR\CANrampingVersionPercentage\DC2[\n\
+      \\FScurrent_version_changed_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\EMcurrentVersionChangedTime\DC2[\n\
+      \\FSramping_version_changed_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\EMrampingVersionChangedTime\DC2p\n\
+      \'ramping_version_percentage_changed_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR#rampingVersionPercentageChangedTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        currentVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"currentVersion")) ::
+              Data.ProtoLens.FieldDescriptor RoutingConfig
+        rampingVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rampingVersion")) ::
+              Data.ProtoLens.FieldDescriptor RoutingConfig
+        rampingVersionPercentage__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_version_percentage"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Float)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rampingVersionPercentage")) ::
+              Data.ProtoLens.FieldDescriptor RoutingConfig
+        currentVersionChangedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_version_changed_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'currentVersionChangedTime")) ::
+              Data.ProtoLens.FieldDescriptor RoutingConfig
+        rampingVersionChangedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_version_changed_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rampingVersionChangedTime")) ::
+              Data.ProtoLens.FieldDescriptor RoutingConfig
+        rampingVersionPercentageChangedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_version_percentage_changed_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'rampingVersionPercentageChangedTime")) ::
+              Data.ProtoLens.FieldDescriptor RoutingConfig
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, currentVersion__field_descriptor),
+           (Data.ProtoLens.Tag 2, rampingVersion__field_descriptor),
+           (Data.ProtoLens.Tag 3, rampingVersionPercentage__field_descriptor),
+           (Data.ProtoLens.Tag 4, 
+            currentVersionChangedTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, 
+            rampingVersionChangedTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, 
+            rampingVersionPercentageChangedTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RoutingConfig'_unknownFields
+        (\ x__ y__ -> x__ {_RoutingConfig'_unknownFields = y__})
+  defMessage
+    = RoutingConfig'_constructor
+        {_RoutingConfig'currentVersion = Data.ProtoLens.fieldDefault,
+         _RoutingConfig'rampingVersion = Data.ProtoLens.fieldDefault,
+         _RoutingConfig'rampingVersionPercentage = Data.ProtoLens.fieldDefault,
+         _RoutingConfig'currentVersionChangedTime = Prelude.Nothing,
+         _RoutingConfig'rampingVersionChangedTime = Prelude.Nothing,
+         _RoutingConfig'rampingVersionPercentageChangedTime = Prelude.Nothing,
+         _RoutingConfig'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RoutingConfig -> Data.ProtoLens.Encoding.Bytes.Parser RoutingConfig
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "current_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentVersion") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "ramping_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampingVersion") y x)
+                        29
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToFloat
+                                          Data.ProtoLens.Encoding.Bytes.getFixed32)
+                                       "ramping_version_percentage"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampingVersionPercentage") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "current_version_changed_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentVersionChangedTime") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "ramping_version_changed_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampingVersionChangedTime") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "ramping_version_percentage_changed_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"rampingVersionPercentageChangedTime")
+                                     y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RoutingConfig"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"currentVersion") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"rampingVersion") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"rampingVersionPercentage") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 29)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putFixed32
+                               Data.ProtoLens.Encoding.Bytes.floatToWord _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'currentVersionChangedTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'rampingVersionChangedTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field
+                                      @"maybe'rampingVersionPercentageChangedTime")
+                                   _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData RoutingConfig where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RoutingConfig'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RoutingConfig'currentVersion x__)
+                (Control.DeepSeq.deepseq
+                   (_RoutingConfig'rampingVersion x__)
+                   (Control.DeepSeq.deepseq
+                      (_RoutingConfig'rampingVersionPercentage x__)
+                      (Control.DeepSeq.deepseq
+                         (_RoutingConfig'currentVersionChangedTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_RoutingConfig'rampingVersionChangedTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_RoutingConfig'rampingVersionPercentageChangedTime x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.upsertEntries' @:: Lens' UpdateDeploymentMetadata (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.removeEntries' @:: Lens' UpdateDeploymentMetadata [Data.Text.Text]@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.vec'removeEntries' @:: Lens' UpdateDeploymentMetadata (Data.Vector.Vector Data.Text.Text)@ -}
+data UpdateDeploymentMetadata
+  = UpdateDeploymentMetadata'_constructor {_UpdateDeploymentMetadata'upsertEntries :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                           _UpdateDeploymentMetadata'removeEntries :: !(Data.Vector.Vector Data.Text.Text),
+                                           _UpdateDeploymentMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateDeploymentMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateDeploymentMetadata "upsertEntries" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateDeploymentMetadata'upsertEntries
+           (\ x__ y__ -> x__ {_UpdateDeploymentMetadata'upsertEntries = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateDeploymentMetadata "removeEntries" [Data.Text.Text] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateDeploymentMetadata'removeEntries
+           (\ x__ y__ -> x__ {_UpdateDeploymentMetadata'removeEntries = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField UpdateDeploymentMetadata "vec'removeEntries" (Data.Vector.Vector Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateDeploymentMetadata'removeEntries
+           (\ x__ y__ -> x__ {_UpdateDeploymentMetadata'removeEntries = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateDeploymentMetadata where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.UpdateDeploymentMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANUpdateDeploymentMetadata\DC2n\n\
+      \\SOupsert_entries\CAN\SOH \ETX(\v2G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntryR\rupsertEntries\DC2%\n\
+      \\SOremove_entries\CAN\STX \ETX(\tR\rremoveEntries\SUBa\n\
+      \\DC2UpsertEntriesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        upsertEntries__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upsert_entries"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpdateDeploymentMetadata'UpsertEntriesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"upsertEntries")) ::
+              Data.ProtoLens.FieldDescriptor UpdateDeploymentMetadata
+        removeEntries__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "remove_entries"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"removeEntries")) ::
+              Data.ProtoLens.FieldDescriptor UpdateDeploymentMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, upsertEntries__field_descriptor),
+           (Data.ProtoLens.Tag 2, removeEntries__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateDeploymentMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_UpdateDeploymentMetadata'_unknownFields = y__})
+  defMessage
+    = UpdateDeploymentMetadata'_constructor
+        {_UpdateDeploymentMetadata'upsertEntries = Data.Map.empty,
+         _UpdateDeploymentMetadata'removeEntries = Data.Vector.Generic.empty,
+         _UpdateDeploymentMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateDeploymentMetadata
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text
+             -> Data.ProtoLens.Encoding.Bytes.Parser UpdateDeploymentMetadata
+        loop x mutable'removeEntries
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'removeEntries <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                   mutable'removeEntries)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'removeEntries")
+                              frozen'removeEntries x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: UpdateDeploymentMetadata'UpsertEntriesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                             (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                 Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                   (Prelude.fromIntegral
+                                                                                                      len)
+                                                                                                   Data.ProtoLens.parseMessage)
+                                                                                             "upsert_entries"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"upsertEntries")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'removeEntries)
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.getText
+                                              (Prelude.fromIntegral len))
+                                        "remove_entries"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'removeEntries y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'removeEntries
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'removeEntries <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'removeEntries)
+          "UpdateDeploymentMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage ::
+                                       UpdateDeploymentMetadata'UpsertEntriesEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"upsertEntries") _x))))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.Text.Encoding.encodeUtf8 _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'removeEntries") _x))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpdateDeploymentMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateDeploymentMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateDeploymentMetadata'upsertEntries x__)
+                (Control.DeepSeq.deepseq
+                   (_UpdateDeploymentMetadata'removeEntries x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.key' @:: Lens' UpdateDeploymentMetadata'UpsertEntriesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.value' @:: Lens' UpdateDeploymentMetadata'UpsertEntriesEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'value' @:: Lens' UpdateDeploymentMetadata'UpsertEntriesEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data UpdateDeploymentMetadata'UpsertEntriesEntry
+  = UpdateDeploymentMetadata'UpsertEntriesEntry'_constructor {_UpdateDeploymentMetadata'UpsertEntriesEntry'key :: !Data.Text.Text,
+                                                              _UpdateDeploymentMetadata'UpsertEntriesEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                              _UpdateDeploymentMetadata'UpsertEntriesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateDeploymentMetadata'UpsertEntriesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateDeploymentMetadata'UpsertEntriesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateDeploymentMetadata'UpsertEntriesEntry'key
+           (\ x__ y__
+              -> x__ {_UpdateDeploymentMetadata'UpsertEntriesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateDeploymentMetadata'UpsertEntriesEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateDeploymentMetadata'UpsertEntriesEntry'value
+           (\ x__ y__
+              -> x__ {_UpdateDeploymentMetadata'UpsertEntriesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpdateDeploymentMetadata'UpsertEntriesEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateDeploymentMetadata'UpsertEntriesEntry'value
+           (\ x__ y__
+              -> x__ {_UpdateDeploymentMetadata'UpsertEntriesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateDeploymentMetadata'UpsertEntriesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2UpsertEntriesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor UpdateDeploymentMetadata'UpsertEntriesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor UpdateDeploymentMetadata'UpsertEntriesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateDeploymentMetadata'UpsertEntriesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_UpdateDeploymentMetadata'UpsertEntriesEntry'_unknownFields = y__})
+  defMessage
+    = UpdateDeploymentMetadata'UpsertEntriesEntry'_constructor
+        {_UpdateDeploymentMetadata'UpsertEntriesEntry'key = Data.ProtoLens.fieldDefault,
+         _UpdateDeploymentMetadata'UpsertEntriesEntry'value = Prelude.Nothing,
+         _UpdateDeploymentMetadata'UpsertEntriesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateDeploymentMetadata'UpsertEntriesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateDeploymentMetadata'UpsertEntriesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpsertEntriesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpdateDeploymentMetadata'UpsertEntriesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateDeploymentMetadata'UpsertEntriesEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateDeploymentMetadata'UpsertEntriesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_UpdateDeploymentMetadata'UpsertEntriesEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.status' @:: Lens' VersionDrainageInfo Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.lastChangedTime' @:: Lens' VersionDrainageInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'lastChangedTime' @:: Lens' VersionDrainageInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.lastCheckedTime' @:: Lens' VersionDrainageInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'lastCheckedTime' @:: Lens' VersionDrainageInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data VersionDrainageInfo
+  = VersionDrainageInfo'_constructor {_VersionDrainageInfo'status :: !Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus,
+                                      _VersionDrainageInfo'lastChangedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _VersionDrainageInfo'lastCheckedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _VersionDrainageInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show VersionDrainageInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField VersionDrainageInfo "status" Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionDrainageInfo'status
+           (\ x__ y__ -> x__ {_VersionDrainageInfo'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionDrainageInfo "lastChangedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionDrainageInfo'lastChangedTime
+           (\ x__ y__ -> x__ {_VersionDrainageInfo'lastChangedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersionDrainageInfo "maybe'lastChangedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionDrainageInfo'lastChangedTime
+           (\ x__ y__ -> x__ {_VersionDrainageInfo'lastChangedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionDrainageInfo "lastCheckedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionDrainageInfo'lastCheckedTime
+           (\ x__ y__ -> x__ {_VersionDrainageInfo'lastCheckedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersionDrainageInfo "maybe'lastCheckedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionDrainageInfo'lastCheckedTime
+           (\ x__ y__ -> x__ {_VersionDrainageInfo'lastCheckedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message VersionDrainageInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.VersionDrainageInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3VersionDrainageInfo\DC2D\n\
+      \\ACKstatus\CAN\SOH \SOH(\SO2,.temporal.api.enums.v1.VersionDrainageStatusR\ACKstatus\DC2F\n\
+      \\DC1last_changed_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\SIlastChangedTime\DC2F\n\
+      \\DC1last_checked_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\SIlastCheckedTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        status__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"status")) ::
+              Data.ProtoLens.FieldDescriptor VersionDrainageInfo
+        lastChangedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_changed_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastChangedTime")) ::
+              Data.ProtoLens.FieldDescriptor VersionDrainageInfo
+        lastCheckedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_checked_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastCheckedTime")) ::
+              Data.ProtoLens.FieldDescriptor VersionDrainageInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, status__field_descriptor),
+           (Data.ProtoLens.Tag 2, lastChangedTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, lastCheckedTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _VersionDrainageInfo'_unknownFields
+        (\ x__ y__ -> x__ {_VersionDrainageInfo'_unknownFields = y__})
+  defMessage
+    = VersionDrainageInfo'_constructor
+        {_VersionDrainageInfo'status = Data.ProtoLens.fieldDefault,
+         _VersionDrainageInfo'lastChangedTime = Prelude.Nothing,
+         _VersionDrainageInfo'lastCheckedTime = Prelude.Nothing,
+         _VersionDrainageInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          VersionDrainageInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser VersionDrainageInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "status"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_changed_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastChangedTime") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_checked_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastCheckedTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "VersionDrainageInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"status") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'lastChangedTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'lastCheckedTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData VersionDrainageInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_VersionDrainageInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_VersionDrainageInfo'status x__)
+                (Control.DeepSeq.deepseq
+                   (_VersionDrainageInfo'lastChangedTime x__)
+                   (Control.DeepSeq.deepseq
+                      (_VersionDrainageInfo'lastCheckedTime x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.entries' @:: Lens' VersionMetadata (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data VersionMetadata
+  = VersionMetadata'_constructor {_VersionMetadata'entries :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                  _VersionMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show VersionMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField VersionMetadata "entries" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionMetadata'entries
+           (\ x__ y__ -> x__ {_VersionMetadata'entries = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message VersionMetadata where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.VersionMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIVersionMetadata\DC2R\n\
+      \\aentries\CAN\SOH \ETX(\v28.temporal.api.deployment.v1.VersionMetadata.EntriesEntryR\aentries\SUB[\n\
+      \\fEntriesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        entries__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "entries"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor VersionMetadata'EntriesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"entries")) ::
+              Data.ProtoLens.FieldDescriptor VersionMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, entries__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _VersionMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_VersionMetadata'_unknownFields = y__})
+  defMessage
+    = VersionMetadata'_constructor
+        {_VersionMetadata'entries = Data.Map.empty,
+         _VersionMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          VersionMetadata
+          -> Data.ProtoLens.Encoding.Bytes.Parser VersionMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: VersionMetadata'EntriesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                              (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                  Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                    (Prelude.fromIntegral
+                                                                                       len)
+                                                                                    Data.ProtoLens.parseMessage)
+                                                                              "entries"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"entries")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "VersionMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage :: VersionMetadata'EntriesEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"entries") _x))))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData VersionMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_VersionMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_VersionMetadata'entries x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.key' @:: Lens' VersionMetadata'EntriesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.value' @:: Lens' VersionMetadata'EntriesEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'value' @:: Lens' VersionMetadata'EntriesEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data VersionMetadata'EntriesEntry
+  = VersionMetadata'EntriesEntry'_constructor {_VersionMetadata'EntriesEntry'key :: !Data.Text.Text,
+                                               _VersionMetadata'EntriesEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                               _VersionMetadata'EntriesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show VersionMetadata'EntriesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField VersionMetadata'EntriesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionMetadata'EntriesEntry'key
+           (\ x__ y__ -> x__ {_VersionMetadata'EntriesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionMetadata'EntriesEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionMetadata'EntriesEntry'value
+           (\ x__ y__ -> x__ {_VersionMetadata'EntriesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersionMetadata'EntriesEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionMetadata'EntriesEntry'value
+           (\ x__ y__ -> x__ {_VersionMetadata'EntriesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message VersionMetadata'EntriesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.VersionMetadata.EntriesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fEntriesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor VersionMetadata'EntriesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor VersionMetadata'EntriesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _VersionMetadata'EntriesEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_VersionMetadata'EntriesEntry'_unknownFields = y__})
+  defMessage
+    = VersionMetadata'EntriesEntry'_constructor
+        {_VersionMetadata'EntriesEntry'key = Data.ProtoLens.fieldDefault,
+         _VersionMetadata'EntriesEntry'value = Prelude.Nothing,
+         _VersionMetadata'EntriesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          VersionMetadata'EntriesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser VersionMetadata'EntriesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "EntriesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData VersionMetadata'EntriesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_VersionMetadata'EntriesEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_VersionMetadata'EntriesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_VersionMetadata'EntriesEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.name' @:: Lens' WorkerDeploymentInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.versionSummaries' @:: Lens' WorkerDeploymentInfo [WorkerDeploymentInfo'WorkerDeploymentVersionSummary]@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.vec'versionSummaries' @:: Lens' WorkerDeploymentInfo (Data.Vector.Vector WorkerDeploymentInfo'WorkerDeploymentVersionSummary)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.createTime' @:: Lens' WorkerDeploymentInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'createTime' @:: Lens' WorkerDeploymentInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.routingConfig' @:: Lens' WorkerDeploymentInfo RoutingConfig@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'routingConfig' @:: Lens' WorkerDeploymentInfo (Prelude.Maybe RoutingConfig)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.lastModifierIdentity' @:: Lens' WorkerDeploymentInfo Data.Text.Text@ -}
+data WorkerDeploymentInfo
+  = WorkerDeploymentInfo'_constructor {_WorkerDeploymentInfo'name :: !Data.Text.Text,
+                                       _WorkerDeploymentInfo'versionSummaries :: !(Data.Vector.Vector WorkerDeploymentInfo'WorkerDeploymentVersionSummary),
+                                       _WorkerDeploymentInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                       _WorkerDeploymentInfo'routingConfig :: !(Prelude.Maybe RoutingConfig),
+                                       _WorkerDeploymentInfo'lastModifierIdentity :: !Data.Text.Text,
+                                       _WorkerDeploymentInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerDeploymentInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'name
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "versionSummaries" [WorkerDeploymentInfo'WorkerDeploymentVersionSummary] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'versionSummaries
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'versionSummaries = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "vec'versionSummaries" (Data.Vector.Vector WorkerDeploymentInfo'WorkerDeploymentVersionSummary) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'versionSummaries
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'versionSummaries = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'createTime
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'createTime
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "routingConfig" RoutingConfig where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'routingConfig
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'routingConfig = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "maybe'routingConfig" (Prelude.Maybe RoutingConfig) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'routingConfig
+           (\ x__ y__ -> x__ {_WorkerDeploymentInfo'routingConfig = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo "lastModifierIdentity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'lastModifierIdentity
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentInfo'lastModifierIdentity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerDeploymentInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.deployment.v1.WorkerDeploymentInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4WorkerDeploymentInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2|\n\
+      \\DC1version_summaries\CAN\STX \ETX(\v2O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummaryR\DLEversionSummaries\DC2;\n\
+      \\vcreate_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2P\n\
+      \\SOrouting_config\CAN\EOT \SOH(\v2).temporal.api.deployment.v1.RoutingConfigR\rroutingConfig\DC24\n\
+      \\SYNlast_modifier_identity\CAN\ENQ \SOH(\tR\DC4lastModifierIdentity\SUB\206\SOH\n\
+      \\RSWorkerDeploymentVersionSummary\DC2\CAN\n\
+      \\aversion\CAN\SOH \SOH(\tR\aversion\DC2;\n\
+      \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2U\n\
+      \\SIdrainage_status\CAN\ETX \SOH(\SO2,.temporal.api.enums.v1.VersionDrainageStatusR\SOdrainageStatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo
+        versionSummaries__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version_summaries"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkerDeploymentInfo'WorkerDeploymentVersionSummary)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"versionSummaries")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo
+        routingConfig__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "routing_config"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RoutingConfig)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'routingConfig")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo
+        lastModifierIdentity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_modifier_identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"lastModifierIdentity")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, versionSummaries__field_descriptor),
+           (Data.ProtoLens.Tag 3, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 4, routingConfig__field_descriptor),
+           (Data.ProtoLens.Tag 5, lastModifierIdentity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerDeploymentInfo'_unknownFields
+        (\ x__ y__ -> x__ {_WorkerDeploymentInfo'_unknownFields = y__})
+  defMessage
+    = WorkerDeploymentInfo'_constructor
+        {_WorkerDeploymentInfo'name = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentInfo'versionSummaries = Data.Vector.Generic.empty,
+         _WorkerDeploymentInfo'createTime = Prelude.Nothing,
+         _WorkerDeploymentInfo'routingConfig = Prelude.Nothing,
+         _WorkerDeploymentInfo'lastModifierIdentity = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerDeploymentInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+             -> Data.ProtoLens.Encoding.Bytes.Parser WorkerDeploymentInfo
+        loop x mutable'versionSummaries
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'versionSummaries <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                   (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                      mutable'versionSummaries)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'versionSummaries")
+                              frozen'versionSummaries x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                                  mutable'versionSummaries
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "version_summaries"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'versionSummaries y)
+                                loop x v
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                                  mutable'versionSummaries
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "routing_config"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"routingConfig") y x)
+                                  mutable'versionSummaries
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "last_modifier_identity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastModifierIdentity") y x)
+                                  mutable'versionSummaries
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'versionSummaries
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'versionSummaries <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'versionSummaries)
+          "WorkerDeploymentInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'versionSummaries") _x))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'routingConfig") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"lastModifierIdentity") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData WorkerDeploymentInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerDeploymentInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerDeploymentInfo'name x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerDeploymentInfo'versionSummaries x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkerDeploymentInfo'createTime x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkerDeploymentInfo'routingConfig x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkerDeploymentInfo'lastModifierIdentity x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.version' @:: Lens' WorkerDeploymentInfo'WorkerDeploymentVersionSummary Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.createTime' @:: Lens' WorkerDeploymentInfo'WorkerDeploymentVersionSummary Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'createTime' @:: Lens' WorkerDeploymentInfo'WorkerDeploymentVersionSummary (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.drainageStatus' @:: Lens' WorkerDeploymentInfo'WorkerDeploymentVersionSummary Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus@ -}
+data WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+  = WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_constructor {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'version :: !Data.Text.Text,
+                                                                      _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                                      _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'drainageStatus :: !Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus,
+                                                                      _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerDeploymentInfo'WorkerDeploymentVersionSummary where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo'WorkerDeploymentVersionSummary "version" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'version
+           (\ x__ y__
+              -> x__
+                   {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo'WorkerDeploymentVersionSummary "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime
+           (\ x__ y__
+              -> x__
+                   {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo'WorkerDeploymentVersionSummary "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime
+           (\ x__ y__
+              -> x__
+                   {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentInfo'WorkerDeploymentVersionSummary "drainageStatus" Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'drainageStatus
+           (\ x__ y__
+              -> x__
+                   {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'drainageStatus = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerDeploymentInfo'WorkerDeploymentVersionSummary where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSWorkerDeploymentVersionSummary\DC2\CAN\n\
+      \\aversion\CAN\SOH \SOH(\tR\aversion\DC2;\n\
+      \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2U\n\
+      \\SIdrainage_status\CAN\ETX \SOH(\SO2,.temporal.api.enums.v1.VersionDrainageStatusR\SOdrainageStatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+        drainageStatus__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "drainage_status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Deployment.VersionDrainageStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"drainageStatus")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, version__field_descriptor),
+           (Data.ProtoLens.Tag 2, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, drainageStatus__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_unknownFields = y__})
+  defMessage
+    = WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_constructor
+        {_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'version = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime = Prelude.Nothing,
+         _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'drainageStatus = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkerDeploymentInfo'WorkerDeploymentVersionSummary
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "drainage_status"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"drainageStatus") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkerDeploymentVersionSummary"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"drainageStatus") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkerDeploymentInfo'WorkerDeploymentVersionSummary where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'version x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'createTime
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkerDeploymentInfo'WorkerDeploymentVersionSummary'drainageStatus
+                         x__)
+                      ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.deploymentName' @:: Lens' WorkerDeploymentOptions Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.buildId' @:: Lens' WorkerDeploymentOptions Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.workerVersioningMode' @:: Lens' WorkerDeploymentOptions Proto.Temporal.Api.Enums.V1.Deployment.WorkerVersioningMode@ -}
+data WorkerDeploymentOptions
+  = WorkerDeploymentOptions'_constructor {_WorkerDeploymentOptions'deploymentName :: !Data.Text.Text,
+                                          _WorkerDeploymentOptions'buildId :: !Data.Text.Text,
+                                          _WorkerDeploymentOptions'workerVersioningMode :: !Proto.Temporal.Api.Enums.V1.Deployment.WorkerVersioningMode,
+                                          _WorkerDeploymentOptions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerDeploymentOptions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentOptions "deploymentName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentOptions'deploymentName
+           (\ x__ y__ -> x__ {_WorkerDeploymentOptions'deploymentName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentOptions "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentOptions'buildId
+           (\ x__ y__ -> x__ {_WorkerDeploymentOptions'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentOptions "workerVersioningMode" Proto.Temporal.Api.Enums.V1.Deployment.WorkerVersioningMode where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentOptions'workerVersioningMode
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentOptions'workerVersioningMode = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerDeploymentOptions where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.WorkerDeploymentOptions"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBWorkerDeploymentOptions\DC2'\n\
+      \\SIdeployment_name\CAN\SOH \SOH(\tR\SOdeploymentName\DC2\EM\n\
+      \\bbuild_id\CAN\STX \SOH(\tR\abuildId\DC2a\n\
+      \\SYNworker_versioning_mode\CAN\ETX \SOH(\SO2+.temporal.api.enums.v1.WorkerVersioningModeR\DC4workerVersioningMode"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        deploymentName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deploymentName")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentOptions
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentOptions
+        workerVersioningMode__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_versioning_mode"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Deployment.WorkerVersioningMode)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workerVersioningMode")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentOptions
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, deploymentName__field_descriptor),
+           (Data.ProtoLens.Tag 2, buildId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workerVersioningMode__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerDeploymentOptions'_unknownFields
+        (\ x__ y__ -> x__ {_WorkerDeploymentOptions'_unknownFields = y__})
+  defMessage
+    = WorkerDeploymentOptions'_constructor
+        {_WorkerDeploymentOptions'deploymentName = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentOptions'buildId = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentOptions'workerVersioningMode = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentOptions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerDeploymentOptions
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkerDeploymentOptions
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "deployment_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentName") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "worker_versioning_mode"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersioningMode") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkerDeploymentOptions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"deploymentName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"workerVersioningMode") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkerDeploymentOptions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerDeploymentOptions'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerDeploymentOptions'deploymentName x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerDeploymentOptions'buildId x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkerDeploymentOptions'workerVersioningMode x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.version' @:: Lens' WorkerDeploymentVersionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.deploymentName' @:: Lens' WorkerDeploymentVersionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.createTime' @:: Lens' WorkerDeploymentVersionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'createTime' @:: Lens' WorkerDeploymentVersionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.routingChangedTime' @:: Lens' WorkerDeploymentVersionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'routingChangedTime' @:: Lens' WorkerDeploymentVersionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.currentSinceTime' @:: Lens' WorkerDeploymentVersionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'currentSinceTime' @:: Lens' WorkerDeploymentVersionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.rampingSinceTime' @:: Lens' WorkerDeploymentVersionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'rampingSinceTime' @:: Lens' WorkerDeploymentVersionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.rampPercentage' @:: Lens' WorkerDeploymentVersionInfo Prelude.Float@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.taskQueueInfos' @:: Lens' WorkerDeploymentVersionInfo [WorkerDeploymentVersionInfo'VersionTaskQueueInfo]@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.vec'taskQueueInfos' @:: Lens' WorkerDeploymentVersionInfo (Data.Vector.Vector WorkerDeploymentVersionInfo'VersionTaskQueueInfo)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.drainageInfo' @:: Lens' WorkerDeploymentVersionInfo VersionDrainageInfo@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'drainageInfo' @:: Lens' WorkerDeploymentVersionInfo (Prelude.Maybe VersionDrainageInfo)@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.metadata' @:: Lens' WorkerDeploymentVersionInfo VersionMetadata@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.maybe'metadata' @:: Lens' WorkerDeploymentVersionInfo (Prelude.Maybe VersionMetadata)@ -}
+data WorkerDeploymentVersionInfo
+  = WorkerDeploymentVersionInfo'_constructor {_WorkerDeploymentVersionInfo'version :: !Data.Text.Text,
+                                              _WorkerDeploymentVersionInfo'deploymentName :: !Data.Text.Text,
+                                              _WorkerDeploymentVersionInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                              _WorkerDeploymentVersionInfo'routingChangedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                              _WorkerDeploymentVersionInfo'currentSinceTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                              _WorkerDeploymentVersionInfo'rampingSinceTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                              _WorkerDeploymentVersionInfo'rampPercentage :: !Prelude.Float,
+                                              _WorkerDeploymentVersionInfo'taskQueueInfos :: !(Data.Vector.Vector WorkerDeploymentVersionInfo'VersionTaskQueueInfo),
+                                              _WorkerDeploymentVersionInfo'drainageInfo :: !(Prelude.Maybe VersionDrainageInfo),
+                                              _WorkerDeploymentVersionInfo'metadata :: !(Prelude.Maybe VersionMetadata),
+                                              _WorkerDeploymentVersionInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerDeploymentVersionInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "version" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'version
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersionInfo'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "deploymentName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'deploymentName
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'deploymentName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'createTime
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersionInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'createTime
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersionInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "routingChangedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'routingChangedTime
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'routingChangedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "maybe'routingChangedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'routingChangedTime
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'routingChangedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "currentSinceTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'currentSinceTime
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'currentSinceTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "maybe'currentSinceTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'currentSinceTime
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'currentSinceTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "rampingSinceTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'rampingSinceTime
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'rampingSinceTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "maybe'rampingSinceTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'rampingSinceTime
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'rampingSinceTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "rampPercentage" Prelude.Float where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'rampPercentage
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'rampPercentage = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "taskQueueInfos" [WorkerDeploymentVersionInfo'VersionTaskQueueInfo] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'taskQueueInfos
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'taskQueueInfos = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "vec'taskQueueInfos" (Data.Vector.Vector WorkerDeploymentVersionInfo'VersionTaskQueueInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'taskQueueInfos
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'taskQueueInfos = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "drainageInfo" VersionDrainageInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'drainageInfo
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'drainageInfo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "maybe'drainageInfo" (Prelude.Maybe VersionDrainageInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'drainageInfo
+           (\ x__ y__
+              -> x__ {_WorkerDeploymentVersionInfo'drainageInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "metadata" VersionMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'metadata
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersionInfo'metadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo "maybe'metadata" (Prelude.Maybe VersionMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'metadata
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersionInfo'metadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerDeploymentVersionInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.WorkerDeploymentVersionInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCWorkerDeploymentVersionInfo\DC2\CAN\n\
+      \\aversion\CAN\SOH \SOH(\tR\aversion\DC2'\n\
+      \\SIdeployment_name\CAN\STX \SOH(\tR\SOdeploymentName\DC2;\n\
+      \\vcreate_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2L\n\
+      \\DC4routing_changed_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\DC2routingChangedTime\DC2H\n\
+      \\DC2current_since_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DLEcurrentSinceTime\DC2H\n\
+      \\DC2ramping_since_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\DLErampingSinceTime\DC2'\n\
+      \\SIramp_percentage\CAN\a \SOH(\STXR\SOrampPercentage\DC2v\n\
+      \\DLEtask_queue_infos\CAN\b \ETX(\v2L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfoR\SOtaskQueueInfos\DC2T\n\
+      \\rdrainage_info\CAN\t \SOH(\v2/.temporal.api.deployment.v1.VersionDrainageInfoR\fdrainageInfo\DC2G\n\
+      \\bmetadata\CAN\n\
+      \ \SOH(\v2+.temporal.api.deployment.v1.VersionMetadataR\bmetadata\SUBd\n\
+      \\DC4VersionTaskQueueInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+      \\EOTtype\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueTypeR\EOTtype"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        deploymentName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deploymentName")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        routingChangedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "routing_changed_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'routingChangedTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        currentSinceTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_since_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'currentSinceTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        rampingSinceTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_since_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rampingSinceTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        rampPercentage__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramp_percentage"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Float)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rampPercentage")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        taskQueueInfos__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue_infos"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkerDeploymentVersionInfo'VersionTaskQueueInfo)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"taskQueueInfos")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        drainageInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "drainage_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor VersionDrainageInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'drainageInfo")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+        metadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor VersionMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'metadata")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, version__field_descriptor),
+           (Data.ProtoLens.Tag 2, deploymentName__field_descriptor),
+           (Data.ProtoLens.Tag 3, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 4, routingChangedTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, currentSinceTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, rampingSinceTime__field_descriptor),
+           (Data.ProtoLens.Tag 7, rampPercentage__field_descriptor),
+           (Data.ProtoLens.Tag 8, taskQueueInfos__field_descriptor),
+           (Data.ProtoLens.Tag 9, drainageInfo__field_descriptor),
+           (Data.ProtoLens.Tag 10, metadata__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerDeploymentVersionInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkerDeploymentVersionInfo'_unknownFields = y__})
+  defMessage
+    = WorkerDeploymentVersionInfo'_constructor
+        {_WorkerDeploymentVersionInfo'version = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersionInfo'deploymentName = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersionInfo'createTime = Prelude.Nothing,
+         _WorkerDeploymentVersionInfo'routingChangedTime = Prelude.Nothing,
+         _WorkerDeploymentVersionInfo'currentSinceTime = Prelude.Nothing,
+         _WorkerDeploymentVersionInfo'rampingSinceTime = Prelude.Nothing,
+         _WorkerDeploymentVersionInfo'rampPercentage = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersionInfo'taskQueueInfos = Data.Vector.Generic.empty,
+         _WorkerDeploymentVersionInfo'drainageInfo = Prelude.Nothing,
+         _WorkerDeploymentVersionInfo'metadata = Prelude.Nothing,
+         _WorkerDeploymentVersionInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerDeploymentVersionInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkerDeploymentVersionInfo'VersionTaskQueueInfo
+             -> Data.ProtoLens.Encoding.Bytes.Parser WorkerDeploymentVersionInfo
+        loop x mutable'taskQueueInfos
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'taskQueueInfos <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                 (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                    mutable'taskQueueInfos)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'taskQueueInfos")
+                              frozen'taskQueueInfos x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "version"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                                  mutable'taskQueueInfos
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "deployment_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentName") y x)
+                                  mutable'taskQueueInfos
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                                  mutable'taskQueueInfos
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "routing_changed_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"routingChangedTime") y x)
+                                  mutable'taskQueueInfos
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "current_since_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentSinceTime") y x)
+                                  mutable'taskQueueInfos
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "ramping_since_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampingSinceTime") y x)
+                                  mutable'taskQueueInfos
+                        61
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToFloat
+                                          Data.ProtoLens.Encoding.Bytes.getFixed32)
+                                       "ramp_percentage"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampPercentage") y x)
+                                  mutable'taskQueueInfos
+                        66
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "task_queue_infos"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'taskQueueInfos y)
+                                loop x v
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "drainage_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"drainageInfo") y x)
+                                  mutable'taskQueueInfos
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "metadata"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"metadata") y x)
+                                  mutable'taskQueueInfos
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'taskQueueInfos
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'taskQueueInfos <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'taskQueueInfos)
+          "WorkerDeploymentVersionInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"deploymentName") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'routingChangedTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'currentSinceTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'rampingSinceTime") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"rampPercentage") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 61)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putFixed32
+                                           Data.ProtoLens.Encoding.Bytes.floatToWord _v))
+                               ((Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage _v))
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"vec'taskQueueInfos") _x))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'drainageInfo") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'metadata") _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                           (Lens.Family2.view
+                                              Data.ProtoLens.unknownFields _x)))))))))))
+instance Control.DeepSeq.NFData WorkerDeploymentVersionInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerDeploymentVersionInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerDeploymentVersionInfo'version x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerDeploymentVersionInfo'deploymentName x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkerDeploymentVersionInfo'createTime x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkerDeploymentVersionInfo'routingChangedTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkerDeploymentVersionInfo'currentSinceTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkerDeploymentVersionInfo'rampingSinceTime x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkerDeploymentVersionInfo'rampPercentage x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkerDeploymentVersionInfo'taskQueueInfos x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkerDeploymentVersionInfo'drainageInfo x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_WorkerDeploymentVersionInfo'metadata x__) ()))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.name' @:: Lens' WorkerDeploymentVersionInfo'VersionTaskQueueInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Deployment.V1.Message_Fields.type'' @:: Lens' WorkerDeploymentVersionInfo'VersionTaskQueueInfo Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType@ -}
+data WorkerDeploymentVersionInfo'VersionTaskQueueInfo
+  = WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_constructor {_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'name :: !Data.Text.Text,
+                                                                   _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'type' :: !Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType,
+                                                                   _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerDeploymentVersionInfo'VersionTaskQueueInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo'VersionTaskQueueInfo "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'name
+           (\ x__ y__
+              -> x__
+                   {_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersionInfo'VersionTaskQueueInfo "type'" Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'type'
+           (\ x__ y__
+              -> x__
+                   {_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerDeploymentVersionInfo'VersionTaskQueueInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4VersionTaskQueueInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+      \\EOTtype\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueTypeR\EOTtype"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo'VersionTaskQueueInfo
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"type'")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersionInfo'VersionTaskQueueInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, type'__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_unknownFields = y__})
+  defMessage
+    = WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_constructor
+        {_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'name = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'type' = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerDeploymentVersionInfo'VersionTaskQueueInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkerDeploymentVersionInfo'VersionTaskQueueInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "VersionTaskQueueInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"type'") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkerDeploymentVersionInfo'VersionTaskQueueInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'name x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerDeploymentVersionInfo'VersionTaskQueueInfo'type' x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \(temporal/api/deployment/v1/message.proto\DC2\SUBtemporal.api.deployment.v1\SUB\USgoogle/protobuf/timestamp.proto\SUB&temporal/api/enums/v1/deployment.proto\SUB&temporal/api/enums/v1/task_queue.proto\SUB$temporal/api/common/v1/message.proto\"\192\SOH\n\
+    \\ETBWorkerDeploymentOptions\DC2'\n\
+    \\SIdeployment_name\CAN\SOH \SOH(\tR\SOdeploymentName\DC2\EM\n\
+    \\bbuild_id\CAN\STX \SOH(\tR\abuildId\DC2a\n\
+    \\SYNworker_versioning_mode\CAN\ETX \SOH(\SO2+.temporal.api.enums.v1.WorkerVersioningModeR\DC4workerVersioningMode\"H\n\
+    \\n\
+    \Deployment\DC2\US\n\
+    \\vseries_name\CAN\SOH \SOH(\tR\n\
+    \seriesName\DC2\EM\n\
+    \\bbuild_id\CAN\STX \SOH(\tR\abuildId\"\244\EOT\n\
+    \\SODeploymentInfo\DC2F\n\
+    \\n\
+    \deployment\CAN\SOH \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+    \deployment\DC2;\n\
+    \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2b\n\
+    \\DLEtask_queue_infos\CAN\ETX \ETX(\v28.temporal.api.deployment.v1.DeploymentInfo.TaskQueueInfoR\SOtaskQueueInfos\DC2T\n\
+    \\bmetadata\CAN\EOT \ETX(\v28.temporal.api.deployment.v1.DeploymentInfo.MetadataEntryR\bmetadata\DC2\GS\n\
+    \\n\
+    \is_current\CAN\ENQ \SOH(\bR\tisCurrent\SUB\\\n\
+    \\rMetadataEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUB\165\SOH\n\
+    \\rTaskQueueInfo\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+    \\EOTtype\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueTypeR\EOTtype\DC2F\n\
+    \\DC1first_poller_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\SIfirstPollerTime\"\148\STX\n\
+    \\CANUpdateDeploymentMetadata\DC2n\n\
+    \\SOupsert_entries\CAN\SOH \ETX(\v2G.temporal.api.deployment.v1.UpdateDeploymentMetadata.UpsertEntriesEntryR\rupsertEntries\DC2%\n\
+    \\SOremove_entries\CAN\STX \ETX(\tR\rremoveEntries\SUBa\n\
+    \\DC2UpsertEntriesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\184\SOH\n\
+    \\DC2DeploymentListInfo\DC2F\n\
+    \\n\
+    \deployment\CAN\SOH \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+    \deployment\DC2;\n\
+    \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2\GS\n\
+    \\n\
+    \is_current\CAN\ETX \SOH(\bR\tisCurrent\"\165\ACK\n\
+    \\ESCWorkerDeploymentVersionInfo\DC2\CAN\n\
+    \\aversion\CAN\SOH \SOH(\tR\aversion\DC2'\n\
+    \\SIdeployment_name\CAN\STX \SOH(\tR\SOdeploymentName\DC2;\n\
+    \\vcreate_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2L\n\
+    \\DC4routing_changed_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\DC2routingChangedTime\DC2H\n\
+    \\DC2current_since_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DLEcurrentSinceTime\DC2H\n\
+    \\DC2ramping_since_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\DLErampingSinceTime\DC2'\n\
+    \\SIramp_percentage\CAN\a \SOH(\STXR\SOrampPercentage\DC2v\n\
+    \\DLEtask_queue_infos\CAN\b \ETX(\v2L.temporal.api.deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfoR\SOtaskQueueInfos\DC2T\n\
+    \\rdrainage_info\CAN\t \SOH(\v2/.temporal.api.deployment.v1.VersionDrainageInfoR\fdrainageInfo\DC2G\n\
+    \\bmetadata\CAN\n\
+    \ \SOH(\v2+.temporal.api.deployment.v1.VersionMetadataR\bmetadata\SUBd\n\
+    \\DC4VersionTaskQueueInfo\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+    \\EOTtype\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueTypeR\EOTtype\"\235\SOH\n\
+    \\DC3VersionDrainageInfo\DC2D\n\
+    \\ACKstatus\CAN\SOH \SOH(\SO2,.temporal.api.enums.v1.VersionDrainageStatusR\ACKstatus\DC2F\n\
+    \\DC1last_changed_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\SIlastChangedTime\DC2F\n\
+    \\DC1last_checked_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\SIlastCheckedTime\"\190\EOT\n\
+    \\DC4WorkerDeploymentInfo\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2|\n\
+    \\DC1version_summaries\CAN\STX \ETX(\v2O.temporal.api.deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummaryR\DLEversionSummaries\DC2;\n\
+    \\vcreate_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2P\n\
+    \\SOrouting_config\CAN\EOT \SOH(\v2).temporal.api.deployment.v1.RoutingConfigR\rroutingConfig\DC24\n\
+    \\SYNlast_modifier_identity\CAN\ENQ \SOH(\tR\DC4lastModifierIdentity\SUB\206\SOH\n\
+    \\RSWorkerDeploymentVersionSummary\DC2\CAN\n\
+    \\aversion\CAN\SOH \SOH(\tR\aversion\DC2;\n\
+    \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2U\n\
+    \\SIdrainage_status\CAN\ETX \SOH(\SO2,.temporal.api.enums.v1.VersionDrainageStatusR\SOdrainageStatus\"\194\SOH\n\
+    \\SIVersionMetadata\DC2R\n\
+    \\aentries\CAN\SOH \ETX(\v28.temporal.api.deployment.v1.VersionMetadata.EntriesEntryR\aentries\SUB[\n\
+    \\fEntriesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\203\ETX\n\
+    \\rRoutingConfig\DC2'\n\
+    \\SIcurrent_version\CAN\SOH \SOH(\tR\SOcurrentVersion\DC2'\n\
+    \\SIramping_version\CAN\STX \SOH(\tR\SOrampingVersion\DC2<\n\
+    \\SUBramping_version_percentage\CAN\ETX \SOH(\STXR\CANrampingVersionPercentage\DC2[\n\
+    \\FScurrent_version_changed_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\EMcurrentVersionChangedTime\DC2[\n\
+    \\FSramping_version_changed_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\EMrampingVersionChangedTime\DC2p\n\
+    \'ramping_version_percentage_changed_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR#rampingVersionPercentageChangedTimeB\157\SOH\n\
+    \\GSio.temporal.api.deployment.v1B\fMessageProtoP\SOHZ+go.temporal.io/api/deployment/v1;deployment\170\STX\FSTemporalio.Api.Deployment.V1\234\STX\USTemporalio::Api::Deployment::V1J\209b\n\
+    \\a\DC2\ENQ\SYN\NUL\251\SOH\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL#\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NULB\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NULB\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL6\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL6\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL8\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL9\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL9\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL)\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX#\NUL0\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX$\NUL0\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX%\NUL.\n\
+    \\194\SOH\n\
+    \\STX\EOT\NUL\DC2\EOT)\NUL4\SOH\SUB\181\SOH Worker Deployment options set in SDK that need to be sent to server in every poll.\n\
+    \ Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX)\b\US\n\
+    \0\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\EOT\US\SUB# Required. Worker Deployment name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX+\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+\GS\RS\n\
+    \\204\SOH\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX.\EOT\CAN\SUB\190\SOH The Build ID of the worker. Required when `worker_versioning_mode==VERSIONED`, in which case,\n\
+    \ the worker will be part of a Deployment Version identified by \"<deployment_name>.<build_id>\".\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX.\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX.\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX.\SYN\ETB\n\
+    \\186\STX\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX3\EOTJ\SUB\172\STX Required. Versioning Mode for this worker. Must be the same for all workers with the\n\
+    \ same `deployment_name` and `build_id` combination, across all Task Queues.\n\
+    \ When `worker_versioning_mode==VERSIONED`, the worker will be part of a Deployment Version\n\
+    \ identified by \"<deployment_name>.<build_id>\".\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX3\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX3/E\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX3HI\n\
+    \\255\SOH\n\
+    \\STX\EOT\SOH\DC2\EOT:\NULD\SOH\SUB\242\SOH `Deployment` identifies a deployment of Temporal workers. The combination of deployment series\n\
+    \ name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker\n\
+    \ programs to specify these values.\n\
+    \ Deprecated.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX:\b\DC2\n\
+    \\214\STX\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX@\EOT\ESC\SUB\200\STX Different versions of the same worker service/application are related together by having a\n\
+    \ shared series name.\n\
+    \ Out of all deployments of a series, one can be designated as the current deployment, which\n\
+    \ receives new workflow executions and new tasks of workflows with\n\
+    \ `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX@\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX@\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX@\EM\SUB\n\
+    \t\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETXC\EOT\CAN\SUBg Build ID changes with each version of the worker when the worker program code and/or config\n\
+    \ changes.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXC\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXC\SYN\ETB\n\
+    \\179\STX\n\
+    \\STX\EOT\STX\DC2\EOTJ\NULZ\SOH\SUB\166\STX `DeploymentInfo` holds information about a deployment. Deployment information is tracked\n\
+    \ automatically by server as soon as the first poll from that deployment reaches the server. There\n\
+    \ can be multiple task queue workers in a single deployment which are listed in this message.\n\
+    \ Deprecated.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXJ\b\SYN\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXK\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXK\EOT\SO\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXK\SI\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXK\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXL\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXL\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXL\RS)\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXL,-\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\STX\DC2\ETXM\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETXM\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETXM\r\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXM\ESC+\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXM./\n\
+    \\144\SOH\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\ETXP\EOT=\SUB\130\SOH A user-defined set of key-values. Can be updated as part of write operations to the\n\
+    \ deployment, such as `SetCurrentDeployment`.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETXP\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXP08\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXP;<\n\
+    \U\n\
+    \\EOT\EOT\STX\STX\EOT\DC2\ETXR\EOT\CAN\SUBH If this deployment is the current deployment of its deployment series.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\ENQ\DC2\ETXR\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETXR\t\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETXR\SYN\ETB\n\
+    \\f\n\
+    \\EOT\EOT\STX\ETX\SOH\DC2\EOTT\EOTY\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\STX\ETX\SOH\SOH\DC2\ETXT\f\EM\n\
+    \\r\n\
+    \\ACK\EOT\STX\ETX\SOH\STX\NUL\DC2\ETXU\b\CAN\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\NUL\ENQ\DC2\ETXU\b\SO\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\NUL\SOH\DC2\ETXU\SI\DC3\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\NUL\ETX\DC2\ETXU\SYN\ETB\n\
+    \\r\n\
+    \\ACK\EOT\STX\ETX\SOH\STX\SOH\DC2\ETXV\b5\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\SOH\ACK\DC2\ETXV\b+\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\SOH\SOH\DC2\ETXV,0\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\SOH\ETX\DC2\ETXV34\n\
+    \Y\n\
+    \\ACK\EOT\STX\ETX\SOH\STX\STX\DC2\ETXX\b8\SUBJ When server saw the first poller for this task queue in this deployment.\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\STX\ACK\DC2\ETXX\b!\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\STX\SOH\DC2\ETXX\"3\n\
+    \\SO\n\
+    \\a\EOT\STX\ETX\SOH\STX\STX\ETX\DC2\ETXX67\n\
+    \m\n\
+    \\STX\EOT\ETX\DC2\EOT^\NULb\SOH\SUBa Used as part of Deployment write APIs to update metadata attached to a deployment.\n\
+    \ Deprecated.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX^\b \n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX_\EOTC\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\ETX_\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX_0>\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX_AB\n\
+    \8\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETXa\EOT'\SUB+ List of keys to remove from the metadata.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\EOT\DC2\ETXa\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXa\r\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXa\DC4\"\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXa%&\n\
+    \\134\SOH\n\
+    \\STX\EOT\EOT\DC2\EOTg\NULl\SOH\SUBz DeploymentListInfo is an abbreviated set of fields from DeploymentInfo that's returned in\n\
+    \ ListDeployments.\n\
+    \ Deprecated.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXg\b\SUB\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXh\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETXh\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXh\GS'\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXh*+\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXi\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\ETXi\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXi\RS)\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXi,-\n\
+    \U\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\ETXk\EOT\CAN\SUBH If this deployment is the current deployment of its deployment series.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ENQ\DC2\ETXk\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETXk\t\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETXk\SYN\ETB\n\
+    \\247\ETX\n\
+    \\STX\EOT\ENQ\DC2\ENQv\NUL\165\SOH\SOH\SUB\233\ETX A Worker Deployment Version (Version, for short) represents all workers of the same \n\
+    \ code and config within a Deployment. Workers of the same Version are expected to \n\
+    \ behave exactly the same so when executions move between them there are no \n\
+    \ non-determinism issues.\n\
+    \ Worker Deployment Versions are created in Temporal server automatically when \n\
+    \ their first poller arrives to the server.\n\
+    \ Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXv\b#\n\
+    \t\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXx\EOT\ETB\SUBg The fully-qualified string representation of the version, in the form \"<deployment_name>.<build_id>\".\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXx\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXx\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXx\NAK\SYN\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETXy\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ENQ\DC2\ETXy\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXy\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXy\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\ETXz\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ACK\DC2\ETXz\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\ETXz\RS)\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\ETXz,-\n\
+    \q\n\
+    \\EOT\EOT\ENQ\STX\ETX\DC2\ETX}\EOT7\SUBd Last time `current_since_time`, `ramping_since_time, or `ramp_percentage` of this version changed.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ACK\DC2\ETX}\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\SOH\DC2\ETX}\RS2\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ETX\DC2\ETX}56\n\
+    \\185\SOH\n\
+    \\EOT\EOT\ENQ\STX\EOT\DC2\EOT\130\SOH\EOT5\SUB\170\SOH (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)\n\
+    \ Nil if not current.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\EOT\ACK\DC2\EOT\130\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\EOT\SOH\DC2\EOT\130\SOH\RS0\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\EOT\ETX\DC2\EOT\130\SOH34\n\
+    \\129\STX\n\
+    \\EOT\EOT\ENQ\STX\ENQ\DC2\EOT\135\SOH\EOT5\SUB\242\SOH (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: 'Since' captures the field semantics despite being a preposition. --)\n\
+    \ Nil if not ramping. Updated when the version first starts ramping, not on each ramp change.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ENQ\ACK\DC2\EOT\135\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ENQ\SOH\DC2\EOT\135\SOH\RS0\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ENQ\ETX\DC2\EOT\135\SOH34\n\
+    \\169\SOH\n\
+    \\EOT\EOT\ENQ\STX\ACK\DC2\EOT\139\SOH\EOT\RS\SUB\154\SOH Range: [0, 100]. Must be zero if the version is not ramping (i.e. `ramping_since_time` is nil).\n\
+    \ Can be in the range [0, 100] if the version is ramping.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ACK\ENQ\DC2\EOT\139\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ACK\SOH\DC2\EOT\139\SOH\n\
+    \\EM\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ACK\ETX\DC2\EOT\139\SOH\FS\GS\n\
+    \W\n\
+    \\EOT\EOT\ENQ\STX\a\DC2\EOT\142\SOH\EOT7\SUBI All the Task Queues that have ever polled from this Deployment version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\a\EOT\DC2\EOT\142\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\a\ACK\DC2\EOT\142\SOH\r!\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\a\SOH\DC2\EOT\142\SOH\"2\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\a\ETX\DC2\EOT\142\SOH56\n\
+    \\SO\n\
+    \\EOT\EOT\ENQ\ETX\NUL\DC2\ACK\143\SOH\EOT\146\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\ETX\NUL\SOH\DC2\EOT\143\SOH\f \n\
+    \\SO\n\
+    \\ACK\EOT\ENQ\ETX\NUL\STX\NUL\DC2\EOT\144\SOH\b\CAN\n\
+    \\SI\n\
+    \\a\EOT\ENQ\ETX\NUL\STX\NUL\ENQ\DC2\EOT\144\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\ENQ\ETX\NUL\STX\NUL\SOH\DC2\EOT\144\SOH\SI\DC3\n\
+    \\SI\n\
+    \\a\EOT\ENQ\ETX\NUL\STX\NUL\ETX\DC2\EOT\144\SOH\SYN\ETB\n\
+    \\SO\n\
+    \\ACK\EOT\ENQ\ETX\NUL\STX\SOH\DC2\EOT\145\SOH\b5\n\
+    \\SI\n\
+    \\a\EOT\ENQ\ETX\NUL\STX\SOH\ACK\DC2\EOT\145\SOH\b+\n\
+    \\SI\n\
+    \\a\EOT\ENQ\ETX\NUL\STX\SOH\SOH\DC2\EOT\145\SOH,0\n\
+    \\SI\n\
+    \\a\EOT\ENQ\ETX\NUL\STX\SOH\ETX\DC2\EOT\145\SOH34\n\
+    \\130\ACK\n\
+    \\EOT\EOT\ENQ\STX\b\DC2\EOT\161\SOH\EOT*\SUB\243\ENQ Helps user determine when it is safe to decommission the workers of this\n\
+    \ Version. Not present when version is current or ramping.\n\
+    \ Current limitations:\n\
+    \ - Not supported for Unversioned mode.\n\
+    \ - Periodically refreshed, may have delays up to few minutes (consult the\n\
+    \   last_checked_time value).\n\
+    \ - Refreshed only when version is not current or ramping AND the status is not\n\
+    \   \"drained\" yet.\n\
+    \ - Once the status is changed to \"drained\", it is not changed until the Version\n\
+    \   becomes Current or Ramping again, at which time the drainage info is cleared.\n\
+    \   This means if the Version is \"drained\" but new workflows are sent to it via\n\
+    \   Pinned Versioning Override, the status does not account for those Pinned-override\n\
+    \   executions and remains \"drained\".\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\b\ACK\DC2\EOT\161\SOH\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\b\SOH\DC2\EOT\161\SOH\CAN%\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\b\ETX\DC2\EOT\161\SOH()\n\
+    \J\n\
+    \\EOT\EOT\ENQ\STX\t\DC2\EOT\164\SOH\EOT\"\SUB< Arbitrary user-provided metadata attached to this version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\t\ACK\DC2\EOT\164\SOH\EOT\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\t\SOH\DC2\EOT\164\SOH\DC4\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\t\ETX\DC2\EOT\164\SOH\US!\n\
+    \\141\STX\n\
+    \\STX\EOT\ACK\DC2\ACK\170\SOH\NUL\178\SOH\SOH\SUB\254\SOH Information about workflow drainage to help the user determine when it is safe\n\
+    \ to decommission a Version. Not present while version is current or ramping.\n\
+    \ Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ACK\SOH\DC2\EOT\170\SOH\b\ESC\n\
+    \\195\SOH\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\173\SOH\EOT.\SUB\180\SOH Set to DRAINING when the version first stops accepting new executions (is no longer current or ramping).\n\
+    \ Set to DRAINED when no more open pinned workflows exist on this version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ACK\DC2\EOT\173\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\173\SOH#)\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\173\SOH,-\n\
+    \6\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\EOT\175\SOH\EOT4\SUB( Last time the drainage status changed.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\175\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\175\SOH\RS/\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\175\SOH23\n\
+    \J\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\EOT\177\SOH\EOT4\SUB< Last time the system checked for drainage of this version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\177\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\177\SOH\RS/\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\177\SOH23\n\
+    \\169\EOT\n\
+    \\STX\EOT\a\DC2\ACK\188\SOH\NUL\214\SOH\SOH\SUB\154\EOT A Worker Deployment (Deployment, for short) represents all workers serving \n\
+    \ a shared set of Task Queues. Typically, a Deployment represents one service or \n\
+    \ application.\n\
+    \ A Deployment contains multiple Deployment Versions, each representing a different \n\
+    \ version of workers. (see documentation of WorkerDeploymentVersionInfo)\n\
+    \ Deployment records are created in Temporal server automatically when their\n\
+    \ first poller arrives to the server.\n\
+    \ Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\188\SOH\b\FS\n\
+    \T\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\190\SOH\EOT\DC4\SUBF Identifies a Worker Deployment. Must be unique within the namespace.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\190\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\190\SOH\v\SI\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\190\SOH\DC2\DC3\n\
+    \\131\ETX\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\197\SOH\EOTB\SUB\244\STX Deployment Versions that are currently tracked in this Deployment. A DeploymentVersion will be\n\
+    \ cleaned up automatically if all the following conditions meet:\n\
+    \ - It does not receive new executions (is not current or ramping)\n\
+    \ - It has no active pollers (see WorkerDeploymentVersionInfo.pollers_status) \n\
+    \ - It is drained (see WorkerDeploymentVersionInfo.drainage_status) \n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\EOT\DC2\EOT\197\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ACK\DC2\EOT\197\SOH\r+\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\197\SOH,=\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\197\SOH@A\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\199\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\199\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\199\SOH\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\199\SOH,-\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\201\SOH\EOT%\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ACK\DC2\EOT\201\SOH\EOT\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\201\SOH\DC2 \n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\201\SOH#$\n\
+    \\223\SOH\n\
+    \\EOT\EOT\a\STX\EOT\DC2\EOT\206\SOH\EOT&\SUB\208\SOH Identity of the last client who modified the configuration of this Deployment. Set to the\n\
+    \ `identity` value sent by APIs such as `SetWorkerDeploymentCurrentVersion` and\n\
+    \ `SetWorkerDeploymentRampingVersion`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ENQ\DC2\EOT\206\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\EOT\206\SOH\v!\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\EOT\206\SOH$%\n\
+    \\SO\n\
+    \\EOT\EOT\a\ETX\NUL\DC2\ACK\208\SOH\EOT\213\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\a\ETX\NUL\SOH\DC2\EOT\208\SOH\f*\n\
+    \w\n\
+    \\ACK\EOT\a\ETX\NUL\STX\NUL\DC2\EOT\210\SOH\b\ESC\SUBg The fully-qualified string representation of the version, in the form \"<deployment_name>.<build_id>\".\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\NUL\ENQ\DC2\EOT\210\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\NUL\SOH\DC2\EOT\210\SOH\SI\SYN\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\NUL\ETX\DC2\EOT\210\SOH\EM\SUB\n\
+    \\SO\n\
+    \\ACK\EOT\a\ETX\NUL\STX\SOH\DC2\EOT\211\SOH\b2\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\ACK\DC2\EOT\211\SOH\b!\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\SOH\DC2\EOT\211\SOH\"-\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\ETX\DC2\EOT\211\SOH01\n\
+    \\SO\n\
+    \\ACK\EOT\a\ETX\NUL\STX\STX\DC2\EOT\212\SOH\b;\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\STX\ACK\DC2\EOT\212\SOH\b&\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\STX\SOH\DC2\EOT\212\SOH'6\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\NUL\STX\STX\ETX\DC2\EOT\212\SOH9:\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\216\SOH\NUL\219\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\216\SOH\b\ETB\n\
+    \%\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\218\SOH\EOT<\SUB\ETB Arbitrary key-values.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ACK\DC2\EOT\218\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\218\SOH07\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\218\SOH:;\n\
+    \\f\n\
+    \\STX\EOT\t\DC2\ACK\221\SOH\NUL\251\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\221\SOH\b\NAK\n\
+    \\185\EOT\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\230\SOH\EOT\US\SUB\170\EOT Always present. Specifies which Deployment Version should should receive new workflow\n\
+    \ executions and tasks of existing unversioned or AutoUpgrade workflows.\n\
+    \ Can be one of the following:\n\
+    \ - A Deployment Version identifier in the form \"<deployment_name>.<build_id>\".\n\
+    \ - Or, the \"__unversioned__\" special value, to represent all the unversioned workers (those\n\
+    \   with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)\n\
+    \ Note: Current Version is overridden by the Ramping Version for a portion of traffic when a ramp\n\
+    \ is set (see `ramping_version`.)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\230\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\230\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\230\SOH\GS\RS\n\
+    \\224\EOT\n\
+    \\EOT\EOT\t\STX\SOH\DC2\EOT\239\SOH\EOT\US\SUB\209\EOT When present, it means the traffic is being shifted from the Current Version to the Ramping\n\
+    \ Version.\n\
+    \ Must always be different from Current Version. Can be one of the following:\n\
+    \ - A Deployment Version identifier in the form \"<deployment_name>.<build_id>\".\n\
+    \ - Or, the \"__unversioned__\" special value, to represent all the unversioned workers (those\n\
+    \   with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)\n\
+    \ Note that it is possible to ramp from one Version to another Version, or from unversioned\n\
+    \ workers to a particular Version, or from a particular Version to unversioned workers.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\239\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\239\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\239\SOH\GS\RS\n\
+    \\154\STX\n\
+    \\EOT\EOT\t\STX\STX\DC2\EOT\243\SOH\EOT)\SUB\139\STX Percentage of tasks that are routed to the Ramping Version instead of the Current Version.\n\
+    \ Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but\n\
+    \ not yet \"promoted\" to be the Current Version, likely due to pending validations.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\STX\ENQ\DC2\EOT\243\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\243\SOH\n\
+    \$\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\243\SOH'(\n\
+    \6\n\
+    \\EOT\EOT\t\STX\ETX\DC2\EOT\245\SOH\EOT?\SUB( Last time current version was changed.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\245\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\245\SOH\RS:\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\245\SOH=>\n\
+    \g\n\
+    \\EOT\EOT\t\STX\EOT\DC2\EOT\247\SOH\EOT?\SUBY Last time ramping version was changed. Not updated if only the ramp percentage changes.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\EOT\ACK\DC2\EOT\247\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\247\SOH\RS:\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\247\SOH=>\n\
+    \\159\SOH\n\
+    \\EOT\EOT\t\STX\ENQ\DC2\EOT\250\SOH\EOTJ\SUB\144\SOH Last time ramping version percentage was changed.\n\
+    \ If ramping version is changed, this is also updated, even if the percentage stays the same.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ENQ\ACK\DC2\EOT\250\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\250\SOH\RSE\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\250\SOHHIb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Deployment/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Deployment/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Deployment/V1/Message_Fields.hs
@@ -0,0 +1,370 @@
+{- This file was auto-generated from temporal/api/deployment/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Deployment.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Deployment
+import qualified Proto.Temporal.Api.Enums.V1.TaskQueue
+buildId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "buildId" a) =>
+  Lens.Family2.LensLike' f s a
+buildId = Data.ProtoLens.Field.field @"buildId"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+currentSinceTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentSinceTime" a) =>
+  Lens.Family2.LensLike' f s a
+currentSinceTime = Data.ProtoLens.Field.field @"currentSinceTime"
+currentVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentVersion" a) =>
+  Lens.Family2.LensLike' f s a
+currentVersion = Data.ProtoLens.Field.field @"currentVersion"
+currentVersionChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentVersionChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+currentVersionChangedTime
+  = Data.ProtoLens.Field.field @"currentVersionChangedTime"
+deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deployment" a) =>
+  Lens.Family2.LensLike' f s a
+deployment = Data.ProtoLens.Field.field @"deployment"
+deploymentName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentName" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentName = Data.ProtoLens.Field.field @"deploymentName"
+drainageInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "drainageInfo" a) =>
+  Lens.Family2.LensLike' f s a
+drainageInfo = Data.ProtoLens.Field.field @"drainageInfo"
+drainageStatus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "drainageStatus" a) =>
+  Lens.Family2.LensLike' f s a
+drainageStatus = Data.ProtoLens.Field.field @"drainageStatus"
+entries ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "entries" a) =>
+  Lens.Family2.LensLike' f s a
+entries = Data.ProtoLens.Field.field @"entries"
+firstPollerTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstPollerTime" a) =>
+  Lens.Family2.LensLike' f s a
+firstPollerTime = Data.ProtoLens.Field.field @"firstPollerTime"
+isCurrent ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "isCurrent" a) =>
+  Lens.Family2.LensLike' f s a
+isCurrent = Data.ProtoLens.Field.field @"isCurrent"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+lastChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastChangedTime = Data.ProtoLens.Field.field @"lastChangedTime"
+lastCheckedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastCheckedTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastCheckedTime = Data.ProtoLens.Field.field @"lastCheckedTime"
+lastModifierIdentity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastModifierIdentity" a) =>
+  Lens.Family2.LensLike' f s a
+lastModifierIdentity
+  = Data.ProtoLens.Field.field @"lastModifierIdentity"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'currentSinceTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'currentSinceTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'currentSinceTime
+  = Data.ProtoLens.Field.field @"maybe'currentSinceTime"
+maybe'currentVersionChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'currentVersionChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'currentVersionChangedTime
+  = Data.ProtoLens.Field.field @"maybe'currentVersionChangedTime"
+maybe'deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deployment" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deployment = Data.ProtoLens.Field.field @"maybe'deployment"
+maybe'drainageInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'drainageInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'drainageInfo
+  = Data.ProtoLens.Field.field @"maybe'drainageInfo"
+maybe'firstPollerTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'firstPollerTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'firstPollerTime
+  = Data.ProtoLens.Field.field @"maybe'firstPollerTime"
+maybe'lastChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastChangedTime
+  = Data.ProtoLens.Field.field @"maybe'lastChangedTime"
+maybe'lastCheckedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastCheckedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastCheckedTime
+  = Data.ProtoLens.Field.field @"maybe'lastCheckedTime"
+maybe'metadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'metadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'metadata = Data.ProtoLens.Field.field @"maybe'metadata"
+maybe'rampingSinceTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rampingSinceTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rampingSinceTime
+  = Data.ProtoLens.Field.field @"maybe'rampingSinceTime"
+maybe'rampingVersionChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rampingVersionChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rampingVersionChangedTime
+  = Data.ProtoLens.Field.field @"maybe'rampingVersionChangedTime"
+maybe'rampingVersionPercentageChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rampingVersionPercentageChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rampingVersionPercentageChangedTime
+  = Data.ProtoLens.Field.field
+      @"maybe'rampingVersionPercentageChangedTime"
+maybe'routingChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'routingChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'routingChangedTime
+  = Data.ProtoLens.Field.field @"maybe'routingChangedTime"
+maybe'routingConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'routingConfig" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'routingConfig
+  = Data.ProtoLens.Field.field @"maybe'routingConfig"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+metadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "metadata" a) =>
+  Lens.Family2.LensLike' f s a
+metadata = Data.ProtoLens.Field.field @"metadata"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+rampPercentage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampPercentage" a) =>
+  Lens.Family2.LensLike' f s a
+rampPercentage = Data.ProtoLens.Field.field @"rampPercentage"
+rampingSinceTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingSinceTime" a) =>
+  Lens.Family2.LensLike' f s a
+rampingSinceTime = Data.ProtoLens.Field.field @"rampingSinceTime"
+rampingVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingVersion" a) =>
+  Lens.Family2.LensLike' f s a
+rampingVersion = Data.ProtoLens.Field.field @"rampingVersion"
+rampingVersionChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingVersionChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+rampingVersionChangedTime
+  = Data.ProtoLens.Field.field @"rampingVersionChangedTime"
+rampingVersionPercentage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingVersionPercentage" a) =>
+  Lens.Family2.LensLike' f s a
+rampingVersionPercentage
+  = Data.ProtoLens.Field.field @"rampingVersionPercentage"
+rampingVersionPercentageChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingVersionPercentageChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+rampingVersionPercentageChangedTime
+  = Data.ProtoLens.Field.field @"rampingVersionPercentageChangedTime"
+removeEntries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "removeEntries" a) =>
+  Lens.Family2.LensLike' f s a
+removeEntries = Data.ProtoLens.Field.field @"removeEntries"
+routingChangedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "routingChangedTime" a) =>
+  Lens.Family2.LensLike' f s a
+routingChangedTime
+  = Data.ProtoLens.Field.field @"routingChangedTime"
+routingConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "routingConfig" a) =>
+  Lens.Family2.LensLike' f s a
+routingConfig = Data.ProtoLens.Field.field @"routingConfig"
+seriesName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "seriesName" a) =>
+  Lens.Family2.LensLike' f s a
+seriesName = Data.ProtoLens.Field.field @"seriesName"
+status ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "status" a) =>
+  Lens.Family2.LensLike' f s a
+status = Data.ProtoLens.Field.field @"status"
+taskQueueInfos ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueueInfos" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueueInfos = Data.ProtoLens.Field.field @"taskQueueInfos"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+upsertEntries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertEntries" a) =>
+  Lens.Family2.LensLike' f s a
+upsertEntries = Data.ProtoLens.Field.field @"upsertEntries"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'removeEntries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'removeEntries" a) =>
+  Lens.Family2.LensLike' f s a
+vec'removeEntries = Data.ProtoLens.Field.field @"vec'removeEntries"
+vec'taskQueueInfos ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'taskQueueInfos" a) =>
+  Lens.Family2.LensLike' f s a
+vec'taskQueueInfos
+  = Data.ProtoLens.Field.field @"vec'taskQueueInfos"
+vec'versionSummaries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'versionSummaries" a) =>
+  Lens.Family2.LensLike' f s a
+vec'versionSummaries
+  = Data.ProtoLens.Field.field @"vec'versionSummaries"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
+versionSummaries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versionSummaries" a) =>
+  Lens.Family2.LensLike' f s a
+versionSummaries = Data.ProtoLens.Field.field @"versionSummaries"
+workerVersioningMode ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerVersioningMode" a) =>
+  Lens.Family2.LensLike' f s a
+workerVersioningMode
+  = Data.ProtoLens.Field.field @"workerVersioningMode"
diff --git a/src/Proto/Temporal/Api/Enums/V1/BatchOperation.hs b/src/Proto/Temporal/Api/Enums/V1/BatchOperation.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/BatchOperation.hs
@@ -0,0 +1,240 @@
+{- This file was auto-generated from temporal/api/enums/v1/batch_operation.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.BatchOperation (
+        BatchOperationState(..), BatchOperationState(),
+        BatchOperationState'UnrecognizedValue, BatchOperationType(..),
+        BatchOperationType(), BatchOperationType'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype BatchOperationState'UnrecognizedValue
+  = BatchOperationState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data BatchOperationState
+  = BATCH_OPERATION_STATE_UNSPECIFIED |
+    BATCH_OPERATION_STATE_RUNNING |
+    BATCH_OPERATION_STATE_COMPLETED |
+    BATCH_OPERATION_STATE_FAILED |
+    BatchOperationState'Unrecognized !BatchOperationState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum BatchOperationState where
+  maybeToEnum 0 = Prelude.Just BATCH_OPERATION_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just BATCH_OPERATION_STATE_RUNNING
+  maybeToEnum 2 = Prelude.Just BATCH_OPERATION_STATE_COMPLETED
+  maybeToEnum 3 = Prelude.Just BATCH_OPERATION_STATE_FAILED
+  maybeToEnum k
+    = Prelude.Just
+        (BatchOperationState'Unrecognized
+           (BatchOperationState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum BATCH_OPERATION_STATE_UNSPECIFIED
+    = "BATCH_OPERATION_STATE_UNSPECIFIED"
+  showEnum BATCH_OPERATION_STATE_RUNNING
+    = "BATCH_OPERATION_STATE_RUNNING"
+  showEnum BATCH_OPERATION_STATE_COMPLETED
+    = "BATCH_OPERATION_STATE_COMPLETED"
+  showEnum BATCH_OPERATION_STATE_FAILED
+    = "BATCH_OPERATION_STATE_FAILED"
+  showEnum
+    (BatchOperationState'Unrecognized (BatchOperationState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "BATCH_OPERATION_STATE_UNSPECIFIED"
+    = Prelude.Just BATCH_OPERATION_STATE_UNSPECIFIED
+    | (Prelude.==) k "BATCH_OPERATION_STATE_RUNNING"
+    = Prelude.Just BATCH_OPERATION_STATE_RUNNING
+    | (Prelude.==) k "BATCH_OPERATION_STATE_COMPLETED"
+    = Prelude.Just BATCH_OPERATION_STATE_COMPLETED
+    | (Prelude.==) k "BATCH_OPERATION_STATE_FAILED"
+    = Prelude.Just BATCH_OPERATION_STATE_FAILED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded BatchOperationState where
+  minBound = BATCH_OPERATION_STATE_UNSPECIFIED
+  maxBound = BATCH_OPERATION_STATE_FAILED
+instance Prelude.Enum BatchOperationState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum BatchOperationState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum BATCH_OPERATION_STATE_UNSPECIFIED = 0
+  fromEnum BATCH_OPERATION_STATE_RUNNING = 1
+  fromEnum BATCH_OPERATION_STATE_COMPLETED = 2
+  fromEnum BATCH_OPERATION_STATE_FAILED = 3
+  fromEnum
+    (BatchOperationState'Unrecognized (BatchOperationState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ BATCH_OPERATION_STATE_FAILED
+    = Prelude.error
+        "BatchOperationState.succ: bad argument BATCH_OPERATION_STATE_FAILED. This value would be out of bounds."
+  succ BATCH_OPERATION_STATE_UNSPECIFIED
+    = BATCH_OPERATION_STATE_RUNNING
+  succ BATCH_OPERATION_STATE_RUNNING
+    = BATCH_OPERATION_STATE_COMPLETED
+  succ BATCH_OPERATION_STATE_COMPLETED = BATCH_OPERATION_STATE_FAILED
+  succ (BatchOperationState'Unrecognized _)
+    = Prelude.error
+        "BatchOperationState.succ: bad argument: unrecognized value"
+  pred BATCH_OPERATION_STATE_UNSPECIFIED
+    = Prelude.error
+        "BatchOperationState.pred: bad argument BATCH_OPERATION_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred BATCH_OPERATION_STATE_RUNNING
+    = BATCH_OPERATION_STATE_UNSPECIFIED
+  pred BATCH_OPERATION_STATE_COMPLETED
+    = BATCH_OPERATION_STATE_RUNNING
+  pred BATCH_OPERATION_STATE_FAILED = BATCH_OPERATION_STATE_COMPLETED
+  pred (BatchOperationState'Unrecognized _)
+    = Prelude.error
+        "BatchOperationState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault BatchOperationState where
+  fieldDefault = BATCH_OPERATION_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData BatchOperationState where
+  rnf x__ = Prelude.seq x__ ()
+newtype BatchOperationType'UnrecognizedValue
+  = BatchOperationType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data BatchOperationType
+  = BATCH_OPERATION_TYPE_UNSPECIFIED |
+    BATCH_OPERATION_TYPE_TERMINATE |
+    BATCH_OPERATION_TYPE_CANCEL |
+    BATCH_OPERATION_TYPE_SIGNAL |
+    BATCH_OPERATION_TYPE_DELETE |
+    BATCH_OPERATION_TYPE_RESET |
+    BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS |
+    BatchOperationType'Unrecognized !BatchOperationType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum BatchOperationType where
+  maybeToEnum 0 = Prelude.Just BATCH_OPERATION_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just BATCH_OPERATION_TYPE_TERMINATE
+  maybeToEnum 2 = Prelude.Just BATCH_OPERATION_TYPE_CANCEL
+  maybeToEnum 3 = Prelude.Just BATCH_OPERATION_TYPE_SIGNAL
+  maybeToEnum 4 = Prelude.Just BATCH_OPERATION_TYPE_DELETE
+  maybeToEnum 5 = Prelude.Just BATCH_OPERATION_TYPE_RESET
+  maybeToEnum 6
+    = Prelude.Just BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+  maybeToEnum k
+    = Prelude.Just
+        (BatchOperationType'Unrecognized
+           (BatchOperationType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum BATCH_OPERATION_TYPE_UNSPECIFIED
+    = "BATCH_OPERATION_TYPE_UNSPECIFIED"
+  showEnum BATCH_OPERATION_TYPE_TERMINATE
+    = "BATCH_OPERATION_TYPE_TERMINATE"
+  showEnum BATCH_OPERATION_TYPE_CANCEL
+    = "BATCH_OPERATION_TYPE_CANCEL"
+  showEnum BATCH_OPERATION_TYPE_SIGNAL
+    = "BATCH_OPERATION_TYPE_SIGNAL"
+  showEnum BATCH_OPERATION_TYPE_DELETE
+    = "BATCH_OPERATION_TYPE_DELETE"
+  showEnum BATCH_OPERATION_TYPE_RESET = "BATCH_OPERATION_TYPE_RESET"
+  showEnum BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+    = "BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS"
+  showEnum
+    (BatchOperationType'Unrecognized (BatchOperationType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_UNSPECIFIED"
+    = Prelude.Just BATCH_OPERATION_TYPE_UNSPECIFIED
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_TERMINATE"
+    = Prelude.Just BATCH_OPERATION_TYPE_TERMINATE
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_CANCEL"
+    = Prelude.Just BATCH_OPERATION_TYPE_CANCEL
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_SIGNAL"
+    = Prelude.Just BATCH_OPERATION_TYPE_SIGNAL
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_DELETE"
+    = Prelude.Just BATCH_OPERATION_TYPE_DELETE
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_RESET"
+    = Prelude.Just BATCH_OPERATION_TYPE_RESET
+    | (Prelude.==) k "BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS"
+    = Prelude.Just BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded BatchOperationType where
+  minBound = BATCH_OPERATION_TYPE_UNSPECIFIED
+  maxBound = BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+instance Prelude.Enum BatchOperationType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum BatchOperationType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum BATCH_OPERATION_TYPE_UNSPECIFIED = 0
+  fromEnum BATCH_OPERATION_TYPE_TERMINATE = 1
+  fromEnum BATCH_OPERATION_TYPE_CANCEL = 2
+  fromEnum BATCH_OPERATION_TYPE_SIGNAL = 3
+  fromEnum BATCH_OPERATION_TYPE_DELETE = 4
+  fromEnum BATCH_OPERATION_TYPE_RESET = 5
+  fromEnum BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS = 6
+  fromEnum
+    (BatchOperationType'Unrecognized (BatchOperationType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+    = Prelude.error
+        "BatchOperationType.succ: bad argument BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS. This value would be out of bounds."
+  succ BATCH_OPERATION_TYPE_UNSPECIFIED
+    = BATCH_OPERATION_TYPE_TERMINATE
+  succ BATCH_OPERATION_TYPE_TERMINATE = BATCH_OPERATION_TYPE_CANCEL
+  succ BATCH_OPERATION_TYPE_CANCEL = BATCH_OPERATION_TYPE_SIGNAL
+  succ BATCH_OPERATION_TYPE_SIGNAL = BATCH_OPERATION_TYPE_DELETE
+  succ BATCH_OPERATION_TYPE_DELETE = BATCH_OPERATION_TYPE_RESET
+  succ BATCH_OPERATION_TYPE_RESET
+    = BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+  succ (BatchOperationType'Unrecognized _)
+    = Prelude.error
+        "BatchOperationType.succ: bad argument: unrecognized value"
+  pred BATCH_OPERATION_TYPE_UNSPECIFIED
+    = Prelude.error
+        "BatchOperationType.pred: bad argument BATCH_OPERATION_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred BATCH_OPERATION_TYPE_TERMINATE
+    = BATCH_OPERATION_TYPE_UNSPECIFIED
+  pred BATCH_OPERATION_TYPE_CANCEL = BATCH_OPERATION_TYPE_TERMINATE
+  pred BATCH_OPERATION_TYPE_SIGNAL = BATCH_OPERATION_TYPE_CANCEL
+  pred BATCH_OPERATION_TYPE_DELETE = BATCH_OPERATION_TYPE_SIGNAL
+  pred BATCH_OPERATION_TYPE_RESET = BATCH_OPERATION_TYPE_DELETE
+  pred BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS
+    = BATCH_OPERATION_TYPE_RESET
+  pred (BatchOperationType'Unrecognized _)
+    = Prelude.error
+        "BatchOperationType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault BatchOperationType where
+  fieldDefault = BATCH_OPERATION_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData BatchOperationType where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/BatchOperation_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/BatchOperation_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/BatchOperation_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/batch_operation.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.BatchOperation_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/CommandType.hs b/src/Proto/Temporal/Api/Enums/V1/CommandType.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/CommandType.hs
@@ -0,0 +1,284 @@
+{- This file was auto-generated from temporal/api/enums/v1/command_type.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.CommandType (
+        CommandType(..), CommandType(), CommandType'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype CommandType'UnrecognizedValue
+  = CommandType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data CommandType
+  = COMMAND_TYPE_UNSPECIFIED |
+    COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK |
+    COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK |
+    COMMAND_TYPE_START_TIMER |
+    COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_CANCEL_TIMER |
+    COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_RECORD_MARKER |
+    COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION |
+    COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES |
+    COMMAND_TYPE_PROTOCOL_MESSAGE |
+    COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES |
+    COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION |
+    COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION |
+    CommandType'Unrecognized !CommandType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum CommandType where
+  maybeToEnum 0 = Prelude.Just COMMAND_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
+  maybeToEnum 2
+    = Prelude.Just COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+  maybeToEnum 3 = Prelude.Just COMMAND_TYPE_START_TIMER
+  maybeToEnum 4
+    = Prelude.Just COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+  maybeToEnum 5 = Prelude.Just COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+  maybeToEnum 6 = Prelude.Just COMMAND_TYPE_CANCEL_TIMER
+  maybeToEnum 7 = Prelude.Just COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+  maybeToEnum 8
+    = Prelude.Just
+        COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+  maybeToEnum 9 = Prelude.Just COMMAND_TYPE_RECORD_MARKER
+  maybeToEnum 10
+    = Prelude.Just COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+  maybeToEnum 11
+    = Prelude.Just COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+  maybeToEnum 12
+    = Prelude.Just COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+  maybeToEnum 13
+    = Prelude.Just COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+  maybeToEnum 14 = Prelude.Just COMMAND_TYPE_PROTOCOL_MESSAGE
+  maybeToEnum 16
+    = Prelude.Just COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+  maybeToEnum 17 = Prelude.Just COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+  maybeToEnum 18
+    = Prelude.Just COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+  maybeToEnum k
+    = Prelude.Just
+        (CommandType'Unrecognized
+           (CommandType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum COMMAND_TYPE_UNSPECIFIED = "COMMAND_TYPE_UNSPECIFIED"
+  showEnum COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
+    = "COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK"
+  showEnum COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+    = "COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK"
+  showEnum COMMAND_TYPE_START_TIMER = "COMMAND_TYPE_START_TIMER"
+  showEnum COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_CANCEL_TIMER = "COMMAND_TYPE_CANCEL_TIMER"
+  showEnum COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_RECORD_MARKER = "COMMAND_TYPE_RECORD_MARKER"
+  showEnum COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+    = "COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION"
+  showEnum COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    = "COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES"
+  showEnum COMMAND_TYPE_PROTOCOL_MESSAGE
+    = "COMMAND_TYPE_PROTOCOL_MESSAGE"
+  showEnum COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+    = "COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES"
+  showEnum COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+    = "COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION"
+  showEnum COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+    = "COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION"
+  showEnum
+    (CommandType'Unrecognized (CommandType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "COMMAND_TYPE_UNSPECIFIED"
+    = Prelude.Just COMMAND_TYPE_UNSPECIFIED
+    | (Prelude.==) k "COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK"
+    = Prelude.Just COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
+    | (Prelude.==) k "COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK"
+    = Prelude.Just COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+    | (Prelude.==) k "COMMAND_TYPE_START_TIMER"
+    = Prelude.Just COMMAND_TYPE_START_TIMER
+    | (Prelude.==) k "COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION"
+    = Prelude.Just COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+    | (Prelude.==) k "COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION"
+    = Prelude.Just COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+    | (Prelude.==) k "COMMAND_TYPE_CANCEL_TIMER"
+    = Prelude.Just COMMAND_TYPE_CANCEL_TIMER
+    | (Prelude.==) k "COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION"
+    = Prelude.Just COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+    | (Prelude.==)
+        k "COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION"
+    = Prelude.Just
+        COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+    | (Prelude.==) k "COMMAND_TYPE_RECORD_MARKER"
+    = Prelude.Just COMMAND_TYPE_RECORD_MARKER
+    | (Prelude.==) k "COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION"
+    = Prelude.Just COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+    | (Prelude.==) k "COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION"
+    = Prelude.Just COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+    | (Prelude.==) k "COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION"
+    = Prelude.Just COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+    | (Prelude.==) k "COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES"
+    = Prelude.Just COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    | (Prelude.==) k "COMMAND_TYPE_PROTOCOL_MESSAGE"
+    = Prelude.Just COMMAND_TYPE_PROTOCOL_MESSAGE
+    | (Prelude.==) k "COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES"
+    = Prelude.Just COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+    | (Prelude.==) k "COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION"
+    = Prelude.Just COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+    | (Prelude.==) k "COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION"
+    = Prelude.Just COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded CommandType where
+  minBound = COMMAND_TYPE_UNSPECIFIED
+  maxBound = COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+instance Prelude.Enum CommandType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum CommandType: " (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum COMMAND_TYPE_UNSPECIFIED = 0
+  fromEnum COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = 1
+  fromEnum COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK = 2
+  fromEnum COMMAND_TYPE_START_TIMER = 3
+  fromEnum COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION = 4
+  fromEnum COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION = 5
+  fromEnum COMMAND_TYPE_CANCEL_TIMER = 6
+  fromEnum COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION = 7
+  fromEnum COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+    = 8
+  fromEnum COMMAND_TYPE_RECORD_MARKER = 9
+  fromEnum COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION = 10
+  fromEnum COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11
+  fromEnum COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12
+  fromEnum COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13
+  fromEnum COMMAND_TYPE_PROTOCOL_MESSAGE = 14
+  fromEnum COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16
+  fromEnum COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION = 17
+  fromEnum COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION = 18
+  fromEnum
+    (CommandType'Unrecognized (CommandType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+    = Prelude.error
+        "CommandType.succ: bad argument COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION. This value would be out of bounds."
+  succ COMMAND_TYPE_UNSPECIFIED = COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
+  succ COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
+    = COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+  succ COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+    = COMMAND_TYPE_START_TIMER
+  succ COMMAND_TYPE_START_TIMER
+    = COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_CANCEL_TIMER
+  succ COMMAND_TYPE_CANCEL_TIMER
+    = COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_RECORD_MARKER
+  succ COMMAND_TYPE_RECORD_MARKER
+    = COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+  succ COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+  succ COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    = COMMAND_TYPE_PROTOCOL_MESSAGE
+  succ COMMAND_TYPE_PROTOCOL_MESSAGE
+    = COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+  succ COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+    = COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+  succ COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+    = COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+  succ (CommandType'Unrecognized _)
+    = Prelude.error
+        "CommandType.succ: bad argument: unrecognized value"
+  pred COMMAND_TYPE_UNSPECIFIED
+    = Prelude.error
+        "CommandType.pred: bad argument COMMAND_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK = COMMAND_TYPE_UNSPECIFIED
+  pred COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+    = COMMAND_TYPE_SCHEDULE_ACTIVITY_TASK
+  pred COMMAND_TYPE_START_TIMER
+    = COMMAND_TYPE_REQUEST_CANCEL_ACTIVITY_TASK
+  pred COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_START_TIMER
+  pred COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_CANCEL_TIMER
+    = COMMAND_TYPE_FAIL_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_CANCEL_TIMER
+  pred COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_CANCEL_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_RECORD_MARKER
+    = COMMAND_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_RECORD_MARKER
+  pred COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_CONTINUE_AS_NEW_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+    = COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    = COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION
+  pred COMMAND_TYPE_PROTOCOL_MESSAGE
+    = COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+  pred COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+    = COMMAND_TYPE_PROTOCOL_MESSAGE
+  pred COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+    = COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES
+  pred COMMAND_TYPE_REQUEST_CANCEL_NEXUS_OPERATION
+    = COMMAND_TYPE_SCHEDULE_NEXUS_OPERATION
+  pred (CommandType'Unrecognized _)
+    = Prelude.error
+        "CommandType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault CommandType where
+  fieldDefault = COMMAND_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData CommandType where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/CommandType_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/CommandType_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/CommandType_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/command_type.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.CommandType_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Common.hs b/src/Proto/Temporal/Api/Enums/V1/Common.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Common.hs
@@ -0,0 +1,802 @@
+{- This file was auto-generated from temporal/api/enums/v1/common.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Common (
+        ApplicationErrorCategory(..), ApplicationErrorCategory(),
+        ApplicationErrorCategory'UnrecognizedValue, CallbackState(..),
+        CallbackState(), CallbackState'UnrecognizedValue, EncodingType(..),
+        EncodingType(), EncodingType'UnrecognizedValue,
+        IndexedValueType(..), IndexedValueType(),
+        IndexedValueType'UnrecognizedValue,
+        NexusOperationCancellationState(..),
+        NexusOperationCancellationState(),
+        NexusOperationCancellationState'UnrecognizedValue,
+        PendingNexusOperationState(..), PendingNexusOperationState(),
+        PendingNexusOperationState'UnrecognizedValue, Severity(..),
+        Severity(), Severity'UnrecognizedValue,
+        WorkflowRuleActionScope(..), WorkflowRuleActionScope(),
+        WorkflowRuleActionScope'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype ApplicationErrorCategory'UnrecognizedValue
+  = ApplicationErrorCategory'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ApplicationErrorCategory
+  = APPLICATION_ERROR_CATEGORY_UNSPECIFIED |
+    APPLICATION_ERROR_CATEGORY_BENIGN |
+    ApplicationErrorCategory'Unrecognized !ApplicationErrorCategory'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ApplicationErrorCategory where
+  maybeToEnum 0 = Prelude.Just APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just APPLICATION_ERROR_CATEGORY_BENIGN
+  maybeToEnum k
+    = Prelude.Just
+        (ApplicationErrorCategory'Unrecognized
+           (ApplicationErrorCategory'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+    = "APPLICATION_ERROR_CATEGORY_UNSPECIFIED"
+  showEnum APPLICATION_ERROR_CATEGORY_BENIGN
+    = "APPLICATION_ERROR_CATEGORY_BENIGN"
+  showEnum
+    (ApplicationErrorCategory'Unrecognized (ApplicationErrorCategory'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "APPLICATION_ERROR_CATEGORY_UNSPECIFIED"
+    = Prelude.Just APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+    | (Prelude.==) k "APPLICATION_ERROR_CATEGORY_BENIGN"
+    = Prelude.Just APPLICATION_ERROR_CATEGORY_BENIGN
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ApplicationErrorCategory where
+  minBound = APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+  maxBound = APPLICATION_ERROR_CATEGORY_BENIGN
+instance Prelude.Enum ApplicationErrorCategory where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ApplicationErrorCategory: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum APPLICATION_ERROR_CATEGORY_UNSPECIFIED = 0
+  fromEnum APPLICATION_ERROR_CATEGORY_BENIGN = 1
+  fromEnum
+    (ApplicationErrorCategory'Unrecognized (ApplicationErrorCategory'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ APPLICATION_ERROR_CATEGORY_BENIGN
+    = Prelude.error
+        "ApplicationErrorCategory.succ: bad argument APPLICATION_ERROR_CATEGORY_BENIGN. This value would be out of bounds."
+  succ APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+    = APPLICATION_ERROR_CATEGORY_BENIGN
+  succ (ApplicationErrorCategory'Unrecognized _)
+    = Prelude.error
+        "ApplicationErrorCategory.succ: bad argument: unrecognized value"
+  pred APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+    = Prelude.error
+        "ApplicationErrorCategory.pred: bad argument APPLICATION_ERROR_CATEGORY_UNSPECIFIED. This value would be out of bounds."
+  pred APPLICATION_ERROR_CATEGORY_BENIGN
+    = APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+  pred (ApplicationErrorCategory'Unrecognized _)
+    = Prelude.error
+        "ApplicationErrorCategory.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ApplicationErrorCategory where
+  fieldDefault = APPLICATION_ERROR_CATEGORY_UNSPECIFIED
+instance Control.DeepSeq.NFData ApplicationErrorCategory where
+  rnf x__ = Prelude.seq x__ ()
+newtype CallbackState'UnrecognizedValue
+  = CallbackState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data CallbackState
+  = CALLBACK_STATE_UNSPECIFIED |
+    CALLBACK_STATE_STANDBY |
+    CALLBACK_STATE_SCHEDULED |
+    CALLBACK_STATE_BACKING_OFF |
+    CALLBACK_STATE_FAILED |
+    CALLBACK_STATE_SUCCEEDED |
+    CALLBACK_STATE_BLOCKED |
+    CallbackState'Unrecognized !CallbackState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum CallbackState where
+  maybeToEnum 0 = Prelude.Just CALLBACK_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just CALLBACK_STATE_STANDBY
+  maybeToEnum 2 = Prelude.Just CALLBACK_STATE_SCHEDULED
+  maybeToEnum 3 = Prelude.Just CALLBACK_STATE_BACKING_OFF
+  maybeToEnum 4 = Prelude.Just CALLBACK_STATE_FAILED
+  maybeToEnum 5 = Prelude.Just CALLBACK_STATE_SUCCEEDED
+  maybeToEnum 6 = Prelude.Just CALLBACK_STATE_BLOCKED
+  maybeToEnum k
+    = Prelude.Just
+        (CallbackState'Unrecognized
+           (CallbackState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum CALLBACK_STATE_UNSPECIFIED = "CALLBACK_STATE_UNSPECIFIED"
+  showEnum CALLBACK_STATE_STANDBY = "CALLBACK_STATE_STANDBY"
+  showEnum CALLBACK_STATE_SCHEDULED = "CALLBACK_STATE_SCHEDULED"
+  showEnum CALLBACK_STATE_BACKING_OFF = "CALLBACK_STATE_BACKING_OFF"
+  showEnum CALLBACK_STATE_FAILED = "CALLBACK_STATE_FAILED"
+  showEnum CALLBACK_STATE_SUCCEEDED = "CALLBACK_STATE_SUCCEEDED"
+  showEnum CALLBACK_STATE_BLOCKED = "CALLBACK_STATE_BLOCKED"
+  showEnum
+    (CallbackState'Unrecognized (CallbackState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "CALLBACK_STATE_UNSPECIFIED"
+    = Prelude.Just CALLBACK_STATE_UNSPECIFIED
+    | (Prelude.==) k "CALLBACK_STATE_STANDBY"
+    = Prelude.Just CALLBACK_STATE_STANDBY
+    | (Prelude.==) k "CALLBACK_STATE_SCHEDULED"
+    = Prelude.Just CALLBACK_STATE_SCHEDULED
+    | (Prelude.==) k "CALLBACK_STATE_BACKING_OFF"
+    = Prelude.Just CALLBACK_STATE_BACKING_OFF
+    | (Prelude.==) k "CALLBACK_STATE_FAILED"
+    = Prelude.Just CALLBACK_STATE_FAILED
+    | (Prelude.==) k "CALLBACK_STATE_SUCCEEDED"
+    = Prelude.Just CALLBACK_STATE_SUCCEEDED
+    | (Prelude.==) k "CALLBACK_STATE_BLOCKED"
+    = Prelude.Just CALLBACK_STATE_BLOCKED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded CallbackState where
+  minBound = CALLBACK_STATE_UNSPECIFIED
+  maxBound = CALLBACK_STATE_BLOCKED
+instance Prelude.Enum CallbackState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum CallbackState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum CALLBACK_STATE_UNSPECIFIED = 0
+  fromEnum CALLBACK_STATE_STANDBY = 1
+  fromEnum CALLBACK_STATE_SCHEDULED = 2
+  fromEnum CALLBACK_STATE_BACKING_OFF = 3
+  fromEnum CALLBACK_STATE_FAILED = 4
+  fromEnum CALLBACK_STATE_SUCCEEDED = 5
+  fromEnum CALLBACK_STATE_BLOCKED = 6
+  fromEnum
+    (CallbackState'Unrecognized (CallbackState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ CALLBACK_STATE_BLOCKED
+    = Prelude.error
+        "CallbackState.succ: bad argument CALLBACK_STATE_BLOCKED. This value would be out of bounds."
+  succ CALLBACK_STATE_UNSPECIFIED = CALLBACK_STATE_STANDBY
+  succ CALLBACK_STATE_STANDBY = CALLBACK_STATE_SCHEDULED
+  succ CALLBACK_STATE_SCHEDULED = CALLBACK_STATE_BACKING_OFF
+  succ CALLBACK_STATE_BACKING_OFF = CALLBACK_STATE_FAILED
+  succ CALLBACK_STATE_FAILED = CALLBACK_STATE_SUCCEEDED
+  succ CALLBACK_STATE_SUCCEEDED = CALLBACK_STATE_BLOCKED
+  succ (CallbackState'Unrecognized _)
+    = Prelude.error
+        "CallbackState.succ: bad argument: unrecognized value"
+  pred CALLBACK_STATE_UNSPECIFIED
+    = Prelude.error
+        "CallbackState.pred: bad argument CALLBACK_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred CALLBACK_STATE_STANDBY = CALLBACK_STATE_UNSPECIFIED
+  pred CALLBACK_STATE_SCHEDULED = CALLBACK_STATE_STANDBY
+  pred CALLBACK_STATE_BACKING_OFF = CALLBACK_STATE_SCHEDULED
+  pred CALLBACK_STATE_FAILED = CALLBACK_STATE_BACKING_OFF
+  pred CALLBACK_STATE_SUCCEEDED = CALLBACK_STATE_FAILED
+  pred CALLBACK_STATE_BLOCKED = CALLBACK_STATE_SUCCEEDED
+  pred (CallbackState'Unrecognized _)
+    = Prelude.error
+        "CallbackState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault CallbackState where
+  fieldDefault = CALLBACK_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData CallbackState where
+  rnf x__ = Prelude.seq x__ ()
+newtype EncodingType'UnrecognizedValue
+  = EncodingType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data EncodingType
+  = ENCODING_TYPE_UNSPECIFIED |
+    ENCODING_TYPE_PROTO3 |
+    ENCODING_TYPE_JSON |
+    EncodingType'Unrecognized !EncodingType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum EncodingType where
+  maybeToEnum 0 = Prelude.Just ENCODING_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just ENCODING_TYPE_PROTO3
+  maybeToEnum 2 = Prelude.Just ENCODING_TYPE_JSON
+  maybeToEnum k
+    = Prelude.Just
+        (EncodingType'Unrecognized
+           (EncodingType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum ENCODING_TYPE_UNSPECIFIED = "ENCODING_TYPE_UNSPECIFIED"
+  showEnum ENCODING_TYPE_PROTO3 = "ENCODING_TYPE_PROTO3"
+  showEnum ENCODING_TYPE_JSON = "ENCODING_TYPE_JSON"
+  showEnum
+    (EncodingType'Unrecognized (EncodingType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "ENCODING_TYPE_UNSPECIFIED"
+    = Prelude.Just ENCODING_TYPE_UNSPECIFIED
+    | (Prelude.==) k "ENCODING_TYPE_PROTO3"
+    = Prelude.Just ENCODING_TYPE_PROTO3
+    | (Prelude.==) k "ENCODING_TYPE_JSON"
+    = Prelude.Just ENCODING_TYPE_JSON
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded EncodingType where
+  minBound = ENCODING_TYPE_UNSPECIFIED
+  maxBound = ENCODING_TYPE_JSON
+instance Prelude.Enum EncodingType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum EncodingType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum ENCODING_TYPE_UNSPECIFIED = 0
+  fromEnum ENCODING_TYPE_PROTO3 = 1
+  fromEnum ENCODING_TYPE_JSON = 2
+  fromEnum
+    (EncodingType'Unrecognized (EncodingType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ ENCODING_TYPE_JSON
+    = Prelude.error
+        "EncodingType.succ: bad argument ENCODING_TYPE_JSON. This value would be out of bounds."
+  succ ENCODING_TYPE_UNSPECIFIED = ENCODING_TYPE_PROTO3
+  succ ENCODING_TYPE_PROTO3 = ENCODING_TYPE_JSON
+  succ (EncodingType'Unrecognized _)
+    = Prelude.error
+        "EncodingType.succ: bad argument: unrecognized value"
+  pred ENCODING_TYPE_UNSPECIFIED
+    = Prelude.error
+        "EncodingType.pred: bad argument ENCODING_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred ENCODING_TYPE_PROTO3 = ENCODING_TYPE_UNSPECIFIED
+  pred ENCODING_TYPE_JSON = ENCODING_TYPE_PROTO3
+  pred (EncodingType'Unrecognized _)
+    = Prelude.error
+        "EncodingType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault EncodingType where
+  fieldDefault = ENCODING_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData EncodingType where
+  rnf x__ = Prelude.seq x__ ()
+newtype IndexedValueType'UnrecognizedValue
+  = IndexedValueType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data IndexedValueType
+  = INDEXED_VALUE_TYPE_UNSPECIFIED |
+    INDEXED_VALUE_TYPE_TEXT |
+    INDEXED_VALUE_TYPE_KEYWORD |
+    INDEXED_VALUE_TYPE_INT |
+    INDEXED_VALUE_TYPE_DOUBLE |
+    INDEXED_VALUE_TYPE_BOOL |
+    INDEXED_VALUE_TYPE_DATETIME |
+    INDEXED_VALUE_TYPE_KEYWORD_LIST |
+    IndexedValueType'Unrecognized !IndexedValueType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum IndexedValueType where
+  maybeToEnum 0 = Prelude.Just INDEXED_VALUE_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just INDEXED_VALUE_TYPE_TEXT
+  maybeToEnum 2 = Prelude.Just INDEXED_VALUE_TYPE_KEYWORD
+  maybeToEnum 3 = Prelude.Just INDEXED_VALUE_TYPE_INT
+  maybeToEnum 4 = Prelude.Just INDEXED_VALUE_TYPE_DOUBLE
+  maybeToEnum 5 = Prelude.Just INDEXED_VALUE_TYPE_BOOL
+  maybeToEnum 6 = Prelude.Just INDEXED_VALUE_TYPE_DATETIME
+  maybeToEnum 7 = Prelude.Just INDEXED_VALUE_TYPE_KEYWORD_LIST
+  maybeToEnum k
+    = Prelude.Just
+        (IndexedValueType'Unrecognized
+           (IndexedValueType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum INDEXED_VALUE_TYPE_UNSPECIFIED
+    = "INDEXED_VALUE_TYPE_UNSPECIFIED"
+  showEnum INDEXED_VALUE_TYPE_TEXT = "INDEXED_VALUE_TYPE_TEXT"
+  showEnum INDEXED_VALUE_TYPE_KEYWORD = "INDEXED_VALUE_TYPE_KEYWORD"
+  showEnum INDEXED_VALUE_TYPE_INT = "INDEXED_VALUE_TYPE_INT"
+  showEnum INDEXED_VALUE_TYPE_DOUBLE = "INDEXED_VALUE_TYPE_DOUBLE"
+  showEnum INDEXED_VALUE_TYPE_BOOL = "INDEXED_VALUE_TYPE_BOOL"
+  showEnum INDEXED_VALUE_TYPE_DATETIME
+    = "INDEXED_VALUE_TYPE_DATETIME"
+  showEnum INDEXED_VALUE_TYPE_KEYWORD_LIST
+    = "INDEXED_VALUE_TYPE_KEYWORD_LIST"
+  showEnum
+    (IndexedValueType'Unrecognized (IndexedValueType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_UNSPECIFIED"
+    = Prelude.Just INDEXED_VALUE_TYPE_UNSPECIFIED
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_TEXT"
+    = Prelude.Just INDEXED_VALUE_TYPE_TEXT
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_KEYWORD"
+    = Prelude.Just INDEXED_VALUE_TYPE_KEYWORD
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_INT"
+    = Prelude.Just INDEXED_VALUE_TYPE_INT
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_DOUBLE"
+    = Prelude.Just INDEXED_VALUE_TYPE_DOUBLE
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_BOOL"
+    = Prelude.Just INDEXED_VALUE_TYPE_BOOL
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_DATETIME"
+    = Prelude.Just INDEXED_VALUE_TYPE_DATETIME
+    | (Prelude.==) k "INDEXED_VALUE_TYPE_KEYWORD_LIST"
+    = Prelude.Just INDEXED_VALUE_TYPE_KEYWORD_LIST
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded IndexedValueType where
+  minBound = INDEXED_VALUE_TYPE_UNSPECIFIED
+  maxBound = INDEXED_VALUE_TYPE_KEYWORD_LIST
+instance Prelude.Enum IndexedValueType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum IndexedValueType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum INDEXED_VALUE_TYPE_UNSPECIFIED = 0
+  fromEnum INDEXED_VALUE_TYPE_TEXT = 1
+  fromEnum INDEXED_VALUE_TYPE_KEYWORD = 2
+  fromEnum INDEXED_VALUE_TYPE_INT = 3
+  fromEnum INDEXED_VALUE_TYPE_DOUBLE = 4
+  fromEnum INDEXED_VALUE_TYPE_BOOL = 5
+  fromEnum INDEXED_VALUE_TYPE_DATETIME = 6
+  fromEnum INDEXED_VALUE_TYPE_KEYWORD_LIST = 7
+  fromEnum
+    (IndexedValueType'Unrecognized (IndexedValueType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ INDEXED_VALUE_TYPE_KEYWORD_LIST
+    = Prelude.error
+        "IndexedValueType.succ: bad argument INDEXED_VALUE_TYPE_KEYWORD_LIST. This value would be out of bounds."
+  succ INDEXED_VALUE_TYPE_UNSPECIFIED = INDEXED_VALUE_TYPE_TEXT
+  succ INDEXED_VALUE_TYPE_TEXT = INDEXED_VALUE_TYPE_KEYWORD
+  succ INDEXED_VALUE_TYPE_KEYWORD = INDEXED_VALUE_TYPE_INT
+  succ INDEXED_VALUE_TYPE_INT = INDEXED_VALUE_TYPE_DOUBLE
+  succ INDEXED_VALUE_TYPE_DOUBLE = INDEXED_VALUE_TYPE_BOOL
+  succ INDEXED_VALUE_TYPE_BOOL = INDEXED_VALUE_TYPE_DATETIME
+  succ INDEXED_VALUE_TYPE_DATETIME = INDEXED_VALUE_TYPE_KEYWORD_LIST
+  succ (IndexedValueType'Unrecognized _)
+    = Prelude.error
+        "IndexedValueType.succ: bad argument: unrecognized value"
+  pred INDEXED_VALUE_TYPE_UNSPECIFIED
+    = Prelude.error
+        "IndexedValueType.pred: bad argument INDEXED_VALUE_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred INDEXED_VALUE_TYPE_TEXT = INDEXED_VALUE_TYPE_UNSPECIFIED
+  pred INDEXED_VALUE_TYPE_KEYWORD = INDEXED_VALUE_TYPE_TEXT
+  pred INDEXED_VALUE_TYPE_INT = INDEXED_VALUE_TYPE_KEYWORD
+  pred INDEXED_VALUE_TYPE_DOUBLE = INDEXED_VALUE_TYPE_INT
+  pred INDEXED_VALUE_TYPE_BOOL = INDEXED_VALUE_TYPE_DOUBLE
+  pred INDEXED_VALUE_TYPE_DATETIME = INDEXED_VALUE_TYPE_BOOL
+  pred INDEXED_VALUE_TYPE_KEYWORD_LIST = INDEXED_VALUE_TYPE_DATETIME
+  pred (IndexedValueType'Unrecognized _)
+    = Prelude.error
+        "IndexedValueType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault IndexedValueType where
+  fieldDefault = INDEXED_VALUE_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData IndexedValueType where
+  rnf x__ = Prelude.seq x__ ()
+newtype NexusOperationCancellationState'UnrecognizedValue
+  = NexusOperationCancellationState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data NexusOperationCancellationState
+  = NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED |
+    NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED |
+    NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF |
+    NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED |
+    NEXUS_OPERATION_CANCELLATION_STATE_FAILED |
+    NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT |
+    NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED |
+    NexusOperationCancellationState'Unrecognized !NexusOperationCancellationState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum NexusOperationCancellationState where
+  maybeToEnum 0
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+  maybeToEnum 2
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+  maybeToEnum 3
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+  maybeToEnum 4
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+  maybeToEnum 5
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+  maybeToEnum 6
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+  maybeToEnum k
+    = Prelude.Just
+        (NexusOperationCancellationState'Unrecognized
+           (NexusOperationCancellationState'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+    = "NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED"
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+    = "NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED"
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+    = "NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF"
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+    = "NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED"
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+    = "NEXUS_OPERATION_CANCELLATION_STATE_FAILED"
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+    = "NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT"
+  showEnum NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+    = "NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED"
+  showEnum
+    (NexusOperationCancellationState'Unrecognized (NexusOperationCancellationState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_FAILED"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+    | (Prelude.==) k "NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED"
+    = Prelude.Just NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded NexusOperationCancellationState where
+  minBound = NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+  maxBound = NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+instance Prelude.Enum NexusOperationCancellationState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum NexusOperationCancellationState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED = 0
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED = 1
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF = 2
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED = 3
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_FAILED = 4
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT = 5
+  fromEnum NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED = 6
+  fromEnum
+    (NexusOperationCancellationState'Unrecognized (NexusOperationCancellationState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+    = Prelude.error
+        "NexusOperationCancellationState.succ: bad argument NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED. This value would be out of bounds."
+  succ NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+    = NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+  succ NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+    = NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+  succ NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+    = NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+  succ NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+    = NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+  succ NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+    = NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+  succ NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+    = NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+  succ (NexusOperationCancellationState'Unrecognized _)
+    = Prelude.error
+        "NexusOperationCancellationState.succ: bad argument: unrecognized value"
+  pred NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+    = Prelude.error
+        "NexusOperationCancellationState.pred: bad argument NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+    = NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+  pred NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+    = NEXUS_OPERATION_CANCELLATION_STATE_SCHEDULED
+  pred NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+    = NEXUS_OPERATION_CANCELLATION_STATE_BACKING_OFF
+  pred NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+    = NEXUS_OPERATION_CANCELLATION_STATE_SUCCEEDED
+  pred NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+    = NEXUS_OPERATION_CANCELLATION_STATE_FAILED
+  pred NEXUS_OPERATION_CANCELLATION_STATE_BLOCKED
+    = NEXUS_OPERATION_CANCELLATION_STATE_TIMED_OUT
+  pred (NexusOperationCancellationState'Unrecognized _)
+    = Prelude.error
+        "NexusOperationCancellationState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault NexusOperationCancellationState where
+  fieldDefault = NEXUS_OPERATION_CANCELLATION_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData NexusOperationCancellationState where
+  rnf x__ = Prelude.seq x__ ()
+newtype PendingNexusOperationState'UnrecognizedValue
+  = PendingNexusOperationState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data PendingNexusOperationState
+  = PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED |
+    PENDING_NEXUS_OPERATION_STATE_SCHEDULED |
+    PENDING_NEXUS_OPERATION_STATE_BACKING_OFF |
+    PENDING_NEXUS_OPERATION_STATE_STARTED |
+    PENDING_NEXUS_OPERATION_STATE_BLOCKED |
+    PendingNexusOperationState'Unrecognized !PendingNexusOperationState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum PendingNexusOperationState where
+  maybeToEnum 0
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+  maybeToEnum 2
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+  maybeToEnum 3 = Prelude.Just PENDING_NEXUS_OPERATION_STATE_STARTED
+  maybeToEnum 4 = Prelude.Just PENDING_NEXUS_OPERATION_STATE_BLOCKED
+  maybeToEnum k
+    = Prelude.Just
+        (PendingNexusOperationState'Unrecognized
+           (PendingNexusOperationState'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+    = "PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED"
+  showEnum PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+    = "PENDING_NEXUS_OPERATION_STATE_SCHEDULED"
+  showEnum PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+    = "PENDING_NEXUS_OPERATION_STATE_BACKING_OFF"
+  showEnum PENDING_NEXUS_OPERATION_STATE_STARTED
+    = "PENDING_NEXUS_OPERATION_STATE_STARTED"
+  showEnum PENDING_NEXUS_OPERATION_STATE_BLOCKED
+    = "PENDING_NEXUS_OPERATION_STATE_BLOCKED"
+  showEnum
+    (PendingNexusOperationState'Unrecognized (PendingNexusOperationState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED"
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+    | (Prelude.==) k "PENDING_NEXUS_OPERATION_STATE_SCHEDULED"
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+    | (Prelude.==) k "PENDING_NEXUS_OPERATION_STATE_BACKING_OFF"
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+    | (Prelude.==) k "PENDING_NEXUS_OPERATION_STATE_STARTED"
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_STARTED
+    | (Prelude.==) k "PENDING_NEXUS_OPERATION_STATE_BLOCKED"
+    = Prelude.Just PENDING_NEXUS_OPERATION_STATE_BLOCKED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded PendingNexusOperationState where
+  minBound = PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+  maxBound = PENDING_NEXUS_OPERATION_STATE_BLOCKED
+instance Prelude.Enum PendingNexusOperationState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum PendingNexusOperationState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED = 0
+  fromEnum PENDING_NEXUS_OPERATION_STATE_SCHEDULED = 1
+  fromEnum PENDING_NEXUS_OPERATION_STATE_BACKING_OFF = 2
+  fromEnum PENDING_NEXUS_OPERATION_STATE_STARTED = 3
+  fromEnum PENDING_NEXUS_OPERATION_STATE_BLOCKED = 4
+  fromEnum
+    (PendingNexusOperationState'Unrecognized (PendingNexusOperationState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ PENDING_NEXUS_OPERATION_STATE_BLOCKED
+    = Prelude.error
+        "PendingNexusOperationState.succ: bad argument PENDING_NEXUS_OPERATION_STATE_BLOCKED. This value would be out of bounds."
+  succ PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+    = PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+  succ PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+    = PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+  succ PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+    = PENDING_NEXUS_OPERATION_STATE_STARTED
+  succ PENDING_NEXUS_OPERATION_STATE_STARTED
+    = PENDING_NEXUS_OPERATION_STATE_BLOCKED
+  succ (PendingNexusOperationState'Unrecognized _)
+    = Prelude.error
+        "PendingNexusOperationState.succ: bad argument: unrecognized value"
+  pred PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+    = Prelude.error
+        "PendingNexusOperationState.pred: bad argument PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+    = PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+  pred PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+    = PENDING_NEXUS_OPERATION_STATE_SCHEDULED
+  pred PENDING_NEXUS_OPERATION_STATE_STARTED
+    = PENDING_NEXUS_OPERATION_STATE_BACKING_OFF
+  pred PENDING_NEXUS_OPERATION_STATE_BLOCKED
+    = PENDING_NEXUS_OPERATION_STATE_STARTED
+  pred (PendingNexusOperationState'Unrecognized _)
+    = Prelude.error
+        "PendingNexusOperationState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault PendingNexusOperationState where
+  fieldDefault = PENDING_NEXUS_OPERATION_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData PendingNexusOperationState where
+  rnf x__ = Prelude.seq x__ ()
+newtype Severity'UnrecognizedValue
+  = Severity'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data Severity
+  = SEVERITY_UNSPECIFIED |
+    SEVERITY_HIGH |
+    SEVERITY_MEDIUM |
+    SEVERITY_LOW |
+    Severity'Unrecognized !Severity'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum Severity where
+  maybeToEnum 0 = Prelude.Just SEVERITY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just SEVERITY_HIGH
+  maybeToEnum 2 = Prelude.Just SEVERITY_MEDIUM
+  maybeToEnum 3 = Prelude.Just SEVERITY_LOW
+  maybeToEnum k
+    = Prelude.Just
+        (Severity'Unrecognized
+           (Severity'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum SEVERITY_UNSPECIFIED = "SEVERITY_UNSPECIFIED"
+  showEnum SEVERITY_HIGH = "SEVERITY_HIGH"
+  showEnum SEVERITY_MEDIUM = "SEVERITY_MEDIUM"
+  showEnum SEVERITY_LOW = "SEVERITY_LOW"
+  showEnum (Severity'Unrecognized (Severity'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "SEVERITY_UNSPECIFIED"
+    = Prelude.Just SEVERITY_UNSPECIFIED
+    | (Prelude.==) k "SEVERITY_HIGH" = Prelude.Just SEVERITY_HIGH
+    | (Prelude.==) k "SEVERITY_MEDIUM" = Prelude.Just SEVERITY_MEDIUM
+    | (Prelude.==) k "SEVERITY_LOW" = Prelude.Just SEVERITY_LOW
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded Severity where
+  minBound = SEVERITY_UNSPECIFIED
+  maxBound = SEVERITY_LOW
+instance Prelude.Enum Severity where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum Severity: " (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum SEVERITY_UNSPECIFIED = 0
+  fromEnum SEVERITY_HIGH = 1
+  fromEnum SEVERITY_MEDIUM = 2
+  fromEnum SEVERITY_LOW = 3
+  fromEnum (Severity'Unrecognized (Severity'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ SEVERITY_LOW
+    = Prelude.error
+        "Severity.succ: bad argument SEVERITY_LOW. This value would be out of bounds."
+  succ SEVERITY_UNSPECIFIED = SEVERITY_HIGH
+  succ SEVERITY_HIGH = SEVERITY_MEDIUM
+  succ SEVERITY_MEDIUM = SEVERITY_LOW
+  succ (Severity'Unrecognized _)
+    = Prelude.error "Severity.succ: bad argument: unrecognized value"
+  pred SEVERITY_UNSPECIFIED
+    = Prelude.error
+        "Severity.pred: bad argument SEVERITY_UNSPECIFIED. This value would be out of bounds."
+  pred SEVERITY_HIGH = SEVERITY_UNSPECIFIED
+  pred SEVERITY_MEDIUM = SEVERITY_HIGH
+  pred SEVERITY_LOW = SEVERITY_MEDIUM
+  pred (Severity'Unrecognized _)
+    = Prelude.error "Severity.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault Severity where
+  fieldDefault = SEVERITY_UNSPECIFIED
+instance Control.DeepSeq.NFData Severity where
+  rnf x__ = Prelude.seq x__ ()
+newtype WorkflowRuleActionScope'UnrecognizedValue
+  = WorkflowRuleActionScope'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data WorkflowRuleActionScope
+  = WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED |
+    WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW |
+    WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY |
+    WorkflowRuleActionScope'Unrecognized !WorkflowRuleActionScope'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum WorkflowRuleActionScope where
+  maybeToEnum 0 = Prelude.Just WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+  maybeToEnum 2 = Prelude.Just WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+  maybeToEnum k
+    = Prelude.Just
+        (WorkflowRuleActionScope'Unrecognized
+           (WorkflowRuleActionScope'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+    = "WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED"
+  showEnum WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+    = "WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW"
+  showEnum WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+    = "WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY"
+  showEnum
+    (WorkflowRuleActionScope'Unrecognized (WorkflowRuleActionScope'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED"
+    = Prelude.Just WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+    | (Prelude.==) k "WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW"
+    = Prelude.Just WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+    | (Prelude.==) k "WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY"
+    = Prelude.Just WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded WorkflowRuleActionScope where
+  minBound = WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+  maxBound = WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+instance Prelude.Enum WorkflowRuleActionScope where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum WorkflowRuleActionScope: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED = 0
+  fromEnum WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW = 1
+  fromEnum WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY = 2
+  fromEnum
+    (WorkflowRuleActionScope'Unrecognized (WorkflowRuleActionScope'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+    = Prelude.error
+        "WorkflowRuleActionScope.succ: bad argument WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY. This value would be out of bounds."
+  succ WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+    = WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+  succ WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+    = WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+  succ (WorkflowRuleActionScope'Unrecognized _)
+    = Prelude.error
+        "WorkflowRuleActionScope.succ: bad argument: unrecognized value"
+  pred WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+    = Prelude.error
+        "WorkflowRuleActionScope.pred: bad argument WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED. This value would be out of bounds."
+  pred WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+    = WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+  pred WORKFLOW_RULE_ACTION_SCOPE_ACTIVITY
+    = WORKFLOW_RULE_ACTION_SCOPE_WORKFLOW
+  pred (WorkflowRuleActionScope'Unrecognized _)
+    = Prelude.error
+        "WorkflowRuleActionScope.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault WorkflowRuleActionScope where
+  fieldDefault = WORKFLOW_RULE_ACTION_SCOPE_UNSPECIFIED
+instance Control.DeepSeq.NFData WorkflowRuleActionScope where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Common_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Common_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Common_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/common.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Common_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Deployment.hs b/src/Proto/Temporal/Api/Enums/V1/Deployment.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Deployment.hs
@@ -0,0 +1,290 @@
+{- This file was auto-generated from temporal/api/enums/v1/deployment.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Deployment (
+        DeploymentReachability(..), DeploymentReachability(),
+        DeploymentReachability'UnrecognizedValue,
+        VersionDrainageStatus(..), VersionDrainageStatus(),
+        VersionDrainageStatus'UnrecognizedValue, WorkerVersioningMode(..),
+        WorkerVersioningMode(), WorkerVersioningMode'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype DeploymentReachability'UnrecognizedValue
+  = DeploymentReachability'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data DeploymentReachability
+  = DEPLOYMENT_REACHABILITY_UNSPECIFIED |
+    DEPLOYMENT_REACHABILITY_REACHABLE |
+    DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY |
+    DEPLOYMENT_REACHABILITY_UNREACHABLE |
+    DeploymentReachability'Unrecognized !DeploymentReachability'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum DeploymentReachability where
+  maybeToEnum 0 = Prelude.Just DEPLOYMENT_REACHABILITY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just DEPLOYMENT_REACHABILITY_REACHABLE
+  maybeToEnum 2
+    = Prelude.Just DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+  maybeToEnum 3 = Prelude.Just DEPLOYMENT_REACHABILITY_UNREACHABLE
+  maybeToEnum k
+    = Prelude.Just
+        (DeploymentReachability'Unrecognized
+           (DeploymentReachability'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum DEPLOYMENT_REACHABILITY_UNSPECIFIED
+    = "DEPLOYMENT_REACHABILITY_UNSPECIFIED"
+  showEnum DEPLOYMENT_REACHABILITY_REACHABLE
+    = "DEPLOYMENT_REACHABILITY_REACHABLE"
+  showEnum DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    = "DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY"
+  showEnum DEPLOYMENT_REACHABILITY_UNREACHABLE
+    = "DEPLOYMENT_REACHABILITY_UNREACHABLE"
+  showEnum
+    (DeploymentReachability'Unrecognized (DeploymentReachability'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "DEPLOYMENT_REACHABILITY_UNSPECIFIED"
+    = Prelude.Just DEPLOYMENT_REACHABILITY_UNSPECIFIED
+    | (Prelude.==) k "DEPLOYMENT_REACHABILITY_REACHABLE"
+    = Prelude.Just DEPLOYMENT_REACHABILITY_REACHABLE
+    | (Prelude.==) k "DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY"
+    = Prelude.Just DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    | (Prelude.==) k "DEPLOYMENT_REACHABILITY_UNREACHABLE"
+    = Prelude.Just DEPLOYMENT_REACHABILITY_UNREACHABLE
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded DeploymentReachability where
+  minBound = DEPLOYMENT_REACHABILITY_UNSPECIFIED
+  maxBound = DEPLOYMENT_REACHABILITY_UNREACHABLE
+instance Prelude.Enum DeploymentReachability where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum DeploymentReachability: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum DEPLOYMENT_REACHABILITY_UNSPECIFIED = 0
+  fromEnum DEPLOYMENT_REACHABILITY_REACHABLE = 1
+  fromEnum DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2
+  fromEnum DEPLOYMENT_REACHABILITY_UNREACHABLE = 3
+  fromEnum
+    (DeploymentReachability'Unrecognized (DeploymentReachability'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ DEPLOYMENT_REACHABILITY_UNREACHABLE
+    = Prelude.error
+        "DeploymentReachability.succ: bad argument DEPLOYMENT_REACHABILITY_UNREACHABLE. This value would be out of bounds."
+  succ DEPLOYMENT_REACHABILITY_UNSPECIFIED
+    = DEPLOYMENT_REACHABILITY_REACHABLE
+  succ DEPLOYMENT_REACHABILITY_REACHABLE
+    = DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+  succ DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    = DEPLOYMENT_REACHABILITY_UNREACHABLE
+  succ (DeploymentReachability'Unrecognized _)
+    = Prelude.error
+        "DeploymentReachability.succ: bad argument: unrecognized value"
+  pred DEPLOYMENT_REACHABILITY_UNSPECIFIED
+    = Prelude.error
+        "DeploymentReachability.pred: bad argument DEPLOYMENT_REACHABILITY_UNSPECIFIED. This value would be out of bounds."
+  pred DEPLOYMENT_REACHABILITY_REACHABLE
+    = DEPLOYMENT_REACHABILITY_UNSPECIFIED
+  pred DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    = DEPLOYMENT_REACHABILITY_REACHABLE
+  pred DEPLOYMENT_REACHABILITY_UNREACHABLE
+    = DEPLOYMENT_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+  pred (DeploymentReachability'Unrecognized _)
+    = Prelude.error
+        "DeploymentReachability.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault DeploymentReachability where
+  fieldDefault = DEPLOYMENT_REACHABILITY_UNSPECIFIED
+instance Control.DeepSeq.NFData DeploymentReachability where
+  rnf x__ = Prelude.seq x__ ()
+newtype VersionDrainageStatus'UnrecognizedValue
+  = VersionDrainageStatus'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data VersionDrainageStatus
+  = VERSION_DRAINAGE_STATUS_UNSPECIFIED |
+    VERSION_DRAINAGE_STATUS_DRAINING |
+    VERSION_DRAINAGE_STATUS_DRAINED |
+    VersionDrainageStatus'Unrecognized !VersionDrainageStatus'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum VersionDrainageStatus where
+  maybeToEnum 0 = Prelude.Just VERSION_DRAINAGE_STATUS_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just VERSION_DRAINAGE_STATUS_DRAINING
+  maybeToEnum 2 = Prelude.Just VERSION_DRAINAGE_STATUS_DRAINED
+  maybeToEnum k
+    = Prelude.Just
+        (VersionDrainageStatus'Unrecognized
+           (VersionDrainageStatus'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum VERSION_DRAINAGE_STATUS_UNSPECIFIED
+    = "VERSION_DRAINAGE_STATUS_UNSPECIFIED"
+  showEnum VERSION_DRAINAGE_STATUS_DRAINING
+    = "VERSION_DRAINAGE_STATUS_DRAINING"
+  showEnum VERSION_DRAINAGE_STATUS_DRAINED
+    = "VERSION_DRAINAGE_STATUS_DRAINED"
+  showEnum
+    (VersionDrainageStatus'Unrecognized (VersionDrainageStatus'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "VERSION_DRAINAGE_STATUS_UNSPECIFIED"
+    = Prelude.Just VERSION_DRAINAGE_STATUS_UNSPECIFIED
+    | (Prelude.==) k "VERSION_DRAINAGE_STATUS_DRAINING"
+    = Prelude.Just VERSION_DRAINAGE_STATUS_DRAINING
+    | (Prelude.==) k "VERSION_DRAINAGE_STATUS_DRAINED"
+    = Prelude.Just VERSION_DRAINAGE_STATUS_DRAINED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded VersionDrainageStatus where
+  minBound = VERSION_DRAINAGE_STATUS_UNSPECIFIED
+  maxBound = VERSION_DRAINAGE_STATUS_DRAINED
+instance Prelude.Enum VersionDrainageStatus where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum VersionDrainageStatus: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum VERSION_DRAINAGE_STATUS_UNSPECIFIED = 0
+  fromEnum VERSION_DRAINAGE_STATUS_DRAINING = 1
+  fromEnum VERSION_DRAINAGE_STATUS_DRAINED = 2
+  fromEnum
+    (VersionDrainageStatus'Unrecognized (VersionDrainageStatus'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ VERSION_DRAINAGE_STATUS_DRAINED
+    = Prelude.error
+        "VersionDrainageStatus.succ: bad argument VERSION_DRAINAGE_STATUS_DRAINED. This value would be out of bounds."
+  succ VERSION_DRAINAGE_STATUS_UNSPECIFIED
+    = VERSION_DRAINAGE_STATUS_DRAINING
+  succ VERSION_DRAINAGE_STATUS_DRAINING
+    = VERSION_DRAINAGE_STATUS_DRAINED
+  succ (VersionDrainageStatus'Unrecognized _)
+    = Prelude.error
+        "VersionDrainageStatus.succ: bad argument: unrecognized value"
+  pred VERSION_DRAINAGE_STATUS_UNSPECIFIED
+    = Prelude.error
+        "VersionDrainageStatus.pred: bad argument VERSION_DRAINAGE_STATUS_UNSPECIFIED. This value would be out of bounds."
+  pred VERSION_DRAINAGE_STATUS_DRAINING
+    = VERSION_DRAINAGE_STATUS_UNSPECIFIED
+  pred VERSION_DRAINAGE_STATUS_DRAINED
+    = VERSION_DRAINAGE_STATUS_DRAINING
+  pred (VersionDrainageStatus'Unrecognized _)
+    = Prelude.error
+        "VersionDrainageStatus.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault VersionDrainageStatus where
+  fieldDefault = VERSION_DRAINAGE_STATUS_UNSPECIFIED
+instance Control.DeepSeq.NFData VersionDrainageStatus where
+  rnf x__ = Prelude.seq x__ ()
+newtype WorkerVersioningMode'UnrecognizedValue
+  = WorkerVersioningMode'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data WorkerVersioningMode
+  = WORKER_VERSIONING_MODE_UNSPECIFIED |
+    WORKER_VERSIONING_MODE_UNVERSIONED |
+    WORKER_VERSIONING_MODE_VERSIONED |
+    WorkerVersioningMode'Unrecognized !WorkerVersioningMode'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum WorkerVersioningMode where
+  maybeToEnum 0 = Prelude.Just WORKER_VERSIONING_MODE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just WORKER_VERSIONING_MODE_UNVERSIONED
+  maybeToEnum 2 = Prelude.Just WORKER_VERSIONING_MODE_VERSIONED
+  maybeToEnum k
+    = Prelude.Just
+        (WorkerVersioningMode'Unrecognized
+           (WorkerVersioningMode'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum WORKER_VERSIONING_MODE_UNSPECIFIED
+    = "WORKER_VERSIONING_MODE_UNSPECIFIED"
+  showEnum WORKER_VERSIONING_MODE_UNVERSIONED
+    = "WORKER_VERSIONING_MODE_UNVERSIONED"
+  showEnum WORKER_VERSIONING_MODE_VERSIONED
+    = "WORKER_VERSIONING_MODE_VERSIONED"
+  showEnum
+    (WorkerVersioningMode'Unrecognized (WorkerVersioningMode'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "WORKER_VERSIONING_MODE_UNSPECIFIED"
+    = Prelude.Just WORKER_VERSIONING_MODE_UNSPECIFIED
+    | (Prelude.==) k "WORKER_VERSIONING_MODE_UNVERSIONED"
+    = Prelude.Just WORKER_VERSIONING_MODE_UNVERSIONED
+    | (Prelude.==) k "WORKER_VERSIONING_MODE_VERSIONED"
+    = Prelude.Just WORKER_VERSIONING_MODE_VERSIONED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded WorkerVersioningMode where
+  minBound = WORKER_VERSIONING_MODE_UNSPECIFIED
+  maxBound = WORKER_VERSIONING_MODE_VERSIONED
+instance Prelude.Enum WorkerVersioningMode where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum WorkerVersioningMode: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum WORKER_VERSIONING_MODE_UNSPECIFIED = 0
+  fromEnum WORKER_VERSIONING_MODE_UNVERSIONED = 1
+  fromEnum WORKER_VERSIONING_MODE_VERSIONED = 2
+  fromEnum
+    (WorkerVersioningMode'Unrecognized (WorkerVersioningMode'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKER_VERSIONING_MODE_VERSIONED
+    = Prelude.error
+        "WorkerVersioningMode.succ: bad argument WORKER_VERSIONING_MODE_VERSIONED. This value would be out of bounds."
+  succ WORKER_VERSIONING_MODE_UNSPECIFIED
+    = WORKER_VERSIONING_MODE_UNVERSIONED
+  succ WORKER_VERSIONING_MODE_UNVERSIONED
+    = WORKER_VERSIONING_MODE_VERSIONED
+  succ (WorkerVersioningMode'Unrecognized _)
+    = Prelude.error
+        "WorkerVersioningMode.succ: bad argument: unrecognized value"
+  pred WORKER_VERSIONING_MODE_UNSPECIFIED
+    = Prelude.error
+        "WorkerVersioningMode.pred: bad argument WORKER_VERSIONING_MODE_UNSPECIFIED. This value would be out of bounds."
+  pred WORKER_VERSIONING_MODE_UNVERSIONED
+    = WORKER_VERSIONING_MODE_UNSPECIFIED
+  pred WORKER_VERSIONING_MODE_VERSIONED
+    = WORKER_VERSIONING_MODE_UNVERSIONED
+  pred (WorkerVersioningMode'Unrecognized _)
+    = Prelude.error
+        "WorkerVersioningMode.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault WorkerVersioningMode where
+  fieldDefault = WORKER_VERSIONING_MODE_UNSPECIFIED
+instance Control.DeepSeq.NFData WorkerVersioningMode where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Deployment_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Deployment_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Deployment_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/deployment.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Deployment_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/EventType.hs b/src/Proto/Temporal/Api/Enums/V1/EventType.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/EventType.hs
@@ -0,0 +1,761 @@
+{- This file was auto-generated from temporal/api/enums/v1/event_type.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.EventType (
+        EventType(..), EventType(), EventType'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype EventType'UnrecognizedValue
+  = EventType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data EventType
+  = EVENT_TYPE_UNSPECIFIED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_STARTED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_FAILED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT |
+    EVENT_TYPE_WORKFLOW_TASK_SCHEDULED |
+    EVENT_TYPE_WORKFLOW_TASK_STARTED |
+    EVENT_TYPE_WORKFLOW_TASK_COMPLETED |
+    EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT |
+    EVENT_TYPE_WORKFLOW_TASK_FAILED |
+    EVENT_TYPE_ACTIVITY_TASK_SCHEDULED |
+    EVENT_TYPE_ACTIVITY_TASK_STARTED |
+    EVENT_TYPE_ACTIVITY_TASK_COMPLETED |
+    EVENT_TYPE_ACTIVITY_TASK_FAILED |
+    EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT |
+    EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED |
+    EVENT_TYPE_ACTIVITY_TASK_CANCELED |
+    EVENT_TYPE_TIMER_STARTED |
+    EVENT_TYPE_TIMER_FIRED |
+    EVENT_TYPE_TIMER_CANCELED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED |
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED |
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED |
+    EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED |
+    EVENT_TYPE_MARKER_RECORDED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW |
+    EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED |
+    EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED |
+    EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED |
+    EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED |
+    EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED |
+    EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED |
+    EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT |
+    EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED |
+    EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED |
+    EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED |
+    EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED |
+    EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES |
+    EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED |
+    EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY |
+    EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY |
+    EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED |
+    EVENT_TYPE_NEXUS_OPERATION_SCHEDULED |
+    EVENT_TYPE_NEXUS_OPERATION_STARTED |
+    EVENT_TYPE_NEXUS_OPERATION_COMPLETED |
+    EVENT_TYPE_NEXUS_OPERATION_FAILED |
+    EVENT_TYPE_NEXUS_OPERATION_CANCELED |
+    EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT |
+    EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED |
+    EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED |
+    EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED |
+    EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED |
+    EventType'Unrecognized !EventType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum EventType where
+  maybeToEnum 0 = Prelude.Just EVENT_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
+  maybeToEnum 2
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+  maybeToEnum 3 = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+  maybeToEnum 4
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+  maybeToEnum 5 = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+  maybeToEnum 6 = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_STARTED
+  maybeToEnum 7 = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+  maybeToEnum 8 = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+  maybeToEnum 9 = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_FAILED
+  maybeToEnum 10 = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+  maybeToEnum 11 = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_STARTED
+  maybeToEnum 12 = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+  maybeToEnum 13 = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_FAILED
+  maybeToEnum 14 = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+  maybeToEnum 15
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+  maybeToEnum 16 = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_CANCELED
+  maybeToEnum 17 = Prelude.Just EVENT_TYPE_TIMER_STARTED
+  maybeToEnum 18 = Prelude.Just EVENT_TYPE_TIMER_FIRED
+  maybeToEnum 19 = Prelude.Just EVENT_TYPE_TIMER_CANCELED
+  maybeToEnum 20
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+  maybeToEnum 21
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+  maybeToEnum 22
+    = Prelude.Just
+        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+  maybeToEnum 23
+    = Prelude.Just
+        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+  maybeToEnum 24
+    = Prelude.Just
+        EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+  maybeToEnum 25 = Prelude.Just EVENT_TYPE_MARKER_RECORDED
+  maybeToEnum 26
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+  maybeToEnum 27
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+  maybeToEnum 28
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+  maybeToEnum 29
+    = Prelude.Just EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+  maybeToEnum 30
+    = Prelude.Just EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+  maybeToEnum 31
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+  maybeToEnum 32
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+  maybeToEnum 33
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+  maybeToEnum 34
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+  maybeToEnum 35
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+  maybeToEnum 36
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+  maybeToEnum 37
+    = Prelude.Just
+        EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+  maybeToEnum 38
+    = Prelude.Just EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+  maybeToEnum 39
+    = Prelude.Just EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+  maybeToEnum 40
+    = Prelude.Just EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+  maybeToEnum 41
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+  maybeToEnum 42
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+  maybeToEnum 43
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+  maybeToEnum 44
+    = Prelude.Just EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+  maybeToEnum 45
+    = Prelude.Just EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+  maybeToEnum 46
+    = Prelude.Just EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+  maybeToEnum 47
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+  maybeToEnum 48 = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+  maybeToEnum 49 = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_STARTED
+  maybeToEnum 50 = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+  maybeToEnum 51 = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_FAILED
+  maybeToEnum 52 = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCELED
+  maybeToEnum 53 = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+  maybeToEnum 54
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+  maybeToEnum 55
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+  maybeToEnum 56
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+  maybeToEnum 57
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+  maybeToEnum k
+    = Prelude.Just
+        (EventType'Unrecognized
+           (EventType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum EVENT_TYPE_UNSPECIFIED = "EVENT_TYPE_UNSPECIFIED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT"
+  showEnum EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+    = "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED"
+  showEnum EVENT_TYPE_WORKFLOW_TASK_STARTED
+    = "EVENT_TYPE_WORKFLOW_TASK_STARTED"
+  showEnum EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+    = "EVENT_TYPE_WORKFLOW_TASK_COMPLETED"
+  showEnum EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+    = "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT"
+  showEnum EVENT_TYPE_WORKFLOW_TASK_FAILED
+    = "EVENT_TYPE_WORKFLOW_TASK_FAILED"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+    = "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_STARTED
+    = "EVENT_TYPE_ACTIVITY_TASK_STARTED"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+    = "EVENT_TYPE_ACTIVITY_TASK_COMPLETED"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_FAILED
+    = "EVENT_TYPE_ACTIVITY_TASK_FAILED"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+    = "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+    = "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED"
+  showEnum EVENT_TYPE_ACTIVITY_TASK_CANCELED
+    = "EVENT_TYPE_ACTIVITY_TASK_CANCELED"
+  showEnum EVENT_TYPE_TIMER_STARTED = "EVENT_TYPE_TIMER_STARTED"
+  showEnum EVENT_TYPE_TIMER_FIRED = "EVENT_TYPE_TIMER_FIRED"
+  showEnum EVENT_TYPE_TIMER_CANCELED = "EVENT_TYPE_TIMER_CANCELED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED"
+  showEnum
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED"
+  showEnum
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED"
+  showEnum EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED"
+  showEnum EVENT_TYPE_MARKER_RECORDED = "EVENT_TYPE_MARKER_RECORDED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW"
+  showEnum EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+    = "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED"
+  showEnum EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+    = "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED"
+  showEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+    = "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED"
+  showEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+    = "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED"
+  showEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+    = "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED"
+  showEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+    = "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED"
+  showEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+    = "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT"
+  showEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+    = "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED"
+  showEnum EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED"
+  showEnum EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED"
+  showEnum EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+    = "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED"
+  showEnum EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    = "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED"
+  showEnum EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+    = "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY"
+  showEnum EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+    = "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY"
+  showEnum EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+    = "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+    = "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_STARTED
+    = "EVENT_TYPE_NEXUS_OPERATION_STARTED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+    = "EVENT_TYPE_NEXUS_OPERATION_COMPLETED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_FAILED
+    = "EVENT_TYPE_NEXUS_OPERATION_FAILED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_CANCELED
+    = "EVENT_TYPE_NEXUS_OPERATION_CANCELED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+    = "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+    = "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED"
+  showEnum EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+    = "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+    = "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED"
+  showEnum EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+    = "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED"
+  showEnum (EventType'Unrecognized (EventType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "EVENT_TYPE_UNSPECIFIED"
+    = Prelude.Just EVENT_TYPE_UNSPECIFIED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_STARTED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_FAILED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_TASK_SCHEDULED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_TASK_STARTED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_STARTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_TASK_COMPLETED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_TASK_FAILED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_TASK_FAILED
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_SCHEDULED"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_STARTED"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_STARTED
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_COMPLETED"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_FAILED"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_FAILED
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+    | (Prelude.==) k "EVENT_TYPE_ACTIVITY_TASK_CANCELED"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_TASK_CANCELED
+    | (Prelude.==) k "EVENT_TYPE_TIMER_STARTED"
+    = Prelude.Just EVENT_TYPE_TIMER_STARTED
+    | (Prelude.==) k "EVENT_TYPE_TIMER_FIRED"
+    = Prelude.Just EVENT_TYPE_TIMER_FIRED
+    | (Prelude.==) k "EVENT_TYPE_TIMER_CANCELED"
+    = Prelude.Just EVENT_TYPE_TIMER_CANCELED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+    | (Prelude.==)
+        k "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED"
+    = Prelude.Just
+        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    | (Prelude.==)
+        k "EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED"
+    = Prelude.Just
+        EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    | (Prelude.==)
+        k "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED"
+    = Prelude.Just
+        EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    | (Prelude.==) k "EVENT_TYPE_MARKER_RECORDED"
+    = Prelude.Just EVENT_TYPE_MARKER_RECORDED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+    | (Prelude.==)
+        k "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED"
+    = Prelude.Just EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+    | (Prelude.==) k "EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED"
+    = Prelude.Just EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+    | (Prelude.==) k "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED"
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+    | (Prelude.==) k "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED"
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+    | (Prelude.==) k "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED"
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+    | (Prelude.==) k "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED"
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+    | (Prelude.==) k "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT"
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+    | (Prelude.==) k "EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED"
+    = Prelude.Just EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+    | (Prelude.==)
+        k "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED"
+    = Prelude.Just
+        EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    | (Prelude.==)
+        k "EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED"
+    = Prelude.Just EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    | (Prelude.==) k "EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED"
+    = Prelude.Just EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+    | (Prelude.==) k "EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES"
+    = Prelude.Just EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+    | (Prelude.==)
+        k "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+    | (Prelude.==)
+        k "EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY"
+    = Prelude.Just EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_SCHEDULED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_STARTED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_STARTED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_COMPLETED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_FAILED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_FAILED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_CANCELED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCELED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+    | (Prelude.==) k "EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED"
+    = Prelude.Just EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+    | (Prelude.==)
+        k "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+    | (Prelude.==) k "EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED"
+    = Prelude.Just EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded EventType where
+  minBound = EVENT_TYPE_UNSPECIFIED
+  maxBound = EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+instance Prelude.Enum EventType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum EventType: " (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum EVENT_TYPE_UNSPECIFIED = 0
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_STARTED = 1
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED = 2
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_FAILED = 3
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT = 4
+  fromEnum EVENT_TYPE_WORKFLOW_TASK_SCHEDULED = 5
+  fromEnum EVENT_TYPE_WORKFLOW_TASK_STARTED = 6
+  fromEnum EVENT_TYPE_WORKFLOW_TASK_COMPLETED = 7
+  fromEnum EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT = 8
+  fromEnum EVENT_TYPE_WORKFLOW_TASK_FAILED = 9
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_SCHEDULED = 10
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_STARTED = 11
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_COMPLETED = 12
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_FAILED = 13
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT = 14
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED = 15
+  fromEnum EVENT_TYPE_ACTIVITY_TASK_CANCELED = 16
+  fromEnum EVENT_TYPE_TIMER_STARTED = 17
+  fromEnum EVENT_TYPE_TIMER_FIRED = 18
+  fromEnum EVENT_TYPE_TIMER_CANCELED = 19
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED = 20
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED = 21
+  fromEnum
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = 22
+  fromEnum
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = 23
+  fromEnum EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = 24
+  fromEnum EVENT_TYPE_MARKER_RECORDED = 25
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED = 26
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED = 27
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW = 28
+  fromEnum EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED = 29
+  fromEnum EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED = 30
+  fromEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED = 31
+  fromEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED = 32
+  fromEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED = 33
+  fromEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED = 34
+  fromEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT = 35
+  fromEnum EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED = 36
+  fromEnum EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = 37
+  fromEnum EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 38
+  fromEnum EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED = 39
+  fromEnum EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 40
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED = 41
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED = 42
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED = 43
+  fromEnum EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY = 44
+  fromEnum EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY = 45
+  fromEnum EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED = 46
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED = 47
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_SCHEDULED = 48
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_STARTED = 49
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_COMPLETED = 50
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_FAILED = 51
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_CANCELED = 52
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT = 53
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED = 54
+  fromEnum EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED = 55
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED = 56
+  fromEnum EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED = 57
+  fromEnum (EventType'Unrecognized (EventType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+    = Prelude.error
+        "EventType.succ: bad argument EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED. This value would be out of bounds."
+  succ EVENT_TYPE_UNSPECIFIED = EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+    = EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+  succ EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+    = EVENT_TYPE_WORKFLOW_TASK_STARTED
+  succ EVENT_TYPE_WORKFLOW_TASK_STARTED
+    = EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+  succ EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+    = EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+  succ EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+    = EVENT_TYPE_WORKFLOW_TASK_FAILED
+  succ EVENT_TYPE_WORKFLOW_TASK_FAILED
+    = EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+  succ EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+    = EVENT_TYPE_ACTIVITY_TASK_STARTED
+  succ EVENT_TYPE_ACTIVITY_TASK_STARTED
+    = EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+  succ EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+    = EVENT_TYPE_ACTIVITY_TASK_FAILED
+  succ EVENT_TYPE_ACTIVITY_TASK_FAILED
+    = EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+  succ EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+    = EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+  succ EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+    = EVENT_TYPE_ACTIVITY_TASK_CANCELED
+  succ EVENT_TYPE_ACTIVITY_TASK_CANCELED = EVENT_TYPE_TIMER_STARTED
+  succ EVENT_TYPE_TIMER_STARTED = EVENT_TYPE_TIMER_FIRED
+  succ EVENT_TYPE_TIMER_FIRED = EVENT_TYPE_TIMER_CANCELED
+  succ EVENT_TYPE_TIMER_CANCELED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+    = EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+  succ
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+  succ EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+  succ EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = EVENT_TYPE_MARKER_RECORDED
+  succ EVENT_TYPE_MARKER_RECORDED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+    = EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+  succ EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+    = EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+  succ EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+  succ EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+  succ EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+  succ EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+  succ EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+  succ EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+  succ EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+    = EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+  succ EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+  succ EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+  succ EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+    = EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+  succ EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+    = EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+  succ EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+    = EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+  succ EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+    = EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+  succ EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+    = EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+  succ EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+    = EVENT_TYPE_NEXUS_OPERATION_STARTED
+  succ EVENT_TYPE_NEXUS_OPERATION_STARTED
+    = EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+  succ EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+    = EVENT_TYPE_NEXUS_OPERATION_FAILED
+  succ EVENT_TYPE_NEXUS_OPERATION_FAILED
+    = EVENT_TYPE_NEXUS_OPERATION_CANCELED
+  succ EVENT_TYPE_NEXUS_OPERATION_CANCELED
+    = EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+  succ EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+    = EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+  succ EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+  succ EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+    = EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+  succ EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+    = EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+  succ (EventType'Unrecognized _)
+    = Prelude.error "EventType.succ: bad argument: unrecognized value"
+  pred EVENT_TYPE_UNSPECIFIED
+    = Prelude.error
+        "EventType.pred: bad argument EVENT_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_STARTED = EVENT_TYPE_UNSPECIFIED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_STARTED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_COMPLETED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+    = EVENT_TYPE_WORKFLOW_EXECUTION_FAILED
+  pred EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT
+  pred EVENT_TYPE_WORKFLOW_TASK_STARTED
+    = EVENT_TYPE_WORKFLOW_TASK_SCHEDULED
+  pred EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+    = EVENT_TYPE_WORKFLOW_TASK_STARTED
+  pred EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+    = EVENT_TYPE_WORKFLOW_TASK_COMPLETED
+  pred EVENT_TYPE_WORKFLOW_TASK_FAILED
+    = EVENT_TYPE_WORKFLOW_TASK_TIMED_OUT
+  pred EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+    = EVENT_TYPE_WORKFLOW_TASK_FAILED
+  pred EVENT_TYPE_ACTIVITY_TASK_STARTED
+    = EVENT_TYPE_ACTIVITY_TASK_SCHEDULED
+  pred EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+    = EVENT_TYPE_ACTIVITY_TASK_STARTED
+  pred EVENT_TYPE_ACTIVITY_TASK_FAILED
+    = EVENT_TYPE_ACTIVITY_TASK_COMPLETED
+  pred EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+    = EVENT_TYPE_ACTIVITY_TASK_FAILED
+  pred EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+    = EVENT_TYPE_ACTIVITY_TASK_TIMED_OUT
+  pred EVENT_TYPE_ACTIVITY_TASK_CANCELED
+    = EVENT_TYPE_ACTIVITY_TASK_CANCEL_REQUESTED
+  pred EVENT_TYPE_TIMER_STARTED = EVENT_TYPE_ACTIVITY_TASK_CANCELED
+  pred EVENT_TYPE_TIMER_FIRED = EVENT_TYPE_TIMER_STARTED
+  pred EVENT_TYPE_TIMER_CANCELED = EVENT_TYPE_TIMER_FIRED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = EVENT_TYPE_TIMER_CANCELED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+  pred
+    EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED
+  pred EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+  pred EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+    = EVENT_TYPE_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+  pred EVENT_TYPE_MARKER_RECORDED
+    = EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_CANCEL_REQUESTED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+    = EVENT_TYPE_MARKER_RECORDED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_SIGNALED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+    = EVENT_TYPE_WORKFLOW_EXECUTION_TERMINATED
+  pred EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW
+  pred EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_INITIATED
+  pred EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+    = EVENT_TYPE_START_CHILD_WORKFLOW_EXECUTION_FAILED
+  pred EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_STARTED
+  pred EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_COMPLETED
+  pred EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_FAILED
+  pred EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_CANCELED
+  pred EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TIMED_OUT
+  pred EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+    = EVENT_TYPE_CHILD_WORKFLOW_EXECUTION_TERMINATED
+  pred EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+    = EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED
+  pred EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+    = EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED
+  pred EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+    = EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+    = EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED
+  pred EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED
+  pred EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+    = EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY
+  pred EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+    = EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+    = EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED
+  pred EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ADMITTED
+  pred EVENT_TYPE_NEXUS_OPERATION_STARTED
+    = EVENT_TYPE_NEXUS_OPERATION_SCHEDULED
+  pred EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+    = EVENT_TYPE_NEXUS_OPERATION_STARTED
+  pred EVENT_TYPE_NEXUS_OPERATION_FAILED
+    = EVENT_TYPE_NEXUS_OPERATION_COMPLETED
+  pred EVENT_TYPE_NEXUS_OPERATION_CANCELED
+    = EVENT_TYPE_NEXUS_OPERATION_FAILED
+  pred EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+    = EVENT_TYPE_NEXUS_OPERATION_CANCELED
+  pred EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+    = EVENT_TYPE_NEXUS_OPERATION_TIMED_OUT
+  pred EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+    = EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUESTED
+  pred EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+    = EVENT_TYPE_WORKFLOW_EXECUTION_OPTIONS_UPDATED
+  pred EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED
+    = EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_COMPLETED
+  pred (EventType'Unrecognized _)
+    = Prelude.error "EventType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault EventType where
+  fieldDefault = EVENT_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData EventType where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/EventType_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/EventType_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/EventType_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/event_type.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.EventType_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/FailedCause.hs b/src/Proto/Temporal/Api/Enums/V1/FailedCause.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/FailedCause.hs
@@ -0,0 +1,1289 @@
+{- This file was auto-generated from temporal/api/enums/v1/failed_cause.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.FailedCause (
+        CancelExternalWorkflowExecutionFailedCause(..),
+        CancelExternalWorkflowExecutionFailedCause(),
+        CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue,
+        ResourceExhaustedCause(..), ResourceExhaustedCause(),
+        ResourceExhaustedCause'UnrecognizedValue,
+        ResourceExhaustedScope(..), ResourceExhaustedScope(),
+        ResourceExhaustedScope'UnrecognizedValue,
+        SignalExternalWorkflowExecutionFailedCause(..),
+        SignalExternalWorkflowExecutionFailedCause(),
+        SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue,
+        StartChildWorkflowExecutionFailedCause(..),
+        StartChildWorkflowExecutionFailedCause(),
+        StartChildWorkflowExecutionFailedCause'UnrecognizedValue,
+        WorkflowTaskFailedCause(..), WorkflowTaskFailedCause(),
+        WorkflowTaskFailedCause'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue
+  = CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data CancelExternalWorkflowExecutionFailedCause
+  = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED |
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND |
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND |
+    CancelExternalWorkflowExecutionFailedCause'Unrecognized !CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum CancelExternalWorkflowExecutionFailedCause where
+  maybeToEnum 0
+    = Prelude.Just
+        CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just
+        CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+  maybeToEnum 2
+    = Prelude.Just
+        CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  maybeToEnum k
+    = Prelude.Just
+        (CancelExternalWorkflowExecutionFailedCause'Unrecognized
+           (CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+  showEnum
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND"
+  showEnum
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND"
+  showEnum
+    (CancelExternalWorkflowExecutionFailedCause'Unrecognized (CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==)
+        k "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+    = Prelude.Just
+        CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    | (Prelude.==)
+        k
+        "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND"
+    = Prelude.Just
+        CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    | (Prelude.==)
+        k
+        "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND"
+    = Prelude.Just
+        CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded CancelExternalWorkflowExecutionFailedCause where
+  minBound
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maxBound
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+instance Prelude.Enum CancelExternalWorkflowExecutionFailedCause where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum CancelExternalWorkflowExecutionFailedCause: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = 0
+  fromEnum
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = 1
+  fromEnum
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = 2
+  fromEnum
+    (CancelExternalWorkflowExecutionFailedCause'Unrecognized (CancelExternalWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = Prelude.error
+        "CancelExternalWorkflowExecutionFailedCause.succ: bad argument CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND. This value would be out of bounds."
+  succ CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+  succ
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  succ (CancelExternalWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "CancelExternalWorkflowExecutionFailedCause.succ: bad argument: unrecognized value"
+  pred CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = Prelude.error
+        "CancelExternalWorkflowExecutionFailedCause.pred: bad argument CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED. This value would be out of bounds."
+  pred
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  pred
+    CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+  pred (CancelExternalWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "CancelExternalWorkflowExecutionFailedCause.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault CancelExternalWorkflowExecutionFailedCause where
+  fieldDefault
+    = CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+instance Control.DeepSeq.NFData CancelExternalWorkflowExecutionFailedCause where
+  rnf x__ = Prelude.seq x__ ()
+newtype ResourceExhaustedCause'UnrecognizedValue
+  = ResourceExhaustedCause'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ResourceExhaustedCause
+  = RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED |
+    RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT |
+    RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT |
+    RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED |
+    RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT |
+    RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW |
+    RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT |
+    RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT |
+    RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN |
+    RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT |
+    ResourceExhaustedCause'Unrecognized !ResourceExhaustedCause'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ResourceExhaustedCause where
+  maybeToEnum 0 = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+  maybeToEnum 2
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+  maybeToEnum 3
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+  maybeToEnum 4
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+  maybeToEnum 5 = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+  maybeToEnum 6 = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+  maybeToEnum 7
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+  maybeToEnum 8
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+  maybeToEnum 9 = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+  maybeToEnum k
+    = Prelude.Just
+        (ResourceExhaustedCause'Unrecognized
+           (ResourceExhaustedCause'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+    = "RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+    = "RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+    = "RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+    = "RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+    = "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+    = "RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+    = "RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+    = "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+    = "RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN"
+  showEnum RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+    = "RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT"
+  showEnum
+    (ResourceExhaustedCause'Unrecognized (ResourceExhaustedCause'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+    | (Prelude.==)
+        k "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT"
+    = Prelude.Just RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ResourceExhaustedCause where
+  minBound = RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+  maxBound = RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+instance Prelude.Enum ResourceExhaustedCause where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ResourceExhaustedCause: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED = 0
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT = 1
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT = 2
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED = 3
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT = 4
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW = 5
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT = 6
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT = 7
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN = 8
+  fromEnum RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT = 9
+  fromEnum
+    (ResourceExhaustedCause'Unrecognized (ResourceExhaustedCause'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+    = Prelude.error
+        "ResourceExhaustedCause.succ: bad argument RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT. This value would be out of bounds."
+  succ RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+    = RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+  succ RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+  succ RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+  succ RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+    = RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+  succ RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+  succ RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+    = RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+  succ RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+  succ RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+  succ RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+    = RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+  succ (ResourceExhaustedCause'Unrecognized _)
+    = Prelude.error
+        "ResourceExhaustedCause.succ: bad argument: unrecognized value"
+  pred RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+    = Prelude.error
+        "ResourceExhaustedCause.pred: bad argument RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED. This value would be out of bounds."
+  pred RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+  pred RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT
+  pred RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+    = RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT
+  pred RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED
+  pred RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+    = RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT
+  pred RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW
+  pred RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT
+  pred RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+    = RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT
+  pred RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT
+    = RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN
+  pred (ResourceExhaustedCause'Unrecognized _)
+    = Prelude.error
+        "ResourceExhaustedCause.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ResourceExhaustedCause where
+  fieldDefault = RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED
+instance Control.DeepSeq.NFData ResourceExhaustedCause where
+  rnf x__ = Prelude.seq x__ ()
+newtype ResourceExhaustedScope'UnrecognizedValue
+  = ResourceExhaustedScope'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ResourceExhaustedScope
+  = RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED |
+    RESOURCE_EXHAUSTED_SCOPE_NAMESPACE |
+    RESOURCE_EXHAUSTED_SCOPE_SYSTEM |
+    ResourceExhaustedScope'Unrecognized !ResourceExhaustedScope'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ResourceExhaustedScope where
+  maybeToEnum 0 = Prelude.Just RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+  maybeToEnum 2 = Prelude.Just RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+  maybeToEnum k
+    = Prelude.Just
+        (ResourceExhaustedScope'Unrecognized
+           (ResourceExhaustedScope'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+    = "RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED"
+  showEnum RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+    = "RESOURCE_EXHAUSTED_SCOPE_NAMESPACE"
+  showEnum RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+    = "RESOURCE_EXHAUSTED_SCOPE_SYSTEM"
+  showEnum
+    (ResourceExhaustedScope'Unrecognized (ResourceExhaustedScope'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED"
+    = Prelude.Just RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_SCOPE_NAMESPACE"
+    = Prelude.Just RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+    | (Prelude.==) k "RESOURCE_EXHAUSTED_SCOPE_SYSTEM"
+    = Prelude.Just RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ResourceExhaustedScope where
+  minBound = RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+  maxBound = RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+instance Prelude.Enum ResourceExhaustedScope where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ResourceExhaustedScope: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED = 0
+  fromEnum RESOURCE_EXHAUSTED_SCOPE_NAMESPACE = 1
+  fromEnum RESOURCE_EXHAUSTED_SCOPE_SYSTEM = 2
+  fromEnum
+    (ResourceExhaustedScope'Unrecognized (ResourceExhaustedScope'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+    = Prelude.error
+        "ResourceExhaustedScope.succ: bad argument RESOURCE_EXHAUSTED_SCOPE_SYSTEM. This value would be out of bounds."
+  succ RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+    = RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+  succ RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+    = RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+  succ (ResourceExhaustedScope'Unrecognized _)
+    = Prelude.error
+        "ResourceExhaustedScope.succ: bad argument: unrecognized value"
+  pred RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+    = Prelude.error
+        "ResourceExhaustedScope.pred: bad argument RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED. This value would be out of bounds."
+  pred RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+    = RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+  pred RESOURCE_EXHAUSTED_SCOPE_SYSTEM
+    = RESOURCE_EXHAUSTED_SCOPE_NAMESPACE
+  pred (ResourceExhaustedScope'Unrecognized _)
+    = Prelude.error
+        "ResourceExhaustedScope.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ResourceExhaustedScope where
+  fieldDefault = RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED
+instance Control.DeepSeq.NFData ResourceExhaustedScope where
+  rnf x__ = Prelude.seq x__ ()
+newtype SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue
+  = SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data SignalExternalWorkflowExecutionFailedCause
+  = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED |
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND |
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND |
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED |
+    SignalExternalWorkflowExecutionFailedCause'Unrecognized !SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum SignalExternalWorkflowExecutionFailedCause where
+  maybeToEnum 0
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+  maybeToEnum 2
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  maybeToEnum 3
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+  maybeToEnum k
+    = Prelude.Just
+        (SignalExternalWorkflowExecutionFailedCause'Unrecognized
+           (SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+  showEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND"
+  showEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND"
+  showEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+    = "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED"
+  showEnum
+    (SignalExternalWorkflowExecutionFailedCause'Unrecognized (SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==)
+        k "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    | (Prelude.==)
+        k
+        "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND"
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    | (Prelude.==)
+        k
+        "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND"
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    | (Prelude.==)
+        k
+        "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED"
+    = Prelude.Just
+        SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded SignalExternalWorkflowExecutionFailedCause where
+  minBound
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maxBound
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+instance Prelude.Enum SignalExternalWorkflowExecutionFailedCause where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum SignalExternalWorkflowExecutionFailedCause: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = 0
+  fromEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = 1
+  fromEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = 2
+  fromEnum
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+    = 3
+  fromEnum
+    (SignalExternalWorkflowExecutionFailedCause'Unrecognized (SignalExternalWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+    = Prelude.error
+        "SignalExternalWorkflowExecutionFailedCause.succ: bad argument SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED. This value would be out of bounds."
+  succ SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+  succ
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  succ
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+  succ (SignalExternalWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "SignalExternalWorkflowExecutionFailedCause.succ: bad argument: unrecognized value"
+  pred SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = Prelude.error
+        "SignalExternalWorkflowExecutionFailedCause.pred: bad argument SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED. This value would be out of bounds."
+  pred
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  pred
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND
+  pred
+    SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  pred (SignalExternalWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "SignalExternalWorkflowExecutionFailedCause.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault SignalExternalWorkflowExecutionFailedCause where
+  fieldDefault
+    = SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecutionFailedCause where
+  rnf x__ = Prelude.seq x__ ()
+newtype StartChildWorkflowExecutionFailedCause'UnrecognizedValue
+  = StartChildWorkflowExecutionFailedCause'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data StartChildWorkflowExecutionFailedCause
+  = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED |
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS |
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND |
+    StartChildWorkflowExecutionFailedCause'Unrecognized !StartChildWorkflowExecutionFailedCause'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum StartChildWorkflowExecutionFailedCause where
+  maybeToEnum 0
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+  maybeToEnum 2
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  maybeToEnum k
+    = Prelude.Just
+        (StartChildWorkflowExecutionFailedCause'Unrecognized
+           (StartChildWorkflowExecutionFailedCause'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+  showEnum
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS"
+  showEnum
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND"
+  showEnum
+    (StartChildWorkflowExecutionFailedCause'Unrecognized (StartChildWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==)
+        k "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    | (Prelude.==)
+        k
+        "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS"
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    | (Prelude.==)
+        k "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND"
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded StartChildWorkflowExecutionFailedCause where
+  minBound = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maxBound
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+instance Prelude.Enum StartChildWorkflowExecutionFailedCause where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum StartChildWorkflowExecutionFailedCause: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = 0
+  fromEnum
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = 1
+  fromEnum
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = 2
+  fromEnum
+    (StartChildWorkflowExecutionFailedCause'Unrecognized (StartChildWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.succ: bad argument START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND. This value would be out of bounds."
+  succ START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+  succ
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+  succ (StartChildWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.succ: bad argument: unrecognized value"
+  pred START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.pred: bad argument START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED. This value would be out of bounds."
+  pred
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  pred
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+  pred (StartChildWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault StartChildWorkflowExecutionFailedCause where
+  fieldDefault
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+instance Control.DeepSeq.NFData StartChildWorkflowExecutionFailedCause where
+  rnf x__ = Prelude.seq x__ ()
+newtype WorkflowTaskFailedCause'UnrecognizedValue
+  = WorkflowTaskFailedCause'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data WorkflowTaskFailedCause
+  = WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED |
+    WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID |
+    WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE |
+    WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND |
+    WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE |
+    WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY |
+    WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED |
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED |
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED |
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE |
+    WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED |
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES |
+    WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED |
+    WorkflowTaskFailedCause'Unrecognized !WorkflowTaskFailedCause'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum WorkflowTaskFailedCause where
+  maybeToEnum 0 = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+  maybeToEnum 2
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+  maybeToEnum 3
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+  maybeToEnum 4
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+  maybeToEnum 5
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+  maybeToEnum 6
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+  maybeToEnum 7
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+  maybeToEnum 8
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+  maybeToEnum 9
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+  maybeToEnum 10
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+  maybeToEnum 11
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+  maybeToEnum 12
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+  maybeToEnum 13
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+  maybeToEnum 14
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+  maybeToEnum 15
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+  maybeToEnum 16
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+  maybeToEnum 17
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+  maybeToEnum 18
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+  maybeToEnum 19
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+  maybeToEnum 20
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+  maybeToEnum 21 = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+  maybeToEnum 22
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+  maybeToEnum 23
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+  maybeToEnum 24
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+  maybeToEnum 25
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+  maybeToEnum 26
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+  maybeToEnum 27
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+  maybeToEnum 28
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+  maybeToEnum 29
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+  maybeToEnum 30
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+  maybeToEnum 31
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+  maybeToEnum 32
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+  maybeToEnum 33
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+  maybeToEnum 34
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+  maybeToEnum 35
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+  maybeToEnum k
+    = Prelude.Just
+        (WorkflowTaskFailedCause'Unrecognized
+           (WorkflowTaskFailedCause'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+    = "WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+    = "WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+    = "WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+    = "WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+    = "WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+    = "WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+    = "WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+    = "WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+    = "WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+    = "WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+    = "WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+    = "WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+    = "WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+    = "WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+    = "WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+    = "WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED"
+  showEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+    = "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES"
+  showEnum WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+    = "WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED"
+  showEnum
+    (WorkflowTaskFailedCause'Unrecognized (WorkflowTaskFailedCause'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+    | (Prelude.==)
+        k "WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+    | (Prelude.==)
+        k
+        "WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES"
+    = Prelude.Just
+        WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+    | (Prelude.==) k "WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED"
+    = Prelude.Just WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded WorkflowTaskFailedCause where
+  minBound = WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+  maxBound = WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+instance Prelude.Enum WorkflowTaskFailedCause where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum WorkflowTaskFailedCause: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED = 0
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND = 1
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+    = 2
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+    = 3
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES = 4
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES = 5
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+    = 6
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+    = 7
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = 8
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = 9
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = 10
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+    = 11
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID = 12
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE = 13
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+    = 14
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = 15
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+    = 16
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND = 17
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND = 18
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE = 19
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW = 20
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY = 21
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+    = 22
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES = 23
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR = 24
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+    = 25
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+    = 26
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+    = 27
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+    = 28
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+    = 29
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+    = 30
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE = 31
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+    = 32
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+    = 33
+  fromEnum
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+    = 34
+  fromEnum WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED = 35
+  fromEnum
+    (WorkflowTaskFailedCause'Unrecognized (WorkflowTaskFailedCause'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+    = Prelude.error
+        "WorkflowTaskFailedCause.succ: bad argument WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED. This value would be out of bounds."
+  succ WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+    = WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+  succ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+  succ WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+    = WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+  succ WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+    = WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+  succ WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+  succ WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+    = WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+  succ WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+    = WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+  succ WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+    = WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+  succ WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+  succ WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+  succ WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+  succ WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+  succ WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+    = WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+  succ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+  succ
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+  succ (WorkflowTaskFailedCause'Unrecognized _)
+    = Prelude.error
+        "WorkflowTaskFailedCause.succ: bad argument: unrecognized value"
+  pred WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+    = Prelude.error
+        "WorkflowTaskFailedCause.pred: bad argument WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED. This value would be out of bounds."
+  pred WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+    = WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_COMMAND
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+    = WORKFLOW_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID
+  pred WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+    = WORKFLOW_TASK_FAILED_CAUSE_RESET_STICKY_TASK_QUEUE
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+    = WORKFLOW_TASK_FAILED_CAUSE_FORCE_CLOSE_COMMAND
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+    = WORKFLOW_TASK_FAILED_CAUSE_FAILOVER_CLOSE_COMMAND
+  pred WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+    = WORKFLOW_TASK_FAILED_CAUSE_RESET_WORKFLOW
+  pred WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_BINARY
+  pred WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID
+  pred WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES
+  pred WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED
+  pred WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED
+  pred WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_SCHEDULE_NEXUS_OPERATION_ATTRIBUTES
+  pred
+    WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+    = WORKFLOW_TASK_FAILED_CAUSE_PENDING_NEXUS_OPERATIONS_LIMIT_EXCEEDED
+  pred WORKFLOW_TASK_FAILED_CAUSE_FEATURE_DISABLED
+    = WORKFLOW_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_NEXUS_OPERATION_ATTRIBUTES
+  pred (WorkflowTaskFailedCause'Unrecognized _)
+    = Prelude.error
+        "WorkflowTaskFailedCause.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault WorkflowTaskFailedCause where
+  fieldDefault = WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED
+instance Control.DeepSeq.NFData WorkflowTaskFailedCause where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/FailedCause_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/FailedCause_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/FailedCause_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/failed_cause.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.FailedCause_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Namespace.hs b/src/Proto/Temporal/Api/Enums/V1/Namespace.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Namespace.hs
@@ -0,0 +1,266 @@
+{- This file was auto-generated from temporal/api/enums/v1/namespace.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Namespace (
+        ArchivalState(..), ArchivalState(),
+        ArchivalState'UnrecognizedValue, NamespaceState(..),
+        NamespaceState(), NamespaceState'UnrecognizedValue,
+        ReplicationState(..), ReplicationState(),
+        ReplicationState'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype ArchivalState'UnrecognizedValue
+  = ArchivalState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ArchivalState
+  = ARCHIVAL_STATE_UNSPECIFIED |
+    ARCHIVAL_STATE_DISABLED |
+    ARCHIVAL_STATE_ENABLED |
+    ArchivalState'Unrecognized !ArchivalState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ArchivalState where
+  maybeToEnum 0 = Prelude.Just ARCHIVAL_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just ARCHIVAL_STATE_DISABLED
+  maybeToEnum 2 = Prelude.Just ARCHIVAL_STATE_ENABLED
+  maybeToEnum k
+    = Prelude.Just
+        (ArchivalState'Unrecognized
+           (ArchivalState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum ARCHIVAL_STATE_UNSPECIFIED = "ARCHIVAL_STATE_UNSPECIFIED"
+  showEnum ARCHIVAL_STATE_DISABLED = "ARCHIVAL_STATE_DISABLED"
+  showEnum ARCHIVAL_STATE_ENABLED = "ARCHIVAL_STATE_ENABLED"
+  showEnum
+    (ArchivalState'Unrecognized (ArchivalState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "ARCHIVAL_STATE_UNSPECIFIED"
+    = Prelude.Just ARCHIVAL_STATE_UNSPECIFIED
+    | (Prelude.==) k "ARCHIVAL_STATE_DISABLED"
+    = Prelude.Just ARCHIVAL_STATE_DISABLED
+    | (Prelude.==) k "ARCHIVAL_STATE_ENABLED"
+    = Prelude.Just ARCHIVAL_STATE_ENABLED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ArchivalState where
+  minBound = ARCHIVAL_STATE_UNSPECIFIED
+  maxBound = ARCHIVAL_STATE_ENABLED
+instance Prelude.Enum ArchivalState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ArchivalState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum ARCHIVAL_STATE_UNSPECIFIED = 0
+  fromEnum ARCHIVAL_STATE_DISABLED = 1
+  fromEnum ARCHIVAL_STATE_ENABLED = 2
+  fromEnum
+    (ArchivalState'Unrecognized (ArchivalState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ ARCHIVAL_STATE_ENABLED
+    = Prelude.error
+        "ArchivalState.succ: bad argument ARCHIVAL_STATE_ENABLED. This value would be out of bounds."
+  succ ARCHIVAL_STATE_UNSPECIFIED = ARCHIVAL_STATE_DISABLED
+  succ ARCHIVAL_STATE_DISABLED = ARCHIVAL_STATE_ENABLED
+  succ (ArchivalState'Unrecognized _)
+    = Prelude.error
+        "ArchivalState.succ: bad argument: unrecognized value"
+  pred ARCHIVAL_STATE_UNSPECIFIED
+    = Prelude.error
+        "ArchivalState.pred: bad argument ARCHIVAL_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred ARCHIVAL_STATE_DISABLED = ARCHIVAL_STATE_UNSPECIFIED
+  pred ARCHIVAL_STATE_ENABLED = ARCHIVAL_STATE_DISABLED
+  pred (ArchivalState'Unrecognized _)
+    = Prelude.error
+        "ArchivalState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ArchivalState where
+  fieldDefault = ARCHIVAL_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData ArchivalState where
+  rnf x__ = Prelude.seq x__ ()
+newtype NamespaceState'UnrecognizedValue
+  = NamespaceState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data NamespaceState
+  = NAMESPACE_STATE_UNSPECIFIED |
+    NAMESPACE_STATE_REGISTERED |
+    NAMESPACE_STATE_DEPRECATED |
+    NAMESPACE_STATE_DELETED |
+    NamespaceState'Unrecognized !NamespaceState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum NamespaceState where
+  maybeToEnum 0 = Prelude.Just NAMESPACE_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just NAMESPACE_STATE_REGISTERED
+  maybeToEnum 2 = Prelude.Just NAMESPACE_STATE_DEPRECATED
+  maybeToEnum 3 = Prelude.Just NAMESPACE_STATE_DELETED
+  maybeToEnum k
+    = Prelude.Just
+        (NamespaceState'Unrecognized
+           (NamespaceState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum NAMESPACE_STATE_UNSPECIFIED
+    = "NAMESPACE_STATE_UNSPECIFIED"
+  showEnum NAMESPACE_STATE_REGISTERED = "NAMESPACE_STATE_REGISTERED"
+  showEnum NAMESPACE_STATE_DEPRECATED = "NAMESPACE_STATE_DEPRECATED"
+  showEnum NAMESPACE_STATE_DELETED = "NAMESPACE_STATE_DELETED"
+  showEnum
+    (NamespaceState'Unrecognized (NamespaceState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "NAMESPACE_STATE_UNSPECIFIED"
+    = Prelude.Just NAMESPACE_STATE_UNSPECIFIED
+    | (Prelude.==) k "NAMESPACE_STATE_REGISTERED"
+    = Prelude.Just NAMESPACE_STATE_REGISTERED
+    | (Prelude.==) k "NAMESPACE_STATE_DEPRECATED"
+    = Prelude.Just NAMESPACE_STATE_DEPRECATED
+    | (Prelude.==) k "NAMESPACE_STATE_DELETED"
+    = Prelude.Just NAMESPACE_STATE_DELETED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded NamespaceState where
+  minBound = NAMESPACE_STATE_UNSPECIFIED
+  maxBound = NAMESPACE_STATE_DELETED
+instance Prelude.Enum NamespaceState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum NamespaceState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum NAMESPACE_STATE_UNSPECIFIED = 0
+  fromEnum NAMESPACE_STATE_REGISTERED = 1
+  fromEnum NAMESPACE_STATE_DEPRECATED = 2
+  fromEnum NAMESPACE_STATE_DELETED = 3
+  fromEnum
+    (NamespaceState'Unrecognized (NamespaceState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ NAMESPACE_STATE_DELETED
+    = Prelude.error
+        "NamespaceState.succ: bad argument NAMESPACE_STATE_DELETED. This value would be out of bounds."
+  succ NAMESPACE_STATE_UNSPECIFIED = NAMESPACE_STATE_REGISTERED
+  succ NAMESPACE_STATE_REGISTERED = NAMESPACE_STATE_DEPRECATED
+  succ NAMESPACE_STATE_DEPRECATED = NAMESPACE_STATE_DELETED
+  succ (NamespaceState'Unrecognized _)
+    = Prelude.error
+        "NamespaceState.succ: bad argument: unrecognized value"
+  pred NAMESPACE_STATE_UNSPECIFIED
+    = Prelude.error
+        "NamespaceState.pred: bad argument NAMESPACE_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred NAMESPACE_STATE_REGISTERED = NAMESPACE_STATE_UNSPECIFIED
+  pred NAMESPACE_STATE_DEPRECATED = NAMESPACE_STATE_REGISTERED
+  pred NAMESPACE_STATE_DELETED = NAMESPACE_STATE_DEPRECATED
+  pred (NamespaceState'Unrecognized _)
+    = Prelude.error
+        "NamespaceState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault NamespaceState where
+  fieldDefault = NAMESPACE_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData NamespaceState where
+  rnf x__ = Prelude.seq x__ ()
+newtype ReplicationState'UnrecognizedValue
+  = ReplicationState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ReplicationState
+  = REPLICATION_STATE_UNSPECIFIED |
+    REPLICATION_STATE_NORMAL |
+    REPLICATION_STATE_HANDOVER |
+    ReplicationState'Unrecognized !ReplicationState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ReplicationState where
+  maybeToEnum 0 = Prelude.Just REPLICATION_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just REPLICATION_STATE_NORMAL
+  maybeToEnum 2 = Prelude.Just REPLICATION_STATE_HANDOVER
+  maybeToEnum k
+    = Prelude.Just
+        (ReplicationState'Unrecognized
+           (ReplicationState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum REPLICATION_STATE_UNSPECIFIED
+    = "REPLICATION_STATE_UNSPECIFIED"
+  showEnum REPLICATION_STATE_NORMAL = "REPLICATION_STATE_NORMAL"
+  showEnum REPLICATION_STATE_HANDOVER = "REPLICATION_STATE_HANDOVER"
+  showEnum
+    (ReplicationState'Unrecognized (ReplicationState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "REPLICATION_STATE_UNSPECIFIED"
+    = Prelude.Just REPLICATION_STATE_UNSPECIFIED
+    | (Prelude.==) k "REPLICATION_STATE_NORMAL"
+    = Prelude.Just REPLICATION_STATE_NORMAL
+    | (Prelude.==) k "REPLICATION_STATE_HANDOVER"
+    = Prelude.Just REPLICATION_STATE_HANDOVER
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ReplicationState where
+  minBound = REPLICATION_STATE_UNSPECIFIED
+  maxBound = REPLICATION_STATE_HANDOVER
+instance Prelude.Enum ReplicationState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ReplicationState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum REPLICATION_STATE_UNSPECIFIED = 0
+  fromEnum REPLICATION_STATE_NORMAL = 1
+  fromEnum REPLICATION_STATE_HANDOVER = 2
+  fromEnum
+    (ReplicationState'Unrecognized (ReplicationState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ REPLICATION_STATE_HANDOVER
+    = Prelude.error
+        "ReplicationState.succ: bad argument REPLICATION_STATE_HANDOVER. This value would be out of bounds."
+  succ REPLICATION_STATE_UNSPECIFIED = REPLICATION_STATE_NORMAL
+  succ REPLICATION_STATE_NORMAL = REPLICATION_STATE_HANDOVER
+  succ (ReplicationState'Unrecognized _)
+    = Prelude.error
+        "ReplicationState.succ: bad argument: unrecognized value"
+  pred REPLICATION_STATE_UNSPECIFIED
+    = Prelude.error
+        "ReplicationState.pred: bad argument REPLICATION_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred REPLICATION_STATE_NORMAL = REPLICATION_STATE_UNSPECIFIED
+  pred REPLICATION_STATE_HANDOVER = REPLICATION_STATE_NORMAL
+  pred (ReplicationState'Unrecognized _)
+    = Prelude.error
+        "ReplicationState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ReplicationState where
+  fieldDefault = REPLICATION_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData ReplicationState where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Namespace_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Namespace_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Namespace_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/namespace.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Namespace_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Nexus.hs b/src/Proto/Temporal/Api/Enums/V1/Nexus.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Nexus.hs
@@ -0,0 +1,119 @@
+{- This file was auto-generated from temporal/api/enums/v1/nexus.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Nexus (
+        NexusHandlerErrorRetryBehavior(..),
+        NexusHandlerErrorRetryBehavior(),
+        NexusHandlerErrorRetryBehavior'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype NexusHandlerErrorRetryBehavior'UnrecognizedValue
+  = NexusHandlerErrorRetryBehavior'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data NexusHandlerErrorRetryBehavior
+  = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED |
+    NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE |
+    NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE |
+    NexusHandlerErrorRetryBehavior'Unrecognized !NexusHandlerErrorRetryBehavior'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum NexusHandlerErrorRetryBehavior where
+  maybeToEnum 0
+    = Prelude.Just NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+  maybeToEnum 2
+    = Prelude.Just NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+  maybeToEnum k
+    = Prelude.Just
+        (NexusHandlerErrorRetryBehavior'Unrecognized
+           (NexusHandlerErrorRetryBehavior'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+    = "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED"
+  showEnum NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+    = "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE"
+  showEnum NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+    = "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE"
+  showEnum
+    (NexusHandlerErrorRetryBehavior'Unrecognized (NexusHandlerErrorRetryBehavior'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED"
+    = Prelude.Just NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+    | (Prelude.==) k "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE"
+    = Prelude.Just NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+    | (Prelude.==) k "NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE"
+    = Prelude.Just NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded NexusHandlerErrorRetryBehavior where
+  minBound = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+  maxBound = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+instance Prelude.Enum NexusHandlerErrorRetryBehavior where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum NexusHandlerErrorRetryBehavior: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED = 0
+  fromEnum NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE = 1
+  fromEnum NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE = 2
+  fromEnum
+    (NexusHandlerErrorRetryBehavior'Unrecognized (NexusHandlerErrorRetryBehavior'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+    = Prelude.error
+        "NexusHandlerErrorRetryBehavior.succ: bad argument NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE. This value would be out of bounds."
+  succ NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+    = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+  succ NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+    = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+  succ (NexusHandlerErrorRetryBehavior'Unrecognized _)
+    = Prelude.error
+        "NexusHandlerErrorRetryBehavior.succ: bad argument: unrecognized value"
+  pred NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+    = Prelude.error
+        "NexusHandlerErrorRetryBehavior.pred: bad argument NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED. This value would be out of bounds."
+  pred NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+    = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+  pred NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_NON_RETRYABLE
+    = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_RETRYABLE
+  pred (NexusHandlerErrorRetryBehavior'Unrecognized _)
+    = Prelude.error
+        "NexusHandlerErrorRetryBehavior.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault NexusHandlerErrorRetryBehavior where
+  fieldDefault = NEXUS_HANDLER_ERROR_RETRY_BEHAVIOR_UNSPECIFIED
+instance Control.DeepSeq.NFData NexusHandlerErrorRetryBehavior where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Nexus_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Nexus_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Nexus_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/nexus.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Nexus_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Query.hs b/src/Proto/Temporal/Api/Enums/V1/Query.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Query.hs
@@ -0,0 +1,199 @@
+{- This file was auto-generated from temporal/api/enums/v1/query.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Query (
+        QueryRejectCondition(..), QueryRejectCondition(),
+        QueryRejectCondition'UnrecognizedValue, QueryResultType(..),
+        QueryResultType(), QueryResultType'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype QueryRejectCondition'UnrecognizedValue
+  = QueryRejectCondition'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data QueryRejectCondition
+  = QUERY_REJECT_CONDITION_UNSPECIFIED |
+    QUERY_REJECT_CONDITION_NONE |
+    QUERY_REJECT_CONDITION_NOT_OPEN |
+    QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY |
+    QueryRejectCondition'Unrecognized !QueryRejectCondition'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum QueryRejectCondition where
+  maybeToEnum 0 = Prelude.Just QUERY_REJECT_CONDITION_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just QUERY_REJECT_CONDITION_NONE
+  maybeToEnum 2 = Prelude.Just QUERY_REJECT_CONDITION_NOT_OPEN
+  maybeToEnum 3
+    = Prelude.Just QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+  maybeToEnum k
+    = Prelude.Just
+        (QueryRejectCondition'Unrecognized
+           (QueryRejectCondition'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum QUERY_REJECT_CONDITION_UNSPECIFIED
+    = "QUERY_REJECT_CONDITION_UNSPECIFIED"
+  showEnum QUERY_REJECT_CONDITION_NONE
+    = "QUERY_REJECT_CONDITION_NONE"
+  showEnum QUERY_REJECT_CONDITION_NOT_OPEN
+    = "QUERY_REJECT_CONDITION_NOT_OPEN"
+  showEnum QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+    = "QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY"
+  showEnum
+    (QueryRejectCondition'Unrecognized (QueryRejectCondition'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "QUERY_REJECT_CONDITION_UNSPECIFIED"
+    = Prelude.Just QUERY_REJECT_CONDITION_UNSPECIFIED
+    | (Prelude.==) k "QUERY_REJECT_CONDITION_NONE"
+    = Prelude.Just QUERY_REJECT_CONDITION_NONE
+    | (Prelude.==) k "QUERY_REJECT_CONDITION_NOT_OPEN"
+    = Prelude.Just QUERY_REJECT_CONDITION_NOT_OPEN
+    | (Prelude.==) k "QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY"
+    = Prelude.Just QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded QueryRejectCondition where
+  minBound = QUERY_REJECT_CONDITION_UNSPECIFIED
+  maxBound = QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+instance Prelude.Enum QueryRejectCondition where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum QueryRejectCondition: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum QUERY_REJECT_CONDITION_UNSPECIFIED = 0
+  fromEnum QUERY_REJECT_CONDITION_NONE = 1
+  fromEnum QUERY_REJECT_CONDITION_NOT_OPEN = 2
+  fromEnum QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY = 3
+  fromEnum
+    (QueryRejectCondition'Unrecognized (QueryRejectCondition'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+    = Prelude.error
+        "QueryRejectCondition.succ: bad argument QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY. This value would be out of bounds."
+  succ QUERY_REJECT_CONDITION_UNSPECIFIED
+    = QUERY_REJECT_CONDITION_NONE
+  succ QUERY_REJECT_CONDITION_NONE = QUERY_REJECT_CONDITION_NOT_OPEN
+  succ QUERY_REJECT_CONDITION_NOT_OPEN
+    = QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+  succ (QueryRejectCondition'Unrecognized _)
+    = Prelude.error
+        "QueryRejectCondition.succ: bad argument: unrecognized value"
+  pred QUERY_REJECT_CONDITION_UNSPECIFIED
+    = Prelude.error
+        "QueryRejectCondition.pred: bad argument QUERY_REJECT_CONDITION_UNSPECIFIED. This value would be out of bounds."
+  pred QUERY_REJECT_CONDITION_NONE
+    = QUERY_REJECT_CONDITION_UNSPECIFIED
+  pred QUERY_REJECT_CONDITION_NOT_OPEN = QUERY_REJECT_CONDITION_NONE
+  pred QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY
+    = QUERY_REJECT_CONDITION_NOT_OPEN
+  pred (QueryRejectCondition'Unrecognized _)
+    = Prelude.error
+        "QueryRejectCondition.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault QueryRejectCondition where
+  fieldDefault = QUERY_REJECT_CONDITION_UNSPECIFIED
+instance Control.DeepSeq.NFData QueryRejectCondition where
+  rnf x__ = Prelude.seq x__ ()
+newtype QueryResultType'UnrecognizedValue
+  = QueryResultType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data QueryResultType
+  = QUERY_RESULT_TYPE_UNSPECIFIED |
+    QUERY_RESULT_TYPE_ANSWERED |
+    QUERY_RESULT_TYPE_FAILED |
+    QueryResultType'Unrecognized !QueryResultType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum QueryResultType where
+  maybeToEnum 0 = Prelude.Just QUERY_RESULT_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just QUERY_RESULT_TYPE_ANSWERED
+  maybeToEnum 2 = Prelude.Just QUERY_RESULT_TYPE_FAILED
+  maybeToEnum k
+    = Prelude.Just
+        (QueryResultType'Unrecognized
+           (QueryResultType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum QUERY_RESULT_TYPE_UNSPECIFIED
+    = "QUERY_RESULT_TYPE_UNSPECIFIED"
+  showEnum QUERY_RESULT_TYPE_ANSWERED = "QUERY_RESULT_TYPE_ANSWERED"
+  showEnum QUERY_RESULT_TYPE_FAILED = "QUERY_RESULT_TYPE_FAILED"
+  showEnum
+    (QueryResultType'Unrecognized (QueryResultType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "QUERY_RESULT_TYPE_UNSPECIFIED"
+    = Prelude.Just QUERY_RESULT_TYPE_UNSPECIFIED
+    | (Prelude.==) k "QUERY_RESULT_TYPE_ANSWERED"
+    = Prelude.Just QUERY_RESULT_TYPE_ANSWERED
+    | (Prelude.==) k "QUERY_RESULT_TYPE_FAILED"
+    = Prelude.Just QUERY_RESULT_TYPE_FAILED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded QueryResultType where
+  minBound = QUERY_RESULT_TYPE_UNSPECIFIED
+  maxBound = QUERY_RESULT_TYPE_FAILED
+instance Prelude.Enum QueryResultType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum QueryResultType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum QUERY_RESULT_TYPE_UNSPECIFIED = 0
+  fromEnum QUERY_RESULT_TYPE_ANSWERED = 1
+  fromEnum QUERY_RESULT_TYPE_FAILED = 2
+  fromEnum
+    (QueryResultType'Unrecognized (QueryResultType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ QUERY_RESULT_TYPE_FAILED
+    = Prelude.error
+        "QueryResultType.succ: bad argument QUERY_RESULT_TYPE_FAILED. This value would be out of bounds."
+  succ QUERY_RESULT_TYPE_UNSPECIFIED = QUERY_RESULT_TYPE_ANSWERED
+  succ QUERY_RESULT_TYPE_ANSWERED = QUERY_RESULT_TYPE_FAILED
+  succ (QueryResultType'Unrecognized _)
+    = Prelude.error
+        "QueryResultType.succ: bad argument: unrecognized value"
+  pred QUERY_RESULT_TYPE_UNSPECIFIED
+    = Prelude.error
+        "QueryResultType.pred: bad argument QUERY_RESULT_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred QUERY_RESULT_TYPE_ANSWERED = QUERY_RESULT_TYPE_UNSPECIFIED
+  pred QUERY_RESULT_TYPE_FAILED = QUERY_RESULT_TYPE_ANSWERED
+  pred (QueryResultType'Unrecognized _)
+    = Prelude.error
+        "QueryResultType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault QueryResultType where
+  fieldDefault = QUERY_RESULT_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData QueryResultType where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Query_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Query_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Query_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/query.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Query_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Reset.hs b/src/Proto/Temporal/Api/Enums/V1/Reset.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Reset.hs
@@ -0,0 +1,293 @@
+{- This file was auto-generated from temporal/api/enums/v1/reset.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Reset (
+        ResetReapplyExcludeType(..), ResetReapplyExcludeType(),
+        ResetReapplyExcludeType'UnrecognizedValue, ResetReapplyType(..),
+        ResetReapplyType(), ResetReapplyType'UnrecognizedValue,
+        ResetType(..), ResetType(), ResetType'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype ResetReapplyExcludeType'UnrecognizedValue
+  = ResetReapplyExcludeType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ResetReapplyExcludeType
+  = RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED |
+    RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL |
+    RESET_REAPPLY_EXCLUDE_TYPE_UPDATE |
+    RESET_REAPPLY_EXCLUDE_TYPE_NEXUS |
+    RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST |
+    ResetReapplyExcludeType'Unrecognized !ResetReapplyExcludeType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ResetReapplyExcludeType where
+  maybeToEnum 0 = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+  maybeToEnum 2 = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+  maybeToEnum 3 = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+  maybeToEnum 4
+    = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+  maybeToEnum k
+    = Prelude.Just
+        (ResetReapplyExcludeType'Unrecognized
+           (ResetReapplyExcludeType'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+    = "RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED"
+  showEnum RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+    = "RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL"
+  showEnum RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+    = "RESET_REAPPLY_EXCLUDE_TYPE_UPDATE"
+  showEnum RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+    = "RESET_REAPPLY_EXCLUDE_TYPE_NEXUS"
+  showEnum RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+    = "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST"
+  showEnum
+    (ResetReapplyExcludeType'Unrecognized (ResetReapplyExcludeType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED"
+    = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+    | (Prelude.==) k "RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL"
+    = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+    | (Prelude.==) k "RESET_REAPPLY_EXCLUDE_TYPE_UPDATE"
+    = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+    | (Prelude.==) k "RESET_REAPPLY_EXCLUDE_TYPE_NEXUS"
+    = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+    | (Prelude.==) k "RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST"
+    = Prelude.Just RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ResetReapplyExcludeType where
+  minBound = RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+  maxBound = RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+instance Prelude.Enum ResetReapplyExcludeType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ResetReapplyExcludeType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED = 0
+  fromEnum RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL = 1
+  fromEnum RESET_REAPPLY_EXCLUDE_TYPE_UPDATE = 2
+  fromEnum RESET_REAPPLY_EXCLUDE_TYPE_NEXUS = 3
+  fromEnum RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST = 4
+  fromEnum
+    (ResetReapplyExcludeType'Unrecognized (ResetReapplyExcludeType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+    = Prelude.error
+        "ResetReapplyExcludeType.succ: bad argument RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST. This value would be out of bounds."
+  succ RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+    = RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+  succ RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+    = RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+  succ RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+    = RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+  succ RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+    = RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+  succ (ResetReapplyExcludeType'Unrecognized _)
+    = Prelude.error
+        "ResetReapplyExcludeType.succ: bad argument: unrecognized value"
+  pred RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+    = Prelude.error
+        "ResetReapplyExcludeType.pred: bad argument RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+    = RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+  pred RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+    = RESET_REAPPLY_EXCLUDE_TYPE_SIGNAL
+  pred RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+    = RESET_REAPPLY_EXCLUDE_TYPE_UPDATE
+  pred RESET_REAPPLY_EXCLUDE_TYPE_CANCEL_REQUEST
+    = RESET_REAPPLY_EXCLUDE_TYPE_NEXUS
+  pred (ResetReapplyExcludeType'Unrecognized _)
+    = Prelude.error
+        "ResetReapplyExcludeType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ResetReapplyExcludeType where
+  fieldDefault = RESET_REAPPLY_EXCLUDE_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData ResetReapplyExcludeType where
+  rnf x__ = Prelude.seq x__ ()
+newtype ResetReapplyType'UnrecognizedValue
+  = ResetReapplyType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ResetReapplyType
+  = RESET_REAPPLY_TYPE_UNSPECIFIED |
+    RESET_REAPPLY_TYPE_SIGNAL |
+    RESET_REAPPLY_TYPE_NONE |
+    RESET_REAPPLY_TYPE_ALL_ELIGIBLE |
+    ResetReapplyType'Unrecognized !ResetReapplyType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ResetReapplyType where
+  maybeToEnum 0 = Prelude.Just RESET_REAPPLY_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RESET_REAPPLY_TYPE_SIGNAL
+  maybeToEnum 2 = Prelude.Just RESET_REAPPLY_TYPE_NONE
+  maybeToEnum 3 = Prelude.Just RESET_REAPPLY_TYPE_ALL_ELIGIBLE
+  maybeToEnum k
+    = Prelude.Just
+        (ResetReapplyType'Unrecognized
+           (ResetReapplyType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum RESET_REAPPLY_TYPE_UNSPECIFIED
+    = "RESET_REAPPLY_TYPE_UNSPECIFIED"
+  showEnum RESET_REAPPLY_TYPE_SIGNAL = "RESET_REAPPLY_TYPE_SIGNAL"
+  showEnum RESET_REAPPLY_TYPE_NONE = "RESET_REAPPLY_TYPE_NONE"
+  showEnum RESET_REAPPLY_TYPE_ALL_ELIGIBLE
+    = "RESET_REAPPLY_TYPE_ALL_ELIGIBLE"
+  showEnum
+    (ResetReapplyType'Unrecognized (ResetReapplyType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "RESET_REAPPLY_TYPE_UNSPECIFIED"
+    = Prelude.Just RESET_REAPPLY_TYPE_UNSPECIFIED
+    | (Prelude.==) k "RESET_REAPPLY_TYPE_SIGNAL"
+    = Prelude.Just RESET_REAPPLY_TYPE_SIGNAL
+    | (Prelude.==) k "RESET_REAPPLY_TYPE_NONE"
+    = Prelude.Just RESET_REAPPLY_TYPE_NONE
+    | (Prelude.==) k "RESET_REAPPLY_TYPE_ALL_ELIGIBLE"
+    = Prelude.Just RESET_REAPPLY_TYPE_ALL_ELIGIBLE
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ResetReapplyType where
+  minBound = RESET_REAPPLY_TYPE_UNSPECIFIED
+  maxBound = RESET_REAPPLY_TYPE_ALL_ELIGIBLE
+instance Prelude.Enum ResetReapplyType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ResetReapplyType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RESET_REAPPLY_TYPE_UNSPECIFIED = 0
+  fromEnum RESET_REAPPLY_TYPE_SIGNAL = 1
+  fromEnum RESET_REAPPLY_TYPE_NONE = 2
+  fromEnum RESET_REAPPLY_TYPE_ALL_ELIGIBLE = 3
+  fromEnum
+    (ResetReapplyType'Unrecognized (ResetReapplyType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RESET_REAPPLY_TYPE_ALL_ELIGIBLE
+    = Prelude.error
+        "ResetReapplyType.succ: bad argument RESET_REAPPLY_TYPE_ALL_ELIGIBLE. This value would be out of bounds."
+  succ RESET_REAPPLY_TYPE_UNSPECIFIED = RESET_REAPPLY_TYPE_SIGNAL
+  succ RESET_REAPPLY_TYPE_SIGNAL = RESET_REAPPLY_TYPE_NONE
+  succ RESET_REAPPLY_TYPE_NONE = RESET_REAPPLY_TYPE_ALL_ELIGIBLE
+  succ (ResetReapplyType'Unrecognized _)
+    = Prelude.error
+        "ResetReapplyType.succ: bad argument: unrecognized value"
+  pred RESET_REAPPLY_TYPE_UNSPECIFIED
+    = Prelude.error
+        "ResetReapplyType.pred: bad argument RESET_REAPPLY_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred RESET_REAPPLY_TYPE_SIGNAL = RESET_REAPPLY_TYPE_UNSPECIFIED
+  pred RESET_REAPPLY_TYPE_NONE = RESET_REAPPLY_TYPE_SIGNAL
+  pred RESET_REAPPLY_TYPE_ALL_ELIGIBLE = RESET_REAPPLY_TYPE_NONE
+  pred (ResetReapplyType'Unrecognized _)
+    = Prelude.error
+        "ResetReapplyType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ResetReapplyType where
+  fieldDefault = RESET_REAPPLY_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData ResetReapplyType where
+  rnf x__ = Prelude.seq x__ ()
+newtype ResetType'UnrecognizedValue
+  = ResetType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ResetType
+  = RESET_TYPE_UNSPECIFIED |
+    RESET_TYPE_FIRST_WORKFLOW_TASK |
+    RESET_TYPE_LAST_WORKFLOW_TASK |
+    ResetType'Unrecognized !ResetType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ResetType where
+  maybeToEnum 0 = Prelude.Just RESET_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RESET_TYPE_FIRST_WORKFLOW_TASK
+  maybeToEnum 2 = Prelude.Just RESET_TYPE_LAST_WORKFLOW_TASK
+  maybeToEnum k
+    = Prelude.Just
+        (ResetType'Unrecognized
+           (ResetType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum RESET_TYPE_UNSPECIFIED = "RESET_TYPE_UNSPECIFIED"
+  showEnum RESET_TYPE_FIRST_WORKFLOW_TASK
+    = "RESET_TYPE_FIRST_WORKFLOW_TASK"
+  showEnum RESET_TYPE_LAST_WORKFLOW_TASK
+    = "RESET_TYPE_LAST_WORKFLOW_TASK"
+  showEnum (ResetType'Unrecognized (ResetType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "RESET_TYPE_UNSPECIFIED"
+    = Prelude.Just RESET_TYPE_UNSPECIFIED
+    | (Prelude.==) k "RESET_TYPE_FIRST_WORKFLOW_TASK"
+    = Prelude.Just RESET_TYPE_FIRST_WORKFLOW_TASK
+    | (Prelude.==) k "RESET_TYPE_LAST_WORKFLOW_TASK"
+    = Prelude.Just RESET_TYPE_LAST_WORKFLOW_TASK
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ResetType where
+  minBound = RESET_TYPE_UNSPECIFIED
+  maxBound = RESET_TYPE_LAST_WORKFLOW_TASK
+instance Prelude.Enum ResetType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ResetType: " (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RESET_TYPE_UNSPECIFIED = 0
+  fromEnum RESET_TYPE_FIRST_WORKFLOW_TASK = 1
+  fromEnum RESET_TYPE_LAST_WORKFLOW_TASK = 2
+  fromEnum (ResetType'Unrecognized (ResetType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RESET_TYPE_LAST_WORKFLOW_TASK
+    = Prelude.error
+        "ResetType.succ: bad argument RESET_TYPE_LAST_WORKFLOW_TASK. This value would be out of bounds."
+  succ RESET_TYPE_UNSPECIFIED = RESET_TYPE_FIRST_WORKFLOW_TASK
+  succ RESET_TYPE_FIRST_WORKFLOW_TASK = RESET_TYPE_LAST_WORKFLOW_TASK
+  succ (ResetType'Unrecognized _)
+    = Prelude.error "ResetType.succ: bad argument: unrecognized value"
+  pred RESET_TYPE_UNSPECIFIED
+    = Prelude.error
+        "ResetType.pred: bad argument RESET_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred RESET_TYPE_FIRST_WORKFLOW_TASK = RESET_TYPE_UNSPECIFIED
+  pred RESET_TYPE_LAST_WORKFLOW_TASK = RESET_TYPE_FIRST_WORKFLOW_TASK
+  pred (ResetType'Unrecognized _)
+    = Prelude.error "ResetType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ResetType where
+  fieldDefault = RESET_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData ResetType where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Reset_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Reset_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Reset_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/reset.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Reset_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Schedule.hs b/src/Proto/Temporal/Api/Enums/V1/Schedule.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Schedule.hs
@@ -0,0 +1,159 @@
+{- This file was auto-generated from temporal/api/enums/v1/schedule.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Schedule (
+        ScheduleOverlapPolicy(..), ScheduleOverlapPolicy(),
+        ScheduleOverlapPolicy'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype ScheduleOverlapPolicy'UnrecognizedValue
+  = ScheduleOverlapPolicy'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ScheduleOverlapPolicy
+  = SCHEDULE_OVERLAP_POLICY_UNSPECIFIED |
+    SCHEDULE_OVERLAP_POLICY_SKIP |
+    SCHEDULE_OVERLAP_POLICY_BUFFER_ONE |
+    SCHEDULE_OVERLAP_POLICY_BUFFER_ALL |
+    SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER |
+    SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER |
+    SCHEDULE_OVERLAP_POLICY_ALLOW_ALL |
+    ScheduleOverlapPolicy'Unrecognized !ScheduleOverlapPolicy'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ScheduleOverlapPolicy where
+  maybeToEnum 0 = Prelude.Just SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just SCHEDULE_OVERLAP_POLICY_SKIP
+  maybeToEnum 2 = Prelude.Just SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+  maybeToEnum 3 = Prelude.Just SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+  maybeToEnum 4 = Prelude.Just SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+  maybeToEnum 5
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+  maybeToEnum 6 = Prelude.Just SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+  maybeToEnum k
+    = Prelude.Just
+        (ScheduleOverlapPolicy'Unrecognized
+           (ScheduleOverlapPolicy'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+    = "SCHEDULE_OVERLAP_POLICY_UNSPECIFIED"
+  showEnum SCHEDULE_OVERLAP_POLICY_SKIP
+    = "SCHEDULE_OVERLAP_POLICY_SKIP"
+  showEnum SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+    = "SCHEDULE_OVERLAP_POLICY_BUFFER_ONE"
+  showEnum SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+    = "SCHEDULE_OVERLAP_POLICY_BUFFER_ALL"
+  showEnum SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+    = "SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER"
+  showEnum SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+    = "SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER"
+  showEnum SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+    = "SCHEDULE_OVERLAP_POLICY_ALLOW_ALL"
+  showEnum
+    (ScheduleOverlapPolicy'Unrecognized (ScheduleOverlapPolicy'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_UNSPECIFIED"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_SKIP"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_SKIP
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_BUFFER_ONE"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_BUFFER_ALL"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+    | (Prelude.==) k "SCHEDULE_OVERLAP_POLICY_ALLOW_ALL"
+    = Prelude.Just SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ScheduleOverlapPolicy where
+  minBound = SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+  maxBound = SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+instance Prelude.Enum ScheduleOverlapPolicy where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ScheduleOverlapPolicy: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum SCHEDULE_OVERLAP_POLICY_UNSPECIFIED = 0
+  fromEnum SCHEDULE_OVERLAP_POLICY_SKIP = 1
+  fromEnum SCHEDULE_OVERLAP_POLICY_BUFFER_ONE = 2
+  fromEnum SCHEDULE_OVERLAP_POLICY_BUFFER_ALL = 3
+  fromEnum SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER = 4
+  fromEnum SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER = 5
+  fromEnum SCHEDULE_OVERLAP_POLICY_ALLOW_ALL = 6
+  fromEnum
+    (ScheduleOverlapPolicy'Unrecognized (ScheduleOverlapPolicy'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+    = Prelude.error
+        "ScheduleOverlapPolicy.succ: bad argument SCHEDULE_OVERLAP_POLICY_ALLOW_ALL. This value would be out of bounds."
+  succ SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+    = SCHEDULE_OVERLAP_POLICY_SKIP
+  succ SCHEDULE_OVERLAP_POLICY_SKIP
+    = SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+  succ SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+    = SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+  succ SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+    = SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+  succ SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+    = SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+  succ SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+    = SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+  succ (ScheduleOverlapPolicy'Unrecognized _)
+    = Prelude.error
+        "ScheduleOverlapPolicy.succ: bad argument: unrecognized value"
+  pred SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+    = Prelude.error
+        "ScheduleOverlapPolicy.pred: bad argument SCHEDULE_OVERLAP_POLICY_UNSPECIFIED. This value would be out of bounds."
+  pred SCHEDULE_OVERLAP_POLICY_SKIP
+    = SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+  pred SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+    = SCHEDULE_OVERLAP_POLICY_SKIP
+  pred SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+    = SCHEDULE_OVERLAP_POLICY_BUFFER_ONE
+  pred SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+    = SCHEDULE_OVERLAP_POLICY_BUFFER_ALL
+  pred SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+    = SCHEDULE_OVERLAP_POLICY_CANCEL_OTHER
+  pred SCHEDULE_OVERLAP_POLICY_ALLOW_ALL
+    = SCHEDULE_OVERLAP_POLICY_TERMINATE_OTHER
+  pred (ScheduleOverlapPolicy'Unrecognized _)
+    = Prelude.error
+        "ScheduleOverlapPolicy.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ScheduleOverlapPolicy where
+  fieldDefault = SCHEDULE_OVERLAP_POLICY_UNSPECIFIED
+instance Control.DeepSeq.NFData ScheduleOverlapPolicy where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Schedule_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Schedule_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Schedule_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/schedule.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Schedule_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/TaskQueue.hs b/src/Proto/Temporal/Api/Enums/V1/TaskQueue.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/TaskQueue.hs
@@ -0,0 +1,460 @@
+{- This file was auto-generated from temporal/api/enums/v1/task_queue.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.TaskQueue (
+        BuildIdTaskReachability(..), BuildIdTaskReachability(),
+        BuildIdTaskReachability'UnrecognizedValue,
+        DescribeTaskQueueMode(..), DescribeTaskQueueMode(),
+        DescribeTaskQueueMode'UnrecognizedValue, TaskQueueKind(..),
+        TaskQueueKind(), TaskQueueKind'UnrecognizedValue,
+        TaskQueueType(..), TaskQueueType(),
+        TaskQueueType'UnrecognizedValue, TaskReachability(..),
+        TaskReachability(), TaskReachability'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype BuildIdTaskReachability'UnrecognizedValue
+  = BuildIdTaskReachability'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data BuildIdTaskReachability
+  = BUILD_ID_TASK_REACHABILITY_UNSPECIFIED |
+    BUILD_ID_TASK_REACHABILITY_REACHABLE |
+    BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY |
+    BUILD_ID_TASK_REACHABILITY_UNREACHABLE |
+    BuildIdTaskReachability'Unrecognized !BuildIdTaskReachability'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum BuildIdTaskReachability where
+  maybeToEnum 0 = Prelude.Just BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just BUILD_ID_TASK_REACHABILITY_REACHABLE
+  maybeToEnum 2
+    = Prelude.Just BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+  maybeToEnum 3 = Prelude.Just BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+  maybeToEnum k
+    = Prelude.Just
+        (BuildIdTaskReachability'Unrecognized
+           (BuildIdTaskReachability'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+    = "BUILD_ID_TASK_REACHABILITY_UNSPECIFIED"
+  showEnum BUILD_ID_TASK_REACHABILITY_REACHABLE
+    = "BUILD_ID_TASK_REACHABILITY_REACHABLE"
+  showEnum BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    = "BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY"
+  showEnum BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+    = "BUILD_ID_TASK_REACHABILITY_UNREACHABLE"
+  showEnum
+    (BuildIdTaskReachability'Unrecognized (BuildIdTaskReachability'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "BUILD_ID_TASK_REACHABILITY_UNSPECIFIED"
+    = Prelude.Just BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+    | (Prelude.==) k "BUILD_ID_TASK_REACHABILITY_REACHABLE"
+    = Prelude.Just BUILD_ID_TASK_REACHABILITY_REACHABLE
+    | (Prelude.==) k "BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY"
+    = Prelude.Just BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    | (Prelude.==) k "BUILD_ID_TASK_REACHABILITY_UNREACHABLE"
+    = Prelude.Just BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded BuildIdTaskReachability where
+  minBound = BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+  maxBound = BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+instance Prelude.Enum BuildIdTaskReachability where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum BuildIdTaskReachability: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum BUILD_ID_TASK_REACHABILITY_UNSPECIFIED = 0
+  fromEnum BUILD_ID_TASK_REACHABILITY_REACHABLE = 1
+  fromEnum BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY = 2
+  fromEnum BUILD_ID_TASK_REACHABILITY_UNREACHABLE = 3
+  fromEnum
+    (BuildIdTaskReachability'Unrecognized (BuildIdTaskReachability'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+    = Prelude.error
+        "BuildIdTaskReachability.succ: bad argument BUILD_ID_TASK_REACHABILITY_UNREACHABLE. This value would be out of bounds."
+  succ BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+    = BUILD_ID_TASK_REACHABILITY_REACHABLE
+  succ BUILD_ID_TASK_REACHABILITY_REACHABLE
+    = BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+  succ BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    = BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+  succ (BuildIdTaskReachability'Unrecognized _)
+    = Prelude.error
+        "BuildIdTaskReachability.succ: bad argument: unrecognized value"
+  pred BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+    = Prelude.error
+        "BuildIdTaskReachability.pred: bad argument BUILD_ID_TASK_REACHABILITY_UNSPECIFIED. This value would be out of bounds."
+  pred BUILD_ID_TASK_REACHABILITY_REACHABLE
+    = BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+  pred BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+    = BUILD_ID_TASK_REACHABILITY_REACHABLE
+  pred BUILD_ID_TASK_REACHABILITY_UNREACHABLE
+    = BUILD_ID_TASK_REACHABILITY_CLOSED_WORKFLOWS_ONLY
+  pred (BuildIdTaskReachability'Unrecognized _)
+    = Prelude.error
+        "BuildIdTaskReachability.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault BuildIdTaskReachability where
+  fieldDefault = BUILD_ID_TASK_REACHABILITY_UNSPECIFIED
+instance Control.DeepSeq.NFData BuildIdTaskReachability where
+  rnf x__ = Prelude.seq x__ ()
+newtype DescribeTaskQueueMode'UnrecognizedValue
+  = DescribeTaskQueueMode'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data DescribeTaskQueueMode
+  = DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED |
+    DESCRIBE_TASK_QUEUE_MODE_ENHANCED |
+    DescribeTaskQueueMode'Unrecognized !DescribeTaskQueueMode'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum DescribeTaskQueueMode where
+  maybeToEnum 0 = Prelude.Just DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+  maybeToEnum k
+    = Prelude.Just
+        (DescribeTaskQueueMode'Unrecognized
+           (DescribeTaskQueueMode'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+    = "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED"
+  showEnum DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+    = "DESCRIBE_TASK_QUEUE_MODE_ENHANCED"
+  showEnum
+    (DescribeTaskQueueMode'Unrecognized (DescribeTaskQueueMode'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED"
+    = Prelude.Just DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+    | (Prelude.==) k "DESCRIBE_TASK_QUEUE_MODE_ENHANCED"
+    = Prelude.Just DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded DescribeTaskQueueMode where
+  minBound = DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+  maxBound = DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+instance Prelude.Enum DescribeTaskQueueMode where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum DescribeTaskQueueMode: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED = 0
+  fromEnum DESCRIBE_TASK_QUEUE_MODE_ENHANCED = 1
+  fromEnum
+    (DescribeTaskQueueMode'Unrecognized (DescribeTaskQueueMode'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+    = Prelude.error
+        "DescribeTaskQueueMode.succ: bad argument DESCRIBE_TASK_QUEUE_MODE_ENHANCED. This value would be out of bounds."
+  succ DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+    = DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+  succ (DescribeTaskQueueMode'Unrecognized _)
+    = Prelude.error
+        "DescribeTaskQueueMode.succ: bad argument: unrecognized value"
+  pred DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+    = Prelude.error
+        "DescribeTaskQueueMode.pred: bad argument DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED. This value would be out of bounds."
+  pred DESCRIBE_TASK_QUEUE_MODE_ENHANCED
+    = DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+  pred (DescribeTaskQueueMode'Unrecognized _)
+    = Prelude.error
+        "DescribeTaskQueueMode.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault DescribeTaskQueueMode where
+  fieldDefault = DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED
+instance Control.DeepSeq.NFData DescribeTaskQueueMode where
+  rnf x__ = Prelude.seq x__ ()
+newtype TaskQueueKind'UnrecognizedValue
+  = TaskQueueKind'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data TaskQueueKind
+  = TASK_QUEUE_KIND_UNSPECIFIED |
+    TASK_QUEUE_KIND_NORMAL |
+    TASK_QUEUE_KIND_STICKY |
+    TaskQueueKind'Unrecognized !TaskQueueKind'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum TaskQueueKind where
+  maybeToEnum 0 = Prelude.Just TASK_QUEUE_KIND_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just TASK_QUEUE_KIND_NORMAL
+  maybeToEnum 2 = Prelude.Just TASK_QUEUE_KIND_STICKY
+  maybeToEnum k
+    = Prelude.Just
+        (TaskQueueKind'Unrecognized
+           (TaskQueueKind'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum TASK_QUEUE_KIND_UNSPECIFIED
+    = "TASK_QUEUE_KIND_UNSPECIFIED"
+  showEnum TASK_QUEUE_KIND_NORMAL = "TASK_QUEUE_KIND_NORMAL"
+  showEnum TASK_QUEUE_KIND_STICKY = "TASK_QUEUE_KIND_STICKY"
+  showEnum
+    (TaskQueueKind'Unrecognized (TaskQueueKind'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "TASK_QUEUE_KIND_UNSPECIFIED"
+    = Prelude.Just TASK_QUEUE_KIND_UNSPECIFIED
+    | (Prelude.==) k "TASK_QUEUE_KIND_NORMAL"
+    = Prelude.Just TASK_QUEUE_KIND_NORMAL
+    | (Prelude.==) k "TASK_QUEUE_KIND_STICKY"
+    = Prelude.Just TASK_QUEUE_KIND_STICKY
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded TaskQueueKind where
+  minBound = TASK_QUEUE_KIND_UNSPECIFIED
+  maxBound = TASK_QUEUE_KIND_STICKY
+instance Prelude.Enum TaskQueueKind where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum TaskQueueKind: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum TASK_QUEUE_KIND_UNSPECIFIED = 0
+  fromEnum TASK_QUEUE_KIND_NORMAL = 1
+  fromEnum TASK_QUEUE_KIND_STICKY = 2
+  fromEnum
+    (TaskQueueKind'Unrecognized (TaskQueueKind'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ TASK_QUEUE_KIND_STICKY
+    = Prelude.error
+        "TaskQueueKind.succ: bad argument TASK_QUEUE_KIND_STICKY. This value would be out of bounds."
+  succ TASK_QUEUE_KIND_UNSPECIFIED = TASK_QUEUE_KIND_NORMAL
+  succ TASK_QUEUE_KIND_NORMAL = TASK_QUEUE_KIND_STICKY
+  succ (TaskQueueKind'Unrecognized _)
+    = Prelude.error
+        "TaskQueueKind.succ: bad argument: unrecognized value"
+  pred TASK_QUEUE_KIND_UNSPECIFIED
+    = Prelude.error
+        "TaskQueueKind.pred: bad argument TASK_QUEUE_KIND_UNSPECIFIED. This value would be out of bounds."
+  pred TASK_QUEUE_KIND_NORMAL = TASK_QUEUE_KIND_UNSPECIFIED
+  pred TASK_QUEUE_KIND_STICKY = TASK_QUEUE_KIND_NORMAL
+  pred (TaskQueueKind'Unrecognized _)
+    = Prelude.error
+        "TaskQueueKind.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault TaskQueueKind where
+  fieldDefault = TASK_QUEUE_KIND_UNSPECIFIED
+instance Control.DeepSeq.NFData TaskQueueKind where
+  rnf x__ = Prelude.seq x__ ()
+newtype TaskQueueType'UnrecognizedValue
+  = TaskQueueType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data TaskQueueType
+  = TASK_QUEUE_TYPE_UNSPECIFIED |
+    TASK_QUEUE_TYPE_WORKFLOW |
+    TASK_QUEUE_TYPE_ACTIVITY |
+    TASK_QUEUE_TYPE_NEXUS |
+    TaskQueueType'Unrecognized !TaskQueueType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum TaskQueueType where
+  maybeToEnum 0 = Prelude.Just TASK_QUEUE_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just TASK_QUEUE_TYPE_WORKFLOW
+  maybeToEnum 2 = Prelude.Just TASK_QUEUE_TYPE_ACTIVITY
+  maybeToEnum 3 = Prelude.Just TASK_QUEUE_TYPE_NEXUS
+  maybeToEnum k
+    = Prelude.Just
+        (TaskQueueType'Unrecognized
+           (TaskQueueType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum TASK_QUEUE_TYPE_UNSPECIFIED
+    = "TASK_QUEUE_TYPE_UNSPECIFIED"
+  showEnum TASK_QUEUE_TYPE_WORKFLOW = "TASK_QUEUE_TYPE_WORKFLOW"
+  showEnum TASK_QUEUE_TYPE_ACTIVITY = "TASK_QUEUE_TYPE_ACTIVITY"
+  showEnum TASK_QUEUE_TYPE_NEXUS = "TASK_QUEUE_TYPE_NEXUS"
+  showEnum
+    (TaskQueueType'Unrecognized (TaskQueueType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "TASK_QUEUE_TYPE_UNSPECIFIED"
+    = Prelude.Just TASK_QUEUE_TYPE_UNSPECIFIED
+    | (Prelude.==) k "TASK_QUEUE_TYPE_WORKFLOW"
+    = Prelude.Just TASK_QUEUE_TYPE_WORKFLOW
+    | (Prelude.==) k "TASK_QUEUE_TYPE_ACTIVITY"
+    = Prelude.Just TASK_QUEUE_TYPE_ACTIVITY
+    | (Prelude.==) k "TASK_QUEUE_TYPE_NEXUS"
+    = Prelude.Just TASK_QUEUE_TYPE_NEXUS
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded TaskQueueType where
+  minBound = TASK_QUEUE_TYPE_UNSPECIFIED
+  maxBound = TASK_QUEUE_TYPE_NEXUS
+instance Prelude.Enum TaskQueueType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum TaskQueueType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum TASK_QUEUE_TYPE_UNSPECIFIED = 0
+  fromEnum TASK_QUEUE_TYPE_WORKFLOW = 1
+  fromEnum TASK_QUEUE_TYPE_ACTIVITY = 2
+  fromEnum TASK_QUEUE_TYPE_NEXUS = 3
+  fromEnum
+    (TaskQueueType'Unrecognized (TaskQueueType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ TASK_QUEUE_TYPE_NEXUS
+    = Prelude.error
+        "TaskQueueType.succ: bad argument TASK_QUEUE_TYPE_NEXUS. This value would be out of bounds."
+  succ TASK_QUEUE_TYPE_UNSPECIFIED = TASK_QUEUE_TYPE_WORKFLOW
+  succ TASK_QUEUE_TYPE_WORKFLOW = TASK_QUEUE_TYPE_ACTIVITY
+  succ TASK_QUEUE_TYPE_ACTIVITY = TASK_QUEUE_TYPE_NEXUS
+  succ (TaskQueueType'Unrecognized _)
+    = Prelude.error
+        "TaskQueueType.succ: bad argument: unrecognized value"
+  pred TASK_QUEUE_TYPE_UNSPECIFIED
+    = Prelude.error
+        "TaskQueueType.pred: bad argument TASK_QUEUE_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred TASK_QUEUE_TYPE_WORKFLOW = TASK_QUEUE_TYPE_UNSPECIFIED
+  pred TASK_QUEUE_TYPE_ACTIVITY = TASK_QUEUE_TYPE_WORKFLOW
+  pred TASK_QUEUE_TYPE_NEXUS = TASK_QUEUE_TYPE_ACTIVITY
+  pred (TaskQueueType'Unrecognized _)
+    = Prelude.error
+        "TaskQueueType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault TaskQueueType where
+  fieldDefault = TASK_QUEUE_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData TaskQueueType where
+  rnf x__ = Prelude.seq x__ ()
+newtype TaskReachability'UnrecognizedValue
+  = TaskReachability'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data TaskReachability
+  = TASK_REACHABILITY_UNSPECIFIED |
+    TASK_REACHABILITY_NEW_WORKFLOWS |
+    TASK_REACHABILITY_EXISTING_WORKFLOWS |
+    TASK_REACHABILITY_OPEN_WORKFLOWS |
+    TASK_REACHABILITY_CLOSED_WORKFLOWS |
+    TaskReachability'Unrecognized !TaskReachability'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum TaskReachability where
+  maybeToEnum 0 = Prelude.Just TASK_REACHABILITY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just TASK_REACHABILITY_NEW_WORKFLOWS
+  maybeToEnum 2 = Prelude.Just TASK_REACHABILITY_EXISTING_WORKFLOWS
+  maybeToEnum 3 = Prelude.Just TASK_REACHABILITY_OPEN_WORKFLOWS
+  maybeToEnum 4 = Prelude.Just TASK_REACHABILITY_CLOSED_WORKFLOWS
+  maybeToEnum k
+    = Prelude.Just
+        (TaskReachability'Unrecognized
+           (TaskReachability'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum TASK_REACHABILITY_UNSPECIFIED
+    = "TASK_REACHABILITY_UNSPECIFIED"
+  showEnum TASK_REACHABILITY_NEW_WORKFLOWS
+    = "TASK_REACHABILITY_NEW_WORKFLOWS"
+  showEnum TASK_REACHABILITY_EXISTING_WORKFLOWS
+    = "TASK_REACHABILITY_EXISTING_WORKFLOWS"
+  showEnum TASK_REACHABILITY_OPEN_WORKFLOWS
+    = "TASK_REACHABILITY_OPEN_WORKFLOWS"
+  showEnum TASK_REACHABILITY_CLOSED_WORKFLOWS
+    = "TASK_REACHABILITY_CLOSED_WORKFLOWS"
+  showEnum
+    (TaskReachability'Unrecognized (TaskReachability'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "TASK_REACHABILITY_UNSPECIFIED"
+    = Prelude.Just TASK_REACHABILITY_UNSPECIFIED
+    | (Prelude.==) k "TASK_REACHABILITY_NEW_WORKFLOWS"
+    = Prelude.Just TASK_REACHABILITY_NEW_WORKFLOWS
+    | (Prelude.==) k "TASK_REACHABILITY_EXISTING_WORKFLOWS"
+    = Prelude.Just TASK_REACHABILITY_EXISTING_WORKFLOWS
+    | (Prelude.==) k "TASK_REACHABILITY_OPEN_WORKFLOWS"
+    = Prelude.Just TASK_REACHABILITY_OPEN_WORKFLOWS
+    | (Prelude.==) k "TASK_REACHABILITY_CLOSED_WORKFLOWS"
+    = Prelude.Just TASK_REACHABILITY_CLOSED_WORKFLOWS
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded TaskReachability where
+  minBound = TASK_REACHABILITY_UNSPECIFIED
+  maxBound = TASK_REACHABILITY_CLOSED_WORKFLOWS
+instance Prelude.Enum TaskReachability where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum TaskReachability: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum TASK_REACHABILITY_UNSPECIFIED = 0
+  fromEnum TASK_REACHABILITY_NEW_WORKFLOWS = 1
+  fromEnum TASK_REACHABILITY_EXISTING_WORKFLOWS = 2
+  fromEnum TASK_REACHABILITY_OPEN_WORKFLOWS = 3
+  fromEnum TASK_REACHABILITY_CLOSED_WORKFLOWS = 4
+  fromEnum
+    (TaskReachability'Unrecognized (TaskReachability'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ TASK_REACHABILITY_CLOSED_WORKFLOWS
+    = Prelude.error
+        "TaskReachability.succ: bad argument TASK_REACHABILITY_CLOSED_WORKFLOWS. This value would be out of bounds."
+  succ TASK_REACHABILITY_UNSPECIFIED
+    = TASK_REACHABILITY_NEW_WORKFLOWS
+  succ TASK_REACHABILITY_NEW_WORKFLOWS
+    = TASK_REACHABILITY_EXISTING_WORKFLOWS
+  succ TASK_REACHABILITY_EXISTING_WORKFLOWS
+    = TASK_REACHABILITY_OPEN_WORKFLOWS
+  succ TASK_REACHABILITY_OPEN_WORKFLOWS
+    = TASK_REACHABILITY_CLOSED_WORKFLOWS
+  succ (TaskReachability'Unrecognized _)
+    = Prelude.error
+        "TaskReachability.succ: bad argument: unrecognized value"
+  pred TASK_REACHABILITY_UNSPECIFIED
+    = Prelude.error
+        "TaskReachability.pred: bad argument TASK_REACHABILITY_UNSPECIFIED. This value would be out of bounds."
+  pred TASK_REACHABILITY_NEW_WORKFLOWS
+    = TASK_REACHABILITY_UNSPECIFIED
+  pred TASK_REACHABILITY_EXISTING_WORKFLOWS
+    = TASK_REACHABILITY_NEW_WORKFLOWS
+  pred TASK_REACHABILITY_OPEN_WORKFLOWS
+    = TASK_REACHABILITY_EXISTING_WORKFLOWS
+  pred TASK_REACHABILITY_CLOSED_WORKFLOWS
+    = TASK_REACHABILITY_OPEN_WORKFLOWS
+  pred (TaskReachability'Unrecognized _)
+    = Prelude.error
+        "TaskReachability.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault TaskReachability where
+  fieldDefault = TASK_REACHABILITY_UNSPECIFIED
+instance Control.DeepSeq.NFData TaskReachability where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/TaskQueue_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/TaskQueue_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/TaskQueue_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/task_queue.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.TaskQueue_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Update.hs b/src/Proto/Temporal/Api/Enums/V1/Update.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Update.hs
@@ -0,0 +1,211 @@
+{- This file was auto-generated from temporal/api/enums/v1/update.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Update (
+        UpdateAdmittedEventOrigin(..), UpdateAdmittedEventOrigin(),
+        UpdateAdmittedEventOrigin'UnrecognizedValue,
+        UpdateWorkflowExecutionLifecycleStage(..),
+        UpdateWorkflowExecutionLifecycleStage(),
+        UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype UpdateAdmittedEventOrigin'UnrecognizedValue
+  = UpdateAdmittedEventOrigin'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data UpdateAdmittedEventOrigin
+  = UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED |
+    UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY |
+    UpdateAdmittedEventOrigin'Unrecognized !UpdateAdmittedEventOrigin'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum UpdateAdmittedEventOrigin where
+  maybeToEnum 0
+    = Prelude.Just UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+  maybeToEnum k
+    = Prelude.Just
+        (UpdateAdmittedEventOrigin'Unrecognized
+           (UpdateAdmittedEventOrigin'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+    = "UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED"
+  showEnum UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+    = "UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY"
+  showEnum
+    (UpdateAdmittedEventOrigin'Unrecognized (UpdateAdmittedEventOrigin'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED"
+    = Prelude.Just UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+    | (Prelude.==) k "UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY"
+    = Prelude.Just UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded UpdateAdmittedEventOrigin where
+  minBound = UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+  maxBound = UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+instance Prelude.Enum UpdateAdmittedEventOrigin where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum UpdateAdmittedEventOrigin: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED = 0
+  fromEnum UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY = 1
+  fromEnum
+    (UpdateAdmittedEventOrigin'Unrecognized (UpdateAdmittedEventOrigin'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+    = Prelude.error
+        "UpdateAdmittedEventOrigin.succ: bad argument UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY. This value would be out of bounds."
+  succ UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+    = UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+  succ (UpdateAdmittedEventOrigin'Unrecognized _)
+    = Prelude.error
+        "UpdateAdmittedEventOrigin.succ: bad argument: unrecognized value"
+  pred UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+    = Prelude.error
+        "UpdateAdmittedEventOrigin.pred: bad argument UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED. This value would be out of bounds."
+  pred UPDATE_ADMITTED_EVENT_ORIGIN_REAPPLY
+    = UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+  pred (UpdateAdmittedEventOrigin'Unrecognized _)
+    = Prelude.error
+        "UpdateAdmittedEventOrigin.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault UpdateAdmittedEventOrigin where
+  fieldDefault = UPDATE_ADMITTED_EVENT_ORIGIN_UNSPECIFIED
+instance Control.DeepSeq.NFData UpdateAdmittedEventOrigin where
+  rnf x__ = Prelude.seq x__ ()
+newtype UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue
+  = UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data UpdateWorkflowExecutionLifecycleStage
+  = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED |
+    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED |
+    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED |
+    UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED |
+    UpdateWorkflowExecutionLifecycleStage'Unrecognized !UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum UpdateWorkflowExecutionLifecycleStage where
+  maybeToEnum 0
+    = Prelude.Just
+        UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+  maybeToEnum 2
+    = Prelude.Just UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+  maybeToEnum 3
+    = Prelude.Just UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+  maybeToEnum k
+    = Prelude.Just
+        (UpdateWorkflowExecutionLifecycleStage'Unrecognized
+           (UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+    = "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED"
+  showEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+    = "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED"
+  showEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+    = "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED"
+  showEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+    = "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED"
+  showEnum
+    (UpdateWorkflowExecutionLifecycleStage'Unrecognized (UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==)
+        k "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED"
+    = Prelude.Just
+        UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+    | (Prelude.==)
+        k "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED"
+    = Prelude.Just UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+    | (Prelude.==)
+        k "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED"
+    = Prelude.Just UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+    | (Prelude.==)
+        k "UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED"
+    = Prelude.Just UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded UpdateWorkflowExecutionLifecycleStage where
+  minBound = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+  maxBound = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+instance Prelude.Enum UpdateWorkflowExecutionLifecycleStage where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum UpdateWorkflowExecutionLifecycleStage: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0
+  fromEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1
+  fromEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2
+  fromEnum UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3
+  fromEnum
+    (UpdateWorkflowExecutionLifecycleStage'Unrecognized (UpdateWorkflowExecutionLifecycleStage'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+    = Prelude.error
+        "UpdateWorkflowExecutionLifecycleStage.succ: bad argument UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED. This value would be out of bounds."
+  succ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+  succ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+  succ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+  succ (UpdateWorkflowExecutionLifecycleStage'Unrecognized _)
+    = Prelude.error
+        "UpdateWorkflowExecutionLifecycleStage.succ: bad argument: unrecognized value"
+  pred UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+    = Prelude.error
+        "UpdateWorkflowExecutionLifecycleStage.pred: bad argument UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED. This value would be out of bounds."
+  pred UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+  pred UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED
+  pred UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED
+  pred (UpdateWorkflowExecutionLifecycleStage'Unrecognized _)
+    = Prelude.error
+        "UpdateWorkflowExecutionLifecycleStage.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault UpdateWorkflowExecutionLifecycleStage where
+  fieldDefault
+    = UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED
+instance Control.DeepSeq.NFData UpdateWorkflowExecutionLifecycleStage where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Update_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Update_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Update_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/update.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Update_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Enums/V1/Workflow.hs b/src/Proto/Temporal/Api/Enums/V1/Workflow.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Workflow.hs
@@ -0,0 +1,1136 @@
+{- This file was auto-generated from temporal/api/enums/v1/workflow.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Workflow (
+        ContinueAsNewInitiator(..), ContinueAsNewInitiator(),
+        ContinueAsNewInitiator'UnrecognizedValue,
+        HistoryEventFilterType(..), HistoryEventFilterType(),
+        HistoryEventFilterType'UnrecognizedValue, ParentClosePolicy(..),
+        ParentClosePolicy(), ParentClosePolicy'UnrecognizedValue,
+        PendingActivityState(..), PendingActivityState(),
+        PendingActivityState'UnrecognizedValue,
+        PendingWorkflowTaskState(..), PendingWorkflowTaskState(),
+        PendingWorkflowTaskState'UnrecognizedValue, RetryState(..),
+        RetryState(), RetryState'UnrecognizedValue, TimeoutType(..),
+        TimeoutType(), TimeoutType'UnrecognizedValue,
+        VersioningBehavior(..), VersioningBehavior(),
+        VersioningBehavior'UnrecognizedValue, WorkflowExecutionStatus(..),
+        WorkflowExecutionStatus(),
+        WorkflowExecutionStatus'UnrecognizedValue,
+        WorkflowIdConflictPolicy(..), WorkflowIdConflictPolicy(),
+        WorkflowIdConflictPolicy'UnrecognizedValue,
+        WorkflowIdReusePolicy(..), WorkflowIdReusePolicy(),
+        WorkflowIdReusePolicy'UnrecognizedValue
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+newtype ContinueAsNewInitiator'UnrecognizedValue
+  = ContinueAsNewInitiator'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ContinueAsNewInitiator
+  = CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED |
+    CONTINUE_AS_NEW_INITIATOR_WORKFLOW |
+    CONTINUE_AS_NEW_INITIATOR_RETRY |
+    CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE |
+    ContinueAsNewInitiator'Unrecognized !ContinueAsNewInitiator'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ContinueAsNewInitiator where
+  maybeToEnum 0 = Prelude.Just CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+  maybeToEnum 2 = Prelude.Just CONTINUE_AS_NEW_INITIATOR_RETRY
+  maybeToEnum 3
+    = Prelude.Just CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+  maybeToEnum k
+    = Prelude.Just
+        (ContinueAsNewInitiator'Unrecognized
+           (ContinueAsNewInitiator'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+    = "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED"
+  showEnum CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+    = "CONTINUE_AS_NEW_INITIATOR_WORKFLOW"
+  showEnum CONTINUE_AS_NEW_INITIATOR_RETRY
+    = "CONTINUE_AS_NEW_INITIATOR_RETRY"
+  showEnum CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+    = "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE"
+  showEnum
+    (ContinueAsNewInitiator'Unrecognized (ContinueAsNewInitiator'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED"
+    = Prelude.Just CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+    | (Prelude.==) k "CONTINUE_AS_NEW_INITIATOR_WORKFLOW"
+    = Prelude.Just CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+    | (Prelude.==) k "CONTINUE_AS_NEW_INITIATOR_RETRY"
+    = Prelude.Just CONTINUE_AS_NEW_INITIATOR_RETRY
+    | (Prelude.==) k "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE"
+    = Prelude.Just CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ContinueAsNewInitiator where
+  minBound = CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+  maxBound = CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+instance Prelude.Enum ContinueAsNewInitiator where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ContinueAsNewInitiator: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED = 0
+  fromEnum CONTINUE_AS_NEW_INITIATOR_WORKFLOW = 1
+  fromEnum CONTINUE_AS_NEW_INITIATOR_RETRY = 2
+  fromEnum CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE = 3
+  fromEnum
+    (ContinueAsNewInitiator'Unrecognized (ContinueAsNewInitiator'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+    = Prelude.error
+        "ContinueAsNewInitiator.succ: bad argument CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE. This value would be out of bounds."
+  succ CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+    = CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+  succ CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+    = CONTINUE_AS_NEW_INITIATOR_RETRY
+  succ CONTINUE_AS_NEW_INITIATOR_RETRY
+    = CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+  succ (ContinueAsNewInitiator'Unrecognized _)
+    = Prelude.error
+        "ContinueAsNewInitiator.succ: bad argument: unrecognized value"
+  pred CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+    = Prelude.error
+        "ContinueAsNewInitiator.pred: bad argument CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED. This value would be out of bounds."
+  pred CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+    = CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+  pred CONTINUE_AS_NEW_INITIATOR_RETRY
+    = CONTINUE_AS_NEW_INITIATOR_WORKFLOW
+  pred CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE
+    = CONTINUE_AS_NEW_INITIATOR_RETRY
+  pred (ContinueAsNewInitiator'Unrecognized _)
+    = Prelude.error
+        "ContinueAsNewInitiator.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ContinueAsNewInitiator where
+  fieldDefault = CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED
+instance Control.DeepSeq.NFData ContinueAsNewInitiator where
+  rnf x__ = Prelude.seq x__ ()
+newtype HistoryEventFilterType'UnrecognizedValue
+  = HistoryEventFilterType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data HistoryEventFilterType
+  = HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED |
+    HISTORY_EVENT_FILTER_TYPE_ALL_EVENT |
+    HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT |
+    HistoryEventFilterType'Unrecognized !HistoryEventFilterType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum HistoryEventFilterType where
+  maybeToEnum 0 = Prelude.Just HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+  maybeToEnum 2 = Prelude.Just HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+  maybeToEnum k
+    = Prelude.Just
+        (HistoryEventFilterType'Unrecognized
+           (HistoryEventFilterType'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+    = "HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED"
+  showEnum HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+    = "HISTORY_EVENT_FILTER_TYPE_ALL_EVENT"
+  showEnum HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+    = "HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT"
+  showEnum
+    (HistoryEventFilterType'Unrecognized (HistoryEventFilterType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED"
+    = Prelude.Just HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+    | (Prelude.==) k "HISTORY_EVENT_FILTER_TYPE_ALL_EVENT"
+    = Prelude.Just HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+    | (Prelude.==) k "HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT"
+    = Prelude.Just HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded HistoryEventFilterType where
+  minBound = HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+  maxBound = HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+instance Prelude.Enum HistoryEventFilterType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum HistoryEventFilterType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED = 0
+  fromEnum HISTORY_EVENT_FILTER_TYPE_ALL_EVENT = 1
+  fromEnum HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT = 2
+  fromEnum
+    (HistoryEventFilterType'Unrecognized (HistoryEventFilterType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+    = Prelude.error
+        "HistoryEventFilterType.succ: bad argument HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT. This value would be out of bounds."
+  succ HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+    = HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+  succ HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+    = HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+  succ (HistoryEventFilterType'Unrecognized _)
+    = Prelude.error
+        "HistoryEventFilterType.succ: bad argument: unrecognized value"
+  pred HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+    = Prelude.error
+        "HistoryEventFilterType.pred: bad argument HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+    = HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+  pred HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT
+    = HISTORY_EVENT_FILTER_TYPE_ALL_EVENT
+  pred (HistoryEventFilterType'Unrecognized _)
+    = Prelude.error
+        "HistoryEventFilterType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault HistoryEventFilterType where
+  fieldDefault = HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData HistoryEventFilterType where
+  rnf x__ = Prelude.seq x__ ()
+newtype ParentClosePolicy'UnrecognizedValue
+  = ParentClosePolicy'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ParentClosePolicy
+  = PARENT_CLOSE_POLICY_UNSPECIFIED |
+    PARENT_CLOSE_POLICY_TERMINATE |
+    PARENT_CLOSE_POLICY_ABANDON |
+    PARENT_CLOSE_POLICY_REQUEST_CANCEL |
+    ParentClosePolicy'Unrecognized !ParentClosePolicy'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ParentClosePolicy where
+  maybeToEnum 0 = Prelude.Just PARENT_CLOSE_POLICY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just PARENT_CLOSE_POLICY_TERMINATE
+  maybeToEnum 2 = Prelude.Just PARENT_CLOSE_POLICY_ABANDON
+  maybeToEnum 3 = Prelude.Just PARENT_CLOSE_POLICY_REQUEST_CANCEL
+  maybeToEnum k
+    = Prelude.Just
+        (ParentClosePolicy'Unrecognized
+           (ParentClosePolicy'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum PARENT_CLOSE_POLICY_UNSPECIFIED
+    = "PARENT_CLOSE_POLICY_UNSPECIFIED"
+  showEnum PARENT_CLOSE_POLICY_TERMINATE
+    = "PARENT_CLOSE_POLICY_TERMINATE"
+  showEnum PARENT_CLOSE_POLICY_ABANDON
+    = "PARENT_CLOSE_POLICY_ABANDON"
+  showEnum PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    = "PARENT_CLOSE_POLICY_REQUEST_CANCEL"
+  showEnum
+    (ParentClosePolicy'Unrecognized (ParentClosePolicy'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_UNSPECIFIED"
+    = Prelude.Just PARENT_CLOSE_POLICY_UNSPECIFIED
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_TERMINATE"
+    = Prelude.Just PARENT_CLOSE_POLICY_TERMINATE
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_ABANDON"
+    = Prelude.Just PARENT_CLOSE_POLICY_ABANDON
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_REQUEST_CANCEL"
+    = Prelude.Just PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ParentClosePolicy where
+  minBound = PARENT_CLOSE_POLICY_UNSPECIFIED
+  maxBound = PARENT_CLOSE_POLICY_REQUEST_CANCEL
+instance Prelude.Enum ParentClosePolicy where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ParentClosePolicy: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum PARENT_CLOSE_POLICY_UNSPECIFIED = 0
+  fromEnum PARENT_CLOSE_POLICY_TERMINATE = 1
+  fromEnum PARENT_CLOSE_POLICY_ABANDON = 2
+  fromEnum PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3
+  fromEnum
+    (ParentClosePolicy'Unrecognized (ParentClosePolicy'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    = Prelude.error
+        "ParentClosePolicy.succ: bad argument PARENT_CLOSE_POLICY_REQUEST_CANCEL. This value would be out of bounds."
+  succ PARENT_CLOSE_POLICY_UNSPECIFIED
+    = PARENT_CLOSE_POLICY_TERMINATE
+  succ PARENT_CLOSE_POLICY_TERMINATE = PARENT_CLOSE_POLICY_ABANDON
+  succ PARENT_CLOSE_POLICY_ABANDON
+    = PARENT_CLOSE_POLICY_REQUEST_CANCEL
+  succ (ParentClosePolicy'Unrecognized _)
+    = Prelude.error
+        "ParentClosePolicy.succ: bad argument: unrecognized value"
+  pred PARENT_CLOSE_POLICY_UNSPECIFIED
+    = Prelude.error
+        "ParentClosePolicy.pred: bad argument PARENT_CLOSE_POLICY_UNSPECIFIED. This value would be out of bounds."
+  pred PARENT_CLOSE_POLICY_TERMINATE
+    = PARENT_CLOSE_POLICY_UNSPECIFIED
+  pred PARENT_CLOSE_POLICY_ABANDON = PARENT_CLOSE_POLICY_TERMINATE
+  pred PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    = PARENT_CLOSE_POLICY_ABANDON
+  pred (ParentClosePolicy'Unrecognized _)
+    = Prelude.error
+        "ParentClosePolicy.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ParentClosePolicy where
+  fieldDefault = PARENT_CLOSE_POLICY_UNSPECIFIED
+instance Control.DeepSeq.NFData ParentClosePolicy where
+  rnf x__ = Prelude.seq x__ ()
+newtype PendingActivityState'UnrecognizedValue
+  = PendingActivityState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data PendingActivityState
+  = PENDING_ACTIVITY_STATE_UNSPECIFIED |
+    PENDING_ACTIVITY_STATE_SCHEDULED |
+    PENDING_ACTIVITY_STATE_STARTED |
+    PENDING_ACTIVITY_STATE_CANCEL_REQUESTED |
+    PENDING_ACTIVITY_STATE_PAUSED |
+    PENDING_ACTIVITY_STATE_PAUSE_REQUESTED |
+    PendingActivityState'Unrecognized !PendingActivityState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum PendingActivityState where
+  maybeToEnum 0 = Prelude.Just PENDING_ACTIVITY_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just PENDING_ACTIVITY_STATE_SCHEDULED
+  maybeToEnum 2 = Prelude.Just PENDING_ACTIVITY_STATE_STARTED
+  maybeToEnum 3
+    = Prelude.Just PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+  maybeToEnum 4 = Prelude.Just PENDING_ACTIVITY_STATE_PAUSED
+  maybeToEnum 5 = Prelude.Just PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+  maybeToEnum k
+    = Prelude.Just
+        (PendingActivityState'Unrecognized
+           (PendingActivityState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum PENDING_ACTIVITY_STATE_UNSPECIFIED
+    = "PENDING_ACTIVITY_STATE_UNSPECIFIED"
+  showEnum PENDING_ACTIVITY_STATE_SCHEDULED
+    = "PENDING_ACTIVITY_STATE_SCHEDULED"
+  showEnum PENDING_ACTIVITY_STATE_STARTED
+    = "PENDING_ACTIVITY_STATE_STARTED"
+  showEnum PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+    = "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED"
+  showEnum PENDING_ACTIVITY_STATE_PAUSED
+    = "PENDING_ACTIVITY_STATE_PAUSED"
+  showEnum PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+    = "PENDING_ACTIVITY_STATE_PAUSE_REQUESTED"
+  showEnum
+    (PendingActivityState'Unrecognized (PendingActivityState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "PENDING_ACTIVITY_STATE_UNSPECIFIED"
+    = Prelude.Just PENDING_ACTIVITY_STATE_UNSPECIFIED
+    | (Prelude.==) k "PENDING_ACTIVITY_STATE_SCHEDULED"
+    = Prelude.Just PENDING_ACTIVITY_STATE_SCHEDULED
+    | (Prelude.==) k "PENDING_ACTIVITY_STATE_STARTED"
+    = Prelude.Just PENDING_ACTIVITY_STATE_STARTED
+    | (Prelude.==) k "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED"
+    = Prelude.Just PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+    | (Prelude.==) k "PENDING_ACTIVITY_STATE_PAUSED"
+    = Prelude.Just PENDING_ACTIVITY_STATE_PAUSED
+    | (Prelude.==) k "PENDING_ACTIVITY_STATE_PAUSE_REQUESTED"
+    = Prelude.Just PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded PendingActivityState where
+  minBound = PENDING_ACTIVITY_STATE_UNSPECIFIED
+  maxBound = PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+instance Prelude.Enum PendingActivityState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum PendingActivityState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum PENDING_ACTIVITY_STATE_UNSPECIFIED = 0
+  fromEnum PENDING_ACTIVITY_STATE_SCHEDULED = 1
+  fromEnum PENDING_ACTIVITY_STATE_STARTED = 2
+  fromEnum PENDING_ACTIVITY_STATE_CANCEL_REQUESTED = 3
+  fromEnum PENDING_ACTIVITY_STATE_PAUSED = 4
+  fromEnum PENDING_ACTIVITY_STATE_PAUSE_REQUESTED = 5
+  fromEnum
+    (PendingActivityState'Unrecognized (PendingActivityState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+    = Prelude.error
+        "PendingActivityState.succ: bad argument PENDING_ACTIVITY_STATE_PAUSE_REQUESTED. This value would be out of bounds."
+  succ PENDING_ACTIVITY_STATE_UNSPECIFIED
+    = PENDING_ACTIVITY_STATE_SCHEDULED
+  succ PENDING_ACTIVITY_STATE_SCHEDULED
+    = PENDING_ACTIVITY_STATE_STARTED
+  succ PENDING_ACTIVITY_STATE_STARTED
+    = PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+  succ PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+    = PENDING_ACTIVITY_STATE_PAUSED
+  succ PENDING_ACTIVITY_STATE_PAUSED
+    = PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+  succ (PendingActivityState'Unrecognized _)
+    = Prelude.error
+        "PendingActivityState.succ: bad argument: unrecognized value"
+  pred PENDING_ACTIVITY_STATE_UNSPECIFIED
+    = Prelude.error
+        "PendingActivityState.pred: bad argument PENDING_ACTIVITY_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred PENDING_ACTIVITY_STATE_SCHEDULED
+    = PENDING_ACTIVITY_STATE_UNSPECIFIED
+  pred PENDING_ACTIVITY_STATE_STARTED
+    = PENDING_ACTIVITY_STATE_SCHEDULED
+  pred PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+    = PENDING_ACTIVITY_STATE_STARTED
+  pred PENDING_ACTIVITY_STATE_PAUSED
+    = PENDING_ACTIVITY_STATE_CANCEL_REQUESTED
+  pred PENDING_ACTIVITY_STATE_PAUSE_REQUESTED
+    = PENDING_ACTIVITY_STATE_PAUSED
+  pred (PendingActivityState'Unrecognized _)
+    = Prelude.error
+        "PendingActivityState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault PendingActivityState where
+  fieldDefault = PENDING_ACTIVITY_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData PendingActivityState where
+  rnf x__ = Prelude.seq x__ ()
+newtype PendingWorkflowTaskState'UnrecognizedValue
+  = PendingWorkflowTaskState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data PendingWorkflowTaskState
+  = PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED |
+    PENDING_WORKFLOW_TASK_STATE_SCHEDULED |
+    PENDING_WORKFLOW_TASK_STATE_STARTED |
+    PendingWorkflowTaskState'Unrecognized !PendingWorkflowTaskState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum PendingWorkflowTaskState where
+  maybeToEnum 0
+    = Prelude.Just PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+  maybeToEnum 2 = Prelude.Just PENDING_WORKFLOW_TASK_STATE_STARTED
+  maybeToEnum k
+    = Prelude.Just
+        (PendingWorkflowTaskState'Unrecognized
+           (PendingWorkflowTaskState'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+    = "PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED"
+  showEnum PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+    = "PENDING_WORKFLOW_TASK_STATE_SCHEDULED"
+  showEnum PENDING_WORKFLOW_TASK_STATE_STARTED
+    = "PENDING_WORKFLOW_TASK_STATE_STARTED"
+  showEnum
+    (PendingWorkflowTaskState'Unrecognized (PendingWorkflowTaskState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED"
+    = Prelude.Just PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+    | (Prelude.==) k "PENDING_WORKFLOW_TASK_STATE_SCHEDULED"
+    = Prelude.Just PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+    | (Prelude.==) k "PENDING_WORKFLOW_TASK_STATE_STARTED"
+    = Prelude.Just PENDING_WORKFLOW_TASK_STATE_STARTED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded PendingWorkflowTaskState where
+  minBound = PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+  maxBound = PENDING_WORKFLOW_TASK_STATE_STARTED
+instance Prelude.Enum PendingWorkflowTaskState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum PendingWorkflowTaskState: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED = 0
+  fromEnum PENDING_WORKFLOW_TASK_STATE_SCHEDULED = 1
+  fromEnum PENDING_WORKFLOW_TASK_STATE_STARTED = 2
+  fromEnum
+    (PendingWorkflowTaskState'Unrecognized (PendingWorkflowTaskState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ PENDING_WORKFLOW_TASK_STATE_STARTED
+    = Prelude.error
+        "PendingWorkflowTaskState.succ: bad argument PENDING_WORKFLOW_TASK_STATE_STARTED. This value would be out of bounds."
+  succ PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+    = PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+  succ PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+    = PENDING_WORKFLOW_TASK_STATE_STARTED
+  succ (PendingWorkflowTaskState'Unrecognized _)
+    = Prelude.error
+        "PendingWorkflowTaskState.succ: bad argument: unrecognized value"
+  pred PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+    = Prelude.error
+        "PendingWorkflowTaskState.pred: bad argument PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+    = PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+  pred PENDING_WORKFLOW_TASK_STATE_STARTED
+    = PENDING_WORKFLOW_TASK_STATE_SCHEDULED
+  pred (PendingWorkflowTaskState'Unrecognized _)
+    = Prelude.error
+        "PendingWorkflowTaskState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault PendingWorkflowTaskState where
+  fieldDefault = PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData PendingWorkflowTaskState where
+  rnf x__ = Prelude.seq x__ ()
+newtype RetryState'UnrecognizedValue
+  = RetryState'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data RetryState
+  = RETRY_STATE_UNSPECIFIED |
+    RETRY_STATE_IN_PROGRESS |
+    RETRY_STATE_NON_RETRYABLE_FAILURE |
+    RETRY_STATE_TIMEOUT |
+    RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED |
+    RETRY_STATE_RETRY_POLICY_NOT_SET |
+    RETRY_STATE_INTERNAL_SERVER_ERROR |
+    RETRY_STATE_CANCEL_REQUESTED |
+    RetryState'Unrecognized !RetryState'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum RetryState where
+  maybeToEnum 0 = Prelude.Just RETRY_STATE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RETRY_STATE_IN_PROGRESS
+  maybeToEnum 2 = Prelude.Just RETRY_STATE_NON_RETRYABLE_FAILURE
+  maybeToEnum 3 = Prelude.Just RETRY_STATE_TIMEOUT
+  maybeToEnum 4 = Prelude.Just RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
+  maybeToEnum 5 = Prelude.Just RETRY_STATE_RETRY_POLICY_NOT_SET
+  maybeToEnum 6 = Prelude.Just RETRY_STATE_INTERNAL_SERVER_ERROR
+  maybeToEnum 7 = Prelude.Just RETRY_STATE_CANCEL_REQUESTED
+  maybeToEnum k
+    = Prelude.Just
+        (RetryState'Unrecognized
+           (RetryState'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum RETRY_STATE_UNSPECIFIED = "RETRY_STATE_UNSPECIFIED"
+  showEnum RETRY_STATE_IN_PROGRESS = "RETRY_STATE_IN_PROGRESS"
+  showEnum RETRY_STATE_NON_RETRYABLE_FAILURE
+    = "RETRY_STATE_NON_RETRYABLE_FAILURE"
+  showEnum RETRY_STATE_TIMEOUT = "RETRY_STATE_TIMEOUT"
+  showEnum RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
+    = "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED"
+  showEnum RETRY_STATE_RETRY_POLICY_NOT_SET
+    = "RETRY_STATE_RETRY_POLICY_NOT_SET"
+  showEnum RETRY_STATE_INTERNAL_SERVER_ERROR
+    = "RETRY_STATE_INTERNAL_SERVER_ERROR"
+  showEnum RETRY_STATE_CANCEL_REQUESTED
+    = "RETRY_STATE_CANCEL_REQUESTED"
+  showEnum (RetryState'Unrecognized (RetryState'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "RETRY_STATE_UNSPECIFIED"
+    = Prelude.Just RETRY_STATE_UNSPECIFIED
+    | (Prelude.==) k "RETRY_STATE_IN_PROGRESS"
+    = Prelude.Just RETRY_STATE_IN_PROGRESS
+    | (Prelude.==) k "RETRY_STATE_NON_RETRYABLE_FAILURE"
+    = Prelude.Just RETRY_STATE_NON_RETRYABLE_FAILURE
+    | (Prelude.==) k "RETRY_STATE_TIMEOUT"
+    = Prelude.Just RETRY_STATE_TIMEOUT
+    | (Prelude.==) k "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED"
+    = Prelude.Just RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
+    | (Prelude.==) k "RETRY_STATE_RETRY_POLICY_NOT_SET"
+    = Prelude.Just RETRY_STATE_RETRY_POLICY_NOT_SET
+    | (Prelude.==) k "RETRY_STATE_INTERNAL_SERVER_ERROR"
+    = Prelude.Just RETRY_STATE_INTERNAL_SERVER_ERROR
+    | (Prelude.==) k "RETRY_STATE_CANCEL_REQUESTED"
+    = Prelude.Just RETRY_STATE_CANCEL_REQUESTED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded RetryState where
+  minBound = RETRY_STATE_UNSPECIFIED
+  maxBound = RETRY_STATE_CANCEL_REQUESTED
+instance Prelude.Enum RetryState where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum RetryState: " (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RETRY_STATE_UNSPECIFIED = 0
+  fromEnum RETRY_STATE_IN_PROGRESS = 1
+  fromEnum RETRY_STATE_NON_RETRYABLE_FAILURE = 2
+  fromEnum RETRY_STATE_TIMEOUT = 3
+  fromEnum RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4
+  fromEnum RETRY_STATE_RETRY_POLICY_NOT_SET = 5
+  fromEnum RETRY_STATE_INTERNAL_SERVER_ERROR = 6
+  fromEnum RETRY_STATE_CANCEL_REQUESTED = 7
+  fromEnum (RetryState'Unrecognized (RetryState'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RETRY_STATE_CANCEL_REQUESTED
+    = Prelude.error
+        "RetryState.succ: bad argument RETRY_STATE_CANCEL_REQUESTED. This value would be out of bounds."
+  succ RETRY_STATE_UNSPECIFIED = RETRY_STATE_IN_PROGRESS
+  succ RETRY_STATE_IN_PROGRESS = RETRY_STATE_NON_RETRYABLE_FAILURE
+  succ RETRY_STATE_NON_RETRYABLE_FAILURE = RETRY_STATE_TIMEOUT
+  succ RETRY_STATE_TIMEOUT = RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
+  succ RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
+    = RETRY_STATE_RETRY_POLICY_NOT_SET
+  succ RETRY_STATE_RETRY_POLICY_NOT_SET
+    = RETRY_STATE_INTERNAL_SERVER_ERROR
+  succ RETRY_STATE_INTERNAL_SERVER_ERROR
+    = RETRY_STATE_CANCEL_REQUESTED
+  succ (RetryState'Unrecognized _)
+    = Prelude.error "RetryState.succ: bad argument: unrecognized value"
+  pred RETRY_STATE_UNSPECIFIED
+    = Prelude.error
+        "RetryState.pred: bad argument RETRY_STATE_UNSPECIFIED. This value would be out of bounds."
+  pred RETRY_STATE_IN_PROGRESS = RETRY_STATE_UNSPECIFIED
+  pred RETRY_STATE_NON_RETRYABLE_FAILURE = RETRY_STATE_IN_PROGRESS
+  pred RETRY_STATE_TIMEOUT = RETRY_STATE_NON_RETRYABLE_FAILURE
+  pred RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = RETRY_STATE_TIMEOUT
+  pred RETRY_STATE_RETRY_POLICY_NOT_SET
+    = RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
+  pred RETRY_STATE_INTERNAL_SERVER_ERROR
+    = RETRY_STATE_RETRY_POLICY_NOT_SET
+  pred RETRY_STATE_CANCEL_REQUESTED
+    = RETRY_STATE_INTERNAL_SERVER_ERROR
+  pred (RetryState'Unrecognized _)
+    = Prelude.error "RetryState.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault RetryState where
+  fieldDefault = RETRY_STATE_UNSPECIFIED
+instance Control.DeepSeq.NFData RetryState where
+  rnf x__ = Prelude.seq x__ ()
+newtype TimeoutType'UnrecognizedValue
+  = TimeoutType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data TimeoutType
+  = TIMEOUT_TYPE_UNSPECIFIED |
+    TIMEOUT_TYPE_START_TO_CLOSE |
+    TIMEOUT_TYPE_SCHEDULE_TO_START |
+    TIMEOUT_TYPE_SCHEDULE_TO_CLOSE |
+    TIMEOUT_TYPE_HEARTBEAT |
+    TimeoutType'Unrecognized !TimeoutType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum TimeoutType where
+  maybeToEnum 0 = Prelude.Just TIMEOUT_TYPE_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just TIMEOUT_TYPE_START_TO_CLOSE
+  maybeToEnum 2 = Prelude.Just TIMEOUT_TYPE_SCHEDULE_TO_START
+  maybeToEnum 3 = Prelude.Just TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
+  maybeToEnum 4 = Prelude.Just TIMEOUT_TYPE_HEARTBEAT
+  maybeToEnum k
+    = Prelude.Just
+        (TimeoutType'Unrecognized
+           (TimeoutType'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum TIMEOUT_TYPE_UNSPECIFIED = "TIMEOUT_TYPE_UNSPECIFIED"
+  showEnum TIMEOUT_TYPE_START_TO_CLOSE
+    = "TIMEOUT_TYPE_START_TO_CLOSE"
+  showEnum TIMEOUT_TYPE_SCHEDULE_TO_START
+    = "TIMEOUT_TYPE_SCHEDULE_TO_START"
+  showEnum TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
+    = "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE"
+  showEnum TIMEOUT_TYPE_HEARTBEAT = "TIMEOUT_TYPE_HEARTBEAT"
+  showEnum
+    (TimeoutType'Unrecognized (TimeoutType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "TIMEOUT_TYPE_UNSPECIFIED"
+    = Prelude.Just TIMEOUT_TYPE_UNSPECIFIED
+    | (Prelude.==) k "TIMEOUT_TYPE_START_TO_CLOSE"
+    = Prelude.Just TIMEOUT_TYPE_START_TO_CLOSE
+    | (Prelude.==) k "TIMEOUT_TYPE_SCHEDULE_TO_START"
+    = Prelude.Just TIMEOUT_TYPE_SCHEDULE_TO_START
+    | (Prelude.==) k "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE"
+    = Prelude.Just TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
+    | (Prelude.==) k "TIMEOUT_TYPE_HEARTBEAT"
+    = Prelude.Just TIMEOUT_TYPE_HEARTBEAT
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded TimeoutType where
+  minBound = TIMEOUT_TYPE_UNSPECIFIED
+  maxBound = TIMEOUT_TYPE_HEARTBEAT
+instance Prelude.Enum TimeoutType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum TimeoutType: " (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum TIMEOUT_TYPE_UNSPECIFIED = 0
+  fromEnum TIMEOUT_TYPE_START_TO_CLOSE = 1
+  fromEnum TIMEOUT_TYPE_SCHEDULE_TO_START = 2
+  fromEnum TIMEOUT_TYPE_SCHEDULE_TO_CLOSE = 3
+  fromEnum TIMEOUT_TYPE_HEARTBEAT = 4
+  fromEnum
+    (TimeoutType'Unrecognized (TimeoutType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ TIMEOUT_TYPE_HEARTBEAT
+    = Prelude.error
+        "TimeoutType.succ: bad argument TIMEOUT_TYPE_HEARTBEAT. This value would be out of bounds."
+  succ TIMEOUT_TYPE_UNSPECIFIED = TIMEOUT_TYPE_START_TO_CLOSE
+  succ TIMEOUT_TYPE_START_TO_CLOSE = TIMEOUT_TYPE_SCHEDULE_TO_START
+  succ TIMEOUT_TYPE_SCHEDULE_TO_START
+    = TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
+  succ TIMEOUT_TYPE_SCHEDULE_TO_CLOSE = TIMEOUT_TYPE_HEARTBEAT
+  succ (TimeoutType'Unrecognized _)
+    = Prelude.error
+        "TimeoutType.succ: bad argument: unrecognized value"
+  pred TIMEOUT_TYPE_UNSPECIFIED
+    = Prelude.error
+        "TimeoutType.pred: bad argument TIMEOUT_TYPE_UNSPECIFIED. This value would be out of bounds."
+  pred TIMEOUT_TYPE_START_TO_CLOSE = TIMEOUT_TYPE_UNSPECIFIED
+  pred TIMEOUT_TYPE_SCHEDULE_TO_START = TIMEOUT_TYPE_START_TO_CLOSE
+  pred TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
+    = TIMEOUT_TYPE_SCHEDULE_TO_START
+  pred TIMEOUT_TYPE_HEARTBEAT = TIMEOUT_TYPE_SCHEDULE_TO_CLOSE
+  pred (TimeoutType'Unrecognized _)
+    = Prelude.error
+        "TimeoutType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault TimeoutType where
+  fieldDefault = TIMEOUT_TYPE_UNSPECIFIED
+instance Control.DeepSeq.NFData TimeoutType where
+  rnf x__ = Prelude.seq x__ ()
+newtype VersioningBehavior'UnrecognizedValue
+  = VersioningBehavior'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data VersioningBehavior
+  = VERSIONING_BEHAVIOR_UNSPECIFIED |
+    VERSIONING_BEHAVIOR_PINNED |
+    VERSIONING_BEHAVIOR_AUTO_UPGRADE |
+    VersioningBehavior'Unrecognized !VersioningBehavior'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum VersioningBehavior where
+  maybeToEnum 0 = Prelude.Just VERSIONING_BEHAVIOR_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just VERSIONING_BEHAVIOR_PINNED
+  maybeToEnum 2 = Prelude.Just VERSIONING_BEHAVIOR_AUTO_UPGRADE
+  maybeToEnum k
+    = Prelude.Just
+        (VersioningBehavior'Unrecognized
+           (VersioningBehavior'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum VERSIONING_BEHAVIOR_UNSPECIFIED
+    = "VERSIONING_BEHAVIOR_UNSPECIFIED"
+  showEnum VERSIONING_BEHAVIOR_PINNED = "VERSIONING_BEHAVIOR_PINNED"
+  showEnum VERSIONING_BEHAVIOR_AUTO_UPGRADE
+    = "VERSIONING_BEHAVIOR_AUTO_UPGRADE"
+  showEnum
+    (VersioningBehavior'Unrecognized (VersioningBehavior'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "VERSIONING_BEHAVIOR_UNSPECIFIED"
+    = Prelude.Just VERSIONING_BEHAVIOR_UNSPECIFIED
+    | (Prelude.==) k "VERSIONING_BEHAVIOR_PINNED"
+    = Prelude.Just VERSIONING_BEHAVIOR_PINNED
+    | (Prelude.==) k "VERSIONING_BEHAVIOR_AUTO_UPGRADE"
+    = Prelude.Just VERSIONING_BEHAVIOR_AUTO_UPGRADE
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded VersioningBehavior where
+  minBound = VERSIONING_BEHAVIOR_UNSPECIFIED
+  maxBound = VERSIONING_BEHAVIOR_AUTO_UPGRADE
+instance Prelude.Enum VersioningBehavior where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum VersioningBehavior: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum VERSIONING_BEHAVIOR_UNSPECIFIED = 0
+  fromEnum VERSIONING_BEHAVIOR_PINNED = 1
+  fromEnum VERSIONING_BEHAVIOR_AUTO_UPGRADE = 2
+  fromEnum
+    (VersioningBehavior'Unrecognized (VersioningBehavior'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ VERSIONING_BEHAVIOR_AUTO_UPGRADE
+    = Prelude.error
+        "VersioningBehavior.succ: bad argument VERSIONING_BEHAVIOR_AUTO_UPGRADE. This value would be out of bounds."
+  succ VERSIONING_BEHAVIOR_UNSPECIFIED = VERSIONING_BEHAVIOR_PINNED
+  succ VERSIONING_BEHAVIOR_PINNED = VERSIONING_BEHAVIOR_AUTO_UPGRADE
+  succ (VersioningBehavior'Unrecognized _)
+    = Prelude.error
+        "VersioningBehavior.succ: bad argument: unrecognized value"
+  pred VERSIONING_BEHAVIOR_UNSPECIFIED
+    = Prelude.error
+        "VersioningBehavior.pred: bad argument VERSIONING_BEHAVIOR_UNSPECIFIED. This value would be out of bounds."
+  pred VERSIONING_BEHAVIOR_PINNED = VERSIONING_BEHAVIOR_UNSPECIFIED
+  pred VERSIONING_BEHAVIOR_AUTO_UPGRADE = VERSIONING_BEHAVIOR_PINNED
+  pred (VersioningBehavior'Unrecognized _)
+    = Prelude.error
+        "VersioningBehavior.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault VersioningBehavior where
+  fieldDefault = VERSIONING_BEHAVIOR_UNSPECIFIED
+instance Control.DeepSeq.NFData VersioningBehavior where
+  rnf x__ = Prelude.seq x__ ()
+newtype WorkflowExecutionStatus'UnrecognizedValue
+  = WorkflowExecutionStatus'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data WorkflowExecutionStatus
+  = WORKFLOW_EXECUTION_STATUS_UNSPECIFIED |
+    WORKFLOW_EXECUTION_STATUS_RUNNING |
+    WORKFLOW_EXECUTION_STATUS_COMPLETED |
+    WORKFLOW_EXECUTION_STATUS_FAILED |
+    WORKFLOW_EXECUTION_STATUS_CANCELED |
+    WORKFLOW_EXECUTION_STATUS_TERMINATED |
+    WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW |
+    WORKFLOW_EXECUTION_STATUS_TIMED_OUT |
+    WorkflowExecutionStatus'Unrecognized !WorkflowExecutionStatus'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum WorkflowExecutionStatus where
+  maybeToEnum 0 = Prelude.Just WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just WORKFLOW_EXECUTION_STATUS_RUNNING
+  maybeToEnum 2 = Prelude.Just WORKFLOW_EXECUTION_STATUS_COMPLETED
+  maybeToEnum 3 = Prelude.Just WORKFLOW_EXECUTION_STATUS_FAILED
+  maybeToEnum 4 = Prelude.Just WORKFLOW_EXECUTION_STATUS_CANCELED
+  maybeToEnum 5 = Prelude.Just WORKFLOW_EXECUTION_STATUS_TERMINATED
+  maybeToEnum 6
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+  maybeToEnum 7 = Prelude.Just WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+  maybeToEnum k
+    = Prelude.Just
+        (WorkflowExecutionStatus'Unrecognized
+           (WorkflowExecutionStatus'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+    = "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED"
+  showEnum WORKFLOW_EXECUTION_STATUS_RUNNING
+    = "WORKFLOW_EXECUTION_STATUS_RUNNING"
+  showEnum WORKFLOW_EXECUTION_STATUS_COMPLETED
+    = "WORKFLOW_EXECUTION_STATUS_COMPLETED"
+  showEnum WORKFLOW_EXECUTION_STATUS_FAILED
+    = "WORKFLOW_EXECUTION_STATUS_FAILED"
+  showEnum WORKFLOW_EXECUTION_STATUS_CANCELED
+    = "WORKFLOW_EXECUTION_STATUS_CANCELED"
+  showEnum WORKFLOW_EXECUTION_STATUS_TERMINATED
+    = "WORKFLOW_EXECUTION_STATUS_TERMINATED"
+  showEnum WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+    = "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW"
+  showEnum WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+    = "WORKFLOW_EXECUTION_STATUS_TIMED_OUT"
+  showEnum
+    (WorkflowExecutionStatus'Unrecognized (WorkflowExecutionStatus'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_RUNNING"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_RUNNING
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_COMPLETED"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_COMPLETED
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_FAILED"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_FAILED
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_CANCELED"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_CANCELED
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_TERMINATED"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_TERMINATED
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+    | (Prelude.==) k "WORKFLOW_EXECUTION_STATUS_TIMED_OUT"
+    = Prelude.Just WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded WorkflowExecutionStatus where
+  minBound = WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+  maxBound = WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+instance Prelude.Enum WorkflowExecutionStatus where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum WorkflowExecutionStatus: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum WORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0
+  fromEnum WORKFLOW_EXECUTION_STATUS_RUNNING = 1
+  fromEnum WORKFLOW_EXECUTION_STATUS_COMPLETED = 2
+  fromEnum WORKFLOW_EXECUTION_STATUS_FAILED = 3
+  fromEnum WORKFLOW_EXECUTION_STATUS_CANCELED = 4
+  fromEnum WORKFLOW_EXECUTION_STATUS_TERMINATED = 5
+  fromEnum WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6
+  fromEnum WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7
+  fromEnum
+    (WorkflowExecutionStatus'Unrecognized (WorkflowExecutionStatus'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+    = Prelude.error
+        "WorkflowExecutionStatus.succ: bad argument WORKFLOW_EXECUTION_STATUS_TIMED_OUT. This value would be out of bounds."
+  succ WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+    = WORKFLOW_EXECUTION_STATUS_RUNNING
+  succ WORKFLOW_EXECUTION_STATUS_RUNNING
+    = WORKFLOW_EXECUTION_STATUS_COMPLETED
+  succ WORKFLOW_EXECUTION_STATUS_COMPLETED
+    = WORKFLOW_EXECUTION_STATUS_FAILED
+  succ WORKFLOW_EXECUTION_STATUS_FAILED
+    = WORKFLOW_EXECUTION_STATUS_CANCELED
+  succ WORKFLOW_EXECUTION_STATUS_CANCELED
+    = WORKFLOW_EXECUTION_STATUS_TERMINATED
+  succ WORKFLOW_EXECUTION_STATUS_TERMINATED
+    = WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+  succ WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+    = WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+  succ (WorkflowExecutionStatus'Unrecognized _)
+    = Prelude.error
+        "WorkflowExecutionStatus.succ: bad argument: unrecognized value"
+  pred WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+    = Prelude.error
+        "WorkflowExecutionStatus.pred: bad argument WORKFLOW_EXECUTION_STATUS_UNSPECIFIED. This value would be out of bounds."
+  pred WORKFLOW_EXECUTION_STATUS_RUNNING
+    = WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+  pred WORKFLOW_EXECUTION_STATUS_COMPLETED
+    = WORKFLOW_EXECUTION_STATUS_RUNNING
+  pred WORKFLOW_EXECUTION_STATUS_FAILED
+    = WORKFLOW_EXECUTION_STATUS_COMPLETED
+  pred WORKFLOW_EXECUTION_STATUS_CANCELED
+    = WORKFLOW_EXECUTION_STATUS_FAILED
+  pred WORKFLOW_EXECUTION_STATUS_TERMINATED
+    = WORKFLOW_EXECUTION_STATUS_CANCELED
+  pred WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+    = WORKFLOW_EXECUTION_STATUS_TERMINATED
+  pred WORKFLOW_EXECUTION_STATUS_TIMED_OUT
+    = WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
+  pred (WorkflowExecutionStatus'Unrecognized _)
+    = Prelude.error
+        "WorkflowExecutionStatus.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault WorkflowExecutionStatus where
+  fieldDefault = WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
+instance Control.DeepSeq.NFData WorkflowExecutionStatus where
+  rnf x__ = Prelude.seq x__ ()
+newtype WorkflowIdConflictPolicy'UnrecognizedValue
+  = WorkflowIdConflictPolicy'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data WorkflowIdConflictPolicy
+  = WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED |
+    WORKFLOW_ID_CONFLICT_POLICY_FAIL |
+    WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING |
+    WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING |
+    WorkflowIdConflictPolicy'Unrecognized !WorkflowIdConflictPolicy'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum WorkflowIdConflictPolicy where
+  maybeToEnum 0
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_FAIL
+  maybeToEnum 2
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+  maybeToEnum 3
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+  maybeToEnum k
+    = Prelude.Just
+        (WorkflowIdConflictPolicy'Unrecognized
+           (WorkflowIdConflictPolicy'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+    = "WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED"
+  showEnum WORKFLOW_ID_CONFLICT_POLICY_FAIL
+    = "WORKFLOW_ID_CONFLICT_POLICY_FAIL"
+  showEnum WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+    = "WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING"
+  showEnum WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+    = "WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING"
+  showEnum
+    (WorkflowIdConflictPolicy'Unrecognized (WorkflowIdConflictPolicy'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED"
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+    | (Prelude.==) k "WORKFLOW_ID_CONFLICT_POLICY_FAIL"
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_FAIL
+    | (Prelude.==) k "WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING"
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+    | (Prelude.==) k "WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING"
+    = Prelude.Just WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded WorkflowIdConflictPolicy where
+  minBound = WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+  maxBound = WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+instance Prelude.Enum WorkflowIdConflictPolicy where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum WorkflowIdConflictPolicy: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED = 0
+  fromEnum WORKFLOW_ID_CONFLICT_POLICY_FAIL = 1
+  fromEnum WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING = 2
+  fromEnum WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING = 3
+  fromEnum
+    (WorkflowIdConflictPolicy'Unrecognized (WorkflowIdConflictPolicy'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+    = Prelude.error
+        "WorkflowIdConflictPolicy.succ: bad argument WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING. This value would be out of bounds."
+  succ WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+    = WORKFLOW_ID_CONFLICT_POLICY_FAIL
+  succ WORKFLOW_ID_CONFLICT_POLICY_FAIL
+    = WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+  succ WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+    = WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+  succ (WorkflowIdConflictPolicy'Unrecognized _)
+    = Prelude.error
+        "WorkflowIdConflictPolicy.succ: bad argument: unrecognized value"
+  pred WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+    = Prelude.error
+        "WorkflowIdConflictPolicy.pred: bad argument WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED. This value would be out of bounds."
+  pred WORKFLOW_ID_CONFLICT_POLICY_FAIL
+    = WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+  pred WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+    = WORKFLOW_ID_CONFLICT_POLICY_FAIL
+  pred WORKFLOW_ID_CONFLICT_POLICY_TERMINATE_EXISTING
+    = WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING
+  pred (WorkflowIdConflictPolicy'Unrecognized _)
+    = Prelude.error
+        "WorkflowIdConflictPolicy.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault WorkflowIdConflictPolicy where
+  fieldDefault = WORKFLOW_ID_CONFLICT_POLICY_UNSPECIFIED
+instance Control.DeepSeq.NFData WorkflowIdConflictPolicy where
+  rnf x__ = Prelude.seq x__ ()
+newtype WorkflowIdReusePolicy'UnrecognizedValue
+  = WorkflowIdReusePolicy'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data WorkflowIdReusePolicy
+  = WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED |
+    WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE |
+    WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY |
+    WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE |
+    WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING |
+    WorkflowIdReusePolicy'Unrecognized !WorkflowIdReusePolicy'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum WorkflowIdReusePolicy where
+  maybeToEnum 0 = Prelude.Just WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+  maybeToEnum 2
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+  maybeToEnum 3
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+  maybeToEnum 4
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+  maybeToEnum k
+    = Prelude.Just
+        (WorkflowIdReusePolicy'Unrecognized
+           (WorkflowIdReusePolicy'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+    = "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED"
+  showEnum WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+    = "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE"
+  showEnum WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+    = "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY"
+  showEnum WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+    = "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE"
+  showEnum WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+    = "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING"
+  showEnum
+    (WorkflowIdReusePolicy'Unrecognized (WorkflowIdReusePolicy'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED"
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+    | (Prelude.==) k "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE"
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+    | (Prelude.==)
+        k "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY"
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+    | (Prelude.==) k "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE"
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+    | (Prelude.==) k "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING"
+    = Prelude.Just WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded WorkflowIdReusePolicy where
+  minBound = WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+  maxBound = WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+instance Prelude.Enum WorkflowIdReusePolicy where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum WorkflowIdReusePolicy: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED = 0
+  fromEnum WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE = 1
+  fromEnum WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY = 2
+  fromEnum WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE = 3
+  fromEnum WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING = 4
+  fromEnum
+    (WorkflowIdReusePolicy'Unrecognized (WorkflowIdReusePolicy'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+    = Prelude.error
+        "WorkflowIdReusePolicy.succ: bad argument WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING. This value would be out of bounds."
+  succ WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+    = WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+  succ WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+    = WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+  succ WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+    = WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+  succ WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+    = WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+  succ (WorkflowIdReusePolicy'Unrecognized _)
+    = Prelude.error
+        "WorkflowIdReusePolicy.succ: bad argument: unrecognized value"
+  pred WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+    = Prelude.error
+        "WorkflowIdReusePolicy.pred: bad argument WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED. This value would be out of bounds."
+  pred WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+    = WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+  pred WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+    = WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE
+  pred WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+    = WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY
+  pred WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING
+    = WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE
+  pred (WorkflowIdReusePolicy'Unrecognized _)
+    = Prelude.error
+        "WorkflowIdReusePolicy.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault WorkflowIdReusePolicy where
+  fieldDefault = WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED
+instance Control.DeepSeq.NFData WorkflowIdReusePolicy where
+  rnf x__ = Prelude.seq x__ ()
diff --git a/src/Proto/Temporal/Api/Enums/V1/Workflow_Fields.hs b/src/Proto/Temporal/Api/Enums/V1/Workflow_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Enums/V1/Workflow_Fields.hs
@@ -0,0 +1,29 @@
+{- This file was auto-generated from temporal/api/enums/v1/workflow.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Enums.V1.Workflow_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
diff --git a/src/Proto/Temporal/Api/Errordetails/V1/Message.hs b/src/Proto/Temporal/Api/Errordetails/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Errordetails/V1/Message.hs
@@ -0,0 +1,3295 @@
+{- This file was auto-generated from temporal/api/errordetails/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Errordetails.V1.Message (
+        CancellationAlreadyRequestedFailure(),
+        ClientVersionNotSupportedFailure(),
+        MultiOperationExecutionFailure(),
+        MultiOperationExecutionFailure'OperationStatus(),
+        NamespaceAlreadyExistsFailure(), NamespaceInvalidStateFailure(),
+        NamespaceNotActiveFailure(), NamespaceNotFoundFailure(),
+        NamespaceUnavailableFailure(), NewerBuildExistsFailure(),
+        NotFoundFailure(), PermissionDeniedFailure(), QueryFailedFailure(),
+        ResourceExhaustedFailure(), ServerVersionNotSupportedFailure(),
+        SystemWorkflowFailure(), WorkflowExecutionAlreadyStartedFailure(),
+        WorkflowNotReadyFailure()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Any
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+import qualified Proto.Temporal.Api.Failure.V1.Message
+{- | Fields :
+      -}
+data CancellationAlreadyRequestedFailure
+  = CancellationAlreadyRequestedFailure'_constructor {_CancellationAlreadyRequestedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancellationAlreadyRequestedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message CancellationAlreadyRequestedFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.CancellationAlreadyRequestedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \#CancellationAlreadyRequestedFailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancellationAlreadyRequestedFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_CancellationAlreadyRequestedFailure'_unknownFields = y__})
+  defMessage
+    = CancellationAlreadyRequestedFailure'_constructor
+        {_CancellationAlreadyRequestedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancellationAlreadyRequestedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancellationAlreadyRequestedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "CancellationAlreadyRequestedFailure"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData CancellationAlreadyRequestedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancellationAlreadyRequestedFailure'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.clientVersion' @:: Lens' ClientVersionNotSupportedFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.clientName' @:: Lens' ClientVersionNotSupportedFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.supportedVersions' @:: Lens' ClientVersionNotSupportedFailure Data.Text.Text@ -}
+data ClientVersionNotSupportedFailure
+  = ClientVersionNotSupportedFailure'_constructor {_ClientVersionNotSupportedFailure'clientVersion :: !Data.Text.Text,
+                                                   _ClientVersionNotSupportedFailure'clientName :: !Data.Text.Text,
+                                                   _ClientVersionNotSupportedFailure'supportedVersions :: !Data.Text.Text,
+                                                   _ClientVersionNotSupportedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ClientVersionNotSupportedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ClientVersionNotSupportedFailure "clientVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClientVersionNotSupportedFailure'clientVersion
+           (\ x__ y__
+              -> x__ {_ClientVersionNotSupportedFailure'clientVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClientVersionNotSupportedFailure "clientName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClientVersionNotSupportedFailure'clientName
+           (\ x__ y__
+              -> x__ {_ClientVersionNotSupportedFailure'clientName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClientVersionNotSupportedFailure "supportedVersions" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClientVersionNotSupportedFailure'supportedVersions
+           (\ x__ y__
+              -> x__
+                   {_ClientVersionNotSupportedFailure'supportedVersions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ClientVersionNotSupportedFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.ClientVersionNotSupportedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \ ClientVersionNotSupportedFailure\DC2%\n\
+      \\SOclient_version\CAN\SOH \SOH(\tR\rclientVersion\DC2\US\n\
+      \\vclient_name\CAN\STX \SOH(\tR\n\
+      \clientName\DC2-\n\
+      \\DC2supported_versions\CAN\ETX \SOH(\tR\DC1supportedVersions"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        clientVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "client_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clientVersion")) ::
+              Data.ProtoLens.FieldDescriptor ClientVersionNotSupportedFailure
+        clientName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "client_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clientName")) ::
+              Data.ProtoLens.FieldDescriptor ClientVersionNotSupportedFailure
+        supportedVersions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "supported_versions"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"supportedVersions")) ::
+              Data.ProtoLens.FieldDescriptor ClientVersionNotSupportedFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, clientVersion__field_descriptor),
+           (Data.ProtoLens.Tag 2, clientName__field_descriptor),
+           (Data.ProtoLens.Tag 3, supportedVersions__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ClientVersionNotSupportedFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_ClientVersionNotSupportedFailure'_unknownFields = y__})
+  defMessage
+    = ClientVersionNotSupportedFailure'_constructor
+        {_ClientVersionNotSupportedFailure'clientVersion = Data.ProtoLens.fieldDefault,
+         _ClientVersionNotSupportedFailure'clientName = Data.ProtoLens.fieldDefault,
+         _ClientVersionNotSupportedFailure'supportedVersions = Data.ProtoLens.fieldDefault,
+         _ClientVersionNotSupportedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ClientVersionNotSupportedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser ClientVersionNotSupportedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "client_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"clientVersion") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "client_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"clientName") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "supported_versions"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"supportedVersions") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ClientVersionNotSupportedFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"clientVersion") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"clientName") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"supportedVersions") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData ClientVersionNotSupportedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ClientVersionNotSupportedFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ClientVersionNotSupportedFailure'clientVersion x__)
+                (Control.DeepSeq.deepseq
+                   (_ClientVersionNotSupportedFailure'clientName x__)
+                   (Control.DeepSeq.deepseq
+                      (_ClientVersionNotSupportedFailure'supportedVersions x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.statuses' @:: Lens' MultiOperationExecutionFailure [MultiOperationExecutionFailure'OperationStatus]@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.vec'statuses' @:: Lens' MultiOperationExecutionFailure (Data.Vector.Vector MultiOperationExecutionFailure'OperationStatus)@ -}
+data MultiOperationExecutionFailure
+  = MultiOperationExecutionFailure'_constructor {_MultiOperationExecutionFailure'statuses :: !(Data.Vector.Vector MultiOperationExecutionFailure'OperationStatus),
+                                                 _MultiOperationExecutionFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show MultiOperationExecutionFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField MultiOperationExecutionFailure "statuses" [MultiOperationExecutionFailure'OperationStatus] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MultiOperationExecutionFailure'statuses
+           (\ x__ y__
+              -> x__ {_MultiOperationExecutionFailure'statuses = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField MultiOperationExecutionFailure "vec'statuses" (Data.Vector.Vector MultiOperationExecutionFailure'OperationStatus) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MultiOperationExecutionFailure'statuses
+           (\ x__ y__
+              -> x__ {_MultiOperationExecutionFailure'statuses = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message MultiOperationExecutionFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.MultiOperationExecutionFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSMultiOperationExecutionFailure\DC2h\n\
+      \\bstatuses\CAN\SOH \ETX(\v2L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatusR\bstatuses\SUBo\n\
+      \\SIOperationStatus\DC2\DC2\n\
+      \\EOTcode\CAN\SOH \SOH(\ENQR\EOTcode\DC2\CAN\n\
+      \\amessage\CAN\STX \SOH(\tR\amessage\DC2.\n\
+      \\adetails\CAN\ETX \ETX(\v2\DC4.google.protobuf.AnyR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        statuses__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "statuses"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor MultiOperationExecutionFailure'OperationStatus)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"statuses")) ::
+              Data.ProtoLens.FieldDescriptor MultiOperationExecutionFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, statuses__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _MultiOperationExecutionFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_MultiOperationExecutionFailure'_unknownFields = y__})
+  defMessage
+    = MultiOperationExecutionFailure'_constructor
+        {_MultiOperationExecutionFailure'statuses = Data.Vector.Generic.empty,
+         _MultiOperationExecutionFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          MultiOperationExecutionFailure
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld MultiOperationExecutionFailure'OperationStatus
+             -> Data.ProtoLens.Encoding.Bytes.Parser MultiOperationExecutionFailure
+        loop x mutable'statuses
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'statuses <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'statuses)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'statuses") frozen'statuses x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "statuses"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'statuses y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'statuses
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'statuses <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'statuses)
+          "MultiOperationExecutionFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'statuses") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData MultiOperationExecutionFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_MultiOperationExecutionFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_MultiOperationExecutionFailure'statuses x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.code' @:: Lens' MultiOperationExecutionFailure'OperationStatus Data.Int.Int32@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.message' @:: Lens' MultiOperationExecutionFailure'OperationStatus Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.details' @:: Lens' MultiOperationExecutionFailure'OperationStatus [Proto.Google.Protobuf.Any.Any]@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.vec'details' @:: Lens' MultiOperationExecutionFailure'OperationStatus (Data.Vector.Vector Proto.Google.Protobuf.Any.Any)@ -}
+data MultiOperationExecutionFailure'OperationStatus
+  = MultiOperationExecutionFailure'OperationStatus'_constructor {_MultiOperationExecutionFailure'OperationStatus'code :: !Data.Int.Int32,
+                                                                 _MultiOperationExecutionFailure'OperationStatus'message :: !Data.Text.Text,
+                                                                 _MultiOperationExecutionFailure'OperationStatus'details :: !(Data.Vector.Vector Proto.Google.Protobuf.Any.Any),
+                                                                 _MultiOperationExecutionFailure'OperationStatus'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show MultiOperationExecutionFailure'OperationStatus where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField MultiOperationExecutionFailure'OperationStatus "code" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MultiOperationExecutionFailure'OperationStatus'code
+           (\ x__ y__
+              -> x__
+                   {_MultiOperationExecutionFailure'OperationStatus'code = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MultiOperationExecutionFailure'OperationStatus "message" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MultiOperationExecutionFailure'OperationStatus'message
+           (\ x__ y__
+              -> x__
+                   {_MultiOperationExecutionFailure'OperationStatus'message = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MultiOperationExecutionFailure'OperationStatus "details" [Proto.Google.Protobuf.Any.Any] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MultiOperationExecutionFailure'OperationStatus'details
+           (\ x__ y__
+              -> x__
+                   {_MultiOperationExecutionFailure'OperationStatus'details = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField MultiOperationExecutionFailure'OperationStatus "vec'details" (Data.Vector.Vector Proto.Google.Protobuf.Any.Any) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MultiOperationExecutionFailure'OperationStatus'details
+           (\ x__ y__
+              -> x__
+                   {_MultiOperationExecutionFailure'OperationStatus'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message MultiOperationExecutionFailure'OperationStatus where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatus"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIOperationStatus\DC2\DC2\n\
+      \\EOTcode\CAN\SOH \SOH(\ENQR\EOTcode\DC2\CAN\n\
+      \\amessage\CAN\STX \SOH(\tR\amessage\DC2.\n\
+      \\adetails\CAN\ETX \ETX(\v2\DC4.google.protobuf.AnyR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        code__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "code"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"code")) ::
+              Data.ProtoLens.FieldDescriptor MultiOperationExecutionFailure'OperationStatus
+        message__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::
+              Data.ProtoLens.FieldDescriptor MultiOperationExecutionFailure'OperationStatus
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Any.Any)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"details")) ::
+              Data.ProtoLens.FieldDescriptor MultiOperationExecutionFailure'OperationStatus
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, code__field_descriptor),
+           (Data.ProtoLens.Tag 2, message__field_descriptor),
+           (Data.ProtoLens.Tag 3, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _MultiOperationExecutionFailure'OperationStatus'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_MultiOperationExecutionFailure'OperationStatus'_unknownFields = y__})
+  defMessage
+    = MultiOperationExecutionFailure'OperationStatus'_constructor
+        {_MultiOperationExecutionFailure'OperationStatus'code = Data.ProtoLens.fieldDefault,
+         _MultiOperationExecutionFailure'OperationStatus'message = Data.ProtoLens.fieldDefault,
+         _MultiOperationExecutionFailure'OperationStatus'details = Data.Vector.Generic.empty,
+         _MultiOperationExecutionFailure'OperationStatus'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          MultiOperationExecutionFailure'OperationStatus
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Any.Any
+             -> Data.ProtoLens.Encoding.Bytes.Parser MultiOperationExecutionFailure'OperationStatus
+        loop x mutable'details
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'details <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                             mutable'details)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'details") frozen'details x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "code"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"code") y x)
+                                  mutable'details
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)
+                                  mutable'details
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "details"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'details y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'details
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'details <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                   Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'details)
+          "OperationStatus"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"code") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'details") _x))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData MultiOperationExecutionFailure'OperationStatus where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_MultiOperationExecutionFailure'OperationStatus'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_MultiOperationExecutionFailure'OperationStatus'code x__)
+                (Control.DeepSeq.deepseq
+                   (_MultiOperationExecutionFailure'OperationStatus'message x__)
+                   (Control.DeepSeq.deepseq
+                      (_MultiOperationExecutionFailure'OperationStatus'details x__) ())))
+{- | Fields :
+      -}
+data NamespaceAlreadyExistsFailure
+  = NamespaceAlreadyExistsFailure'_constructor {_NamespaceAlreadyExistsFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceAlreadyExistsFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message NamespaceAlreadyExistsFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.NamespaceAlreadyExistsFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSNamespaceAlreadyExistsFailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceAlreadyExistsFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespaceAlreadyExistsFailure'_unknownFields = y__})
+  defMessage
+    = NamespaceAlreadyExistsFailure'_constructor
+        {_NamespaceAlreadyExistsFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceAlreadyExistsFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceAlreadyExistsFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceAlreadyExistsFailure"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData NamespaceAlreadyExistsFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceAlreadyExistsFailure'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.namespace' @:: Lens' NamespaceInvalidStateFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.state' @:: Lens' NamespaceInvalidStateFailure Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.allowedStates' @:: Lens' NamespaceInvalidStateFailure [Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState]@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.vec'allowedStates' @:: Lens' NamespaceInvalidStateFailure (Data.Vector.Vector Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState)@ -}
+data NamespaceInvalidStateFailure
+  = NamespaceInvalidStateFailure'_constructor {_NamespaceInvalidStateFailure'namespace :: !Data.Text.Text,
+                                               _NamespaceInvalidStateFailure'state :: !Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState,
+                                               _NamespaceInvalidStateFailure'allowedStates :: !(Data.Vector.Vector Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState),
+                                               _NamespaceInvalidStateFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceInvalidStateFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceInvalidStateFailure "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInvalidStateFailure'namespace
+           (\ x__ y__ -> x__ {_NamespaceInvalidStateFailure'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInvalidStateFailure "state" Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInvalidStateFailure'state
+           (\ x__ y__ -> x__ {_NamespaceInvalidStateFailure'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInvalidStateFailure "allowedStates" [Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInvalidStateFailure'allowedStates
+           (\ x__ y__
+              -> x__ {_NamespaceInvalidStateFailure'allowedStates = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField NamespaceInvalidStateFailure "vec'allowedStates" (Data.Vector.Vector Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInvalidStateFailure'allowedStates
+           (\ x__ y__
+              -> x__ {_NamespaceInvalidStateFailure'allowedStates = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceInvalidStateFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.NamespaceInvalidStateFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\FSNamespaceInvalidStateFailure\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2;\n\
+      \\ENQstate\CAN\STX \SOH(\SO2%.temporal.api.enums.v1.NamespaceStateR\ENQstate\DC2L\n\
+      \\SOallowed_states\CAN\ETX \ETX(\SO2%.temporal.api.enums.v1.NamespaceStateR\rallowedStates"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInvalidStateFailure
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInvalidStateFailure
+        allowedStates__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "allowed_states"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"allowedStates")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInvalidStateFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, state__field_descriptor),
+           (Data.ProtoLens.Tag 3, allowedStates__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceInvalidStateFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespaceInvalidStateFailure'_unknownFields = y__})
+  defMessage
+    = NamespaceInvalidStateFailure'_constructor
+        {_NamespaceInvalidStateFailure'namespace = Data.ProtoLens.fieldDefault,
+         _NamespaceInvalidStateFailure'state = Data.ProtoLens.fieldDefault,
+         _NamespaceInvalidStateFailure'allowedStates = Data.Vector.Generic.empty,
+         _NamespaceInvalidStateFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceInvalidStateFailure
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState
+             -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceInvalidStateFailure
+        loop x mutable'allowedStates
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'allowedStates <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                   mutable'allowedStates)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'allowedStates")
+                              frozen'allowedStates x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                                  mutable'allowedStates
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                                  mutable'allowedStates
+                        24
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.toEnum
+                                           (Prelude.fmap
+                                              Prelude.fromIntegral
+                                              Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                        "allowed_states"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'allowedStates y)
+                                loop x v
+                        26
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.toEnum
+                                                                       (Prelude.fmap
+                                                                          Prelude.fromIntegral
+                                                                          Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                                                    "allowed_states"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'allowedStates)
+                                loop x y
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'allowedStates
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'allowedStates <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'allowedStates)
+          "NamespaceInvalidStateFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (let
+                      p = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'allowedStates") _x
+                    in
+                      if Data.Vector.Generic.null p then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               (Data.ProtoLens.Encoding.Bytes.runBuilder
+                                  (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                     ((Prelude..)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral)
+                                        Prelude.fromEnum)
+                                     p))))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NamespaceInvalidStateFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceInvalidStateFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceInvalidStateFailure'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceInvalidStateFailure'state x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespaceInvalidStateFailure'allowedStates x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.namespace' @:: Lens' NamespaceNotActiveFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.currentCluster' @:: Lens' NamespaceNotActiveFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.activeCluster' @:: Lens' NamespaceNotActiveFailure Data.Text.Text@ -}
+data NamespaceNotActiveFailure
+  = NamespaceNotActiveFailure'_constructor {_NamespaceNotActiveFailure'namespace :: !Data.Text.Text,
+                                            _NamespaceNotActiveFailure'currentCluster :: !Data.Text.Text,
+                                            _NamespaceNotActiveFailure'activeCluster :: !Data.Text.Text,
+                                            _NamespaceNotActiveFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceNotActiveFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceNotActiveFailure "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceNotActiveFailure'namespace
+           (\ x__ y__ -> x__ {_NamespaceNotActiveFailure'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceNotActiveFailure "currentCluster" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceNotActiveFailure'currentCluster
+           (\ x__ y__
+              -> x__ {_NamespaceNotActiveFailure'currentCluster = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceNotActiveFailure "activeCluster" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceNotActiveFailure'activeCluster
+           (\ x__ y__
+              -> x__ {_NamespaceNotActiveFailure'activeCluster = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceNotActiveFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.NamespaceNotActiveFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMNamespaceNotActiveFailure\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2'\n\
+      \\SIcurrent_cluster\CAN\STX \SOH(\tR\SOcurrentCluster\DC2%\n\
+      \\SOactive_cluster\CAN\ETX \SOH(\tR\ractiveCluster"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceNotActiveFailure
+        currentCluster__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_cluster"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"currentCluster")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceNotActiveFailure
+        activeCluster__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "active_cluster"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activeCluster")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceNotActiveFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, currentCluster__field_descriptor),
+           (Data.ProtoLens.Tag 3, activeCluster__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceNotActiveFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespaceNotActiveFailure'_unknownFields = y__})
+  defMessage
+    = NamespaceNotActiveFailure'_constructor
+        {_NamespaceNotActiveFailure'namespace = Data.ProtoLens.fieldDefault,
+         _NamespaceNotActiveFailure'currentCluster = Data.ProtoLens.fieldDefault,
+         _NamespaceNotActiveFailure'activeCluster = Data.ProtoLens.fieldDefault,
+         _NamespaceNotActiveFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceNotActiveFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceNotActiveFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "current_cluster"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentCluster") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "active_cluster"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activeCluster") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceNotActiveFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"currentCluster") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"activeCluster") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NamespaceNotActiveFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceNotActiveFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceNotActiveFailure'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceNotActiveFailure'currentCluster x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespaceNotActiveFailure'activeCluster x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.namespace' @:: Lens' NamespaceNotFoundFailure Data.Text.Text@ -}
+data NamespaceNotFoundFailure
+  = NamespaceNotFoundFailure'_constructor {_NamespaceNotFoundFailure'namespace :: !Data.Text.Text,
+                                           _NamespaceNotFoundFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceNotFoundFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceNotFoundFailure "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceNotFoundFailure'namespace
+           (\ x__ y__ -> x__ {_NamespaceNotFoundFailure'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceNotFoundFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.NamespaceNotFoundFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANNamespaceNotFoundFailure\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceNotFoundFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceNotFoundFailure'_unknownFields
+        (\ x__ y__ -> x__ {_NamespaceNotFoundFailure'_unknownFields = y__})
+  defMessage
+    = NamespaceNotFoundFailure'_constructor
+        {_NamespaceNotFoundFailure'namespace = Data.ProtoLens.fieldDefault,
+         _NamespaceNotFoundFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceNotFoundFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceNotFoundFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceNotFoundFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NamespaceNotFoundFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceNotFoundFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceNotFoundFailure'namespace x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.namespace' @:: Lens' NamespaceUnavailableFailure Data.Text.Text@ -}
+data NamespaceUnavailableFailure
+  = NamespaceUnavailableFailure'_constructor {_NamespaceUnavailableFailure'namespace :: !Data.Text.Text,
+                                              _NamespaceUnavailableFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceUnavailableFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceUnavailableFailure "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceUnavailableFailure'namespace
+           (\ x__ y__ -> x__ {_NamespaceUnavailableFailure'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceUnavailableFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.NamespaceUnavailableFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCNamespaceUnavailableFailure\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceUnavailableFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceUnavailableFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespaceUnavailableFailure'_unknownFields = y__})
+  defMessage
+    = NamespaceUnavailableFailure'_constructor
+        {_NamespaceUnavailableFailure'namespace = Data.ProtoLens.fieldDefault,
+         _NamespaceUnavailableFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceUnavailableFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceUnavailableFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceUnavailableFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NamespaceUnavailableFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceUnavailableFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceUnavailableFailure'namespace x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.defaultBuildId' @:: Lens' NewerBuildExistsFailure Data.Text.Text@ -}
+data NewerBuildExistsFailure
+  = NewerBuildExistsFailure'_constructor {_NewerBuildExistsFailure'defaultBuildId :: !Data.Text.Text,
+                                          _NewerBuildExistsFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NewerBuildExistsFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NewerBuildExistsFailure "defaultBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewerBuildExistsFailure'defaultBuildId
+           (\ x__ y__ -> x__ {_NewerBuildExistsFailure'defaultBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NewerBuildExistsFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.NewerBuildExistsFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBNewerBuildExistsFailure\DC2(\n\
+      \\DLEdefault_build_id\CAN\SOH \SOH(\tR\SOdefaultBuildId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        defaultBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "default_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"defaultBuildId")) ::
+              Data.ProtoLens.FieldDescriptor NewerBuildExistsFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, defaultBuildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NewerBuildExistsFailure'_unknownFields
+        (\ x__ y__ -> x__ {_NewerBuildExistsFailure'_unknownFields = y__})
+  defMessage
+    = NewerBuildExistsFailure'_constructor
+        {_NewerBuildExistsFailure'defaultBuildId = Data.ProtoLens.fieldDefault,
+         _NewerBuildExistsFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NewerBuildExistsFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser NewerBuildExistsFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "default_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"defaultBuildId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NewerBuildExistsFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"defaultBuildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NewerBuildExistsFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NewerBuildExistsFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NewerBuildExistsFailure'defaultBuildId x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.currentCluster' @:: Lens' NotFoundFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.activeCluster' @:: Lens' NotFoundFailure Data.Text.Text@ -}
+data NotFoundFailure
+  = NotFoundFailure'_constructor {_NotFoundFailure'currentCluster :: !Data.Text.Text,
+                                  _NotFoundFailure'activeCluster :: !Data.Text.Text,
+                                  _NotFoundFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NotFoundFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NotFoundFailure "currentCluster" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NotFoundFailure'currentCluster
+           (\ x__ y__ -> x__ {_NotFoundFailure'currentCluster = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NotFoundFailure "activeCluster" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NotFoundFailure'activeCluster
+           (\ x__ y__ -> x__ {_NotFoundFailure'activeCluster = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NotFoundFailure where
+  messageName _
+    = Data.Text.pack "temporal.api.errordetails.v1.NotFoundFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\SINotFoundFailure\DC2'\n\
+      \\SIcurrent_cluster\CAN\SOH \SOH(\tR\SOcurrentCluster\DC2%\n\
+      \\SOactive_cluster\CAN\STX \SOH(\tR\ractiveCluster"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        currentCluster__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_cluster"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"currentCluster")) ::
+              Data.ProtoLens.FieldDescriptor NotFoundFailure
+        activeCluster__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "active_cluster"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activeCluster")) ::
+              Data.ProtoLens.FieldDescriptor NotFoundFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, currentCluster__field_descriptor),
+           (Data.ProtoLens.Tag 2, activeCluster__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NotFoundFailure'_unknownFields
+        (\ x__ y__ -> x__ {_NotFoundFailure'_unknownFields = y__})
+  defMessage
+    = NotFoundFailure'_constructor
+        {_NotFoundFailure'currentCluster = Data.ProtoLens.fieldDefault,
+         _NotFoundFailure'activeCluster = Data.ProtoLens.fieldDefault,
+         _NotFoundFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NotFoundFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser NotFoundFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "current_cluster"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentCluster") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "active_cluster"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activeCluster") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NotFoundFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"currentCluster") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"activeCluster") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NotFoundFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NotFoundFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NotFoundFailure'currentCluster x__)
+                (Control.DeepSeq.deepseq (_NotFoundFailure'activeCluster x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.reason' @:: Lens' PermissionDeniedFailure Data.Text.Text@ -}
+data PermissionDeniedFailure
+  = PermissionDeniedFailure'_constructor {_PermissionDeniedFailure'reason :: !Data.Text.Text,
+                                          _PermissionDeniedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PermissionDeniedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PermissionDeniedFailure "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PermissionDeniedFailure'reason
+           (\ x__ y__ -> x__ {_PermissionDeniedFailure'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PermissionDeniedFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.PermissionDeniedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBPermissionDeniedFailure\DC2\SYN\n\
+      \\ACKreason\CAN\SOH \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor PermissionDeniedFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PermissionDeniedFailure'_unknownFields
+        (\ x__ y__ -> x__ {_PermissionDeniedFailure'_unknownFields = y__})
+  defMessage
+    = PermissionDeniedFailure'_constructor
+        {_PermissionDeniedFailure'reason = Data.ProtoLens.fieldDefault,
+         _PermissionDeniedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PermissionDeniedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser PermissionDeniedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PermissionDeniedFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData PermissionDeniedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PermissionDeniedFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_PermissionDeniedFailure'reason x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.failure' @:: Lens' QueryFailedFailure Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.maybe'failure' @:: Lens' QueryFailedFailure (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data QueryFailedFailure
+  = QueryFailedFailure'_constructor {_QueryFailedFailure'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                     _QueryFailedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show QueryFailedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField QueryFailedFailure "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryFailedFailure'failure
+           (\ x__ y__ -> x__ {_QueryFailedFailure'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField QueryFailedFailure "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryFailedFailure'failure
+           (\ x__ y__ -> x__ {_QueryFailedFailure'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message QueryFailedFailure where
+  messageName _
+    = Data.Text.pack "temporal.api.errordetails.v1.QueryFailedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2QueryFailedFailure\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor QueryFailedFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _QueryFailedFailure'_unknownFields
+        (\ x__ y__ -> x__ {_QueryFailedFailure'_unknownFields = y__})
+  defMessage
+    = QueryFailedFailure'_constructor
+        {_QueryFailedFailure'failure = Prelude.Nothing,
+         _QueryFailedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          QueryFailedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser QueryFailedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "QueryFailedFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData QueryFailedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_QueryFailedFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_QueryFailedFailure'failure x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.cause' @:: Lens' ResourceExhaustedFailure Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedCause@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.scope' @:: Lens' ResourceExhaustedFailure Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedScope@ -}
+data ResourceExhaustedFailure
+  = ResourceExhaustedFailure'_constructor {_ResourceExhaustedFailure'cause :: !Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedCause,
+                                           _ResourceExhaustedFailure'scope :: !Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedScope,
+                                           _ResourceExhaustedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResourceExhaustedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResourceExhaustedFailure "cause" Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResourceExhaustedFailure'cause
+           (\ x__ y__ -> x__ {_ResourceExhaustedFailure'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResourceExhaustedFailure "scope" Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedScope where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResourceExhaustedFailure'scope
+           (\ x__ y__ -> x__ {_ResourceExhaustedFailure'scope = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResourceExhaustedFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.ResourceExhaustedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANResourceExhaustedFailure\DC2C\n\
+      \\ENQcause\CAN\SOH \SOH(\SO2-.temporal.api.enums.v1.ResourceExhaustedCauseR\ENQcause\DC2C\n\
+      \\ENQscope\CAN\STX \SOH(\SO2-.temporal.api.enums.v1.ResourceExhaustedScopeR\ENQscope"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor ResourceExhaustedFailure
+        scope__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scope"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.ResourceExhaustedScope)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"scope")) ::
+              Data.ProtoLens.FieldDescriptor ResourceExhaustedFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, cause__field_descriptor),
+           (Data.ProtoLens.Tag 2, scope__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResourceExhaustedFailure'_unknownFields
+        (\ x__ y__ -> x__ {_ResourceExhaustedFailure'_unknownFields = y__})
+  defMessage
+    = ResourceExhaustedFailure'_constructor
+        {_ResourceExhaustedFailure'cause = Data.ProtoLens.fieldDefault,
+         _ResourceExhaustedFailure'scope = Data.ProtoLens.fieldDefault,
+         _ResourceExhaustedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResourceExhaustedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResourceExhaustedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "scope"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"scope") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResourceExhaustedFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"scope") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResourceExhaustedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResourceExhaustedFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResourceExhaustedFailure'cause x__)
+                (Control.DeepSeq.deepseq (_ResourceExhaustedFailure'scope x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.serverVersion' @:: Lens' ServerVersionNotSupportedFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.clientSupportedServerVersions' @:: Lens' ServerVersionNotSupportedFailure Data.Text.Text@ -}
+data ServerVersionNotSupportedFailure
+  = ServerVersionNotSupportedFailure'_constructor {_ServerVersionNotSupportedFailure'serverVersion :: !Data.Text.Text,
+                                                   _ServerVersionNotSupportedFailure'clientSupportedServerVersions :: !Data.Text.Text,
+                                                   _ServerVersionNotSupportedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ServerVersionNotSupportedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ServerVersionNotSupportedFailure "serverVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ServerVersionNotSupportedFailure'serverVersion
+           (\ x__ y__
+              -> x__ {_ServerVersionNotSupportedFailure'serverVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ServerVersionNotSupportedFailure "clientSupportedServerVersions" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ServerVersionNotSupportedFailure'clientSupportedServerVersions
+           (\ x__ y__
+              -> x__
+                   {_ServerVersionNotSupportedFailure'clientSupportedServerVersions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ServerVersionNotSupportedFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.ServerVersionNotSupportedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \ ServerVersionNotSupportedFailure\DC2%\n\
+      \\SOserver_version\CAN\SOH \SOH(\tR\rserverVersion\DC2G\n\
+      \ client_supported_server_versions\CAN\STX \SOH(\tR\GSclientSupportedServerVersions"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        serverVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "server_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"serverVersion")) ::
+              Data.ProtoLens.FieldDescriptor ServerVersionNotSupportedFailure
+        clientSupportedServerVersions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "client_supported_server_versions"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clientSupportedServerVersions")) ::
+              Data.ProtoLens.FieldDescriptor ServerVersionNotSupportedFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, serverVersion__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            clientSupportedServerVersions__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ServerVersionNotSupportedFailure'_unknownFields
+        (\ x__ y__
+           -> x__ {_ServerVersionNotSupportedFailure'_unknownFields = y__})
+  defMessage
+    = ServerVersionNotSupportedFailure'_constructor
+        {_ServerVersionNotSupportedFailure'serverVersion = Data.ProtoLens.fieldDefault,
+         _ServerVersionNotSupportedFailure'clientSupportedServerVersions = Data.ProtoLens.fieldDefault,
+         _ServerVersionNotSupportedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ServerVersionNotSupportedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser ServerVersionNotSupportedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "server_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"serverVersion") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "client_supported_server_versions"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"clientSupportedServerVersions") y
+                                     x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ServerVersionNotSupportedFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"serverVersion") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"clientSupportedServerVersions") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ServerVersionNotSupportedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ServerVersionNotSupportedFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ServerVersionNotSupportedFailure'serverVersion x__)
+                (Control.DeepSeq.deepseq
+                   (_ServerVersionNotSupportedFailure'clientSupportedServerVersions
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.workflowExecution' @:: Lens' SystemWorkflowFailure Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.maybe'workflowExecution' @:: Lens' SystemWorkflowFailure (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.workflowError' @:: Lens' SystemWorkflowFailure Data.Text.Text@ -}
+data SystemWorkflowFailure
+  = SystemWorkflowFailure'_constructor {_SystemWorkflowFailure'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                        _SystemWorkflowFailure'workflowError :: !Data.Text.Text,
+                                        _SystemWorkflowFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SystemWorkflowFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SystemWorkflowFailure "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SystemWorkflowFailure'workflowExecution
+           (\ x__ y__
+              -> x__ {_SystemWorkflowFailure'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SystemWorkflowFailure "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SystemWorkflowFailure'workflowExecution
+           (\ x__ y__
+              -> x__ {_SystemWorkflowFailure'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SystemWorkflowFailure "workflowError" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SystemWorkflowFailure'workflowError
+           (\ x__ y__ -> x__ {_SystemWorkflowFailure'workflowError = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SystemWorkflowFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.SystemWorkflowFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKSystemWorkflowFailure\DC2X\n\
+      \\DC2workflow_execution\CAN\SOH \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2%\n\
+      \\SOworkflow_error\CAN\STX \SOH(\tR\rworkflowError"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor SystemWorkflowFailure
+        workflowError__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_error"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowError")) ::
+              Data.ProtoLens.FieldDescriptor SystemWorkflowFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowError__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SystemWorkflowFailure'_unknownFields
+        (\ x__ y__ -> x__ {_SystemWorkflowFailure'_unknownFields = y__})
+  defMessage
+    = SystemWorkflowFailure'_constructor
+        {_SystemWorkflowFailure'workflowExecution = Prelude.Nothing,
+         _SystemWorkflowFailure'workflowError = Data.ProtoLens.fieldDefault,
+         _SystemWorkflowFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SystemWorkflowFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser SystemWorkflowFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_error"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowError") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SystemWorkflowFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowError") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData SystemWorkflowFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SystemWorkflowFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SystemWorkflowFailure'workflowExecution x__)
+                (Control.DeepSeq.deepseq
+                   (_SystemWorkflowFailure'workflowError x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.startRequestId' @:: Lens' WorkflowExecutionAlreadyStartedFailure Data.Text.Text@
+         * 'Proto.Temporal.Api.Errordetails.V1.Message_Fields.runId' @:: Lens' WorkflowExecutionAlreadyStartedFailure Data.Text.Text@ -}
+data WorkflowExecutionAlreadyStartedFailure
+  = WorkflowExecutionAlreadyStartedFailure'_constructor {_WorkflowExecutionAlreadyStartedFailure'startRequestId :: !Data.Text.Text,
+                                                         _WorkflowExecutionAlreadyStartedFailure'runId :: !Data.Text.Text,
+                                                         _WorkflowExecutionAlreadyStartedFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionAlreadyStartedFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionAlreadyStartedFailure "startRequestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionAlreadyStartedFailure'startRequestId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionAlreadyStartedFailure'startRequestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionAlreadyStartedFailure "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionAlreadyStartedFailure'runId
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionAlreadyStartedFailure'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionAlreadyStartedFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \&WorkflowExecutionAlreadyStartedFailure\DC2(\n\
+      \\DLEstart_request_id\CAN\SOH \SOH(\tR\SOstartRequestId\DC2\NAK\n\
+      \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        startRequestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startRequestId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionAlreadyStartedFailure
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionAlreadyStartedFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, startRequestId__field_descriptor),
+           (Data.ProtoLens.Tag 2, runId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionAlreadyStartedFailure'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionAlreadyStartedFailure'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionAlreadyStartedFailure'_constructor
+        {_WorkflowExecutionAlreadyStartedFailure'startRequestId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionAlreadyStartedFailure'runId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionAlreadyStartedFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionAlreadyStartedFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionAlreadyStartedFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "start_request_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startRequestId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionAlreadyStartedFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"startRequestId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowExecutionAlreadyStartedFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionAlreadyStartedFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionAlreadyStartedFailure'startRequestId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionAlreadyStartedFailure'runId x__) ()))
+{- | Fields :
+      -}
+data WorkflowNotReadyFailure
+  = WorkflowNotReadyFailure'_constructor {_WorkflowNotReadyFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowNotReadyFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message WorkflowNotReadyFailure where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.errordetails.v1.WorkflowNotReadyFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBWorkflowNotReadyFailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowNotReadyFailure'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowNotReadyFailure'_unknownFields = y__})
+  defMessage
+    = WorkflowNotReadyFailure'_constructor
+        {_WorkflowNotReadyFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowNotReadyFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowNotReadyFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowNotReadyFailure"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData WorkflowNotReadyFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowNotReadyFailure'_unknownFields x__) ()
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \*temporal/api/errordetails/v1/message.proto\DC2\FStemporal.api.errordetails.v1\SUB\EMgoogle/protobuf/any.proto\SUB$temporal/api/common/v1/message.proto\SUB(temporal/api/enums/v1/failed_cause.proto\SUB%temporal/api/enums/v1/namespace.proto\SUB%temporal/api/failure/v1/message.proto\"a\n\
+    \\SINotFoundFailure\DC2'\n\
+    \\SIcurrent_cluster\CAN\SOH \SOH(\tR\SOcurrentCluster\DC2%\n\
+    \\SOactive_cluster\CAN\STX \SOH(\tR\ractiveCluster\"i\n\
+    \&WorkflowExecutionAlreadyStartedFailure\DC2(\n\
+    \\DLEstart_request_id\CAN\SOH \SOH(\tR\SOstartRequestId\DC2\NAK\n\
+    \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\"\137\SOH\n\
+    \\EMNamespaceNotActiveFailure\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2'\n\
+    \\SIcurrent_cluster\CAN\STX \SOH(\tR\SOcurrentCluster\DC2%\n\
+    \\SOactive_cluster\CAN\ETX \SOH(\tR\ractiveCluster\";\n\
+    \\ESCNamespaceUnavailableFailure\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\"\199\SOH\n\
+    \\FSNamespaceInvalidStateFailure\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2;\n\
+    \\ENQstate\CAN\STX \SOH(\SO2%.temporal.api.enums.v1.NamespaceStateR\ENQstate\DC2L\n\
+    \\SOallowed_states\CAN\ETX \ETX(\SO2%.temporal.api.enums.v1.NamespaceStateR\rallowedStates\"8\n\
+    \\CANNamespaceNotFoundFailure\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\"\US\n\
+    \\GSNamespaceAlreadyExistsFailure\"\153\SOH\n\
+    \ ClientVersionNotSupportedFailure\DC2%\n\
+    \\SOclient_version\CAN\SOH \SOH(\tR\rclientVersion\DC2\US\n\
+    \\vclient_name\CAN\STX \SOH(\tR\n\
+    \clientName\DC2-\n\
+    \\DC2supported_versions\CAN\ETX \SOH(\tR\DC1supportedVersions\"\146\SOH\n\
+    \ ServerVersionNotSupportedFailure\DC2%\n\
+    \\SOserver_version\CAN\SOH \SOH(\tR\rserverVersion\DC2G\n\
+    \ client_supported_server_versions\CAN\STX \SOH(\tR\GSclientSupportedServerVersions\"%\n\
+    \#CancellationAlreadyRequestedFailure\"P\n\
+    \\DC2QueryFailedFailure\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"1\n\
+    \\ETBPermissionDeniedFailure\DC2\SYN\n\
+    \\ACKreason\CAN\SOH \SOH(\tR\ACKreason\"\164\SOH\n\
+    \\CANResourceExhaustedFailure\DC2C\n\
+    \\ENQcause\CAN\SOH \SOH(\SO2-.temporal.api.enums.v1.ResourceExhaustedCauseR\ENQcause\DC2C\n\
+    \\ENQscope\CAN\STX \SOH(\SO2-.temporal.api.enums.v1.ResourceExhaustedScopeR\ENQscope\"\152\SOH\n\
+    \\NAKSystemWorkflowFailure\DC2X\n\
+    \\DC2workflow_execution\CAN\SOH \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2%\n\
+    \\SOworkflow_error\CAN\STX \SOH(\tR\rworkflowError\"\EM\n\
+    \\ETBWorkflowNotReadyFailure\"C\n\
+    \\ETBNewerBuildExistsFailure\DC2(\n\
+    \\DLEdefault_build_id\CAN\SOH \SOH(\tR\SOdefaultBuildId\"\251\SOH\n\
+    \\RSMultiOperationExecutionFailure\DC2h\n\
+    \\bstatuses\CAN\SOH \ETX(\v2L.temporal.api.errordetails.v1.MultiOperationExecutionFailure.OperationStatusR\bstatuses\SUBo\n\
+    \\SIOperationStatus\DC2\DC2\n\
+    \\EOTcode\CAN\SOH \SOH(\ENQR\EOTcode\DC2\CAN\n\
+    \\amessage\CAN\STX \SOH(\tR\amessage\DC2.\n\
+    \\adetails\CAN\ETX \ETX(\v2\DC4.google.protobuf.AnyR\adetailsB\167\SOH\n\
+    \\USio.temporal.api.errordetails.v1B\fMessageProtoP\SOHZ/go.temporal.io/api/errordetails/v1;errordetails\170\STX\RSTemporalio.Api.ErrorDetails.V1\234\STX!Temporalio::Api::ErrorDetails::V1J\197)\n\
+    \\a\DC2\ENQ\SYN\NUL\144\SOH\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\177\STX\n\
+    \\SOH\STX\DC2\ETX\ESC\NUL%2\166\STX These error details are supplied in google.rpc.Status#details as described in \"Google APIs, Error Model\" (https://cloud.google.com/apis/design/errors#error_model)\n\
+    \ and extend standard Error Details defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto\n\
+    \\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NULF\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\GS\NULF\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL8\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\RS\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\US\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX \NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX \NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX!\NUL:\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX!\NUL:\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\"\NUL;\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\"\NUL;\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX$\NUL#\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX%\NUL.\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX'\NUL2\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX(\NUL/\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX)\NUL/\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT+\NUL.\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX+\b\ETB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX,\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX,\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX,\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX,\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX-\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX-\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX-\v\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX-\FS\GS\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT0\NUL3\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX0\b.\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX1\EOT \n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX1\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX1\v\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX1\RS\US\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX2\EOT\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX2\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX2\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX2\DC4\NAK\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT5\NUL9\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX5\b!\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX6\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX6\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX6\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX6\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX7\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX7\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX7\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX7\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\STX\DC2\ETX8\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETX8\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETX8\v\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETX8\FS\GS\n\
+    \\158\STX\n\
+    \\STX\EOT\ETX\DC2\EOT>\NUL@\SOH\SUB\145\STX NamespaceUnavailableFailure is returned by the service when a request addresses a namespace that is unavailable. For\n\
+    \ example, when a namespace is in the process of failing over between clusters.\n\
+    \ This is a transient error that should be automatically retried by clients.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX>\b#\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX?\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX?\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX?\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX?\ETB\CAN\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOTB\NULI\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXB\b$\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXC\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXC\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXC\ETB\CAN\n\
+    \8\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXE\EOT3\SUB+ Current state of the requested namespace.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\ETXE\EOT(\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXE).\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXE12\n\
+    \\170\SOH\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\ETXH\EOTE\SUB\156\SOH Allowed namespace states for requested operation.\n\
+    \ For example NAMESPACE_STATE_DELETED is forbidden for most operations but allowed for DescribeNamespace.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\EOT\DC2\ETXH\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ACK\DC2\ETXH\r1\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETXH2@\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETXHCD\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOTK\NULM\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXK\b \n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXL\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXL\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXL\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXL\ETB\CAN\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ACK\DC2\EOTO\NULP\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXO\b%\n\
+    \\n\
+    \\n\
+    \\STX\EOT\a\DC2\EOTR\NULV\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETXR\b(\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETXS\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETXS\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETXS\v\EM\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETXS\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\SOH\DC2\ETXT\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\ETXT\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\ETXT\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\ETXT\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\STX\DC2\ETXU\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\ENQ\DC2\ETXU\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\ETXU\v\GS\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\ETXU !\n\
+    \\n\
+    \\n\
+    \\STX\EOT\b\DC2\EOTX\NUL[\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\b\SOH\DC2\ETXX\b(\n\
+    \\v\n\
+    \\EOT\EOT\b\STX\NUL\DC2\ETXY\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\ETXY\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\ETXY\v\EM\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\ETXY\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\b\STX\SOH\DC2\ETXZ\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\ETXZ\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\ETXZ\v+\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\ETXZ./\n\
+    \\n\
+    \\n\
+    \\STX\EOT\t\DC2\EOT]\NUL^\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\t\SOH\DC2\ETX]\b+\n\
+    \\n\
+    \\n\
+    \\STX\EOT\n\
+    \\DC2\EOT`\NULe\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\ETX`\b\SUB\n\
+    \\235\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\ETXd\EOT0\SUB\221\SOH The full reason for this query failure. May not be available if the response is generated by an old\n\
+    \ SDK. This field can be encoded by the SDK's failure converter to support E2E encryption of messages and stack\n\
+    \ traces.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ACK\DC2\ETXd\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\ETXd$+\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\ETXd./\n\
+    \\n\
+    \\n\
+    \\STX\EOT\v\DC2\EOTg\NULi\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\v\SOH\DC2\ETXg\b\US\n\
+    \\v\n\
+    \\EOT\EOT\v\STX\NUL\DC2\ETXh\EOT\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\ETXh\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\ETXh\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\ETXh\DC4\NAK\n\
+    \\n\
+    \\n\
+    \\STX\EOT\f\DC2\EOTk\NULn\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\f\SOH\DC2\ETXk\b \n\
+    \\v\n\
+    \\EOT\EOT\f\STX\NUL\DC2\ETXl\EOT;\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\NUL\ACK\DC2\ETXl\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\ETXl16\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\ETXl9:\n\
+    \\v\n\
+    \\EOT\EOT\f\STX\SOH\DC2\ETXm\EOT;\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\SOH\ACK\DC2\ETXm\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\ETXm16\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\ETXm9:\n\
+    \\n\
+    \\n\
+    \\STX\EOT\r\DC2\EOTp\NULv\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\r\SOH\DC2\ETXp\b\GS\n\
+    \\202\SOH\n\
+    \\EOT\EOT\r\STX\NUL\DC2\ETXs\EOTD\SUB\188\SOH WorkflowId and RunId of the Temporal system workflow performing the underlying operation.\n\
+    \ Looking up the info of the system workflow run may help identify the issue causing the failure.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\ACK\DC2\ETXs\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\ETXs-?\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\ETXsBC\n\
+    \d\n\
+    \\EOT\EOT\r\STX\SOH\DC2\ETXu\EOT\RS\SUBW Serialized error returned by the system workflow performing the underlying operation.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\SOH\ENQ\DC2\ETXu\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\ETXu\v\EM\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\ETXu\FS\GS\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SO\DC2\EOTx\NULy\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SO\SOH\DC2\ETXx\b\US\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SI\DC2\EOT{\NUL~\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SI\SOH\DC2\ETX{\b\US\n\
+    \O\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\ETX}\EOT \SUBB The current default compatible build ID which will receive tasks\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\ETX}\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\ETX}\v\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\ETX}\RS\US\n\
+    \\f\n\
+    \\STX\EOT\DLE\DC2\ACK\128\SOH\NUL\144\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\128\SOH\b&\n\
+    \\168\STX\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\132\SOH\EOT*\SUB\153\STX One status for each requested operation from the failed MultiOperation. The failed\n\
+    \ operation(s) have the same error details as if it was executed separately. All other operations have the\n\
+    \ status code `Aborted` and `MultiOperationExecutionAborted` is added to the details field.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\EOT\DC2\EOT\132\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ACK\DC2\EOT\132\SOH\r\FS\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\132\SOH\GS%\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\132\SOH()\n\
+    \\155\STX\n\
+    \\EOT\EOT\DLE\ETX\NUL\DC2\ACK\139\SOH\EOT\143\SOH\ENQ\SUB\138\STX NOTE: `OperationStatus` is modelled after\n\
+    \ [`google.rpc.Status`](https://github.com/googleapis/googleapis/blob/master/google/rpc/status.proto).\n\
+    \\n\
+    \ (-- api-linter: core::0146::any=disabled\n\
+    \     aip.dev/not-precedent: details are meant to hold arbitrary payloads. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\ETX\NUL\SOH\DC2\EOT\139\SOH\f\ESC\n\
+    \\SO\n\
+    \\ACK\EOT\DLE\ETX\NUL\STX\NUL\DC2\EOT\140\SOH\b\ETB\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\NUL\ENQ\DC2\EOT\140\SOH\b\r\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\NUL\SOH\DC2\EOT\140\SOH\SO\DC2\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\NUL\ETX\DC2\EOT\140\SOH\NAK\SYN\n\
+    \\SO\n\
+    \\ACK\EOT\DLE\ETX\NUL\STX\SOH\DC2\EOT\141\SOH\b\ESC\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\SOH\ENQ\DC2\EOT\141\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\SOH\SOH\DC2\EOT\141\SOH\SI\SYN\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\SOH\ETX\DC2\EOT\141\SOH\EM\SUB\n\
+    \\SO\n\
+    \\ACK\EOT\DLE\ETX\NUL\STX\STX\DC2\EOT\142\SOH\b1\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\STX\EOT\DC2\EOT\142\SOH\b\DLE\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\STX\ACK\DC2\EOT\142\SOH\DC1$\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\STX\SOH\DC2\EOT\142\SOH%,\n\
+    \\SI\n\
+    \\a\EOT\DLE\ETX\NUL\STX\STX\ETX\DC2\EOT\142\SOH/0b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Errordetails/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Errordetails/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Errordetails/V1/Message_Fields.hs
@@ -0,0 +1,195 @@
+{- This file was auto-generated from temporal/api/errordetails/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Errordetails.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Any
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+import qualified Proto.Temporal.Api.Failure.V1.Message
+activeCluster ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activeCluster" a) =>
+  Lens.Family2.LensLike' f s a
+activeCluster = Data.ProtoLens.Field.field @"activeCluster"
+allowedStates ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "allowedStates" a) =>
+  Lens.Family2.LensLike' f s a
+allowedStates = Data.ProtoLens.Field.field @"allowedStates"
+cause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "cause" a) =>
+  Lens.Family2.LensLike' f s a
+cause = Data.ProtoLens.Field.field @"cause"
+clientName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clientName" a) =>
+  Lens.Family2.LensLike' f s a
+clientName = Data.ProtoLens.Field.field @"clientName"
+clientSupportedServerVersions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clientSupportedServerVersions" a) =>
+  Lens.Family2.LensLike' f s a
+clientSupportedServerVersions
+  = Data.ProtoLens.Field.field @"clientSupportedServerVersions"
+clientVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clientVersion" a) =>
+  Lens.Family2.LensLike' f s a
+clientVersion = Data.ProtoLens.Field.field @"clientVersion"
+code ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "code" a) =>
+  Lens.Family2.LensLike' f s a
+code = Data.ProtoLens.Field.field @"code"
+currentCluster ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentCluster" a) =>
+  Lens.Family2.LensLike' f s a
+currentCluster = Data.ProtoLens.Field.field @"currentCluster"
+defaultBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "defaultBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+defaultBuildId = Data.ProtoLens.Field.field @"defaultBuildId"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+message ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>
+  Lens.Family2.LensLike' f s a
+message = Data.ProtoLens.Field.field @"message"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+scope ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "scope" a) =>
+  Lens.Family2.LensLike' f s a
+scope = Data.ProtoLens.Field.field @"scope"
+serverVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "serverVersion" a) =>
+  Lens.Family2.LensLike' f s a
+serverVersion = Data.ProtoLens.Field.field @"serverVersion"
+startRequestId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startRequestId" a) =>
+  Lens.Family2.LensLike' f s a
+startRequestId = Data.ProtoLens.Field.field @"startRequestId"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+statuses ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "statuses" a) =>
+  Lens.Family2.LensLike' f s a
+statuses = Data.ProtoLens.Field.field @"statuses"
+supportedVersions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "supportedVersions" a) =>
+  Lens.Family2.LensLike' f s a
+supportedVersions = Data.ProtoLens.Field.field @"supportedVersions"
+vec'allowedStates ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'allowedStates" a) =>
+  Lens.Family2.LensLike' f s a
+vec'allowedStates = Data.ProtoLens.Field.field @"vec'allowedStates"
+vec'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'details" a) =>
+  Lens.Family2.LensLike' f s a
+vec'details = Data.ProtoLens.Field.field @"vec'details"
+vec'statuses ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'statuses" a) =>
+  Lens.Family2.LensLike' f s a
+vec'statuses = Data.ProtoLens.Field.field @"vec'statuses"
+workflowError ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowError" a) =>
+  Lens.Family2.LensLike' f s a
+workflowError = Data.ProtoLens.Field.field @"workflowError"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
diff --git a/src/Proto/Temporal/Api/Export/V1/Message.hs b/src/Proto/Temporal/Api/Export/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Export/V1/Message.hs
@@ -0,0 +1,380 @@
+{- This file was auto-generated from temporal/api/export/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Export.V1.Message (
+        WorkflowExecution(), WorkflowExecutions()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.History.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Export.V1.Message_Fields.history' @:: Lens' WorkflowExecution Proto.Temporal.Api.History.V1.Message.History@
+         * 'Proto.Temporal.Api.Export.V1.Message_Fields.maybe'history' @:: Lens' WorkflowExecution (Prelude.Maybe Proto.Temporal.Api.History.V1.Message.History)@ -}
+data WorkflowExecution
+  = WorkflowExecution'_constructor {_WorkflowExecution'history :: !(Prelude.Maybe Proto.Temporal.Api.History.V1.Message.History),
+                                    _WorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecution "history" Proto.Temporal.Api.History.V1.Message.History where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecution'history
+           (\ x__ y__ -> x__ {_WorkflowExecution'history = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecution "maybe'history" (Prelude.Maybe Proto.Temporal.Api.History.V1.Message.History) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecution'history
+           (\ x__ y__ -> x__ {_WorkflowExecution'history = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecution where
+  messageName _
+    = Data.Text.pack "temporal.api.export.v1.WorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1WorkflowExecution\DC2:\n\
+      \\ahistory\CAN\SOH \SOH(\v2 .temporal.api.history.v1.HistoryR\ahistory"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        history__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.History.V1.Message.History)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'history")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, history__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecution'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecution'_unknownFields = y__})
+  defMessage
+    = WorkflowExecution'_constructor
+        {_WorkflowExecution'history = Prelude.Nothing,
+         _WorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "history"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"history") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'history") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WorkflowExecution'history x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Export.V1.Message_Fields.items' @:: Lens' WorkflowExecutions [WorkflowExecution]@
+         * 'Proto.Temporal.Api.Export.V1.Message_Fields.vec'items' @:: Lens' WorkflowExecutions (Data.Vector.Vector WorkflowExecution)@ -}
+data WorkflowExecutions
+  = WorkflowExecutions'_constructor {_WorkflowExecutions'items :: !(Data.Vector.Vector WorkflowExecution),
+                                     _WorkflowExecutions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutions "items" [WorkflowExecution] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutions'items
+           (\ x__ y__ -> x__ {_WorkflowExecutions'items = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowExecutions "vec'items" (Data.Vector.Vector WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutions'items
+           (\ x__ y__ -> x__ {_WorkflowExecutions'items = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutions where
+  messageName _
+    = Data.Text.pack "temporal.api.export.v1.WorkflowExecutions"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2WorkflowExecutions\DC2?\n\
+      \\ENQitems\CAN\SOH \ETX(\v2).temporal.api.export.v1.WorkflowExecutionR\ENQitems"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        items__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "items"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecution)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"items")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutions
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, items__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutions'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecutions'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutions'_constructor
+        {_WorkflowExecutions'items = Data.Vector.Generic.empty,
+         _WorkflowExecutions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutions
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkflowExecution
+             -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutions
+        loop x mutable'items
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'items <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'items)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'items") frozen'items x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "items"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'items y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'items
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'items <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'items)
+          "WorkflowExecutions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'items") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowExecutions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutions'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WorkflowExecutions'items x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \$temporal/api/export/v1/message.proto\DC2\SYNtemporal.api.export.v1\SUB%temporal/api/history/v1/message.proto\"O\n\
+    \\DC1WorkflowExecution\DC2:\n\
+    \\ahistory\CAN\SOH \SOH(\v2 .temporal.api.history.v1.HistoryR\ahistory\"U\n\
+    \\DC2WorkflowExecutions\DC2?\n\
+    \\ENQitems\CAN\SOH \ETX(\v2).temporal.api.export.v1.WorkflowExecutionR\ENQitemsB\137\SOH\n\
+    \\EMio.temporal.api.export.v1B\fMessageProtoP\SOHZ#go.temporal.io/api/export/v1;export\170\STX\CANTemporalio.Api.Export.V1\234\STX\ESCTemporalio::Api::Export::V1J\219\f\n\
+    \\ACK\DC2\EOT\SYN\NUL+\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL:\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL:\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL2\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL2\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL4\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL/\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT#\NUL%\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX#\b\EM\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX$\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX$\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX$$+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX$./\n\
+    \\169\SOH\n\
+    \\STX\EOT\SOH\DC2\EOT)\NUL+\SOH\SUB\156\SOH WorkflowExecutions is used by the Cloud Export feature to deserialize \n\
+    \ the exported file. It encapsulates a collection of workflow execution information.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX)\b\SUB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX*\EOT)\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX*\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX*\r\RS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX*\US$\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX*'(b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Export/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Export/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Export/V1/Message_Fields.hs
@@ -0,0 +1,52 @@
+{- This file was auto-generated from temporal/api/export/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Export.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.History.V1.Message
+history ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "history" a) =>
+  Lens.Family2.LensLike' f s a
+history = Data.ProtoLens.Field.field @"history"
+items ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "items" a) =>
+  Lens.Family2.LensLike' f s a
+items = Data.ProtoLens.Field.field @"items"
+maybe'history ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'history" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'history = Data.ProtoLens.Field.field @"maybe'history"
+vec'items ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'items" a) =>
+  Lens.Family2.LensLike' f s a
+vec'items = Data.ProtoLens.Field.field @"vec'items"
diff --git a/src/Proto/Temporal/Api/Failure/V1/Message.hs b/src/Proto/Temporal/Api/Failure/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Failure/V1/Message.hs
@@ -0,0 +1,4034 @@
+{- This file was auto-generated from temporal/api/failure/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Failure.V1.Message (
+        ActivityFailureInfo(), ApplicationFailureInfo(),
+        CanceledFailureInfo(), ChildWorkflowExecutionFailureInfo(),
+        Failure(), Failure'FailureInfo(..),
+        _Failure'ApplicationFailureInfo, _Failure'TimeoutFailureInfo,
+        _Failure'CanceledFailureInfo, _Failure'TerminatedFailureInfo,
+        _Failure'ServerFailureInfo, _Failure'ResetWorkflowFailureInfo,
+        _Failure'ActivityFailureInfo,
+        _Failure'ChildWorkflowExecutionFailureInfo,
+        _Failure'NexusOperationExecutionFailureInfo,
+        _Failure'NexusHandlerFailureInfo, MultiOperationExecutionAborted(),
+        NexusHandlerFailureInfo(), NexusOperationFailureInfo(),
+        ResetWorkflowFailureInfo(), ServerFailureInfo(),
+        TerminatedFailureInfo(), TimeoutFailureInfo()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.Nexus
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityFailureInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.startedEventId' @:: Lens' ActivityFailureInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.identity' @:: Lens' ActivityFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.activityType' @:: Lens' ActivityFailureInfo Proto.Temporal.Api.Common.V1.Message.ActivityType@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'activityType' @:: Lens' ActivityFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.activityId' @:: Lens' ActivityFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.retryState' @:: Lens' ActivityFailureInfo Proto.Temporal.Api.Enums.V1.Workflow.RetryState@ -}
+data ActivityFailureInfo
+  = ActivityFailureInfo'_constructor {_ActivityFailureInfo'scheduledEventId :: !Data.Int.Int64,
+                                      _ActivityFailureInfo'startedEventId :: !Data.Int.Int64,
+                                      _ActivityFailureInfo'identity :: !Data.Text.Text,
+                                      _ActivityFailureInfo'activityType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType),
+                                      _ActivityFailureInfo'activityId :: !Data.Text.Text,
+                                      _ActivityFailureInfo'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                      _ActivityFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'scheduledEventId
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'startedEventId
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'identity
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "activityType" Proto.Temporal.Api.Common.V1.Message.ActivityType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'activityType
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'activityType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "maybe'activityType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'activityType
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'activityId
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityFailureInfo "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityFailureInfo'retryState
+           (\ x__ y__ -> x__ {_ActivityFailureInfo'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.ActivityFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3ActivityFailureInfo\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+      \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2I\n\
+      \\ractivity_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2\US\n\
+      \\vactivity_id\CAN\ENQ \SOH(\tR\n\
+      \activityId\DC2B\n\
+      \\vretry_state\CAN\ACK \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityFailureInfo
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityFailureInfo
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor ActivityFailureInfo
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.ActivityType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityType")) ::
+              Data.ProtoLens.FieldDescriptor ActivityFailureInfo
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityFailureInfo
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor ActivityFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, identity__field_descriptor),
+           (Data.ProtoLens.Tag 4, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 5, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 6, retryState__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityFailureInfo'_unknownFields = y__})
+  defMessage
+    = ActivityFailureInfo'_constructor
+        {_ActivityFailureInfo'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityFailureInfo'startedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityFailureInfo'identity = Data.ProtoLens.fieldDefault,
+         _ActivityFailureInfo'activityType = Prelude.Nothing,
+         _ActivityFailureInfo'activityId = Data.ProtoLens.fieldDefault,
+         _ActivityFailureInfo'retryState = Data.ProtoLens.fieldDefault,
+         _ActivityFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"startedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'activityType") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view (Data.ProtoLens.Field.field @"retryState") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                     ((Prelude..)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral)
+                                        Prelude.fromEnum _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ActivityFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityFailureInfo'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityFailureInfo'startedEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityFailureInfo'identity x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityFailureInfo'activityType x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityFailureInfo'activityId x__)
+                            (Control.DeepSeq.deepseq
+                               (_ActivityFailureInfo'retryState x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.type'' @:: Lens' ApplicationFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.nonRetryable' @:: Lens' ApplicationFailureInfo Prelude.Bool@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.details' @:: Lens' ApplicationFailureInfo Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'details' @:: Lens' ApplicationFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.nextRetryDelay' @:: Lens' ApplicationFailureInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'nextRetryDelay' @:: Lens' ApplicationFailureInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.category' @:: Lens' ApplicationFailureInfo Proto.Temporal.Api.Enums.V1.Common.ApplicationErrorCategory@ -}
+data ApplicationFailureInfo
+  = ApplicationFailureInfo'_constructor {_ApplicationFailureInfo'type' :: !Data.Text.Text,
+                                         _ApplicationFailureInfo'nonRetryable :: !Prelude.Bool,
+                                         _ApplicationFailureInfo'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                         _ApplicationFailureInfo'nextRetryDelay :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                         _ApplicationFailureInfo'category :: !Proto.Temporal.Api.Enums.V1.Common.ApplicationErrorCategory,
+                                         _ApplicationFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ApplicationFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "type'" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'type'
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "nonRetryable" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'nonRetryable
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'nonRetryable = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'details
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'details
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "nextRetryDelay" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'nextRetryDelay
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'nextRetryDelay = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "maybe'nextRetryDelay" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'nextRetryDelay
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'nextRetryDelay = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ApplicationFailureInfo "category" Proto.Temporal.Api.Enums.V1.Common.ApplicationErrorCategory where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ApplicationFailureInfo'category
+           (\ x__ y__ -> x__ {_ApplicationFailureInfo'category = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ApplicationFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.ApplicationFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNApplicationFailureInfo\DC2\DC2\n\
+      \\EOTtype\CAN\SOH \SOH(\tR\EOTtype\DC2#\n\
+      \\rnon_retryable\CAN\STX \SOH(\bR\fnonRetryable\DC2:\n\
+      \\adetails\CAN\ETX \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2C\n\
+      \\DLEnext_retry_delay\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\SOnextRetryDelay\DC2K\n\
+      \\bcategory\CAN\ENQ \SOH(\SO2/.temporal.api.enums.v1.ApplicationErrorCategoryR\bcategory"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"type'")) ::
+              Data.ProtoLens.FieldDescriptor ApplicationFailureInfo
+        nonRetryable__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "non_retryable"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"nonRetryable")) ::
+              Data.ProtoLens.FieldDescriptor ApplicationFailureInfo
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor ApplicationFailureInfo
+        nextRetryDelay__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_retry_delay"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nextRetryDelay")) ::
+              Data.ProtoLens.FieldDescriptor ApplicationFailureInfo
+        category__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "category"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.ApplicationErrorCategory)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"category")) ::
+              Data.ProtoLens.FieldDescriptor ApplicationFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, type'__field_descriptor),
+           (Data.ProtoLens.Tag 2, nonRetryable__field_descriptor),
+           (Data.ProtoLens.Tag 3, details__field_descriptor),
+           (Data.ProtoLens.Tag 4, nextRetryDelay__field_descriptor),
+           (Data.ProtoLens.Tag 5, category__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ApplicationFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ApplicationFailureInfo'_unknownFields = y__})
+  defMessage
+    = ApplicationFailureInfo'_constructor
+        {_ApplicationFailureInfo'type' = Data.ProtoLens.fieldDefault,
+         _ApplicationFailureInfo'nonRetryable = Data.ProtoLens.fieldDefault,
+         _ApplicationFailureInfo'details = Prelude.Nothing,
+         _ApplicationFailureInfo'nextRetryDelay = Prelude.Nothing,
+         _ApplicationFailureInfo'category = Data.ProtoLens.fieldDefault,
+         _ApplicationFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ApplicationFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ApplicationFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "non_retryable"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nonRetryable") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "next_retry_delay"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextRetryDelay") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "category"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"category") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ApplicationFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"type'") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"nonRetryable") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'nextRetryDelay") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"category") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData ApplicationFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ApplicationFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ApplicationFailureInfo'type' x__)
+                (Control.DeepSeq.deepseq
+                   (_ApplicationFailureInfo'nonRetryable x__)
+                   (Control.DeepSeq.deepseq
+                      (_ApplicationFailureInfo'details x__)
+                      (Control.DeepSeq.deepseq
+                         (_ApplicationFailureInfo'nextRetryDelay x__)
+                         (Control.DeepSeq.deepseq
+                            (_ApplicationFailureInfo'category x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.details' @:: Lens' CanceledFailureInfo Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'details' @:: Lens' CanceledFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data CanceledFailureInfo
+  = CanceledFailureInfo'_constructor {_CanceledFailureInfo'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                      _CanceledFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CanceledFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CanceledFailureInfo "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CanceledFailureInfo'details
+           (\ x__ y__ -> x__ {_CanceledFailureInfo'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CanceledFailureInfo "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CanceledFailureInfo'details
+           (\ x__ y__ -> x__ {_CanceledFailureInfo'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CanceledFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.CanceledFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3CanceledFailureInfo\DC2:\n\
+      \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor CanceledFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CanceledFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_CanceledFailureInfo'_unknownFields = y__})
+  defMessage
+    = CanceledFailureInfo'_constructor
+        {_CanceledFailureInfo'details = Prelude.Nothing,
+         _CanceledFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CanceledFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser CanceledFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CanceledFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CanceledFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CanceledFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CanceledFailureInfo'details x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionFailureInfo Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionFailureInfo Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionFailureInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.startedEventId' @:: Lens' ChildWorkflowExecutionFailureInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.retryState' @:: Lens' ChildWorkflowExecutionFailureInfo Proto.Temporal.Api.Enums.V1.Workflow.RetryState@ -}
+data ChildWorkflowExecutionFailureInfo
+  = ChildWorkflowExecutionFailureInfo'_constructor {_ChildWorkflowExecutionFailureInfo'namespace :: !Data.Text.Text,
+                                                    _ChildWorkflowExecutionFailureInfo'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                    _ChildWorkflowExecutionFailureInfo'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                    _ChildWorkflowExecutionFailureInfo'initiatedEventId :: !Data.Int.Int64,
+                                                    _ChildWorkflowExecutionFailureInfo'startedEventId :: !Data.Int.Int64,
+                                                    _ChildWorkflowExecutionFailureInfo'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                    _ChildWorkflowExecutionFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'namespace
+           (\ x__ y__
+              -> x__ {_ChildWorkflowExecutionFailureInfo'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailureInfo'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailureInfo'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'workflowType
+           (\ x__ y__
+              -> x__ {_ChildWorkflowExecutionFailureInfo'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'workflowType
+           (\ x__ y__
+              -> x__ {_ChildWorkflowExecutionFailureInfo'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailureInfo'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'startedEventId
+           (\ x__ y__
+              -> x__ {_ChildWorkflowExecutionFailureInfo'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailureInfo "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailureInfo'retryState
+           (\ x__ y__
+              -> x__ {_ChildWorkflowExecutionFailureInfo'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionFailureInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.failure.v1.ChildWorkflowExecutionFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \!ChildWorkflowExecutionFailureInfo\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2X\n\
+      \\DC2workflow_execution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+      \\DC2initiated_event_id\CAN\EOT \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ENQ \SOH(\ETXR\SOstartedEventId\DC2B\n\
+      \\vretry_state\CAN\ACK \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailureInfo
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailureInfo
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailureInfo
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailureInfo
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailureInfo
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 4, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 5, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, retryState__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionFailureInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_ChildWorkflowExecutionFailureInfo'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionFailureInfo'_constructor
+        {_ChildWorkflowExecutionFailureInfo'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailureInfo'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionFailureInfo'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionFailureInfo'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailureInfo'startedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailureInfo'retryState = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"startedEventId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view (Data.ProtoLens.Field.field @"retryState") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                     ((Prelude..)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral)
+                                        Prelude.fromEnum _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionFailureInfo'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionFailureInfo'workflowExecution x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionFailureInfo'workflowType x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionFailureInfo'initiatedEventId x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionFailureInfo'startedEventId x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionFailureInfo'retryState x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.message' @:: Lens' Failure Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.source' @:: Lens' Failure Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.stackTrace' @:: Lens' Failure Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.encodedAttributes' @:: Lens' Failure Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'encodedAttributes' @:: Lens' Failure (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.cause' @:: Lens' Failure Failure@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'cause' @:: Lens' Failure (Prelude.Maybe Failure)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'failureInfo' @:: Lens' Failure (Prelude.Maybe Failure'FailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'applicationFailureInfo' @:: Lens' Failure (Prelude.Maybe ApplicationFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.applicationFailureInfo' @:: Lens' Failure ApplicationFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'timeoutFailureInfo' @:: Lens' Failure (Prelude.Maybe TimeoutFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.timeoutFailureInfo' @:: Lens' Failure TimeoutFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'canceledFailureInfo' @:: Lens' Failure (Prelude.Maybe CanceledFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.canceledFailureInfo' @:: Lens' Failure CanceledFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'terminatedFailureInfo' @:: Lens' Failure (Prelude.Maybe TerminatedFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.terminatedFailureInfo' @:: Lens' Failure TerminatedFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'serverFailureInfo' @:: Lens' Failure (Prelude.Maybe ServerFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.serverFailureInfo' @:: Lens' Failure ServerFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'resetWorkflowFailureInfo' @:: Lens' Failure (Prelude.Maybe ResetWorkflowFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.resetWorkflowFailureInfo' @:: Lens' Failure ResetWorkflowFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'activityFailureInfo' @:: Lens' Failure (Prelude.Maybe ActivityFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.activityFailureInfo' @:: Lens' Failure ActivityFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'childWorkflowExecutionFailureInfo' @:: Lens' Failure (Prelude.Maybe ChildWorkflowExecutionFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.childWorkflowExecutionFailureInfo' @:: Lens' Failure ChildWorkflowExecutionFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'nexusOperationExecutionFailureInfo' @:: Lens' Failure (Prelude.Maybe NexusOperationFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.nexusOperationExecutionFailureInfo' @:: Lens' Failure NexusOperationFailureInfo@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'nexusHandlerFailureInfo' @:: Lens' Failure (Prelude.Maybe NexusHandlerFailureInfo)@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.nexusHandlerFailureInfo' @:: Lens' Failure NexusHandlerFailureInfo@ -}
+data Failure
+  = Failure'_constructor {_Failure'message :: !Data.Text.Text,
+                          _Failure'source :: !Data.Text.Text,
+                          _Failure'stackTrace :: !Data.Text.Text,
+                          _Failure'encodedAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                          _Failure'cause :: !(Prelude.Maybe Failure),
+                          _Failure'failureInfo :: !(Prelude.Maybe Failure'FailureInfo),
+                          _Failure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Failure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Failure'FailureInfo
+  = Failure'ApplicationFailureInfo !ApplicationFailureInfo |
+    Failure'TimeoutFailureInfo !TimeoutFailureInfo |
+    Failure'CanceledFailureInfo !CanceledFailureInfo |
+    Failure'TerminatedFailureInfo !TerminatedFailureInfo |
+    Failure'ServerFailureInfo !ServerFailureInfo |
+    Failure'ResetWorkflowFailureInfo !ResetWorkflowFailureInfo |
+    Failure'ActivityFailureInfo !ActivityFailureInfo |
+    Failure'ChildWorkflowExecutionFailureInfo !ChildWorkflowExecutionFailureInfo |
+    Failure'NexusOperationExecutionFailureInfo !NexusOperationFailureInfo |
+    Failure'NexusHandlerFailureInfo !NexusHandlerFailureInfo
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Failure "message" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'message (\ x__ y__ -> x__ {_Failure'message = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "source" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'source (\ x__ y__ -> x__ {_Failure'source = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "stackTrace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'stackTrace (\ x__ y__ -> x__ {_Failure'stackTrace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "encodedAttributes" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'encodedAttributes
+           (\ x__ y__ -> x__ {_Failure'encodedAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Failure "maybe'encodedAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'encodedAttributes
+           (\ x__ y__ -> x__ {_Failure'encodedAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "cause" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'cause (\ x__ y__ -> x__ {_Failure'cause = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Failure "maybe'cause" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'cause (\ x__ y__ -> x__ {_Failure'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "maybe'failureInfo" (Prelude.Maybe Failure'FailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "maybe'applicationFailureInfo" (Prelude.Maybe ApplicationFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'ApplicationFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'ApplicationFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "applicationFailureInfo" ApplicationFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'ApplicationFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'ApplicationFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'timeoutFailureInfo" (Prelude.Maybe TimeoutFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'TimeoutFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'TimeoutFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "timeoutFailureInfo" TimeoutFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'TimeoutFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'TimeoutFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'canceledFailureInfo" (Prelude.Maybe CanceledFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'CanceledFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'CanceledFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "canceledFailureInfo" CanceledFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'CanceledFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'CanceledFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'terminatedFailureInfo" (Prelude.Maybe TerminatedFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'TerminatedFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'TerminatedFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "terminatedFailureInfo" TerminatedFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'TerminatedFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'TerminatedFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'serverFailureInfo" (Prelude.Maybe ServerFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'ServerFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'ServerFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "serverFailureInfo" ServerFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'ServerFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'ServerFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'resetWorkflowFailureInfo" (Prelude.Maybe ResetWorkflowFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'ResetWorkflowFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'ResetWorkflowFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "resetWorkflowFailureInfo" ResetWorkflowFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'ResetWorkflowFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'ResetWorkflowFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'activityFailureInfo" (Prelude.Maybe ActivityFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'ActivityFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'ActivityFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "activityFailureInfo" ActivityFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'ActivityFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'ActivityFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'childWorkflowExecutionFailureInfo" (Prelude.Maybe ChildWorkflowExecutionFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'ChildWorkflowExecutionFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap Failure'ChildWorkflowExecutionFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "childWorkflowExecutionFailureInfo" ChildWorkflowExecutionFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'ChildWorkflowExecutionFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap Failure'ChildWorkflowExecutionFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'nexusOperationExecutionFailureInfo" (Prelude.Maybe NexusOperationFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'NexusOperationExecutionFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap Failure'NexusOperationExecutionFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "nexusOperationExecutionFailureInfo" NexusOperationFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'NexusOperationExecutionFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap Failure'NexusOperationExecutionFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Failure "maybe'nexusHandlerFailureInfo" (Prelude.Maybe NexusHandlerFailureInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Failure'NexusHandlerFailureInfo x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Failure'NexusHandlerFailureInfo y__))
+instance Data.ProtoLens.Field.HasField Failure "nexusHandlerFailureInfo" NexusHandlerFailureInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failureInfo
+           (\ x__ y__ -> x__ {_Failure'failureInfo = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Failure'NexusHandlerFailureInfo x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Failure'NexusHandlerFailureInfo y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Failure where
+  messageName _ = Data.Text.pack "temporal.api.failure.v1.Failure"
+  packedMessageDescriptor _
+    = "\n\
+      \\aFailure\DC2\CAN\n\
+      \\amessage\CAN\SOH \SOH(\tR\amessage\DC2\SYN\n\
+      \\ACKsource\CAN\STX \SOH(\tR\ACKsource\DC2\US\n\
+      \\vstack_trace\CAN\ETX \SOH(\tR\n\
+      \stackTrace\DC2N\n\
+      \\DC2encoded_attributes\CAN\DC4 \SOH(\v2\US.temporal.api.common.v1.PayloadR\DC1encodedAttributes\DC26\n\
+      \\ENQcause\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\ENQcause\DC2k\n\
+      \\CANapplication_failure_info\CAN\ENQ \SOH(\v2/.temporal.api.failure.v1.ApplicationFailureInfoH\NULR\SYNapplicationFailureInfo\DC2_\n\
+      \\DC4timeout_failure_info\CAN\ACK \SOH(\v2+.temporal.api.failure.v1.TimeoutFailureInfoH\NULR\DC2timeoutFailureInfo\DC2b\n\
+      \\NAKcanceled_failure_info\CAN\a \SOH(\v2,.temporal.api.failure.v1.CanceledFailureInfoH\NULR\DC3canceledFailureInfo\DC2h\n\
+      \\ETBterminated_failure_info\CAN\b \SOH(\v2..temporal.api.failure.v1.TerminatedFailureInfoH\NULR\NAKterminatedFailureInfo\DC2\\\n\
+      \\DC3server_failure_info\CAN\t \SOH(\v2*.temporal.api.failure.v1.ServerFailureInfoH\NULR\DC1serverFailureInfo\DC2r\n\
+      \\ESCreset_workflow_failure_info\CAN\n\
+      \ \SOH(\v21.temporal.api.failure.v1.ResetWorkflowFailureInfoH\NULR\CANresetWorkflowFailureInfo\DC2b\n\
+      \\NAKactivity_failure_info\CAN\v \SOH(\v2,.temporal.api.failure.v1.ActivityFailureInfoH\NULR\DC3activityFailureInfo\DC2\142\SOH\n\
+      \%child_workflow_execution_failure_info\CAN\f \SOH(\v2:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\NULR!childWorkflowExecutionFailureInfo\DC2\136\SOH\n\
+      \&nexus_operation_execution_failure_info\CAN\r \SOH(\v22.temporal.api.failure.v1.NexusOperationFailureInfoH\NULR\"nexusOperationExecutionFailureInfo\DC2o\n\
+      \\SUBnexus_handler_failure_info\CAN\SO \SOH(\v20.temporal.api.failure.v1.NexusHandlerFailureInfoH\NULR\ETBnexusHandlerFailureInfoB\SO\n\
+      \\ffailure_info"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        message__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        source__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "source"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"source")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        stackTrace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "stack_trace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"stackTrace")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        encodedAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "encoded_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'encodedAttributes")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cause")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        applicationFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "application_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ApplicationFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'applicationFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        timeoutFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timeout_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TimeoutFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'timeoutFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        canceledFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "canceled_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CanceledFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'canceledFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        terminatedFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "terminated_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TerminatedFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'terminatedFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        serverFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "server_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ServerFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'serverFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        resetWorkflowFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_workflow_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResetWorkflowFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'resetWorkflowFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        activityFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        childWorkflowExecutionFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        nexusOperationExecutionFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_execution_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationExecutionFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        nexusHandlerFailureInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_handler_failure_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusHandlerFailureInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nexusHandlerFailureInfo")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, message__field_descriptor),
+           (Data.ProtoLens.Tag 2, source__field_descriptor),
+           (Data.ProtoLens.Tag 3, stackTrace__field_descriptor),
+           (Data.ProtoLens.Tag 20, encodedAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 4, cause__field_descriptor),
+           (Data.ProtoLens.Tag 5, applicationFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 6, timeoutFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 7, canceledFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 8, terminatedFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 9, serverFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 10, 
+            resetWorkflowFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 11, activityFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 12, 
+            childWorkflowExecutionFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 13, 
+            nexusOperationExecutionFailureInfo__field_descriptor),
+           (Data.ProtoLens.Tag 14, nexusHandlerFailureInfo__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Failure'_unknownFields
+        (\ x__ y__ -> x__ {_Failure'_unknownFields = y__})
+  defMessage
+    = Failure'_constructor
+        {_Failure'message = Data.ProtoLens.fieldDefault,
+         _Failure'source = Data.ProtoLens.fieldDefault,
+         _Failure'stackTrace = Data.ProtoLens.fieldDefault,
+         _Failure'encodedAttributes = Prelude.Nothing,
+         _Failure'cause = Prelude.Nothing,
+         _Failure'failureInfo = Prelude.Nothing,
+         _Failure'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Failure -> Data.ProtoLens.Encoding.Bytes.Parser Failure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "source"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"source") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "stack_trace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"stackTrace") y x)
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "encoded_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"encodedAttributes") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "application_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"applicationFailureInfo") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timeout_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"timeoutFailureInfo") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "canceled_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"canceledFailureInfo") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "terminated_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"terminatedFailureInfo") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "server_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"serverFailureInfo") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "reset_workflow_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resetWorkflowFailureInfo") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityFailureInfo") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionFailureInfo")
+                                     y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_execution_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationExecutionFailureInfo")
+                                     y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_handler_failure_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nexusHandlerFailureInfo") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Failure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"source") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"stackTrace") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'encodedAttributes") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 162)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'cause") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'failureInfo") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just (Failure'ApplicationFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'TimeoutFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'CanceledFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'TerminatedFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'ServerFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'ResetWorkflowFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'ActivityFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'ChildWorkflowExecutionFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'NexusOperationExecutionFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 106)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v)
+                               (Prelude.Just (Failure'NexusHandlerFailureInfo v))
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 114)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData Failure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Failure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Failure'message x__)
+                (Control.DeepSeq.deepseq
+                   (_Failure'source x__)
+                   (Control.DeepSeq.deepseq
+                      (_Failure'stackTrace x__)
+                      (Control.DeepSeq.deepseq
+                         (_Failure'encodedAttributes x__)
+                         (Control.DeepSeq.deepseq
+                            (_Failure'cause x__)
+                            (Control.DeepSeq.deepseq (_Failure'failureInfo x__) ()))))))
+instance Control.DeepSeq.NFData Failure'FailureInfo where
+  rnf (Failure'ApplicationFailureInfo x__) = Control.DeepSeq.rnf x__
+  rnf (Failure'TimeoutFailureInfo x__) = Control.DeepSeq.rnf x__
+  rnf (Failure'CanceledFailureInfo x__) = Control.DeepSeq.rnf x__
+  rnf (Failure'TerminatedFailureInfo x__) = Control.DeepSeq.rnf x__
+  rnf (Failure'ServerFailureInfo x__) = Control.DeepSeq.rnf x__
+  rnf (Failure'ResetWorkflowFailureInfo x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Failure'ActivityFailureInfo x__) = Control.DeepSeq.rnf x__
+  rnf (Failure'ChildWorkflowExecutionFailureInfo x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Failure'NexusOperationExecutionFailureInfo x__)
+    = Control.DeepSeq.rnf x__
+  rnf (Failure'NexusHandlerFailureInfo x__) = Control.DeepSeq.rnf x__
+_Failure'ApplicationFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo ApplicationFailureInfo
+_Failure'ApplicationFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'ApplicationFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'ApplicationFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'TimeoutFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo TimeoutFailureInfo
+_Failure'TimeoutFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'TimeoutFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'TimeoutFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'CanceledFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo CanceledFailureInfo
+_Failure'CanceledFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'CanceledFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'CanceledFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'TerminatedFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo TerminatedFailureInfo
+_Failure'TerminatedFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'TerminatedFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'TerminatedFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'ServerFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo ServerFailureInfo
+_Failure'ServerFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'ServerFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'ServerFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'ResetWorkflowFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo ResetWorkflowFailureInfo
+_Failure'ResetWorkflowFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'ResetWorkflowFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'ResetWorkflowFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'ActivityFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo ActivityFailureInfo
+_Failure'ActivityFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'ActivityFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'ActivityFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'ChildWorkflowExecutionFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo ChildWorkflowExecutionFailureInfo
+_Failure'ChildWorkflowExecutionFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'ChildWorkflowExecutionFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'ChildWorkflowExecutionFailureInfo p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'NexusOperationExecutionFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo NexusOperationFailureInfo
+_Failure'NexusOperationExecutionFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'NexusOperationExecutionFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'NexusOperationExecutionFailureInfo p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Failure'NexusHandlerFailureInfo ::
+  Data.ProtoLens.Prism.Prism' Failure'FailureInfo NexusHandlerFailureInfo
+_Failure'NexusHandlerFailureInfo
+  = Data.ProtoLens.Prism.prism'
+      Failure'NexusHandlerFailureInfo
+      (\ p__
+         -> case p__ of
+              (Failure'NexusHandlerFailureInfo p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+      -}
+data MultiOperationExecutionAborted
+  = MultiOperationExecutionAborted'_constructor {_MultiOperationExecutionAborted'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show MultiOperationExecutionAborted where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message MultiOperationExecutionAborted where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.failure.v1.MultiOperationExecutionAborted"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSMultiOperationExecutionAborted"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _MultiOperationExecutionAborted'_unknownFields
+        (\ x__ y__
+           -> x__ {_MultiOperationExecutionAborted'_unknownFields = y__})
+  defMessage
+    = MultiOperationExecutionAborted'_constructor
+        {_MultiOperationExecutionAborted'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          MultiOperationExecutionAborted
+          -> Data.ProtoLens.Encoding.Bytes.Parser MultiOperationExecutionAborted
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "MultiOperationExecutionAborted"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData MultiOperationExecutionAborted where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_MultiOperationExecutionAborted'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.type'' @:: Lens' NexusHandlerFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.retryBehavior' @:: Lens' NexusHandlerFailureInfo Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior@ -}
+data NexusHandlerFailureInfo
+  = NexusHandlerFailureInfo'_constructor {_NexusHandlerFailureInfo'type' :: !Data.Text.Text,
+                                          _NexusHandlerFailureInfo'retryBehavior :: !Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior,
+                                          _NexusHandlerFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusHandlerFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusHandlerFailureInfo "type'" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusHandlerFailureInfo'type'
+           (\ x__ y__ -> x__ {_NexusHandlerFailureInfo'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusHandlerFailureInfo "retryBehavior" Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusHandlerFailureInfo'retryBehavior
+           (\ x__ y__ -> x__ {_NexusHandlerFailureInfo'retryBehavior = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusHandlerFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.NexusHandlerFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBNexusHandlerFailureInfo\DC2\DC2\n\
+      \\EOTtype\CAN\SOH \SOH(\tR\EOTtype\DC2\\\n\
+      \\SOretry_behavior\CAN\STX \SOH(\SO25.temporal.api.enums.v1.NexusHandlerErrorRetryBehaviorR\rretryBehavior"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"type'")) ::
+              Data.ProtoLens.FieldDescriptor NexusHandlerFailureInfo
+        retryBehavior__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_behavior"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryBehavior")) ::
+              Data.ProtoLens.FieldDescriptor NexusHandlerFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, type'__field_descriptor),
+           (Data.ProtoLens.Tag 2, retryBehavior__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusHandlerFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_NexusHandlerFailureInfo'_unknownFields = y__})
+  defMessage
+    = NexusHandlerFailureInfo'_constructor
+        {_NexusHandlerFailureInfo'type' = Data.ProtoLens.fieldDefault,
+         _NexusHandlerFailureInfo'retryBehavior = Data.ProtoLens.fieldDefault,
+         _NexusHandlerFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusHandlerFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusHandlerFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_behavior"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"retryBehavior") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusHandlerFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"type'") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"retryBehavior") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NexusHandlerFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusHandlerFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusHandlerFailureInfo'type' x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusHandlerFailureInfo'retryBehavior x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationFailureInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.endpoint' @:: Lens' NexusOperationFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.service' @:: Lens' NexusOperationFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.operation' @:: Lens' NexusOperationFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.operationId' @:: Lens' NexusOperationFailureInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.operationToken' @:: Lens' NexusOperationFailureInfo Data.Text.Text@ -}
+data NexusOperationFailureInfo
+  = NexusOperationFailureInfo'_constructor {_NexusOperationFailureInfo'scheduledEventId :: !Data.Int.Int64,
+                                            _NexusOperationFailureInfo'endpoint :: !Data.Text.Text,
+                                            _NexusOperationFailureInfo'service :: !Data.Text.Text,
+                                            _NexusOperationFailureInfo'operation :: !Data.Text.Text,
+                                            _NexusOperationFailureInfo'operationId :: !Data.Text.Text,
+                                            _NexusOperationFailureInfo'operationToken :: !Data.Text.Text,
+                                            _NexusOperationFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationFailureInfo "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailureInfo'scheduledEventId
+           (\ x__ y__
+              -> x__ {_NexusOperationFailureInfo'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailureInfo "endpoint" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailureInfo'endpoint
+           (\ x__ y__ -> x__ {_NexusOperationFailureInfo'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailureInfo "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailureInfo'service
+           (\ x__ y__ -> x__ {_NexusOperationFailureInfo'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailureInfo "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailureInfo'operation
+           (\ x__ y__ -> x__ {_NexusOperationFailureInfo'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailureInfo "operationId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailureInfo'operationId
+           (\ x__ y__ -> x__ {_NexusOperationFailureInfo'operationId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailureInfo "operationToken" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailureInfo'operationToken
+           (\ x__ y__
+              -> x__ {_NexusOperationFailureInfo'operationToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationFailureInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.failure.v1.NexusOperationFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMNexusOperationFailureInfo\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2\SUB\n\
+      \\bendpoint\CAN\STX \SOH(\tR\bendpoint\DC2\CAN\n\
+      \\aservice\CAN\ETX \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\EOT \SOH(\tR\toperation\DC2!\n\
+      \\foperation_id\CAN\ENQ \SOH(\tR\voperationId\DC2'\n\
+      \\SIoperation_token\CAN\ACK \SOH(\tR\SOoperationToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailureInfo
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"endpoint")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailureInfo
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailureInfo
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailureInfo
+        operationId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailureInfo
+        operationToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationToken")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, endpoint__field_descriptor),
+           (Data.ProtoLens.Tag 3, service__field_descriptor),
+           (Data.ProtoLens.Tag 4, operation__field_descriptor),
+           (Data.ProtoLens.Tag 5, operationId__field_descriptor),
+           (Data.ProtoLens.Tag 6, operationToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationFailureInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_NexusOperationFailureInfo'_unknownFields = y__})
+  defMessage
+    = NexusOperationFailureInfo'_constructor
+        {_NexusOperationFailureInfo'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailureInfo'endpoint = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailureInfo'service = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailureInfo'operation = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailureInfo'operationId = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailureInfo'operationToken = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operationId") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationToken") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusOperationFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"endpoint") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"operationId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"operationToken") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData NexusOperationFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationFailureInfo'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationFailureInfo'endpoint x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationFailureInfo'service x__)
+                      (Control.DeepSeq.deepseq
+                         (_NexusOperationFailureInfo'operation x__)
+                         (Control.DeepSeq.deepseq
+                            (_NexusOperationFailureInfo'operationId x__)
+                            (Control.DeepSeq.deepseq
+                               (_NexusOperationFailureInfo'operationToken x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.lastHeartbeatDetails' @:: Lens' ResetWorkflowFailureInfo Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'lastHeartbeatDetails' @:: Lens' ResetWorkflowFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data ResetWorkflowFailureInfo
+  = ResetWorkflowFailureInfo'_constructor {_ResetWorkflowFailureInfo'lastHeartbeatDetails :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                           _ResetWorkflowFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResetWorkflowFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResetWorkflowFailureInfo "lastHeartbeatDetails" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetWorkflowFailureInfo'lastHeartbeatDetails
+           (\ x__ y__
+              -> x__ {_ResetWorkflowFailureInfo'lastHeartbeatDetails = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResetWorkflowFailureInfo "maybe'lastHeartbeatDetails" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetWorkflowFailureInfo'lastHeartbeatDetails
+           (\ x__ y__
+              -> x__ {_ResetWorkflowFailureInfo'lastHeartbeatDetails = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResetWorkflowFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.ResetWorkflowFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANResetWorkflowFailureInfo\DC2V\n\
+      \\SYNlast_heartbeat_details\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastHeartbeatDetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        lastHeartbeatDetails__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_heartbeat_details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastHeartbeatDetails")) ::
+              Data.ProtoLens.FieldDescriptor ResetWorkflowFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, lastHeartbeatDetails__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResetWorkflowFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ResetWorkflowFailureInfo'_unknownFields = y__})
+  defMessage
+    = ResetWorkflowFailureInfo'_constructor
+        {_ResetWorkflowFailureInfo'lastHeartbeatDetails = Prelude.Nothing,
+         _ResetWorkflowFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResetWorkflowFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResetWorkflowFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_heartbeat_details"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastHeartbeatDetails") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResetWorkflowFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'lastHeartbeatDetails") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ResetWorkflowFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResetWorkflowFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResetWorkflowFailureInfo'lastHeartbeatDetails x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.nonRetryable' @:: Lens' ServerFailureInfo Prelude.Bool@ -}
+data ServerFailureInfo
+  = ServerFailureInfo'_constructor {_ServerFailureInfo'nonRetryable :: !Prelude.Bool,
+                                    _ServerFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ServerFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ServerFailureInfo "nonRetryable" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ServerFailureInfo'nonRetryable
+           (\ x__ y__ -> x__ {_ServerFailureInfo'nonRetryable = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ServerFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.ServerFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1ServerFailureInfo\DC2#\n\
+      \\rnon_retryable\CAN\SOH \SOH(\bR\fnonRetryable"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        nonRetryable__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "non_retryable"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"nonRetryable")) ::
+              Data.ProtoLens.FieldDescriptor ServerFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, nonRetryable__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ServerFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ServerFailureInfo'_unknownFields = y__})
+  defMessage
+    = ServerFailureInfo'_constructor
+        {_ServerFailureInfo'nonRetryable = Data.ProtoLens.fieldDefault,
+         _ServerFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ServerFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ServerFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "non_retryable"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nonRetryable") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ServerFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"nonRetryable") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                         _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ServerFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ServerFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ServerFailureInfo'nonRetryable x__) ())
+{- | Fields :
+      -}
+data TerminatedFailureInfo
+  = TerminatedFailureInfo'_constructor {_TerminatedFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TerminatedFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message TerminatedFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.TerminatedFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKTerminatedFailureInfo"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TerminatedFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_TerminatedFailureInfo'_unknownFields = y__})
+  defMessage
+    = TerminatedFailureInfo'_constructor
+        {_TerminatedFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TerminatedFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser TerminatedFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TerminatedFailureInfo"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData TerminatedFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TerminatedFailureInfo'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.timeoutType' @:: Lens' TimeoutFailureInfo Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.lastHeartbeatDetails' @:: Lens' TimeoutFailureInfo Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Failure.V1.Message_Fields.maybe'lastHeartbeatDetails' @:: Lens' TimeoutFailureInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data TimeoutFailureInfo
+  = TimeoutFailureInfo'_constructor {_TimeoutFailureInfo'timeoutType :: !Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType,
+                                     _TimeoutFailureInfo'lastHeartbeatDetails :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                     _TimeoutFailureInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TimeoutFailureInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TimeoutFailureInfo "timeoutType" Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimeoutFailureInfo'timeoutType
+           (\ x__ y__ -> x__ {_TimeoutFailureInfo'timeoutType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimeoutFailureInfo "lastHeartbeatDetails" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimeoutFailureInfo'lastHeartbeatDetails
+           (\ x__ y__
+              -> x__ {_TimeoutFailureInfo'lastHeartbeatDetails = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TimeoutFailureInfo "maybe'lastHeartbeatDetails" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimeoutFailureInfo'lastHeartbeatDetails
+           (\ x__ y__
+              -> x__ {_TimeoutFailureInfo'lastHeartbeatDetails = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TimeoutFailureInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.failure.v1.TimeoutFailureInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2TimeoutFailureInfo\DC2E\n\
+      \\ftimeout_type\CAN\SOH \SOH(\SO2\".temporal.api.enums.v1.TimeoutTypeR\vtimeoutType\DC2V\n\
+      \\SYNlast_heartbeat_details\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastHeartbeatDetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timeoutType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timeout_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"timeoutType")) ::
+              Data.ProtoLens.FieldDescriptor TimeoutFailureInfo
+        lastHeartbeatDetails__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_heartbeat_details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastHeartbeatDetails")) ::
+              Data.ProtoLens.FieldDescriptor TimeoutFailureInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timeoutType__field_descriptor),
+           (Data.ProtoLens.Tag 2, lastHeartbeatDetails__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TimeoutFailureInfo'_unknownFields
+        (\ x__ y__ -> x__ {_TimeoutFailureInfo'_unknownFields = y__})
+  defMessage
+    = TimeoutFailureInfo'_constructor
+        {_TimeoutFailureInfo'timeoutType = Data.ProtoLens.fieldDefault,
+         _TimeoutFailureInfo'lastHeartbeatDetails = Prelude.Nothing,
+         _TimeoutFailureInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TimeoutFailureInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser TimeoutFailureInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "timeout_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"timeoutType") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_heartbeat_details"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastHeartbeatDetails") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TimeoutFailureInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"timeoutType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'lastHeartbeatDetails") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TimeoutFailureInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TimeoutFailureInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TimeoutFailureInfo'timeoutType x__)
+                (Control.DeepSeq.deepseq
+                   (_TimeoutFailureInfo'lastHeartbeatDetails x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \%temporal/api/failure/v1/message.proto\DC2\ETBtemporal.api.failure.v1\SUB$temporal/api/common/v1/message.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB!temporal/api/enums/v1/nexus.proto\SUB\"temporal/api/enums/v1/common.proto\SUB\RSgoogle/protobuf/duration.proto\"\159\STX\n\
+    \\SYNApplicationFailureInfo\DC2\DC2\n\
+    \\EOTtype\CAN\SOH \SOH(\tR\EOTtype\DC2#\n\
+    \\rnon_retryable\CAN\STX \SOH(\bR\fnonRetryable\DC2:\n\
+    \\adetails\CAN\ETX \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2C\n\
+    \\DLEnext_retry_delay\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\SOnextRetryDelay\DC2K\n\
+    \\bcategory\CAN\ENQ \SOH(\SO2/.temporal.api.enums.v1.ApplicationErrorCategoryR\bcategory\"\179\SOH\n\
+    \\DC2TimeoutFailureInfo\DC2E\n\
+    \\ftimeout_type\CAN\SOH \SOH(\SO2\".temporal.api.enums.v1.TimeoutTypeR\vtimeoutType\DC2V\n\
+    \\SYNlast_heartbeat_details\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastHeartbeatDetails\"Q\n\
+    \\DC3CanceledFailureInfo\DC2:\n\
+    \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\"\ETB\n\
+    \\NAKTerminatedFailureInfo\"8\n\
+    \\DC1ServerFailureInfo\DC2#\n\
+    \\rnon_retryable\CAN\SOH \SOH(\bR\fnonRetryable\"r\n\
+    \\CANResetWorkflowFailureInfo\DC2V\n\
+    \\SYNlast_heartbeat_details\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastHeartbeatDetails\"\185\STX\n\
+    \\DC3ActivityFailureInfo\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+    \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2I\n\
+    \\ractivity_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2\US\n\
+    \\vactivity_id\CAN\ENQ \SOH(\tR\n\
+    \activityId\DC2B\n\
+    \\vretry_state\CAN\ACK \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\"\130\ETX\n\
+    \!ChildWorkflowExecutionFailureInfo\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2X\n\
+    \\DC2workflow_execution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+    \\DC2initiated_event_id\CAN\EOT \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ENQ \SOH(\ETXR\SOstartedEventId\DC2B\n\
+    \\vretry_state\CAN\ACK \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\"\233\SOH\n\
+    \\EMNexusOperationFailureInfo\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2\SUB\n\
+    \\bendpoint\CAN\STX \SOH(\tR\bendpoint\DC2\CAN\n\
+    \\aservice\CAN\ETX \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\EOT \SOH(\tR\toperation\DC2!\n\
+    \\foperation_id\CAN\ENQ \SOH(\tR\voperationId\DC2'\n\
+    \\SIoperation_token\CAN\ACK \SOH(\tR\SOoperationToken\"\139\SOH\n\
+    \\ETBNexusHandlerFailureInfo\DC2\DC2\n\
+    \\EOTtype\CAN\SOH \SOH(\tR\EOTtype\DC2\\\n\
+    \\SOretry_behavior\CAN\STX \SOH(\SO25.temporal.api.enums.v1.NexusHandlerErrorRetryBehaviorR\rretryBehavior\"\211\n\
+    \\n\
+    \\aFailure\DC2\CAN\n\
+    \\amessage\CAN\SOH \SOH(\tR\amessage\DC2\SYN\n\
+    \\ACKsource\CAN\STX \SOH(\tR\ACKsource\DC2\US\n\
+    \\vstack_trace\CAN\ETX \SOH(\tR\n\
+    \stackTrace\DC2N\n\
+    \\DC2encoded_attributes\CAN\DC4 \SOH(\v2\US.temporal.api.common.v1.PayloadR\DC1encodedAttributes\DC26\n\
+    \\ENQcause\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\ENQcause\DC2k\n\
+    \\CANapplication_failure_info\CAN\ENQ \SOH(\v2/.temporal.api.failure.v1.ApplicationFailureInfoH\NULR\SYNapplicationFailureInfo\DC2_\n\
+    \\DC4timeout_failure_info\CAN\ACK \SOH(\v2+.temporal.api.failure.v1.TimeoutFailureInfoH\NULR\DC2timeoutFailureInfo\DC2b\n\
+    \\NAKcanceled_failure_info\CAN\a \SOH(\v2,.temporal.api.failure.v1.CanceledFailureInfoH\NULR\DC3canceledFailureInfo\DC2h\n\
+    \\ETBterminated_failure_info\CAN\b \SOH(\v2..temporal.api.failure.v1.TerminatedFailureInfoH\NULR\NAKterminatedFailureInfo\DC2\\\n\
+    \\DC3server_failure_info\CAN\t \SOH(\v2*.temporal.api.failure.v1.ServerFailureInfoH\NULR\DC1serverFailureInfo\DC2r\n\
+    \\ESCreset_workflow_failure_info\CAN\n\
+    \ \SOH(\v21.temporal.api.failure.v1.ResetWorkflowFailureInfoH\NULR\CANresetWorkflowFailureInfo\DC2b\n\
+    \\NAKactivity_failure_info\CAN\v \SOH(\v2,.temporal.api.failure.v1.ActivityFailureInfoH\NULR\DC3activityFailureInfo\DC2\142\SOH\n\
+    \%child_workflow_execution_failure_info\CAN\f \SOH(\v2:.temporal.api.failure.v1.ChildWorkflowExecutionFailureInfoH\NULR!childWorkflowExecutionFailureInfo\DC2\136\SOH\n\
+    \&nexus_operation_execution_failure_info\CAN\r \SOH(\v22.temporal.api.failure.v1.NexusOperationFailureInfoH\NULR\"nexusOperationExecutionFailureInfo\DC2o\n\
+    \\SUBnexus_handler_failure_info\CAN\SO \SOH(\v20.temporal.api.failure.v1.NexusHandlerFailureInfoH\NULR\ETBnexusHandlerFailureInfoB\SO\n\
+    \\ffailure_info\" \n\
+    \\RSMultiOperationExecutionAbortedB\142\SOH\n\
+    \\SUBio.temporal.api.failure.v1B\fMessageProtoP\SOHZ%go.temporal.io/api/failure/v1;failure\170\STX\EMTemporalio.Api.Failure.V1\234\STX\FSTemporalio::Api::Failure::V1J\199/\n\
+    \\a\DC2\ENQ\SYN\NUL\152\SOH)\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL \n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL<\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL<\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL3\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL5\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL.\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL.\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL+\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX$\NUL,\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX&\NUL(\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT(\NUL2\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX(\b\RS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX)\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX)\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)\DC2\DC3\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX*\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX*\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX*\t\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX*\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX+\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX+\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX+$+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX+./\n\
+    \\243\SOH\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX0\EOT2\SUB\229\SOH next_retry_delay can be used by the client to override the activity\n\
+    \ retry interval calculated by the retry policy. Retry attempts will\n\
+    \ still be subject to the maximum retries limit and total time limit\n\
+    \ defined by the policy.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX0\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX0\GS-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX001\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX1\EOT@\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX1\EOT2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX13;\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX1>?\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT4\NUL7\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX4\b\SUB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX5\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX5\EOT%\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX5&2\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX556\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX6\EOT?\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX6\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX6$:\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX6=>\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT9\NUL;\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX9\b\ESC\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX:\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX:\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX:$+\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX:./\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT=\NUL>\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX=\b\GS\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOT@\NULB\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX@\b\EM\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXA\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXA\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXA\t\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXA\EM\SUB\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOTD\NULF\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXD\b \n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXE\EOT?\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\ETXE\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXE$:\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXE=>\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ACK\DC2\EOTH\NULO\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXH\b\ESC\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXI\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXI\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXI\n\
+    \\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXI\US \n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETXJ\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ENQ\DC2\ETXJ\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETXJ\n\
+    \\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETXJ\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\ETXK\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ENQ\DC2\ETXK\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\ETXK\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\ETXK\SYN\ETB\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\ETX\DC2\ETXL\EOT:\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\ETXL\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\ETXL(5\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\ETXL89\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\EOT\DC2\ETXM\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\ETXM\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\ETXM\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\ETXM\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\ENQ\DC2\ETXN\EOT5\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ENQ\ACK\DC2\ETXN\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ENQ\SOH\DC2\ETXN%0\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ENQ\ETX\DC2\ETXN34\n\
+    \\n\
+    \\n\
+    \\STX\EOT\a\DC2\EOTQ\NULX\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETXQ\b)\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETXR\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETXR\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETXR\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETXR\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\SOH\DC2\ETXS\EOTD\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ACK\DC2\ETXS\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\ETXS-?\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\ETXSBC\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\STX\DC2\ETXT\EOT:\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\ETXT\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\ETXT(5\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\ETXT89\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\ETX\DC2\ETXU\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\ETX\ENQ\DC2\ETXU\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\ETXU\n\
+    \\FS\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\ETXU\US \n\
+    \\v\n\
+    \\EOT\EOT\a\STX\EOT\DC2\ETXV\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\EOT\ENQ\DC2\ETXV\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\ETXV\n\
+    \\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\ETXV\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\ENQ\DC2\ETXW\EOT5\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\ENQ\ACK\DC2\ETXW\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\ENQ\SOH\DC2\ETXW%0\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\ENQ\ETX\DC2\ETXW34\n\
+    \\n\
+    \\n\
+    \\STX\EOT\b\DC2\EOTZ\NULi\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\b\SOH\DC2\ETXZ\b!\n\
+    \4\n\
+    \\EOT\EOT\b\STX\NUL\DC2\ETX\\\EOT!\SUB' The NexusOperationScheduled event ID.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\ETX\\\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\ETX\\\n\
+    \\FS\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\ETX\\\US \n\
+    \\GS\n\
+    \\EOT\EOT\b\STX\SOH\DC2\ETX^\EOT\CAN\SUB\DLE Endpoint name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\ETX^\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\ETX^\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\ETX^\SYN\ETB\n\
+    \\FS\n\
+    \\EOT\EOT\b\STX\STX\DC2\ETX`\EOT\ETB\SUB\SI Service name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\STX\ENQ\DC2\ETX`\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\ETX`\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\ETX`\NAK\SYN\n\
+    \\RS\n\
+    \\EOT\EOT\b\STX\ETX\DC2\ETXb\EOT\EM\SUB\DC1 Operation name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\ETX\ENQ\DC2\ETXb\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\ETX\SOH\DC2\ETXb\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\ETX\ETX\DC2\ETXb\ETB\CAN\n\
+    \~\n\
+    \\EOT\EOT\b\STX\EOT\DC2\ETXf\EOT\FS\SUBq Operation ID - may be empty if the operation completed synchronously.\n\
+    \\n\
+    \ Deprecated: Renamed to operation_token.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\EOT\ENQ\DC2\ETXf\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\EOT\SOH\DC2\ETXf\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\EOT\ETX\DC2\ETXf\SUB\ESC\n\
+    \W\n\
+    \\EOT\EOT\b\STX\ENQ\DC2\ETXh\EOT\US\SUBJ Operation token - may be empty if the operation completed synchronously.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\ENQ\ENQ\DC2\ETXh\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\ENQ\SOH\DC2\ETXh\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\ENQ\ETX\DC2\ETXh\GS\RS\n\
+    \\n\
+    \\n\
+    \\STX\EOT\t\DC2\EOTk\NULq\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\t\SOH\DC2\ETXk\b\US\n\
+    \\138\SOH\n\
+    \\EOT\EOT\t\STX\NUL\DC2\ETXn\EOT\DC4\SUB} The Nexus error type as defined in the spec:\n\
+    \ https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\NUL\ENQ\DC2\ETXn\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\ETXn\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\ETXn\DC2\DC3\n\
+    \g\n\
+    \\EOT\EOT\t\STX\SOH\DC2\ETXp\EOTL\SUBZ Retry behavior, defaults to the retry behavior of the error type as defined in the spec.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\SOH\ACK\DC2\ETXp\EOT8\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\ETXp9G\n\
+    \\f\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\ETXpJK\n\
+    \\v\n\
+    \\STX\EOT\n\
+    \\DC2\ENQs\NUL\150\SOH\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\ETXs\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\ETXt\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\ETXt\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\ETXt\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\ETXt\NAK\SYN\n\
+    \\165\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\SOH\DC2\ETXw\EOT\SYN\SUB\151\SOH The source this Failure originated in, e.g. TypeScriptSDK / JavaSDK\n\
+    \ In some SDKs this is used to rehydrate the stack trace into an exception object.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ENQ\DC2\ETXw\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\SOH\DC2\ETXw\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ETX\DC2\ETXw\DC4\NAK\n\
+    \\v\n\
+    \\EOT\EOT\n\
+    \\STX\STX\DC2\ETXx\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ENQ\DC2\ETXx\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\SOH\DC2\ETXx\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ETX\DC2\ETXx\EM\SUB\n\
+    \\252\a\n\
+    \\EOT\EOT\n\
+    \\STX\ETX\DC2\EOT\136\SOH\EOT;\SUB\237\a Alternative way to supply `message` and `stack_trace` and possibly other attributes, used for encryption of\n\
+    \ errors originating in user code which might contain sensitive information.\n\
+    \ The `encoded_attributes` Payload could represent any serializable object, e.g. JSON object or a `Failure` proto\n\
+    \ message.\n\
+    \\n\
+    \ SDK authors:\n\
+    \ - The SDK should provide a default `encodeFailureAttributes` and `decodeFailureAttributes` implementation that:\n\
+    \   - Uses a JSON object to represent `{ message, stack_trace }`.\n\
+    \   - Overwrites the original message with \"Encoded failure\" to indicate that more information could be extracted.\n\
+    \   - Overwrites the original stack_trace with an empty string.\n\
+    \   - The resulting JSON object is converted to Payload using the default PayloadConverter and should be processed\n\
+    \     by the user-provided PayloadCodec\n\
+    \\n\
+    \ - If there's demand, we could allow overriding the default SDK implementation to encode other opaque Failure attributes.\n\
+    \ (-- api-linter: core::0203::optional=disabled --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ACK\DC2\EOT\136\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\SOH\DC2\EOT\136\SOH#5\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ETX\DC2\EOT\136\SOH8:\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\EOT\DC2\EOT\137\SOH\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ACK\DC2\EOT\137\SOH\EOT\v\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\SOH\DC2\EOT\137\SOH\f\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ETX\DC2\EOT\137\SOH\DC4\NAK\n\
+    \\SO\n\
+    \\EOT\EOT\n\
+    \\b\NUL\DC2\ACK\138\SOH\EOT\149\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\b\NUL\SOH\DC2\EOT\138\SOH\n\
+    \\SYN\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\ENQ\DC2\EOT\139\SOH\b<\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ACK\DC2\EOT\139\SOH\b\RS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\SOH\DC2\EOT\139\SOH\US7\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ETX\DC2\EOT\139\SOH:;\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\ACK\DC2\EOT\140\SOH\b4\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\ACK\DC2\EOT\140\SOH\b\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\SOH\DC2\EOT\140\SOH\ESC/\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\ETX\DC2\EOT\140\SOH23\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\a\DC2\EOT\141\SOH\b6\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\a\ACK\DC2\EOT\141\SOH\b\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\a\SOH\DC2\EOT\141\SOH\FS1\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\a\ETX\DC2\EOT\141\SOH45\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\b\DC2\EOT\142\SOH\b:\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\b\ACK\DC2\EOT\142\SOH\b\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\b\SOH\DC2\EOT\142\SOH\RS5\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\b\ETX\DC2\EOT\142\SOH89\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\t\DC2\EOT\143\SOH\b2\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\t\ACK\DC2\EOT\143\SOH\b\EM\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\t\SOH\DC2\EOT\143\SOH\SUB-\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\t\ETX\DC2\EOT\143\SOH01\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\n\
+    \\DC2\EOT\144\SOH\bB\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\n\
+    \\ACK\DC2\EOT\144\SOH\b \n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\n\
+    \\SOH\DC2\EOT\144\SOH!<\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\n\
+    \\ETX\DC2\EOT\144\SOH?A\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\v\DC2\EOT\145\SOH\b7\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\v\ACK\DC2\EOT\145\SOH\b\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\v\SOH\DC2\EOT\145\SOH\FS1\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\v\ETX\DC2\EOT\145\SOH46\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\f\DC2\EOT\146\SOH\bU\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\f\ACK\DC2\EOT\146\SOH\b)\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\f\SOH\DC2\EOT\146\SOH*O\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\f\ETX\DC2\EOT\146\SOHRT\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\r\DC2\EOT\147\SOH\bN\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\r\ACK\DC2\EOT\147\SOH\b!\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\r\SOH\DC2\EOT\147\SOH\"H\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\r\ETX\DC2\EOT\147\SOHKM\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\SO\DC2\EOT\148\SOH\b@\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SO\ACK\DC2\EOT\148\SOH\b\US\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SO\SOH\DC2\EOT\148\SOH :\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SO\ETX\DC2\EOT\148\SOH=?\n\
+    \\n\
+    \\n\
+    \\STX\EOT\v\DC2\EOT\152\SOH\NUL)\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\152\SOH\b&b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Failure/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Failure/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Failure/V1/Message_Fields.hs
@@ -0,0 +1,398 @@
+{- This file was auto-generated from temporal/api/failure/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Failure.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.Nexus
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+activityFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+activityFailureInfo
+  = Data.ProtoLens.Field.field @"activityFailureInfo"
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+applicationFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "applicationFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+applicationFailureInfo
+  = Data.ProtoLens.Field.field @"applicationFailureInfo"
+canceledFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "canceledFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+canceledFailureInfo
+  = Data.ProtoLens.Field.field @"canceledFailureInfo"
+category ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "category" a) =>
+  Lens.Family2.LensLike' f s a
+category = Data.ProtoLens.Field.field @"category"
+cause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "cause" a) =>
+  Lens.Family2.LensLike' f s a
+cause = Data.ProtoLens.Field.field @"cause"
+childWorkflowExecutionFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionFailureInfo
+  = Data.ProtoLens.Field.field @"childWorkflowExecutionFailureInfo"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+encodedAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "encodedAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+encodedAttributes = Data.ProtoLens.Field.field @"encodedAttributes"
+endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+endpoint = Data.ProtoLens.Field.field @"endpoint"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+initiatedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initiatedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+initiatedEventId = Data.ProtoLens.Field.field @"initiatedEventId"
+lastHeartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastHeartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+lastHeartbeatDetails
+  = Data.ProtoLens.Field.field @"lastHeartbeatDetails"
+maybe'activityFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'activityFailureInfo"
+maybe'activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityType
+  = Data.ProtoLens.Field.field @"maybe'activityType"
+maybe'applicationFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'applicationFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'applicationFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'applicationFailureInfo"
+maybe'canceledFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'canceledFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'canceledFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'canceledFailureInfo"
+maybe'cause ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cause" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cause = Data.ProtoLens.Field.field @"maybe'cause"
+maybe'childWorkflowExecutionFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionFailureInfo
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionFailureInfo"
+maybe'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'details" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'details = Data.ProtoLens.Field.field @"maybe'details"
+maybe'encodedAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'encodedAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'encodedAttributes
+  = Data.ProtoLens.Field.field @"maybe'encodedAttributes"
+maybe'failureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failureInfo = Data.ProtoLens.Field.field @"maybe'failureInfo"
+maybe'lastHeartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastHeartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastHeartbeatDetails
+  = Data.ProtoLens.Field.field @"maybe'lastHeartbeatDetails"
+maybe'nextRetryDelay ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nextRetryDelay" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nextRetryDelay
+  = Data.ProtoLens.Field.field @"maybe'nextRetryDelay"
+maybe'nexusHandlerFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusHandlerFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusHandlerFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'nexusHandlerFailureInfo"
+maybe'nexusOperationExecutionFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationExecutionFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationExecutionFailureInfo
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationExecutionFailureInfo"
+maybe'resetWorkflowFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resetWorkflowFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resetWorkflowFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'resetWorkflowFailureInfo"
+maybe'serverFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'serverFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'serverFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'serverFailureInfo"
+maybe'terminatedFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'terminatedFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'terminatedFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'terminatedFailureInfo"
+maybe'timeoutFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timeoutFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timeoutFailureInfo
+  = Data.ProtoLens.Field.field @"maybe'timeoutFailureInfo"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+maybe'workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowType
+  = Data.ProtoLens.Field.field @"maybe'workflowType"
+message ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>
+  Lens.Family2.LensLike' f s a
+message = Data.ProtoLens.Field.field @"message"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+nextRetryDelay ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nextRetryDelay" a) =>
+  Lens.Family2.LensLike' f s a
+nextRetryDelay = Data.ProtoLens.Field.field @"nextRetryDelay"
+nexusHandlerFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusHandlerFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+nexusHandlerFailureInfo
+  = Data.ProtoLens.Field.field @"nexusHandlerFailureInfo"
+nexusOperationExecutionFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationExecutionFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationExecutionFailureInfo
+  = Data.ProtoLens.Field.field @"nexusOperationExecutionFailureInfo"
+nonRetryable ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nonRetryable" a) =>
+  Lens.Family2.LensLike' f s a
+nonRetryable = Data.ProtoLens.Field.field @"nonRetryable"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+operationId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationId" a) =>
+  Lens.Family2.LensLike' f s a
+operationId = Data.ProtoLens.Field.field @"operationId"
+operationToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationToken" a) =>
+  Lens.Family2.LensLike' f s a
+operationToken = Data.ProtoLens.Field.field @"operationToken"
+resetWorkflowFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetWorkflowFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+resetWorkflowFailureInfo
+  = Data.ProtoLens.Field.field @"resetWorkflowFailureInfo"
+retryBehavior ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryBehavior" a) =>
+  Lens.Family2.LensLike' f s a
+retryBehavior = Data.ProtoLens.Field.field @"retryBehavior"
+retryState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryState" a) =>
+  Lens.Family2.LensLike' f s a
+retryState = Data.ProtoLens.Field.field @"retryState"
+scheduledEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledEventId" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledEventId = Data.ProtoLens.Field.field @"scheduledEventId"
+serverFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "serverFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+serverFailureInfo = Data.ProtoLens.Field.field @"serverFailureInfo"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+source ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "source" a) =>
+  Lens.Family2.LensLike' f s a
+source = Data.ProtoLens.Field.field @"source"
+stackTrace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "stackTrace" a) =>
+  Lens.Family2.LensLike' f s a
+stackTrace = Data.ProtoLens.Field.field @"stackTrace"
+startedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+startedEventId = Data.ProtoLens.Field.field @"startedEventId"
+terminatedFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "terminatedFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+terminatedFailureInfo
+  = Data.ProtoLens.Field.field @"terminatedFailureInfo"
+timeoutFailureInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timeoutFailureInfo" a) =>
+  Lens.Family2.LensLike' f s a
+timeoutFailureInfo
+  = Data.ProtoLens.Field.field @"timeoutFailureInfo"
+timeoutType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timeoutType" a) =>
+  Lens.Family2.LensLike' f s a
+timeoutType = Data.ProtoLens.Field.field @"timeoutType"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Api/Filter/V1/Message.hs b/src/Proto/Temporal/Api/Filter/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Filter/V1/Message.hs
@@ -0,0 +1,748 @@
+{- This file was auto-generated from temporal/api/filter/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Filter.V1.Message (
+        StartTimeFilter(), StatusFilter(), WorkflowExecutionFilter(),
+        WorkflowTypeFilter()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.earliestTime' @:: Lens' StartTimeFilter Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.maybe'earliestTime' @:: Lens' StartTimeFilter (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.latestTime' @:: Lens' StartTimeFilter Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.maybe'latestTime' @:: Lens' StartTimeFilter (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data StartTimeFilter
+  = StartTimeFilter'_constructor {_StartTimeFilter'earliestTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                  _StartTimeFilter'latestTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                  _StartTimeFilter'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartTimeFilter where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartTimeFilter "earliestTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimeFilter'earliestTime
+           (\ x__ y__ -> x__ {_StartTimeFilter'earliestTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartTimeFilter "maybe'earliestTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimeFilter'earliestTime
+           (\ x__ y__ -> x__ {_StartTimeFilter'earliestTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartTimeFilter "latestTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimeFilter'latestTime
+           (\ x__ y__ -> x__ {_StartTimeFilter'latestTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartTimeFilter "maybe'latestTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimeFilter'latestTime
+           (\ x__ y__ -> x__ {_StartTimeFilter'latestTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartTimeFilter where
+  messageName _
+    = Data.Text.pack "temporal.api.filter.v1.StartTimeFilter"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIStartTimeFilter\DC2?\n\
+      \\rearliest_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\fearliestTime\DC2;\n\
+      \\vlatest_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \latestTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        earliestTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "earliest_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'earliestTime")) ::
+              Data.ProtoLens.FieldDescriptor StartTimeFilter
+        latestTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "latest_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'latestTime")) ::
+              Data.ProtoLens.FieldDescriptor StartTimeFilter
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, earliestTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, latestTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartTimeFilter'_unknownFields
+        (\ x__ y__ -> x__ {_StartTimeFilter'_unknownFields = y__})
+  defMessage
+    = StartTimeFilter'_constructor
+        {_StartTimeFilter'earliestTime = Prelude.Nothing,
+         _StartTimeFilter'latestTime = Prelude.Nothing,
+         _StartTimeFilter'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartTimeFilter
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartTimeFilter
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "earliest_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"earliestTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "latest_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"latestTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StartTimeFilter"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'earliestTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'latestTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartTimeFilter where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartTimeFilter'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartTimeFilter'earliestTime x__)
+                (Control.DeepSeq.deepseq (_StartTimeFilter'latestTime x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.status' @:: Lens' StatusFilter Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus@ -}
+data StatusFilter
+  = StatusFilter'_constructor {_StatusFilter'status :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus,
+                               _StatusFilter'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StatusFilter where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StatusFilter "status" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StatusFilter'status
+           (\ x__ y__ -> x__ {_StatusFilter'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StatusFilter where
+  messageName _
+    = Data.Text.pack "temporal.api.filter.v1.StatusFilter"
+  packedMessageDescriptor _
+    = "\n\
+      \\fStatusFilter\DC2F\n\
+      \\ACKstatus\CAN\SOH \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        status__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"status")) ::
+              Data.ProtoLens.FieldDescriptor StatusFilter
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, status__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StatusFilter'_unknownFields
+        (\ x__ y__ -> x__ {_StatusFilter'_unknownFields = y__})
+  defMessage
+    = StatusFilter'_constructor
+        {_StatusFilter'status = Data.ProtoLens.fieldDefault,
+         _StatusFilter'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StatusFilter -> Data.ProtoLens.Encoding.Bytes.Parser StatusFilter
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "status"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StatusFilter"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"status") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData StatusFilter where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StatusFilter'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_StatusFilter'status x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.workflowId' @:: Lens' WorkflowExecutionFilter Data.Text.Text@
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.runId' @:: Lens' WorkflowExecutionFilter Data.Text.Text@ -}
+data WorkflowExecutionFilter
+  = WorkflowExecutionFilter'_constructor {_WorkflowExecutionFilter'workflowId :: !Data.Text.Text,
+                                          _WorkflowExecutionFilter'runId :: !Data.Text.Text,
+                                          _WorkflowExecutionFilter'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionFilter where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFilter "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFilter'workflowId
+           (\ x__ y__ -> x__ {_WorkflowExecutionFilter'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFilter "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFilter'runId
+           (\ x__ y__ -> x__ {_WorkflowExecutionFilter'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionFilter where
+  messageName _
+    = Data.Text.pack "temporal.api.filter.v1.WorkflowExecutionFilter"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBWorkflowExecutionFilter\DC2\US\n\
+      \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionFilter
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionFilter
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 2, runId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionFilter'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecutionFilter'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionFilter'_constructor
+        {_WorkflowExecutionFilter'workflowId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionFilter'runId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionFilter'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionFilter
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionFilter
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecutionFilter"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowExecutionFilter where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionFilter'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionFilter'workflowId x__)
+                (Control.DeepSeq.deepseq (_WorkflowExecutionFilter'runId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Filter.V1.Message_Fields.name' @:: Lens' WorkflowTypeFilter Data.Text.Text@ -}
+data WorkflowTypeFilter
+  = WorkflowTypeFilter'_constructor {_WorkflowTypeFilter'name :: !Data.Text.Text,
+                                     _WorkflowTypeFilter'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTypeFilter where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTypeFilter "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTypeFilter'name
+           (\ x__ y__ -> x__ {_WorkflowTypeFilter'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTypeFilter where
+  messageName _
+    = Data.Text.pack "temporal.api.filter.v1.WorkflowTypeFilter"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2WorkflowTypeFilter\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTypeFilter
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, name__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTypeFilter'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowTypeFilter'_unknownFields = y__})
+  defMessage
+    = WorkflowTypeFilter'_constructor
+        {_WorkflowTypeFilter'name = Data.ProtoLens.fieldDefault,
+         _WorkflowTypeFilter'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTypeFilter
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTypeFilter
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowTypeFilter"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowTypeFilter where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTypeFilter'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WorkflowTypeFilter'name x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \$temporal/api/filter/v1/message.proto\DC2\SYNtemporal.api.filter.v1\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/enums/v1/workflow.proto\"Q\n\
+    \\ETBWorkflowExecutionFilter\DC2\US\n\
+    \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+    \workflowId\DC2\NAK\n\
+    \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\"(\n\
+    \\DC2WorkflowTypeFilter\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\"\143\SOH\n\
+    \\SIStartTimeFilter\DC2?\n\
+    \\rearliest_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\fearliestTime\DC2;\n\
+    \\vlatest_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \latestTime\"V\n\
+    \\fStatusFilter\DC2F\n\
+    \\ACKstatus\CAN\SOH \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\ACKstatusB\137\SOH\n\
+    \\EMio.temporal.api.filter.v1B\fMessageProtoP\SOHZ#go.temporal.io/api/filter/v1;filter\170\STX\CANTemporalio.Api.Filter.V1\234\STX\ESCTemporalio::Api::Filter::V1J\196\r\n\
+    \\ACK\DC2\EOT\SYN\NUL5\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL:\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL:\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL2\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL2\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL4\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL)\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX#\NUL.\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL(\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b\US\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX&\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX&\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX&\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX&\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX'\EOT\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX'\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX'\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX'\DC4\NAK\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT*\NUL,\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX*\b\SUB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX+\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX+\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX+\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX+\DC2\DC3\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT.\NUL1\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX.\b\ETB\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX/\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX/\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX/\RS+\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX/./\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX0\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX0\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX0\RS)\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX0,-\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT3\NUL5\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX3\b\DC4\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX4\EOT=\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\ETX4\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX428\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX4;<b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Filter/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Filter/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Filter/V1/Message_Fields.hs
@@ -0,0 +1,77 @@
+{- This file was auto-generated from temporal/api/filter/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Filter.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+earliestTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "earliestTime" a) =>
+  Lens.Family2.LensLike' f s a
+earliestTime = Data.ProtoLens.Field.field @"earliestTime"
+latestTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "latestTime" a) =>
+  Lens.Family2.LensLike' f s a
+latestTime = Data.ProtoLens.Field.field @"latestTime"
+maybe'earliestTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'earliestTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'earliestTime
+  = Data.ProtoLens.Field.field @"maybe'earliestTime"
+maybe'latestTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'latestTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'latestTime = Data.ProtoLens.Field.field @"maybe'latestTime"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+status ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "status" a) =>
+  Lens.Family2.LensLike' f s a
+status = Data.ProtoLens.Field.field @"status"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
diff --git a/src/Proto/Temporal/Api/History/V1/Message.hs b/src/Proto/Temporal/Api/History/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/History/V1/Message.hs
@@ -0,0 +1,33044 @@
+{- This file was auto-generated from temporal/api/history/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.History.V1.Message (
+        ActivityPropertiesModifiedExternallyEventAttributes(),
+        ActivityTaskCancelRequestedEventAttributes(),
+        ActivityTaskCanceledEventAttributes(),
+        ActivityTaskCompletedEventAttributes(),
+        ActivityTaskFailedEventAttributes(),
+        ActivityTaskScheduledEventAttributes(),
+        ActivityTaskStartedEventAttributes(),
+        ActivityTaskTimedOutEventAttributes(),
+        ChildWorkflowExecutionCanceledEventAttributes(),
+        ChildWorkflowExecutionCompletedEventAttributes(),
+        ChildWorkflowExecutionFailedEventAttributes(),
+        ChildWorkflowExecutionStartedEventAttributes(),
+        ChildWorkflowExecutionTerminatedEventAttributes(),
+        ChildWorkflowExecutionTimedOutEventAttributes(),
+        ExternalWorkflowExecutionCancelRequestedEventAttributes(),
+        ExternalWorkflowExecutionSignaledEventAttributes(), History(),
+        HistoryEvent(), HistoryEvent'Attributes(..),
+        _HistoryEvent'WorkflowExecutionStartedEventAttributes,
+        _HistoryEvent'WorkflowExecutionCompletedEventAttributes,
+        _HistoryEvent'WorkflowExecutionFailedEventAttributes,
+        _HistoryEvent'WorkflowExecutionTimedOutEventAttributes,
+        _HistoryEvent'WorkflowTaskScheduledEventAttributes,
+        _HistoryEvent'WorkflowTaskStartedEventAttributes,
+        _HistoryEvent'WorkflowTaskCompletedEventAttributes,
+        _HistoryEvent'WorkflowTaskTimedOutEventAttributes,
+        _HistoryEvent'WorkflowTaskFailedEventAttributes,
+        _HistoryEvent'ActivityTaskScheduledEventAttributes,
+        _HistoryEvent'ActivityTaskStartedEventAttributes,
+        _HistoryEvent'ActivityTaskCompletedEventAttributes,
+        _HistoryEvent'ActivityTaskFailedEventAttributes,
+        _HistoryEvent'ActivityTaskTimedOutEventAttributes,
+        _HistoryEvent'TimerStartedEventAttributes,
+        _HistoryEvent'TimerFiredEventAttributes,
+        _HistoryEvent'ActivityTaskCancelRequestedEventAttributes,
+        _HistoryEvent'ActivityTaskCanceledEventAttributes,
+        _HistoryEvent'TimerCanceledEventAttributes,
+        _HistoryEvent'MarkerRecordedEventAttributes,
+        _HistoryEvent'WorkflowExecutionSignaledEventAttributes,
+        _HistoryEvent'WorkflowExecutionTerminatedEventAttributes,
+        _HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes,
+        _HistoryEvent'WorkflowExecutionCanceledEventAttributes,
+        _HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes,
+        _HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes,
+        _HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes,
+        _HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes,
+        _HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes,
+        _HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes,
+        _HistoryEvent'ChildWorkflowExecutionStartedEventAttributes,
+        _HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes,
+        _HistoryEvent'ChildWorkflowExecutionFailedEventAttributes,
+        _HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes,
+        _HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes,
+        _HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes,
+        _HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes,
+        _HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes,
+        _HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes,
+        _HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes,
+        _HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes,
+        _HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes,
+        _HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes,
+        _HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes,
+        _HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes,
+        _HistoryEvent'WorkflowPropertiesModifiedEventAttributes,
+        _HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes,
+        _HistoryEvent'NexusOperationScheduledEventAttributes,
+        _HistoryEvent'NexusOperationStartedEventAttributes,
+        _HistoryEvent'NexusOperationCompletedEventAttributes,
+        _HistoryEvent'NexusOperationFailedEventAttributes,
+        _HistoryEvent'NexusOperationCanceledEventAttributes,
+        _HistoryEvent'NexusOperationTimedOutEventAttributes,
+        _HistoryEvent'NexusOperationCancelRequestedEventAttributes,
+        _HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes,
+        _HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes,
+        _HistoryEvent'NexusOperationCancelRequestFailedEventAttributes,
+        MarkerRecordedEventAttributes(),
+        MarkerRecordedEventAttributes'DetailsEntry(),
+        NexusOperationCancelRequestCompletedEventAttributes(),
+        NexusOperationCancelRequestFailedEventAttributes(),
+        NexusOperationCancelRequestedEventAttributes(),
+        NexusOperationCanceledEventAttributes(),
+        NexusOperationCompletedEventAttributes(),
+        NexusOperationFailedEventAttributes(),
+        NexusOperationScheduledEventAttributes(),
+        NexusOperationScheduledEventAttributes'NexusHeaderEntry(),
+        NexusOperationStartedEventAttributes(),
+        NexusOperationTimedOutEventAttributes(),
+        RequestCancelExternalWorkflowExecutionFailedEventAttributes(),
+        RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(),
+        SignalExternalWorkflowExecutionFailedEventAttributes(),
+        SignalExternalWorkflowExecutionInitiatedEventAttributes(),
+        StartChildWorkflowExecutionFailedEventAttributes(),
+        StartChildWorkflowExecutionInitiatedEventAttributes(),
+        TimerCanceledEventAttributes(), TimerFiredEventAttributes(),
+        TimerStartedEventAttributes(),
+        UpsertWorkflowSearchAttributesEventAttributes(),
+        WorkflowExecutionCancelRequestedEventAttributes(),
+        WorkflowExecutionCanceledEventAttributes(),
+        WorkflowExecutionCompletedEventAttributes(),
+        WorkflowExecutionContinuedAsNewEventAttributes(),
+        WorkflowExecutionFailedEventAttributes(),
+        WorkflowExecutionOptionsUpdatedEventAttributes(),
+        WorkflowExecutionSignaledEventAttributes(),
+        WorkflowExecutionStartedEventAttributes(),
+        WorkflowExecutionTerminatedEventAttributes(),
+        WorkflowExecutionTimedOutEventAttributes(),
+        WorkflowExecutionUpdateAcceptedEventAttributes(),
+        WorkflowExecutionUpdateAdmittedEventAttributes(),
+        WorkflowExecutionUpdateCompletedEventAttributes(),
+        WorkflowExecutionUpdateRejectedEventAttributes(),
+        WorkflowPropertiesModifiedEventAttributes(),
+        WorkflowPropertiesModifiedExternallyEventAttributes(),
+        WorkflowTaskCompletedEventAttributes(),
+        WorkflowTaskFailedEventAttributes(),
+        WorkflowTaskScheduledEventAttributes(),
+        WorkflowTaskStartedEventAttributes(),
+        WorkflowTaskTimedOutEventAttributes()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.EventType
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Update
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+import qualified Proto.Temporal.Api.Update.V1.Message
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityPropertiesModifiedExternallyEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newRetryPolicy' @:: Lens' ActivityPropertiesModifiedExternallyEventAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'newRetryPolicy' @:: Lens' ActivityPropertiesModifiedExternallyEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@ -}
+data ActivityPropertiesModifiedExternallyEventAttributes
+  = ActivityPropertiesModifiedExternallyEventAttributes'_constructor {_ActivityPropertiesModifiedExternallyEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                                      _ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                                      _ActivityPropertiesModifiedExternallyEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityPropertiesModifiedExternallyEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityPropertiesModifiedExternallyEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityPropertiesModifiedExternallyEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityPropertiesModifiedExternallyEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityPropertiesModifiedExternallyEventAttributes "newRetryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy
+           (\ x__ y__
+              -> x__
+                   {_ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityPropertiesModifiedExternallyEventAttributes "maybe'newRetryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy
+           (\ x__ y__
+              -> x__
+                   {_ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityPropertiesModifiedExternallyEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \3ActivityPropertiesModifiedExternallyEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2M\n\
+      \\DLEnew_retry_policy\CAN\STX \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\SOnewRetryPolicy"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityPropertiesModifiedExternallyEventAttributes
+        newRetryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'newRetryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ActivityPropertiesModifiedExternallyEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, newRetryPolicy__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityPropertiesModifiedExternallyEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ActivityPropertiesModifiedExternallyEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityPropertiesModifiedExternallyEventAttributes'_constructor
+        {_ActivityPropertiesModifiedExternallyEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy = Prelude.Nothing,
+         _ActivityPropertiesModifiedExternallyEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityPropertiesModifiedExternallyEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityPropertiesModifiedExternallyEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "new_retry_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newRetryPolicy") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityPropertiesModifiedExternallyEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'newRetryPolicy") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ActivityPropertiesModifiedExternallyEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityPropertiesModifiedExternallyEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityPropertiesModifiedExternallyEventAttributes'scheduledEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityPropertiesModifiedExternallyEventAttributes'newRetryPolicy
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityTaskCancelRequestedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' ActivityTaskCancelRequestedEventAttributes Data.Int.Int64@ -}
+data ActivityTaskCancelRequestedEventAttributes
+  = ActivityTaskCancelRequestedEventAttributes'_constructor {_ActivityTaskCancelRequestedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                             _ActivityTaskCancelRequestedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                             _ActivityTaskCancelRequestedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskCancelRequestedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskCancelRequestedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCancelRequestedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCancelRequestedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCancelRequestedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCancelRequestedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCancelRequestedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskCancelRequestedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \*ActivityTaskCancelRequestedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCancelRequestedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCancelRequestedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskCancelRequestedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ActivityTaskCancelRequestedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskCancelRequestedEventAttributes'_constructor
+        {_ActivityTaskCancelRequestedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCancelRequestedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCancelRequestedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskCancelRequestedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskCancelRequestedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskCancelRequestedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ActivityTaskCancelRequestedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskCancelRequestedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskCancelRequestedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskCancelRequestedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.details' @:: Lens' ActivityTaskCanceledEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'details' @:: Lens' ActivityTaskCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.latestCancelRequestedEventId' @:: Lens' ActivityTaskCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityTaskCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ActivityTaskCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' ActivityTaskCanceledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' ActivityTaskCanceledEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' ActivityTaskCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@ -}
+data ActivityTaskCanceledEventAttributes
+  = ActivityTaskCanceledEventAttributes'_constructor {_ActivityTaskCanceledEventAttributes'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                      _ActivityTaskCanceledEventAttributes'latestCancelRequestedEventId :: !Data.Int.Int64,
+                                                      _ActivityTaskCanceledEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                      _ActivityTaskCanceledEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                      _ActivityTaskCanceledEventAttributes'identity :: !Data.Text.Text,
+                                                      _ActivityTaskCanceledEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                      _ActivityTaskCanceledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskCanceledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'details
+           (\ x__ y__
+              -> x__ {_ActivityTaskCanceledEventAttributes'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'details
+           (\ x__ y__
+              -> x__ {_ActivityTaskCanceledEventAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "latestCancelRequestedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'latestCancelRequestedEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCanceledEventAttributes'latestCancelRequestedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCanceledEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCanceledEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_ActivityTaskCanceledEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_ActivityTaskCanceledEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskCanceledEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCanceledEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_ActivityTaskCanceledEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskCanceledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskCanceledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \#ActivityTaskCanceledEventAttributes\DC2:\n\
+      \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2F\n\
+      \ latest_cancel_requested_event_id\CAN\STX \SOH(\ETXR\FSlatestCancelRequestedEventId\DC2,\n\
+      \\DC2scheduled_event_id\CAN\ETX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\EOT \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+      \\bidentity\CAN\ENQ \SOH(\tR\bidentity\DC2Q\n\
+      \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCanceledEventAttributes
+        latestCancelRequestedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "latest_cancel_requested_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"latestCancelRequestedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCanceledEventAttributes
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCanceledEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCanceledEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCanceledEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCanceledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, details__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            latestCancelRequestedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 5, identity__field_descriptor),
+           (Data.ProtoLens.Tag 6, workerVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskCanceledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_ActivityTaskCanceledEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskCanceledEventAttributes'_constructor
+        {_ActivityTaskCanceledEventAttributes'details = Prelude.Nothing,
+         _ActivityTaskCanceledEventAttributes'latestCancelRequestedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCanceledEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCanceledEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCanceledEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCanceledEventAttributes'workerVersion = Prelude.Nothing,
+         _ActivityTaskCanceledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskCanceledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskCanceledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "latest_cancel_requested_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"latestCancelRequestedEventId") y
+                                     x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskCanceledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"latestCancelRequestedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"scheduledEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"startedEventId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workerVersion") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ActivityTaskCanceledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskCanceledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskCanceledEventAttributes'details x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskCanceledEventAttributes'latestCancelRequestedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityTaskCanceledEventAttributes'scheduledEventId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityTaskCanceledEventAttributes'startedEventId x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityTaskCanceledEventAttributes'identity x__)
+                            (Control.DeepSeq.deepseq
+                               (_ActivityTaskCanceledEventAttributes'workerVersion x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.result' @:: Lens' ActivityTaskCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'result' @:: Lens' ActivityTaskCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityTaskCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ActivityTaskCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' ActivityTaskCompletedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' ActivityTaskCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' ActivityTaskCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@ -}
+data ActivityTaskCompletedEventAttributes
+  = ActivityTaskCompletedEventAttributes'_constructor {_ActivityTaskCompletedEventAttributes'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                       _ActivityTaskCompletedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                       _ActivityTaskCompletedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                       _ActivityTaskCompletedEventAttributes'identity :: !Data.Text.Text,
+                                                       _ActivityTaskCompletedEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                       _ActivityTaskCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "result" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__ {_ActivityTaskCompletedEventAttributes'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__ {_ActivityTaskCompletedEventAttributes'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCompletedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCompletedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_ActivityTaskCompletedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCompletedEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletedEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskCompletedEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \$ActivityTaskCompletedEventAttributes\DC28\n\
+      \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\DC2,\n\
+      \\DC2scheduled_event_id\CAN\STX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ETX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+      \\bidentity\CAN\EOT \SOH(\tR\bidentity\DC2Q\n\
+      \\SOworker_version\CAN\ENQ \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletedEventAttributes
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletedEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, identity__field_descriptor),
+           (Data.ProtoLens.Tag 5, workerVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ActivityTaskCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskCompletedEventAttributes'_constructor
+        {_ActivityTaskCompletedEventAttributes'result = Prelude.Nothing,
+         _ActivityTaskCompletedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCompletedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCompletedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCompletedEventAttributes'workerVersion = Prelude.Nothing,
+         _ActivityTaskCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"scheduledEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"startedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workerVersion") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData ActivityTaskCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskCompletedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskCompletedEventAttributes'result x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskCompletedEventAttributes'scheduledEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityTaskCompletedEventAttributes'startedEventId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityTaskCompletedEventAttributes'identity x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityTaskCompletedEventAttributes'workerVersion x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' ActivityTaskFailedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' ActivityTaskFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityTaskFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ActivityTaskFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' ActivityTaskFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryState' @:: Lens' ActivityTaskFailedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.RetryState@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' ActivityTaskFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' ActivityTaskFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@ -}
+data ActivityTaskFailedEventAttributes
+  = ActivityTaskFailedEventAttributes'_constructor {_ActivityTaskFailedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                    _ActivityTaskFailedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                    _ActivityTaskFailedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                    _ActivityTaskFailedEventAttributes'identity :: !Data.Text.Text,
+                                                    _ActivityTaskFailedEventAttributes'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                    _ActivityTaskFailedEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                    _ActivityTaskFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskFailedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'retryState
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskFailedEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskFailedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_ActivityTaskFailedEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \!ActivityTaskFailedEventAttributes\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2,\n\
+      \\DC2scheduled_event_id\CAN\STX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ETX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+      \\bidentity\CAN\EOT \SOH(\tR\bidentity\DC2B\n\
+      \\vretry_state\CAN\ENQ \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState\DC2Q\n\
+      \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskFailedEventAttributes
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskFailedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskFailedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskFailedEventAttributes
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskFailedEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, identity__field_descriptor),
+           (Data.ProtoLens.Tag 5, retryState__field_descriptor),
+           (Data.ProtoLens.Tag 6, workerVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_ActivityTaskFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskFailedEventAttributes'_constructor
+        {_ActivityTaskFailedEventAttributes'failure = Prelude.Nothing,
+         _ActivityTaskFailedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskFailedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskFailedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _ActivityTaskFailedEventAttributes'retryState = Data.ProtoLens.fieldDefault,
+         _ActivityTaskFailedEventAttributes'workerVersion = Prelude.Nothing,
+         _ActivityTaskFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"scheduledEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"startedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"retryState") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workerVersion") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ActivityTaskFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskFailedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskFailedEventAttributes'failure x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskFailedEventAttributes'scheduledEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityTaskFailedEventAttributes'startedEventId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityTaskFailedEventAttributes'identity x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityTaskFailedEventAttributes'retryState x__)
+                            (Control.DeepSeq.deepseq
+                               (_ActivityTaskFailedEventAttributes'workerVersion x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityId' @:: Lens' ActivityTaskScheduledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityType' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Temporal.Api.Common.V1.Message.ActivityType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityType' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.taskQueue' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'taskQueue' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduleToCloseTimeout' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduleToStartTimeout' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'scheduleToStartTimeout' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startToCloseTimeout' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'startToCloseTimeout' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.heartbeatTimeout' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'heartbeatTimeout' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' ActivityTaskScheduledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryPolicy' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'retryPolicy' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.useWorkflowBuildId' @:: Lens' ActivityTaskScheduledEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.priority' @:: Lens' ActivityTaskScheduledEventAttributes Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'priority' @:: Lens' ActivityTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data ActivityTaskScheduledEventAttributes
+  = ActivityTaskScheduledEventAttributes'_constructor {_ActivityTaskScheduledEventAttributes'activityId :: !Data.Text.Text,
+                                                       _ActivityTaskScheduledEventAttributes'activityType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType),
+                                                       _ActivityTaskScheduledEventAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                       _ActivityTaskScheduledEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                       _ActivityTaskScheduledEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                       _ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                       _ActivityTaskScheduledEventAttributes'scheduleToStartTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                       _ActivityTaskScheduledEventAttributes'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                       _ActivityTaskScheduledEventAttributes'heartbeatTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                       _ActivityTaskScheduledEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                       _ActivityTaskScheduledEventAttributes'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                       _ActivityTaskScheduledEventAttributes'useWorkflowBuildId :: !Prelude.Bool,
+                                                       _ActivityTaskScheduledEventAttributes'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                                       _ActivityTaskScheduledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskScheduledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'activityId
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "activityType" Proto.Temporal.Api.Common.V1.Message.ActivityType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'activityType
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'activityType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'activityType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'activityType
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'header
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'header
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'input
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'input
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "scheduleToStartTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'scheduleToStartTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'scheduleToStartTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'scheduleToStartTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'startToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'startToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "heartbeatTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'heartbeatTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'heartbeatTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'heartbeatTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'heartbeatTimeout
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'heartbeatTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'retryPolicy
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'retryPolicy
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "useWorkflowBuildId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'useWorkflowBuildId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskScheduledEventAttributes'useWorkflowBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'priority
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskScheduledEventAttributes "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskScheduledEventAttributes'priority
+           (\ x__ y__
+              -> x__ {_ActivityTaskScheduledEventAttributes'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskScheduledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskScheduledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \$ActivityTaskScheduledEventAttributes\DC2\US\n\
+      \\vactivity_id\CAN\SOH \SOH(\tR\n\
+      \activityId\DC2I\n\
+      \\ractivity_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2C\n\
+      \\n\
+      \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ACKheader\CAN\ENQ \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC26\n\
+      \\ENQinput\CAN\ACK \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+      \\EMschedule_to_start_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+      \\DC1heartbeat_timeout\CAN\n\
+      \ \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\v \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2F\n\
+      \\fretry_policy\CAN\f \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC21\n\
+      \\NAKuse_workflow_build_id\CAN\r \SOH(\bR\DC2useWorkflowBuildId\DC2<\n\
+      \\bpriority\CAN\SO \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\EOT\b\ETX\DLE\EOT"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.ActivityType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityType")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        scheduleToStartTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_start_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        heartbeatTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        useWorkflowBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "use_workflow_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"useWorkflowBuildId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskScheduledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 2, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 4, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 5, header__field_descriptor),
+           (Data.ProtoLens.Tag 6, input__field_descriptor),
+           (Data.ProtoLens.Tag 7, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, scheduleToStartTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, heartbeatTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 12, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 13, useWorkflowBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 14, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskScheduledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ActivityTaskScheduledEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskScheduledEventAttributes'_constructor
+        {_ActivityTaskScheduledEventAttributes'activityId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskScheduledEventAttributes'activityType = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'taskQueue = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'header = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'input = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'scheduleToStartTimeout = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'startToCloseTimeout = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'heartbeatTimeout = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskScheduledEventAttributes'retryPolicy = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'useWorkflowBuildId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskScheduledEventAttributes'priority = Prelude.Nothing,
+         _ActivityTaskScheduledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskScheduledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskScheduledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_start_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToStartTimeout") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "heartbeat_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"heartbeatTimeout") y x)
+                        88
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        104
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "use_workflow_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"useWorkflowBuildId") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskScheduledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'activityType") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")
+                                      _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field
+                                                    @"workflowTaskCompletedEventId")
+                                                 _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 88)
+                                                 ((Prelude..)
+                                                    Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    Prelude.fromIntegral _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field @"maybe'retryPolicy")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field
+                                                          @"useWorkflowBuildId")
+                                                       _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 104)
+                                                       ((Prelude..)
+                                                          Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (\ b -> if b then 1 else 0) _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field
+                                                           @"maybe'priority")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              114)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                    (Lens.Family2.view
+                                                       Data.ProtoLens.unknownFields _x))))))))))))))
+instance Control.DeepSeq.NFData ActivityTaskScheduledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskScheduledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskScheduledEventAttributes'activityId x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskScheduledEventAttributes'activityType x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityTaskScheduledEventAttributes'taskQueue x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityTaskScheduledEventAttributes'header x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityTaskScheduledEventAttributes'input x__)
+                            (Control.DeepSeq.deepseq
+                               (_ActivityTaskScheduledEventAttributes'scheduleToCloseTimeout x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ActivityTaskScheduledEventAttributes'scheduleToStartTimeout x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ActivityTaskScheduledEventAttributes'startToCloseTimeout x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ActivityTaskScheduledEventAttributes'heartbeatTimeout x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ActivityTaskScheduledEventAttributes'workflowTaskCompletedEventId
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ActivityTaskScheduledEventAttributes'retryPolicy
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_ActivityTaskScheduledEventAttributes'useWorkflowBuildId
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_ActivityTaskScheduledEventAttributes'priority
+                                                       x__)
+                                                    ())))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityTaskStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' ActivityTaskStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' ActivityTaskStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.attempt' @:: Lens' ActivityTaskStartedEventAttributes Data.Int.Int32@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.lastFailure' @:: Lens' ActivityTaskStartedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'lastFailure' @:: Lens' ActivityTaskStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' ActivityTaskStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' ActivityTaskStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.buildIdRedirectCounter' @:: Lens' ActivityTaskStartedEventAttributes Data.Int.Int64@ -}
+data ActivityTaskStartedEventAttributes
+  = ActivityTaskStartedEventAttributes'_constructor {_ActivityTaskStartedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                     _ActivityTaskStartedEventAttributes'identity :: !Data.Text.Text,
+                                                     _ActivityTaskStartedEventAttributes'requestId :: !Data.Text.Text,
+                                                     _ActivityTaskStartedEventAttributes'attempt :: !Data.Int.Int32,
+                                                     _ActivityTaskStartedEventAttributes'lastFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                     _ActivityTaskStartedEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                     _ActivityTaskStartedEventAttributes'buildIdRedirectCounter :: !Data.Int.Int64,
+                                                     _ActivityTaskStartedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskStartedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskStartedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'attempt
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "lastFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'lastFailure
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'lastFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "maybe'lastFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'lastFailure
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'lastFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_ActivityTaskStartedEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskStartedEventAttributes "buildIdRedirectCounter" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskStartedEventAttributes'buildIdRedirectCounter
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskStartedEventAttributes'buildIdRedirectCounter = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskStartedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskStartedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\"ActivityTaskStartedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2\SUB\n\
+      \\bidentity\CAN\STX \SOH(\tR\bidentity\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId\DC2\CAN\n\
+      \\aattempt\CAN\EOT \SOH(\ENQR\aattempt\DC2C\n\
+      \\flast_failure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\DC2Q\n\
+      \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\DC29\n\
+      \\EMbuild_id_redirect_counter\CAN\a \SOH(\ETXR\SYNbuildIdRedirectCounter"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+        lastFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastFailure")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+        buildIdRedirectCounter__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id_redirect_counter"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"buildIdRedirectCounter")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskStartedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, identity__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor),
+           (Data.ProtoLens.Tag 4, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 5, lastFailure__field_descriptor),
+           (Data.ProtoLens.Tag 6, workerVersion__field_descriptor),
+           (Data.ProtoLens.Tag 7, buildIdRedirectCounter__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskStartedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_ActivityTaskStartedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskStartedEventAttributes'_constructor
+        {_ActivityTaskStartedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskStartedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _ActivityTaskStartedEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskStartedEventAttributes'attempt = Data.ProtoLens.fieldDefault,
+         _ActivityTaskStartedEventAttributes'lastFailure = Prelude.Nothing,
+         _ActivityTaskStartedEventAttributes'workerVersion = Prelude.Nothing,
+         _ActivityTaskStartedEventAttributes'buildIdRedirectCounter = Data.ProtoLens.fieldDefault,
+         _ActivityTaskStartedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskStartedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskStartedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_failure"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"lastFailure") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "build_id_redirect_counter"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"buildIdRedirectCounter") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskStartedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'lastFailure") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workerVersion") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"buildIdRedirectCounter") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ActivityTaskStartedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskStartedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskStartedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskStartedEventAttributes'identity x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityTaskStartedEventAttributes'requestId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityTaskStartedEventAttributes'attempt x__)
+                         (Control.DeepSeq.deepseq
+                            (_ActivityTaskStartedEventAttributes'lastFailure x__)
+                            (Control.DeepSeq.deepseq
+                               (_ActivityTaskStartedEventAttributes'workerVersion x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ActivityTaskStartedEventAttributes'buildIdRedirectCounter x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' ActivityTaskTimedOutEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' ActivityTaskTimedOutEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' ActivityTaskTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ActivityTaskTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryState' @:: Lens' ActivityTaskTimedOutEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.RetryState@ -}
+data ActivityTaskTimedOutEventAttributes
+  = ActivityTaskTimedOutEventAttributes'_constructor {_ActivityTaskTimedOutEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                      _ActivityTaskTimedOutEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                      _ActivityTaskTimedOutEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                      _ActivityTaskTimedOutEventAttributes'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                      _ActivityTaskTimedOutEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskTimedOutEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskTimedOutEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskTimedOutEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_ActivityTaskTimedOutEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskTimedOutEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskTimedOutEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_ActivityTaskTimedOutEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskTimedOutEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskTimedOutEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskTimedOutEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskTimedOutEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskTimedOutEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ActivityTaskTimedOutEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskTimedOutEventAttributes "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskTimedOutEventAttributes'retryState
+           (\ x__ y__
+              -> x__ {_ActivityTaskTimedOutEventAttributes'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskTimedOutEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ActivityTaskTimedOutEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \#ActivityTaskTimedOutEventAttributes\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2,\n\
+      \\DC2scheduled_event_id\CAN\STX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ETX \SOH(\ETXR\SOstartedEventId\DC2B\n\
+      \\vretry_state\CAN\EOT \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskTimedOutEventAttributes
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskTimedOutEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskTimedOutEventAttributes
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskTimedOutEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, retryState__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskTimedOutEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_ActivityTaskTimedOutEventAttributes'_unknownFields = y__})
+  defMessage
+    = ActivityTaskTimedOutEventAttributes'_constructor
+        {_ActivityTaskTimedOutEventAttributes'failure = Prelude.Nothing,
+         _ActivityTaskTimedOutEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskTimedOutEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ActivityTaskTimedOutEventAttributes'retryState = Data.ProtoLens.fieldDefault,
+         _ActivityTaskTimedOutEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskTimedOutEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskTimedOutEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ActivityTaskTimedOutEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"scheduledEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"startedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"retryState") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  Prelude.fromEnum _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData ActivityTaskTimedOutEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskTimedOutEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskTimedOutEventAttributes'failure x__)
+                (Control.DeepSeq.deepseq
+                   (_ActivityTaskTimedOutEventAttributes'scheduledEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ActivityTaskTimedOutEventAttributes'startedEventId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ActivityTaskTimedOutEventAttributes'retryState x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.details' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'details' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ChildWorkflowExecutionCanceledEventAttributes Data.Int.Int64@ -}
+data ChildWorkflowExecutionCanceledEventAttributes
+  = ChildWorkflowExecutionCanceledEventAttributes'_constructor {_ChildWorkflowExecutionCanceledEventAttributes'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'namespace :: !Data.Text.Text,
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                                _ChildWorkflowExecutionCanceledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionCanceledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'details
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'details
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCanceledEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCanceledEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCanceledEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionCanceledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \-ChildWorkflowExecutionCanceledEventAttributes\DC2:\n\
+      \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+      \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ACK \SOH(\ETXR\SOstartedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCanceledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, details__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 7, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 5, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, startedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionCanceledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ChildWorkflowExecutionCanceledEventAttributes'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionCanceledEventAttributes'_constructor
+        {_ChildWorkflowExecutionCanceledEventAttributes'details = Prelude.Nothing,
+         _ChildWorkflowExecutionCanceledEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCanceledEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCanceledEventAttributes'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionCanceledEventAttributes'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionCanceledEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCanceledEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCanceledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionCanceledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionCanceledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionCanceledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"startedEventId") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionCanceledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionCanceledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionCanceledEventAttributes'details x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionCanceledEventAttributes'namespace x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionCanceledEventAttributes'namespaceId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionCanceledEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionCanceledEventAttributes'workflowType x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionCanceledEventAttributes'initiatedEventId
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ChildWorkflowExecutionCanceledEventAttributes'startedEventId
+                                     x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.result' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'result' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ChildWorkflowExecutionCompletedEventAttributes Data.Int.Int64@ -}
+data ChildWorkflowExecutionCompletedEventAttributes
+  = ChildWorkflowExecutionCompletedEventAttributes'_constructor {_ChildWorkflowExecutionCompletedEventAttributes'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'namespace :: !Data.Text.Text,
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                                 _ChildWorkflowExecutionCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "result" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionCompletedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionCompletedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionCompletedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \.ChildWorkflowExecutionCompletedEventAttributes\DC28\n\
+      \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+      \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ACK \SOH(\ETXR\SOstartedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 7, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 5, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, startedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ChildWorkflowExecutionCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionCompletedEventAttributes'_constructor
+        {_ChildWorkflowExecutionCompletedEventAttributes'result = Prelude.Nothing,
+         _ChildWorkflowExecutionCompletedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCompletedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCompletedEventAttributes'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionCompletedEventAttributes'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionCompletedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCompletedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"startedEventId") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionCompletedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionCompletedEventAttributes'result x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionCompletedEventAttributes'namespace x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionCompletedEventAttributes'namespaceId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionCompletedEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionCompletedEventAttributes'workflowType x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionCompletedEventAttributes'initiatedEventId
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ChildWorkflowExecutionCompletedEventAttributes'startedEventId
+                                     x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' ChildWorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryState' @:: Lens' ChildWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.RetryState@ -}
+data ChildWorkflowExecutionFailedEventAttributes
+  = ChildWorkflowExecutionFailedEventAttributes'_constructor {_ChildWorkflowExecutionFailedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                              _ChildWorkflowExecutionFailedEventAttributes'namespace :: !Data.Text.Text,
+                                                              _ChildWorkflowExecutionFailedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                              _ChildWorkflowExecutionFailedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                              _ChildWorkflowExecutionFailedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                              _ChildWorkflowExecutionFailedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                              _ChildWorkflowExecutionFailedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                              _ChildWorkflowExecutionFailedEventAttributes'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                              _ChildWorkflowExecutionFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionFailedEventAttributes "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionFailedEventAttributes'retryState
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionFailedEventAttributes'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \+ChildWorkflowExecutionFailedEventAttributes\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\b \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+      \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ACK \SOH(\ETXR\SOstartedEventId\DC2B\n\
+      \\vretry_state\CAN\a \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 8, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 5, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 7, retryState__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ChildWorkflowExecutionFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionFailedEventAttributes'_constructor
+        {_ChildWorkflowExecutionFailedEventAttributes'failure = Prelude.Nothing,
+         _ChildWorkflowExecutionFailedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailedEventAttributes'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionFailedEventAttributes'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionFailedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailedEventAttributes'retryState = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"startedEventId") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"retryState") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                           ((Prelude..)
+                                              ((Prelude..)
+                                                 Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 Prelude.fromIntegral)
+                                              Prelude.fromEnum _v))
+                                  (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                     (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionFailedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionFailedEventAttributes'failure x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionFailedEventAttributes'namespace x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionFailedEventAttributes'namespaceId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionFailedEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionFailedEventAttributes'workflowType x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionFailedEventAttributes'initiatedEventId x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ChildWorkflowExecutionFailedEventAttributes'startedEventId x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ChildWorkflowExecutionFailedEventAttributes'retryState x__)
+                                     ()))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ChildWorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' ChildWorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' ChildWorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@ -}
+data ChildWorkflowExecutionStartedEventAttributes
+  = ChildWorkflowExecutionStartedEventAttributes'_constructor {_ChildWorkflowExecutionStartedEventAttributes'namespace :: !Data.Text.Text,
+                                                               _ChildWorkflowExecutionStartedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                               _ChildWorkflowExecutionStartedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                               _ChildWorkflowExecutionStartedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                               _ChildWorkflowExecutionStartedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                               _ChildWorkflowExecutionStartedEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                               _ChildWorkflowExecutionStartedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionStartedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionStartedEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionStartedEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionStartedEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionStartedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \,ChildWorkflowExecutionStartedEventAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\ACK \SOH(\tR\vnamespaceId\DC2,\n\
+      \\DC2initiated_event_id\CAN\STX \SOH(\ETXR\DLEinitiatedEventId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC26\n\
+      \\ACKheader\CAN\ENQ \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionStartedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionStartedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionStartedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionStartedEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionStartedEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionStartedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 6, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 5, header__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionStartedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ChildWorkflowExecutionStartedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionStartedEventAttributes'_constructor
+        {_ChildWorkflowExecutionStartedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionStartedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionStartedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionStartedEventAttributes'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionStartedEventAttributes'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionStartedEventAttributes'header = Prelude.Nothing,
+         _ChildWorkflowExecutionStartedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionStartedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionStartedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionStartedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionStartedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionStartedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionStartedEventAttributes'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionStartedEventAttributes'namespaceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionStartedEventAttributes'initiatedEventId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionStartedEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionStartedEventAttributes'workflowType x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionStartedEventAttributes'header x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ChildWorkflowExecutionTerminatedEventAttributes Data.Int.Int64@ -}
+data ChildWorkflowExecutionTerminatedEventAttributes
+  = ChildWorkflowExecutionTerminatedEventAttributes'_constructor {_ChildWorkflowExecutionTerminatedEventAttributes'namespace :: !Data.Text.Text,
+                                                                  _ChildWorkflowExecutionTerminatedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                  _ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                  _ChildWorkflowExecutionTerminatedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                  _ChildWorkflowExecutionTerminatedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                  _ChildWorkflowExecutionTerminatedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                                  _ChildWorkflowExecutionTerminatedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionTerminatedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTerminatedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTerminatedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTerminatedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionTerminatedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \/ChildWorkflowExecutionTerminatedEventAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\ACK \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+      \\DC2initiated_event_id\CAN\EOT \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ENQ \SOH(\ETXR\SOstartedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTerminatedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTerminatedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTerminatedEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTerminatedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTerminatedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTerminatedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 6, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 4, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 5, startedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionTerminatedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ChildWorkflowExecutionTerminatedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionTerminatedEventAttributes'_constructor
+        {_ChildWorkflowExecutionTerminatedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTerminatedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionTerminatedEventAttributes'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionTerminatedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTerminatedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTerminatedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionTerminatedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionTerminatedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionTerminatedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"startedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionTerminatedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionTerminatedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionTerminatedEventAttributes'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionTerminatedEventAttributes'namespaceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionTerminatedEventAttributes'workflowExecution
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionTerminatedEventAttributes'workflowType x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionTerminatedEventAttributes'initiatedEventId
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionTerminatedEventAttributes'startedEventId
+                                  x__)
+                               ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryState' @:: Lens' ChildWorkflowExecutionTimedOutEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.RetryState@ -}
+data ChildWorkflowExecutionTimedOutEventAttributes
+  = ChildWorkflowExecutionTimedOutEventAttributes'_constructor {_ChildWorkflowExecutionTimedOutEventAttributes'namespace :: !Data.Text.Text,
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                                _ChildWorkflowExecutionTimedOutEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowExecutionTimedOutEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowExecutionTimedOutEventAttributes "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowExecutionTimedOutEventAttributes'retryState
+           (\ x__ y__
+              -> x__
+                   {_ChildWorkflowExecutionTimedOutEventAttributes'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ChildWorkflowExecutionTimedOutEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \-ChildWorkflowExecutionTimedOutEventAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+      \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+      \\DC2initiated_event_id\CAN\EOT \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\ENQ \SOH(\ETXR\SOstartedEventId\DC2B\n\
+      \\vretry_state\CAN\ACK \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowExecutionTimedOutEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 7, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 4, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 5, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, retryState__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowExecutionTimedOutEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ChildWorkflowExecutionTimedOutEventAttributes'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowExecutionTimedOutEventAttributes'_constructor
+        {_ChildWorkflowExecutionTimedOutEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTimedOutEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution = Prelude.Nothing,
+         _ChildWorkflowExecutionTimedOutEventAttributes'workflowType = Prelude.Nothing,
+         _ChildWorkflowExecutionTimedOutEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTimedOutEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTimedOutEventAttributes'retryState = Data.ProtoLens.fieldDefault,
+         _ChildWorkflowExecutionTimedOutEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowExecutionTimedOutEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowExecutionTimedOutEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ChildWorkflowExecutionTimedOutEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"startedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"retryState") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              Prelude.fromIntegral)
+                                           Prelude.fromEnum _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ChildWorkflowExecutionTimedOutEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowExecutionTimedOutEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ChildWorkflowExecutionTimedOutEventAttributes'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_ChildWorkflowExecutionTimedOutEventAttributes'namespaceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ChildWorkflowExecutionTimedOutEventAttributes'workflowExecution
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_ChildWorkflowExecutionTimedOutEventAttributes'workflowType x__)
+                         (Control.DeepSeq.deepseq
+                            (_ChildWorkflowExecutionTimedOutEventAttributes'initiatedEventId
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_ChildWorkflowExecutionTimedOutEventAttributes'startedEventId x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ChildWorkflowExecutionTimedOutEventAttributes'retryState x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ExternalWorkflowExecutionCancelRequestedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@ -}
+data ExternalWorkflowExecutionCancelRequestedEventAttributes
+  = ExternalWorkflowExecutionCancelRequestedEventAttributes'_constructor {_ExternalWorkflowExecutionCancelRequestedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                          _ExternalWorkflowExecutionCancelRequestedEventAttributes'namespace :: !Data.Text.Text,
+                                                                          _ExternalWorkflowExecutionCancelRequestedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                          _ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                          _ExternalWorkflowExecutionCancelRequestedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ExternalWorkflowExecutionCancelRequestedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionCancelRequestedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionCancelRequestedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionCancelRequestedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionCancelRequestedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionCancelRequestedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionCancelRequestedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionCancelRequestedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionCancelRequestedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionCancelRequestedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionCancelRequestedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionCancelRequestedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ExternalWorkflowExecutionCancelRequestedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \7ExternalWorkflowExecutionCancelRequestedEventAttributes\DC2,\n\
+      \\DC2initiated_event_id\CAN\SOH \SOH(\ETXR\DLEinitiatedEventId\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\EOT \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionCancelRequestedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionCancelRequestedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionCancelRequestedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionCancelRequestedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 4, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ExternalWorkflowExecutionCancelRequestedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ExternalWorkflowExecutionCancelRequestedEventAttributes'_unknownFields = y__})
+  defMessage
+    = ExternalWorkflowExecutionCancelRequestedEventAttributes'_constructor
+        {_ExternalWorkflowExecutionCancelRequestedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionCancelRequestedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionCancelRequestedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution = Prelude.Nothing,
+         _ExternalWorkflowExecutionCancelRequestedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ExternalWorkflowExecutionCancelRequestedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ExternalWorkflowExecutionCancelRequestedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ExternalWorkflowExecutionCancelRequestedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"initiatedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData ExternalWorkflowExecutionCancelRequestedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ExternalWorkflowExecutionCancelRequestedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ExternalWorkflowExecutionCancelRequestedEventAttributes'initiatedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_ExternalWorkflowExecutionCancelRequestedEventAttributes'namespace
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_ExternalWorkflowExecutionCancelRequestedEventAttributes'namespaceId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_ExternalWorkflowExecutionCancelRequestedEventAttributes'workflowExecution
+                            x__)
+                         ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' ExternalWorkflowExecutionSignaledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' ExternalWorkflowExecutionSignaledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' ExternalWorkflowExecutionSignaledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' ExternalWorkflowExecutionSignaledEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' ExternalWorkflowExecutionSignaledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' ExternalWorkflowExecutionSignaledEventAttributes Data.Text.Text@ -}
+data ExternalWorkflowExecutionSignaledEventAttributes
+  = ExternalWorkflowExecutionSignaledEventAttributes'_constructor {_ExternalWorkflowExecutionSignaledEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                   _ExternalWorkflowExecutionSignaledEventAttributes'namespace :: !Data.Text.Text,
+                                                                   _ExternalWorkflowExecutionSignaledEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                   _ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                   _ExternalWorkflowExecutionSignaledEventAttributes'control :: !Data.Text.Text,
+                                                                   _ExternalWorkflowExecutionSignaledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ExternalWorkflowExecutionSignaledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionSignaledEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionSignaledEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionSignaledEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionSignaledEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionSignaledEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionSignaledEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionSignaledEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionSignaledEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionSignaledEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionSignaledEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionSignaledEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ExternalWorkflowExecutionSignaledEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ExternalWorkflowExecutionSignaledEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_ExternalWorkflowExecutionSignaledEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ExternalWorkflowExecutionSignaledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \0ExternalWorkflowExecutionSignaledEventAttributes\DC2,\n\
+      \\DC2initiated_event_id\CAN\SOH \SOH(\ETXR\DLEinitiatedEventId\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\ENQ \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\CAN\n\
+      \\acontrol\CAN\EOT \SOH(\tR\acontrol"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionSignaledEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionSignaledEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionSignaledEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionSignaledEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor ExternalWorkflowExecutionSignaledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 5, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, control__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ExternalWorkflowExecutionSignaledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ExternalWorkflowExecutionSignaledEventAttributes'_unknownFields = y__})
+  defMessage
+    = ExternalWorkflowExecutionSignaledEventAttributes'_constructor
+        {_ExternalWorkflowExecutionSignaledEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionSignaledEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionSignaledEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution = Prelude.Nothing,
+         _ExternalWorkflowExecutionSignaledEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _ExternalWorkflowExecutionSignaledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ExternalWorkflowExecutionSignaledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser ExternalWorkflowExecutionSignaledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ExternalWorkflowExecutionSignaledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"initiatedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData ExternalWorkflowExecutionSignaledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ExternalWorkflowExecutionSignaledEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ExternalWorkflowExecutionSignaledEventAttributes'initiatedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_ExternalWorkflowExecutionSignaledEventAttributes'namespace x__)
+                   (Control.DeepSeq.deepseq
+                      (_ExternalWorkflowExecutionSignaledEventAttributes'namespaceId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ExternalWorkflowExecutionSignaledEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_ExternalWorkflowExecutionSignaledEventAttributes'control x__)
+                            ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.events' @:: Lens' History [HistoryEvent]@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.vec'events' @:: Lens' History (Data.Vector.Vector HistoryEvent)@ -}
+data History
+  = History'_constructor {_History'events :: !(Data.Vector.Vector HistoryEvent),
+                          _History'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show History where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField History "events" [HistoryEvent] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _History'events (\ x__ y__ -> x__ {_History'events = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField History "vec'events" (Data.Vector.Vector HistoryEvent) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _History'events (\ x__ y__ -> x__ {_History'events = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message History where
+  messageName _ = Data.Text.pack "temporal.api.history.v1.History"
+  packedMessageDescriptor _
+    = "\n\
+      \\aHistory\DC2=\n\
+      \\ACKevents\CAN\SOH \ETX(\v2%.temporal.api.history.v1.HistoryEventR\ACKevents"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        events__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "events"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor HistoryEvent)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"events")) ::
+              Data.ProtoLens.FieldDescriptor History
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, events__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _History'_unknownFields
+        (\ x__ y__ -> x__ {_History'_unknownFields = y__})
+  defMessage
+    = History'_constructor
+        {_History'events = Data.Vector.Generic.empty,
+         _History'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          History
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld HistoryEvent
+             -> Data.ProtoLens.Encoding.Bytes.Parser History
+        loop x mutable'events
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'events <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                            mutable'events)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'events") frozen'events x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "events"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'events y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'events
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'events <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                  Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'events)
+          "History"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'events") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData History where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_History'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_History'events x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.eventId' @:: Lens' HistoryEvent Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.eventTime' @:: Lens' HistoryEvent Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'eventTime' @:: Lens' HistoryEvent (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.eventType' @:: Lens' HistoryEvent Proto.Temporal.Api.Enums.V1.EventType.EventType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.version' @:: Lens' HistoryEvent Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.taskId' @:: Lens' HistoryEvent Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerMayIgnore' @:: Lens' HistoryEvent Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.userMetadata' @:: Lens' HistoryEvent Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'userMetadata' @:: Lens' HistoryEvent (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.links' @:: Lens' HistoryEvent [Proto.Temporal.Api.Common.V1.Message.Link]@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.vec'links' @:: Lens' HistoryEvent (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Link)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'attributes' @:: Lens' HistoryEvent (Prelude.Maybe HistoryEvent'Attributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionStartedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionStartedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionStartedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionStartedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionCompletedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionTimedOutEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionTimedOutEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionTimedOutEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionTimedOutEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskScheduledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowTaskScheduledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskScheduledEventAttributes' @:: Lens' HistoryEvent WorkflowTaskScheduledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskStartedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowTaskStartedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskStartedEventAttributes' @:: Lens' HistoryEvent WorkflowTaskStartedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowTaskCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventAttributes' @:: Lens' HistoryEvent WorkflowTaskCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskTimedOutEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowTaskTimedOutEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskTimedOutEventAttributes' @:: Lens' HistoryEvent WorkflowTaskTimedOutEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowTaskFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskFailedEventAttributes' @:: Lens' HistoryEvent WorkflowTaskFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskScheduledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskScheduledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskScheduledEventAttributes' @:: Lens' HistoryEvent ActivityTaskScheduledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskStartedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskStartedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskStartedEventAttributes' @:: Lens' HistoryEvent ActivityTaskStartedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskCompletedEventAttributes' @:: Lens' HistoryEvent ActivityTaskCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskFailedEventAttributes' @:: Lens' HistoryEvent ActivityTaskFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskTimedOutEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskTimedOutEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskTimedOutEventAttributes' @:: Lens' HistoryEvent ActivityTaskTimedOutEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'timerStartedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe TimerStartedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timerStartedEventAttributes' @:: Lens' HistoryEvent TimerStartedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'timerFiredEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe TimerFiredEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timerFiredEventAttributes' @:: Lens' HistoryEvent TimerFiredEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskCancelRequestedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskCancelRequestedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskCancelRequestedEventAttributes' @:: Lens' HistoryEvent ActivityTaskCancelRequestedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityTaskCanceledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityTaskCanceledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityTaskCanceledEventAttributes' @:: Lens' HistoryEvent ActivityTaskCanceledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'timerCanceledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe TimerCanceledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timerCanceledEventAttributes' @:: Lens' HistoryEvent TimerCanceledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'markerRecordedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe MarkerRecordedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.markerRecordedEventAttributes' @:: Lens' HistoryEvent MarkerRecordedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionSignaledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionSignaledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionSignaledEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionSignaledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionTerminatedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionTerminatedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionTerminatedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionTerminatedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionCancelRequestedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionCancelRequestedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionCancelRequestedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionCancelRequestedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionCanceledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionCanceledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionCanceledEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionCanceledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestCancelExternalWorkflowExecutionInitiatedEventAttributes' @:: Lens' HistoryEvent RequestCancelExternalWorkflowExecutionInitiatedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestCancelExternalWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent RequestCancelExternalWorkflowExecutionFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'externalWorkflowExecutionCancelRequestedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.externalWorkflowExecutionCancelRequestedEventAttributes' @:: Lens' HistoryEvent ExternalWorkflowExecutionCancelRequestedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionContinuedAsNewEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionContinuedAsNewEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionContinuedAsNewEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionContinuedAsNewEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'startChildWorkflowExecutionInitiatedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe StartChildWorkflowExecutionInitiatedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startChildWorkflowExecutionInitiatedEventAttributes' @:: Lens' HistoryEvent StartChildWorkflowExecutionInitiatedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'startChildWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe StartChildWorkflowExecutionFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startChildWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent StartChildWorkflowExecutionFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'childWorkflowExecutionStartedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionStartedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowExecutionStartedEventAttributes' @:: Lens' HistoryEvent ChildWorkflowExecutionStartedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'childWorkflowExecutionCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowExecutionCompletedEventAttributes' @:: Lens' HistoryEvent ChildWorkflowExecutionCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'childWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent ChildWorkflowExecutionFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'childWorkflowExecutionCanceledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionCanceledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowExecutionCanceledEventAttributes' @:: Lens' HistoryEvent ChildWorkflowExecutionCanceledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'childWorkflowExecutionTimedOutEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionTimedOutEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowExecutionTimedOutEventAttributes' @:: Lens' HistoryEvent ChildWorkflowExecutionTimedOutEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'childWorkflowExecutionTerminatedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionTerminatedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowExecutionTerminatedEventAttributes' @:: Lens' HistoryEvent ChildWorkflowExecutionTerminatedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'signalExternalWorkflowExecutionInitiatedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.signalExternalWorkflowExecutionInitiatedEventAttributes' @:: Lens' HistoryEvent SignalExternalWorkflowExecutionInitiatedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'signalExternalWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe SignalExternalWorkflowExecutionFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.signalExternalWorkflowExecutionFailedEventAttributes' @:: Lens' HistoryEvent SignalExternalWorkflowExecutionFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'externalWorkflowExecutionSignaledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ExternalWorkflowExecutionSignaledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.externalWorkflowExecutionSignaledEventAttributes' @:: Lens' HistoryEvent ExternalWorkflowExecutionSignaledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'upsertWorkflowSearchAttributesEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe UpsertWorkflowSearchAttributesEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.upsertWorkflowSearchAttributesEventAttributes' @:: Lens' HistoryEvent UpsertWorkflowSearchAttributesEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionUpdateAcceptedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionUpdateAcceptedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionUpdateAcceptedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionUpdateAcceptedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionUpdateRejectedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionUpdateRejectedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionUpdateRejectedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionUpdateRejectedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionUpdateCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionUpdateCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionUpdateCompletedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionUpdateCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowPropertiesModifiedExternallyEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowPropertiesModifiedExternallyEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowPropertiesModifiedExternallyEventAttributes' @:: Lens' HistoryEvent WorkflowPropertiesModifiedExternallyEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'activityPropertiesModifiedExternallyEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe ActivityPropertiesModifiedExternallyEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.activityPropertiesModifiedExternallyEventAttributes' @:: Lens' HistoryEvent ActivityPropertiesModifiedExternallyEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowPropertiesModifiedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowPropertiesModifiedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowPropertiesModifiedEventAttributes' @:: Lens' HistoryEvent WorkflowPropertiesModifiedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionUpdateAdmittedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionUpdateAdmittedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionUpdateAdmittedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionUpdateAdmittedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationScheduledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationScheduledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationScheduledEventAttributes' @:: Lens' HistoryEvent NexusOperationScheduledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationStartedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationStartedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationStartedEventAttributes' @:: Lens' HistoryEvent NexusOperationStartedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationCompletedEventAttributes' @:: Lens' HistoryEvent NexusOperationCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationFailedEventAttributes' @:: Lens' HistoryEvent NexusOperationFailedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationCanceledEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationCanceledEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationCanceledEventAttributes' @:: Lens' HistoryEvent NexusOperationCanceledEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationTimedOutEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationTimedOutEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationTimedOutEventAttributes' @:: Lens' HistoryEvent NexusOperationTimedOutEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationCancelRequestedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationCancelRequestedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationCancelRequestedEventAttributes' @:: Lens' HistoryEvent NexusOperationCancelRequestedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionOptionsUpdatedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionOptionsUpdatedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionOptionsUpdatedEventAttributes' @:: Lens' HistoryEvent WorkflowExecutionOptionsUpdatedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationCancelRequestCompletedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationCancelRequestCompletedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationCancelRequestCompletedEventAttributes' @:: Lens' HistoryEvent NexusOperationCancelRequestCompletedEventAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'nexusOperationCancelRequestFailedEventAttributes' @:: Lens' HistoryEvent (Prelude.Maybe NexusOperationCancelRequestFailedEventAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusOperationCancelRequestFailedEventAttributes' @:: Lens' HistoryEvent NexusOperationCancelRequestFailedEventAttributes@ -}
+data HistoryEvent
+  = HistoryEvent'_constructor {_HistoryEvent'eventId :: !Data.Int.Int64,
+                               _HistoryEvent'eventTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _HistoryEvent'eventType :: !Proto.Temporal.Api.Enums.V1.EventType.EventType,
+                               _HistoryEvent'version :: !Data.Int.Int64,
+                               _HistoryEvent'taskId :: !Data.Int.Int64,
+                               _HistoryEvent'workerMayIgnore :: !Prelude.Bool,
+                               _HistoryEvent'userMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata),
+                               _HistoryEvent'links :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Link),
+                               _HistoryEvent'attributes :: !(Prelude.Maybe HistoryEvent'Attributes),
+                               _HistoryEvent'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show HistoryEvent where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data HistoryEvent'Attributes
+  = HistoryEvent'WorkflowExecutionStartedEventAttributes !WorkflowExecutionStartedEventAttributes |
+    HistoryEvent'WorkflowExecutionCompletedEventAttributes !WorkflowExecutionCompletedEventAttributes |
+    HistoryEvent'WorkflowExecutionFailedEventAttributes !WorkflowExecutionFailedEventAttributes |
+    HistoryEvent'WorkflowExecutionTimedOutEventAttributes !WorkflowExecutionTimedOutEventAttributes |
+    HistoryEvent'WorkflowTaskScheduledEventAttributes !WorkflowTaskScheduledEventAttributes |
+    HistoryEvent'WorkflowTaskStartedEventAttributes !WorkflowTaskStartedEventAttributes |
+    HistoryEvent'WorkflowTaskCompletedEventAttributes !WorkflowTaskCompletedEventAttributes |
+    HistoryEvent'WorkflowTaskTimedOutEventAttributes !WorkflowTaskTimedOutEventAttributes |
+    HistoryEvent'WorkflowTaskFailedEventAttributes !WorkflowTaskFailedEventAttributes |
+    HistoryEvent'ActivityTaskScheduledEventAttributes !ActivityTaskScheduledEventAttributes |
+    HistoryEvent'ActivityTaskStartedEventAttributes !ActivityTaskStartedEventAttributes |
+    HistoryEvent'ActivityTaskCompletedEventAttributes !ActivityTaskCompletedEventAttributes |
+    HistoryEvent'ActivityTaskFailedEventAttributes !ActivityTaskFailedEventAttributes |
+    HistoryEvent'ActivityTaskTimedOutEventAttributes !ActivityTaskTimedOutEventAttributes |
+    HistoryEvent'TimerStartedEventAttributes !TimerStartedEventAttributes |
+    HistoryEvent'TimerFiredEventAttributes !TimerFiredEventAttributes |
+    HistoryEvent'ActivityTaskCancelRequestedEventAttributes !ActivityTaskCancelRequestedEventAttributes |
+    HistoryEvent'ActivityTaskCanceledEventAttributes !ActivityTaskCanceledEventAttributes |
+    HistoryEvent'TimerCanceledEventAttributes !TimerCanceledEventAttributes |
+    HistoryEvent'MarkerRecordedEventAttributes !MarkerRecordedEventAttributes |
+    HistoryEvent'WorkflowExecutionSignaledEventAttributes !WorkflowExecutionSignaledEventAttributes |
+    HistoryEvent'WorkflowExecutionTerminatedEventAttributes !WorkflowExecutionTerminatedEventAttributes |
+    HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes !WorkflowExecutionCancelRequestedEventAttributes |
+    HistoryEvent'WorkflowExecutionCanceledEventAttributes !WorkflowExecutionCanceledEventAttributes |
+    HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes !RequestCancelExternalWorkflowExecutionInitiatedEventAttributes |
+    HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes !RequestCancelExternalWorkflowExecutionFailedEventAttributes |
+    HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes !ExternalWorkflowExecutionCancelRequestedEventAttributes |
+    HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes !WorkflowExecutionContinuedAsNewEventAttributes |
+    HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes !StartChildWorkflowExecutionInitiatedEventAttributes |
+    HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes !StartChildWorkflowExecutionFailedEventAttributes |
+    HistoryEvent'ChildWorkflowExecutionStartedEventAttributes !ChildWorkflowExecutionStartedEventAttributes |
+    HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes !ChildWorkflowExecutionCompletedEventAttributes |
+    HistoryEvent'ChildWorkflowExecutionFailedEventAttributes !ChildWorkflowExecutionFailedEventAttributes |
+    HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes !ChildWorkflowExecutionCanceledEventAttributes |
+    HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes !ChildWorkflowExecutionTimedOutEventAttributes |
+    HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes !ChildWorkflowExecutionTerminatedEventAttributes |
+    HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes !SignalExternalWorkflowExecutionInitiatedEventAttributes |
+    HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes !SignalExternalWorkflowExecutionFailedEventAttributes |
+    HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes !ExternalWorkflowExecutionSignaledEventAttributes |
+    HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes !UpsertWorkflowSearchAttributesEventAttributes |
+    HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes !WorkflowExecutionUpdateAcceptedEventAttributes |
+    HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes !WorkflowExecutionUpdateRejectedEventAttributes |
+    HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes !WorkflowExecutionUpdateCompletedEventAttributes |
+    HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes !WorkflowPropertiesModifiedExternallyEventAttributes |
+    HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes !ActivityPropertiesModifiedExternallyEventAttributes |
+    HistoryEvent'WorkflowPropertiesModifiedEventAttributes !WorkflowPropertiesModifiedEventAttributes |
+    HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes !WorkflowExecutionUpdateAdmittedEventAttributes |
+    HistoryEvent'NexusOperationScheduledEventAttributes !NexusOperationScheduledEventAttributes |
+    HistoryEvent'NexusOperationStartedEventAttributes !NexusOperationStartedEventAttributes |
+    HistoryEvent'NexusOperationCompletedEventAttributes !NexusOperationCompletedEventAttributes |
+    HistoryEvent'NexusOperationFailedEventAttributes !NexusOperationFailedEventAttributes |
+    HistoryEvent'NexusOperationCanceledEventAttributes !NexusOperationCanceledEventAttributes |
+    HistoryEvent'NexusOperationTimedOutEventAttributes !NexusOperationTimedOutEventAttributes |
+    HistoryEvent'NexusOperationCancelRequestedEventAttributes !NexusOperationCancelRequestedEventAttributes |
+    HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes !WorkflowExecutionOptionsUpdatedEventAttributes |
+    HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes !NexusOperationCancelRequestCompletedEventAttributes |
+    HistoryEvent'NexusOperationCancelRequestFailedEventAttributes !NexusOperationCancelRequestFailedEventAttributes
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField HistoryEvent "eventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'eventId
+           (\ x__ y__ -> x__ {_HistoryEvent'eventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "eventTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'eventTime
+           (\ x__ y__ -> x__ {_HistoryEvent'eventTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'eventTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'eventTime
+           (\ x__ y__ -> x__ {_HistoryEvent'eventTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "eventType" Proto.Temporal.Api.Enums.V1.EventType.EventType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'eventType
+           (\ x__ y__ -> x__ {_HistoryEvent'eventType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "version" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'version
+           (\ x__ y__ -> x__ {_HistoryEvent'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "taskId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'taskId
+           (\ x__ y__ -> x__ {_HistoryEvent'taskId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "workerMayIgnore" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'workerMayIgnore
+           (\ x__ y__ -> x__ {_HistoryEvent'workerMayIgnore = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "userMetadata" Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'userMetadata
+           (\ x__ y__ -> x__ {_HistoryEvent'userMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'userMetadata" (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'userMetadata
+           (\ x__ y__ -> x__ {_HistoryEvent'userMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "links" [Proto.Temporal.Api.Common.V1.Message.Link] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'links (\ x__ y__ -> x__ {_HistoryEvent'links = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "vec'links" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Link) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'links (\ x__ y__ -> x__ {_HistoryEvent'links = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'attributes" (Prelude.Maybe HistoryEvent'Attributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionStartedEventAttributes" (Prelude.Maybe WorkflowExecutionStartedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionStartedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionStartedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionStartedEventAttributes" WorkflowExecutionStartedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionStartedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionStartedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionCompletedEventAttributes" (Prelude.Maybe WorkflowExecutionCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionCompletedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionCompletedEventAttributes" WorkflowExecutionCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionCompletedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionFailedEventAttributes" (Prelude.Maybe WorkflowExecutionFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionFailedEventAttributes" WorkflowExecutionFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionTimedOutEventAttributes" (Prelude.Maybe WorkflowExecutionTimedOutEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionTimedOutEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionTimedOutEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionTimedOutEventAttributes" WorkflowExecutionTimedOutEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionTimedOutEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionTimedOutEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowTaskScheduledEventAttributes" (Prelude.Maybe WorkflowTaskScheduledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowTaskScheduledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowTaskScheduledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowTaskScheduledEventAttributes" WorkflowTaskScheduledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowTaskScheduledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowTaskScheduledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowTaskStartedEventAttributes" (Prelude.Maybe WorkflowTaskStartedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowTaskStartedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowTaskStartedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowTaskStartedEventAttributes" WorkflowTaskStartedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowTaskStartedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowTaskStartedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowTaskCompletedEventAttributes" (Prelude.Maybe WorkflowTaskCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowTaskCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowTaskCompletedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowTaskCompletedEventAttributes" WorkflowTaskCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowTaskCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowTaskCompletedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowTaskTimedOutEventAttributes" (Prelude.Maybe WorkflowTaskTimedOutEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowTaskTimedOutEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowTaskTimedOutEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowTaskTimedOutEventAttributes" WorkflowTaskTimedOutEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowTaskTimedOutEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowTaskTimedOutEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowTaskFailedEventAttributes" (Prelude.Maybe WorkflowTaskFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowTaskFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowTaskFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowTaskFailedEventAttributes" WorkflowTaskFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowTaskFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowTaskFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskScheduledEventAttributes" (Prelude.Maybe ActivityTaskScheduledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskScheduledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskScheduledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskScheduledEventAttributes" ActivityTaskScheduledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskScheduledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskScheduledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskStartedEventAttributes" (Prelude.Maybe ActivityTaskStartedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskStartedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskStartedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskStartedEventAttributes" ActivityTaskStartedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskStartedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskStartedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskCompletedEventAttributes" (Prelude.Maybe ActivityTaskCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskCompletedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskCompletedEventAttributes" ActivityTaskCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskCompletedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskFailedEventAttributes" (Prelude.Maybe ActivityTaskFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskFailedEventAttributes" ActivityTaskFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskTimedOutEventAttributes" (Prelude.Maybe ActivityTaskTimedOutEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskTimedOutEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskTimedOutEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskTimedOutEventAttributes" ActivityTaskTimedOutEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskTimedOutEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskTimedOutEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'timerStartedEventAttributes" (Prelude.Maybe TimerStartedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'TimerStartedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap HistoryEvent'TimerStartedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "timerStartedEventAttributes" TimerStartedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'TimerStartedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap HistoryEvent'TimerStartedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'timerFiredEventAttributes" (Prelude.Maybe TimerFiredEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'TimerFiredEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap HistoryEvent'TimerFiredEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "timerFiredEventAttributes" TimerFiredEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'TimerFiredEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap HistoryEvent'TimerFiredEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskCancelRequestedEventAttributes" (Prelude.Maybe ActivityTaskCancelRequestedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskCancelRequestedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskCancelRequestedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskCancelRequestedEventAttributes" ActivityTaskCancelRequestedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskCancelRequestedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskCancelRequestedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityTaskCanceledEventAttributes" (Prelude.Maybe ActivityTaskCanceledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityTaskCanceledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityTaskCanceledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityTaskCanceledEventAttributes" ActivityTaskCanceledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityTaskCanceledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityTaskCanceledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'timerCanceledEventAttributes" (Prelude.Maybe TimerCanceledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'TimerCanceledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap HistoryEvent'TimerCanceledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "timerCanceledEventAttributes" TimerCanceledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'TimerCanceledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap HistoryEvent'TimerCanceledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'markerRecordedEventAttributes" (Prelude.Maybe MarkerRecordedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'MarkerRecordedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap HistoryEvent'MarkerRecordedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "markerRecordedEventAttributes" MarkerRecordedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'MarkerRecordedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap HistoryEvent'MarkerRecordedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionSignaledEventAttributes" (Prelude.Maybe WorkflowExecutionSignaledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionSignaledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionSignaledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionSignaledEventAttributes" WorkflowExecutionSignaledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionSignaledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionSignaledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionTerminatedEventAttributes" (Prelude.Maybe WorkflowExecutionTerminatedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionTerminatedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionTerminatedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionTerminatedEventAttributes" WorkflowExecutionTerminatedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionTerminatedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionTerminatedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionCancelRequestedEventAttributes" (Prelude.Maybe WorkflowExecutionCancelRequestedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionCancelRequestedEventAttributes" WorkflowExecutionCancelRequestedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionCanceledEventAttributes" (Prelude.Maybe WorkflowExecutionCanceledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionCanceledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionCanceledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionCanceledEventAttributes" WorkflowExecutionCanceledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionCanceledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionCanceledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes" (Prelude.Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "requestCancelExternalWorkflowExecutionInitiatedEventAttributes" RequestCancelExternalWorkflowExecutionInitiatedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes" (Prelude.Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "requestCancelExternalWorkflowExecutionFailedEventAttributes" RequestCancelExternalWorkflowExecutionFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'externalWorkflowExecutionCancelRequestedEventAttributes" (Prelude.Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "externalWorkflowExecutionCancelRequestedEventAttributes" ExternalWorkflowExecutionCancelRequestedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionContinuedAsNewEventAttributes" (Prelude.Maybe WorkflowExecutionContinuedAsNewEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionContinuedAsNewEventAttributes" WorkflowExecutionContinuedAsNewEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'startChildWorkflowExecutionInitiatedEventAttributes" (Prelude.Maybe StartChildWorkflowExecutionInitiatedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "startChildWorkflowExecutionInitiatedEventAttributes" StartChildWorkflowExecutionInitiatedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'startChildWorkflowExecutionFailedEventAttributes" (Prelude.Maybe StartChildWorkflowExecutionFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "startChildWorkflowExecutionFailedEventAttributes" StartChildWorkflowExecutionFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'childWorkflowExecutionStartedEventAttributes" (Prelude.Maybe ChildWorkflowExecutionStartedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ChildWorkflowExecutionStartedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ChildWorkflowExecutionStartedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "childWorkflowExecutionStartedEventAttributes" ChildWorkflowExecutionStartedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ChildWorkflowExecutionStartedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ChildWorkflowExecutionStartedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'childWorkflowExecutionCompletedEventAttributes" (Prelude.Maybe ChildWorkflowExecutionCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "childWorkflowExecutionCompletedEventAttributes" ChildWorkflowExecutionCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'childWorkflowExecutionFailedEventAttributes" (Prelude.Maybe ChildWorkflowExecutionFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ChildWorkflowExecutionFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ChildWorkflowExecutionFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "childWorkflowExecutionFailedEventAttributes" ChildWorkflowExecutionFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ChildWorkflowExecutionFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ChildWorkflowExecutionFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'childWorkflowExecutionCanceledEventAttributes" (Prelude.Maybe ChildWorkflowExecutionCanceledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "childWorkflowExecutionCanceledEventAttributes" ChildWorkflowExecutionCanceledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'childWorkflowExecutionTimedOutEventAttributes" (Prelude.Maybe ChildWorkflowExecutionTimedOutEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "childWorkflowExecutionTimedOutEventAttributes" ChildWorkflowExecutionTimedOutEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'childWorkflowExecutionTerminatedEventAttributes" (Prelude.Maybe ChildWorkflowExecutionTerminatedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "childWorkflowExecutionTerminatedEventAttributes" ChildWorkflowExecutionTerminatedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'signalExternalWorkflowExecutionInitiatedEventAttributes" (Prelude.Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "signalExternalWorkflowExecutionInitiatedEventAttributes" SignalExternalWorkflowExecutionInitiatedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'signalExternalWorkflowExecutionFailedEventAttributes" (Prelude.Maybe SignalExternalWorkflowExecutionFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "signalExternalWorkflowExecutionFailedEventAttributes" SignalExternalWorkflowExecutionFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'externalWorkflowExecutionSignaledEventAttributes" (Prelude.Maybe ExternalWorkflowExecutionSignaledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "externalWorkflowExecutionSignaledEventAttributes" ExternalWorkflowExecutionSignaledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'upsertWorkflowSearchAttributesEventAttributes" (Prelude.Maybe UpsertWorkflowSearchAttributesEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "upsertWorkflowSearchAttributesEventAttributes" UpsertWorkflowSearchAttributesEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionUpdateAcceptedEventAttributes" (Prelude.Maybe WorkflowExecutionUpdateAcceptedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionUpdateAcceptedEventAttributes" WorkflowExecutionUpdateAcceptedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionUpdateRejectedEventAttributes" (Prelude.Maybe WorkflowExecutionUpdateRejectedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionUpdateRejectedEventAttributes" WorkflowExecutionUpdateRejectedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionUpdateCompletedEventAttributes" (Prelude.Maybe WorkflowExecutionUpdateCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionUpdateCompletedEventAttributes" WorkflowExecutionUpdateCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowPropertiesModifiedExternallyEventAttributes" (Prelude.Maybe WorkflowPropertiesModifiedExternallyEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowPropertiesModifiedExternallyEventAttributes" WorkflowPropertiesModifiedExternallyEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'activityPropertiesModifiedExternallyEventAttributes" (Prelude.Maybe ActivityPropertiesModifiedExternallyEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "activityPropertiesModifiedExternallyEventAttributes" ActivityPropertiesModifiedExternallyEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowPropertiesModifiedEventAttributes" (Prelude.Maybe WorkflowPropertiesModifiedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowPropertiesModifiedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowPropertiesModifiedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowPropertiesModifiedEventAttributes" WorkflowPropertiesModifiedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowPropertiesModifiedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowPropertiesModifiedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionUpdateAdmittedEventAttributes" (Prelude.Maybe WorkflowExecutionUpdateAdmittedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionUpdateAdmittedEventAttributes" WorkflowExecutionUpdateAdmittedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationScheduledEventAttributes" (Prelude.Maybe NexusOperationScheduledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationScheduledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationScheduledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationScheduledEventAttributes" NexusOperationScheduledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationScheduledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationScheduledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationStartedEventAttributes" (Prelude.Maybe NexusOperationStartedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationStartedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationStartedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationStartedEventAttributes" NexusOperationStartedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationStartedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationStartedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationCompletedEventAttributes" (Prelude.Maybe NexusOperationCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationCompletedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationCompletedEventAttributes" NexusOperationCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationCompletedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationFailedEventAttributes" (Prelude.Maybe NexusOperationFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationFailedEventAttributes" NexusOperationFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationCanceledEventAttributes" (Prelude.Maybe NexusOperationCanceledEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationCanceledEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationCanceledEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationCanceledEventAttributes" NexusOperationCanceledEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationCanceledEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationCanceledEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationTimedOutEventAttributes" (Prelude.Maybe NexusOperationTimedOutEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationTimedOutEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationTimedOutEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationTimedOutEventAttributes" NexusOperationTimedOutEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationTimedOutEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationTimedOutEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationCancelRequestedEventAttributes" (Prelude.Maybe NexusOperationCancelRequestedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationCancelRequestedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationCancelRequestedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationCancelRequestedEventAttributes" NexusOperationCancelRequestedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationCancelRequestedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationCancelRequestedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'workflowExecutionOptionsUpdatedEventAttributes" (Prelude.Maybe WorkflowExecutionOptionsUpdatedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "workflowExecutionOptionsUpdatedEventAttributes" WorkflowExecutionOptionsUpdatedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationCancelRequestCompletedEventAttributes" (Prelude.Maybe NexusOperationCancelRequestCompletedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes
+                   y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationCancelRequestCompletedEventAttributes" NexusOperationCancelRequestCompletedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes
+                      y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField HistoryEvent "maybe'nexusOperationCancelRequestFailedEventAttributes" (Prelude.Maybe NexusOperationCancelRequestFailedEventAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (HistoryEvent'NexusOperationCancelRequestFailedEventAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   HistoryEvent'NexusOperationCancelRequestFailedEventAttributes y__))
+instance Data.ProtoLens.Field.HasField HistoryEvent "nexusOperationCancelRequestFailedEventAttributes" NexusOperationCancelRequestFailedEventAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HistoryEvent'attributes
+           (\ x__ y__ -> x__ {_HistoryEvent'attributes = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (HistoryEvent'NexusOperationCancelRequestFailedEventAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      HistoryEvent'NexusOperationCancelRequestFailedEventAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message HistoryEvent where
+  messageName _
+    = Data.Text.pack "temporal.api.history.v1.HistoryEvent"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHistoryEvent\DC2\EM\n\
+      \\bevent_id\CAN\SOH \SOH(\ETXR\aeventId\DC29\n\
+      \\n\
+      \event_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\teventTime\DC2?\n\
+      \\n\
+      \event_type\CAN\ETX \SOH(\SO2 .temporal.api.enums.v1.EventTypeR\teventType\DC2\CAN\n\
+      \\aversion\CAN\EOT \SOH(\ETXR\aversion\DC2\ETB\n\
+      \\atask_id\CAN\ENQ \SOH(\ETXR\ACKtaskId\DC2+\n\
+      \\DC1worker_may_ignore\CAN\172\STX \SOH(\bR\SIworkerMayIgnore\DC2G\n\
+      \\ruser_metadata\CAN\173\STX \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC23\n\
+      \\ENQlinks\CAN\174\STX \ETX(\v2\FS.temporal.api.common.v1.LinkR\ENQlinks\DC2\160\SOH\n\
+      \+workflow_execution_started_event_attributes\CAN\ACK \SOH(\v2@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\NULR'workflowExecutionStartedEventAttributes\DC2\166\SOH\n\
+      \-workflow_execution_completed_event_attributes\CAN\a \SOH(\v2B.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\NULR)workflowExecutionCompletedEventAttributes\DC2\157\SOH\n\
+      \*workflow_execution_failed_event_attributes\CAN\b \SOH(\v2?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\NULR&workflowExecutionFailedEventAttributes\DC2\164\SOH\n\
+      \-workflow_execution_timed_out_event_attributes\CAN\t \SOH(\v2A.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\NULR(workflowExecutionTimedOutEventAttributes\DC2\151\SOH\n\
+      \(workflow_task_scheduled_event_attributes\CAN\n\
+      \ \SOH(\v2=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\NULR$workflowTaskScheduledEventAttributes\DC2\145\SOH\n\
+      \&workflow_task_started_event_attributes\CAN\v \SOH(\v2;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\NULR\"workflowTaskStartedEventAttributes\DC2\151\SOH\n\
+      \(workflow_task_completed_event_attributes\CAN\f \SOH(\v2=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\NULR$workflowTaskCompletedEventAttributes\DC2\149\SOH\n\
+      \(workflow_task_timed_out_event_attributes\CAN\r \SOH(\v2<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\NULR#workflowTaskTimedOutEventAttributes\DC2\142\SOH\n\
+      \%workflow_task_failed_event_attributes\CAN\SO \SOH(\v2:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\NULR!workflowTaskFailedEventAttributes\DC2\151\SOH\n\
+      \(activity_task_scheduled_event_attributes\CAN\SI \SOH(\v2=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\NULR$activityTaskScheduledEventAttributes\DC2\145\SOH\n\
+      \&activity_task_started_event_attributes\CAN\DLE \SOH(\v2;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\NULR\"activityTaskStartedEventAttributes\DC2\151\SOH\n\
+      \(activity_task_completed_event_attributes\CAN\DC1 \SOH(\v2=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\NULR$activityTaskCompletedEventAttributes\DC2\142\SOH\n\
+      \%activity_task_failed_event_attributes\CAN\DC2 \SOH(\v2:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\NULR!activityTaskFailedEventAttributes\DC2\149\SOH\n\
+      \(activity_task_timed_out_event_attributes\CAN\DC3 \SOH(\v2<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\NULR#activityTaskTimedOutEventAttributes\DC2{\n\
+      \\RStimer_started_event_attributes\CAN\DC4 \SOH(\v24.temporal.api.history.v1.TimerStartedEventAttributesH\NULR\ESCtimerStartedEventAttributes\DC2u\n\
+      \\FStimer_fired_event_attributes\CAN\NAK \SOH(\v22.temporal.api.history.v1.TimerFiredEventAttributesH\NULR\EMtimerFiredEventAttributes\DC2\170\SOH\n\
+      \/activity_task_cancel_requested_event_attributes\CAN\SYN \SOH(\v2C.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\NULR*activityTaskCancelRequestedEventAttributes\DC2\148\SOH\n\
+      \'activity_task_canceled_event_attributes\CAN\ETB \SOH(\v2<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\NULR#activityTaskCanceledEventAttributes\DC2~\n\
+      \\UStimer_canceled_event_attributes\CAN\CAN \SOH(\v25.temporal.api.history.v1.TimerCanceledEventAttributesH\NULR\FStimerCanceledEventAttributes\DC2\129\SOH\n\
+      \ marker_recorded_event_attributes\CAN\EM \SOH(\v26.temporal.api.history.v1.MarkerRecordedEventAttributesH\NULR\GSmarkerRecordedEventAttributes\DC2\163\SOH\n\
+      \,workflow_execution_signaled_event_attributes\CAN\SUB \SOH(\v2A.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\NULR(workflowExecutionSignaledEventAttributes\DC2\169\SOH\n\
+      \.workflow_execution_terminated_event_attributes\CAN\ESC \SOH(\v2C.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\NULR*workflowExecutionTerminatedEventAttributes\DC2\185\SOH\n\
+      \4workflow_execution_cancel_requested_event_attributes\CAN\FS \SOH(\v2H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\NULR/workflowExecutionCancelRequestedEventAttributes\DC2\163\SOH\n\
+      \,workflow_execution_canceled_event_attributes\CAN\GS \SOH(\v2A.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\NULR(workflowExecutionCanceledEventAttributes\DC2\232\SOH\n\
+      \Erequest_cancel_external_workflow_execution_initiated_event_attributes\CAN\RS \SOH(\v2W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\NULR>requestCancelExternalWorkflowExecutionInitiatedEventAttributes\DC2\223\SOH\n\
+      \Brequest_cancel_external_workflow_execution_failed_event_attributes\CAN\US \SOH(\v2T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\NULR;requestCancelExternalWorkflowExecutionFailedEventAttributes\DC2\210\SOH\n\
+      \=external_workflow_execution_cancel_requested_event_attributes\CAN  \SOH(\v2P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\NULR7externalWorkflowExecutionCancelRequestedEventAttributes\DC2\183\SOH\n\
+      \4workflow_execution_continued_as_new_event_attributes\CAN! \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\NULR.workflowExecutionContinuedAsNewEventAttributes\DC2\198\SOH\n\
+      \9start_child_workflow_execution_initiated_event_attributes\CAN\" \SOH(\v2L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\NULR3startChildWorkflowExecutionInitiatedEventAttributes\DC2\189\SOH\n\
+      \6start_child_workflow_execution_failed_event_attributes\CAN# \SOH(\v2I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\NULR0startChildWorkflowExecutionFailedEventAttributes\DC2\176\SOH\n\
+      \1child_workflow_execution_started_event_attributes\CAN$ \SOH(\v2E.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\NULR,childWorkflowExecutionStartedEventAttributes\DC2\182\SOH\n\
+      \3child_workflow_execution_completed_event_attributes\CAN% \SOH(\v2G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\NULR.childWorkflowExecutionCompletedEventAttributes\DC2\173\SOH\n\
+      \0child_workflow_execution_failed_event_attributes\CAN& \SOH(\v2D.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\NULR+childWorkflowExecutionFailedEventAttributes\DC2\179\SOH\n\
+      \2child_workflow_execution_canceled_event_attributes\CAN' \SOH(\v2F.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\NULR-childWorkflowExecutionCanceledEventAttributes\DC2\180\SOH\n\
+      \3child_workflow_execution_timed_out_event_attributes\CAN( \SOH(\v2F.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\NULR-childWorkflowExecutionTimedOutEventAttributes\DC2\185\SOH\n\
+      \4child_workflow_execution_terminated_event_attributes\CAN) \SOH(\v2H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\NULR/childWorkflowExecutionTerminatedEventAttributes\DC2\210\SOH\n\
+      \=signal_external_workflow_execution_initiated_event_attributes\CAN* \SOH(\v2P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\NULR7signalExternalWorkflowExecutionInitiatedEventAttributes\DC2\201\SOH\n\
+      \:signal_external_workflow_execution_failed_event_attributes\CAN+ \SOH(\v2M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\NULR4signalExternalWorkflowExecutionFailedEventAttributes\DC2\188\SOH\n\
+      \5external_workflow_execution_signaled_event_attributes\CAN, \SOH(\v2I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\NULR0externalWorkflowExecutionSignaledEventAttributes\DC2\179\SOH\n\
+      \2upsert_workflow_search_attributes_event_attributes\CAN- \SOH(\v2F.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\NULR-upsertWorkflowSearchAttributesEventAttributes\DC2\182\SOH\n\
+      \3workflow_execution_update_accepted_event_attributes\CAN. \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\NULR.workflowExecutionUpdateAcceptedEventAttributes\DC2\182\SOH\n\
+      \3workflow_execution_update_rejected_event_attributes\CAN/ \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\NULR.workflowExecutionUpdateRejectedEventAttributes\DC2\185\SOH\n\
+      \4workflow_execution_update_completed_event_attributes\CAN0 \SOH(\v2H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\NULR/workflowExecutionUpdateCompletedEventAttributes\DC2\197\SOH\n\
+      \8workflow_properties_modified_externally_event_attributes\CAN1 \SOH(\v2L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\NULR3workflowPropertiesModifiedExternallyEventAttributes\DC2\197\SOH\n\
+      \8activity_properties_modified_externally_event_attributes\CAN2 \SOH(\v2L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\NULR3activityPropertiesModifiedExternallyEventAttributes\DC2\166\SOH\n\
+      \-workflow_properties_modified_event_attributes\CAN3 \SOH(\v2B.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\NULR)workflowPropertiesModifiedEventAttributes\DC2\182\SOH\n\
+      \3workflow_execution_update_admitted_event_attributes\CAN4 \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\NULR.workflowExecutionUpdateAdmittedEventAttributes\DC2\157\SOH\n\
+      \*nexus_operation_scheduled_event_attributes\CAN5 \SOH(\v2?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\NULR&nexusOperationScheduledEventAttributes\DC2\151\SOH\n\
+      \(nexus_operation_started_event_attributes\CAN6 \SOH(\v2=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\NULR$nexusOperationStartedEventAttributes\DC2\157\SOH\n\
+      \*nexus_operation_completed_event_attributes\CAN7 \SOH(\v2?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\NULR&nexusOperationCompletedEventAttributes\DC2\148\SOH\n\
+      \'nexus_operation_failed_event_attributes\CAN8 \SOH(\v2<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\NULR#nexusOperationFailedEventAttributes\DC2\154\SOH\n\
+      \)nexus_operation_canceled_event_attributes\CAN9 \SOH(\v2>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\NULR%nexusOperationCanceledEventAttributes\DC2\155\SOH\n\
+      \*nexus_operation_timed_out_event_attributes\CAN: \SOH(\v2>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\NULR%nexusOperationTimedOutEventAttributes\DC2\176\SOH\n\
+      \1nexus_operation_cancel_requested_event_attributes\CAN; \SOH(\v2E.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\NULR,nexusOperationCancelRequestedEventAttributes\DC2\182\SOH\n\
+      \3workflow_execution_options_updated_event_attributes\CAN< \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\NULR.workflowExecutionOptionsUpdatedEventAttributes\DC2\198\SOH\n\
+      \9nexus_operation_cancel_request_completed_event_attributes\CAN= \SOH(\v2L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\NULR3nexusOperationCancelRequestCompletedEventAttributes\DC2\189\SOH\n\
+      \6nexus_operation_cancel_request_failed_event_attributes\CAN> \SOH(\v2I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\NULR0nexusOperationCancelRequestFailedEventAttributesB\f\n\
+      \\n\
+      \attributes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        eventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"eventId")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        eventTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'eventTime")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        eventType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.EventType.EventType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"eventType")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        taskId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"taskId")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workerMayIgnore__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_may_ignore"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workerMayIgnore")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        userMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "user_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'userMetadata")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        links__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "links"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Link)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"links")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionStartedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_started_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionStartedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionStartedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionTimedOutEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timed_out_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionTimedOutEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionTimedOutEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowTaskScheduledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_scheduled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowTaskScheduledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowTaskScheduledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowTaskStartedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_started_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowTaskStartedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowTaskStartedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowTaskCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowTaskCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowTaskCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowTaskTimedOutEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timed_out_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowTaskTimedOutEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowTaskTimedOutEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowTaskFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowTaskFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowTaskFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskScheduledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_scheduled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskScheduledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskScheduledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskStartedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_started_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskStartedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskStartedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskTimedOutEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_timed_out_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskTimedOutEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskTimedOutEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        timerStartedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_started_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TimerStartedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'timerStartedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        timerFiredEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_fired_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TimerFiredEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'timerFiredEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskCancelRequestedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_cancel_requested_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskCancelRequestedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskCancelRequestedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityTaskCanceledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_task_canceled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityTaskCanceledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityTaskCanceledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        timerCanceledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_canceled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TimerCanceledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'timerCanceledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        markerRecordedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "marker_recorded_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor MarkerRecordedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'markerRecordedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionSignaledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_signaled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionSignaledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionSignaledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionTerminatedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_terminated_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionTerminatedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionTerminatedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionCancelRequestedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_cancel_requested_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionCancelRequestedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionCancelRequestedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionCanceledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_canceled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionCanceledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionCanceledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        requestCancelExternalWorkflowExecutionInitiatedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_external_workflow_execution_initiated_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        requestCancelExternalWorkflowExecutionFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_external_workflow_execution_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        externalWorkflowExecutionCancelRequestedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "external_workflow_execution_cancel_requested_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ExternalWorkflowExecutionCancelRequestedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'externalWorkflowExecutionCancelRequestedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionContinuedAsNewEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_continued_as_new_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionContinuedAsNewEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionContinuedAsNewEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        startChildWorkflowExecutionInitiatedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_child_workflow_execution_initiated_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecutionInitiatedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'startChildWorkflowExecutionInitiatedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        startChildWorkflowExecutionFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_child_workflow_execution_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecutionFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'startChildWorkflowExecutionFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        childWorkflowExecutionStartedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_started_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionStartedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionStartedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        childWorkflowExecutionCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        childWorkflowExecutionFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        childWorkflowExecutionCanceledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_canceled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionCanceledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionCanceledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        childWorkflowExecutionTimedOutEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_timed_out_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionTimedOutEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionTimedOutEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        childWorkflowExecutionTerminatedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_execution_terminated_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ChildWorkflowExecutionTerminatedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'childWorkflowExecutionTerminatedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        signalExternalWorkflowExecutionInitiatedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_external_workflow_execution_initiated_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'signalExternalWorkflowExecutionInitiatedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        signalExternalWorkflowExecutionFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_external_workflow_execution_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalExternalWorkflowExecutionFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'signalExternalWorkflowExecutionFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        externalWorkflowExecutionSignaledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "external_workflow_execution_signaled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ExternalWorkflowExecutionSignaledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'externalWorkflowExecutionSignaledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        upsertWorkflowSearchAttributesEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upsert_workflow_search_attributes_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpsertWorkflowSearchAttributesEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'upsertWorkflowSearchAttributesEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionUpdateAcceptedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_update_accepted_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionUpdateAcceptedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionUpdateAcceptedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionUpdateRejectedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_update_rejected_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionUpdateRejectedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionUpdateRejectedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionUpdateCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_update_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionUpdateCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionUpdateCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowPropertiesModifiedExternallyEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_properties_modified_externally_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowPropertiesModifiedExternallyEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowPropertiesModifiedExternallyEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        activityPropertiesModifiedExternallyEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_properties_modified_externally_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityPropertiesModifiedExternallyEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'activityPropertiesModifiedExternallyEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowPropertiesModifiedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_properties_modified_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowPropertiesModifiedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowPropertiesModifiedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionUpdateAdmittedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_update_admitted_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionUpdateAdmittedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionUpdateAdmittedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationScheduledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_scheduled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationScheduledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationScheduledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationStartedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_started_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationStartedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationStartedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationCanceledEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_canceled_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationCanceledEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationCanceledEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationTimedOutEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_timed_out_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationTimedOutEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationTimedOutEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationCancelRequestedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_cancel_requested_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationCancelRequestedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationCancelRequestedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        workflowExecutionOptionsUpdatedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_options_updated_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionOptionsUpdatedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionOptionsUpdatedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationCancelRequestCompletedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_cancel_request_completed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationCancelRequestCompletedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationCancelRequestCompletedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+        nexusOperationCancelRequestFailedEventAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_operation_cancel_request_failed_event_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationCancelRequestFailedEventAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'nexusOperationCancelRequestFailedEventAttributes")) ::
+              Data.ProtoLens.FieldDescriptor HistoryEvent
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, eventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, eventTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, eventType__field_descriptor),
+           (Data.ProtoLens.Tag 4, version__field_descriptor),
+           (Data.ProtoLens.Tag 5, taskId__field_descriptor),
+           (Data.ProtoLens.Tag 300, workerMayIgnore__field_descriptor),
+           (Data.ProtoLens.Tag 301, userMetadata__field_descriptor),
+           (Data.ProtoLens.Tag 302, links__field_descriptor),
+           (Data.ProtoLens.Tag 6, 
+            workflowExecutionStartedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 7, 
+            workflowExecutionCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 8, 
+            workflowExecutionFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 9, 
+            workflowExecutionTimedOutEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 10, 
+            workflowTaskScheduledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            workflowTaskStartedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 12, 
+            workflowTaskCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 13, 
+            workflowTaskTimedOutEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 14, 
+            workflowTaskFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 15, 
+            activityTaskScheduledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 16, 
+            activityTaskStartedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 17, 
+            activityTaskCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 18, 
+            activityTaskFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 19, 
+            activityTaskTimedOutEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 20, 
+            timerStartedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 21, 
+            timerFiredEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 22, 
+            activityTaskCancelRequestedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 23, 
+            activityTaskCanceledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 24, 
+            timerCanceledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 25, 
+            markerRecordedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 26, 
+            workflowExecutionSignaledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 27, 
+            workflowExecutionTerminatedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 28, 
+            workflowExecutionCancelRequestedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 29, 
+            workflowExecutionCanceledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 30, 
+            requestCancelExternalWorkflowExecutionInitiatedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 31, 
+            requestCancelExternalWorkflowExecutionFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 32, 
+            externalWorkflowExecutionCancelRequestedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 33, 
+            workflowExecutionContinuedAsNewEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 34, 
+            startChildWorkflowExecutionInitiatedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 35, 
+            startChildWorkflowExecutionFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 36, 
+            childWorkflowExecutionStartedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 37, 
+            childWorkflowExecutionCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 38, 
+            childWorkflowExecutionFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 39, 
+            childWorkflowExecutionCanceledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 40, 
+            childWorkflowExecutionTimedOutEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 41, 
+            childWorkflowExecutionTerminatedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 42, 
+            signalExternalWorkflowExecutionInitiatedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 43, 
+            signalExternalWorkflowExecutionFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 44, 
+            externalWorkflowExecutionSignaledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 45, 
+            upsertWorkflowSearchAttributesEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 46, 
+            workflowExecutionUpdateAcceptedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 47, 
+            workflowExecutionUpdateRejectedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 48, 
+            workflowExecutionUpdateCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 49, 
+            workflowPropertiesModifiedExternallyEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 50, 
+            activityPropertiesModifiedExternallyEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 51, 
+            workflowPropertiesModifiedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 52, 
+            workflowExecutionUpdateAdmittedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 53, 
+            nexusOperationScheduledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 54, 
+            nexusOperationStartedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 55, 
+            nexusOperationCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 56, 
+            nexusOperationFailedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 57, 
+            nexusOperationCanceledEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 58, 
+            nexusOperationTimedOutEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 59, 
+            nexusOperationCancelRequestedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 60, 
+            workflowExecutionOptionsUpdatedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 61, 
+            nexusOperationCancelRequestCompletedEventAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 62, 
+            nexusOperationCancelRequestFailedEventAttributes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _HistoryEvent'_unknownFields
+        (\ x__ y__ -> x__ {_HistoryEvent'_unknownFields = y__})
+  defMessage
+    = HistoryEvent'_constructor
+        {_HistoryEvent'eventId = Data.ProtoLens.fieldDefault,
+         _HistoryEvent'eventTime = Prelude.Nothing,
+         _HistoryEvent'eventType = Data.ProtoLens.fieldDefault,
+         _HistoryEvent'version = Data.ProtoLens.fieldDefault,
+         _HistoryEvent'taskId = Data.ProtoLens.fieldDefault,
+         _HistoryEvent'workerMayIgnore = Data.ProtoLens.fieldDefault,
+         _HistoryEvent'userMetadata = Prelude.Nothing,
+         _HistoryEvent'links = Data.Vector.Generic.empty,
+         _HistoryEvent'attributes = Prelude.Nothing,
+         _HistoryEvent'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          HistoryEvent
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Link
+             -> Data.ProtoLens.Encoding.Bytes.Parser HistoryEvent
+        loop x mutable'links
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'links)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'links") frozen'links x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "event_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"eventId") y x)
+                                  mutable'links
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "event_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"eventTime") y x)
+                                  mutable'links
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "event_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"eventType") y x)
+                                  mutable'links
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "version"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                                  mutable'links
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "task_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskId") y x)
+                                  mutable'links
+                        2400
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "worker_may_ignore"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerMayIgnore") y x)
+                                  mutable'links
+                        2410
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "user_metadata"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"userMetadata") y x)
+                                  mutable'links
+                        2418
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "links"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'links y)
+                                loop x v
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_started_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionStartedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timed_out_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionTimedOutEventAttributes")
+                                     y x)
+                                  mutable'links
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_scheduled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowTaskScheduledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_started_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowTaskStartedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowTaskCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timed_out_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowTaskTimedOutEventAttributes")
+                                     y x)
+                                  mutable'links
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowTaskFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_scheduled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskScheduledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_started_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskStartedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        154
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_timed_out_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskTimedOutEventAttributes")
+                                     y x)
+                                  mutable'links
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timer_started_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"timerStartedEventAttributes") y
+                                     x)
+                                  mutable'links
+                        170
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timer_fired_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"timerFiredEventAttributes") y x)
+                                  mutable'links
+                        178
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_cancel_requested_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskCancelRequestedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        186
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_task_canceled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityTaskCanceledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        194
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timer_canceled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"timerCanceledEventAttributes") y
+                                     x)
+                                  mutable'links
+                        202
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "marker_recorded_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"markerRecordedEventAttributes") y
+                                     x)
+                                  mutable'links
+                        210
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_signaled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionSignaledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        218
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_terminated_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionTerminatedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        226
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_cancel_requested_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionCancelRequestedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        234
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_canceled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionCanceledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        242
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_external_workflow_execution_initiated_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"requestCancelExternalWorkflowExecutionInitiatedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        250
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_external_workflow_execution_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"requestCancelExternalWorkflowExecutionFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        258
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "external_workflow_execution_cancel_requested_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"externalWorkflowExecutionCancelRequestedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        266
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_continued_as_new_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionContinuedAsNewEventAttributes")
+                                     y x)
+                                  mutable'links
+                        274
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_child_workflow_execution_initiated_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"startChildWorkflowExecutionInitiatedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        282
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_child_workflow_execution_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"startChildWorkflowExecutionFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        290
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_started_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionStartedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        298
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        306
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        314
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_canceled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionCanceledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        322
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_timed_out_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionTimedOutEventAttributes")
+                                     y x)
+                                  mutable'links
+                        330
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "child_workflow_execution_terminated_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"childWorkflowExecutionTerminatedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        338
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "signal_external_workflow_execution_initiated_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"signalExternalWorkflowExecutionInitiatedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        346
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "signal_external_workflow_execution_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"signalExternalWorkflowExecutionFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        354
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "external_workflow_execution_signaled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"externalWorkflowExecutionSignaledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        362
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upsert_workflow_search_attributes_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"upsertWorkflowSearchAttributesEventAttributes")
+                                     y x)
+                                  mutable'links
+                        370
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_update_accepted_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionUpdateAcceptedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        378
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_update_rejected_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionUpdateRejectedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        386
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_update_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionUpdateCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        394
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_properties_modified_externally_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowPropertiesModifiedExternallyEventAttributes")
+                                     y x)
+                                  mutable'links
+                        402
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_properties_modified_externally_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"activityPropertiesModifiedExternallyEventAttributes")
+                                     y x)
+                                  mutable'links
+                        410
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_properties_modified_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowPropertiesModifiedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        418
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_update_admitted_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionUpdateAdmittedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        426
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_scheduled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationScheduledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        434
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_started_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationStartedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        442
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        450
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        458
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_canceled_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationCanceledEventAttributes")
+                                     y x)
+                                  mutable'links
+                        466
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_timed_out_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationTimedOutEventAttributes")
+                                     y x)
+                                  mutable'links
+                        474
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_cancel_requested_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationCancelRequestedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        482
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_options_updated_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"workflowExecutionOptionsUpdatedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        490
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_cancel_request_completed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationCancelRequestCompletedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        498
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "nexus_operation_cancel_request_failed_event_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"nexusOperationCancelRequestFailedEventAttributes")
+                                     y x)
+                                  mutable'links
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'links
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'links)
+          "HistoryEvent"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"eventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'eventTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"eventType") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"workerMayIgnore") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 2400)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (\ b -> if b then 1 else 0) _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'userMetadata") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 2410)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 2418)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage _v))
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"vec'links") _x))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'attributes") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionStartedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionTimedOutEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowTaskScheduledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowTaskStartedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowTaskCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowTaskTimedOutEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 106)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowTaskFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 114)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskScheduledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 122)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskStartedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 130)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 138)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 146)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskTimedOutEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 154)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'TimerStartedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 162)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'TimerFiredEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 170)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskCancelRequestedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 178)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityTaskCanceledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 186)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'TimerCanceledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 194)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'MarkerRecordedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 202)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionSignaledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 210)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionTerminatedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 218)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 226)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionCanceledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 234)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 242)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 250)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 258)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 266)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 274)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 282)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ChildWorkflowExecutionStartedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 290)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 298)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ChildWorkflowExecutionFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 306)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 314)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 322)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 330)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 338)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 346)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 354)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 362)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 370)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 378)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 386)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 394)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 402)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowPropertiesModifiedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 410)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 418)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationScheduledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 426)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationStartedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 434)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 442)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 450)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationCanceledEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 458)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationTimedOutEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 466)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationCancelRequestedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 474)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 482)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 490)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v)
+                                        (Prelude.Just (HistoryEvent'NexusOperationCancelRequestFailedEventAttributes v))
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 498)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage v))
+                                     (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                        (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))))
+instance Control.DeepSeq.NFData HistoryEvent where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_HistoryEvent'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_HistoryEvent'eventId x__)
+                (Control.DeepSeq.deepseq
+                   (_HistoryEvent'eventTime x__)
+                   (Control.DeepSeq.deepseq
+                      (_HistoryEvent'eventType x__)
+                      (Control.DeepSeq.deepseq
+                         (_HistoryEvent'version x__)
+                         (Control.DeepSeq.deepseq
+                            (_HistoryEvent'taskId x__)
+                            (Control.DeepSeq.deepseq
+                               (_HistoryEvent'workerMayIgnore x__)
+                               (Control.DeepSeq.deepseq
+                                  (_HistoryEvent'userMetadata x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_HistoryEvent'links x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_HistoryEvent'attributes x__) ())))))))))
+instance Control.DeepSeq.NFData HistoryEvent'Attributes where
+  rnf (HistoryEvent'WorkflowExecutionStartedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowExecutionCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowExecutionFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowExecutionTimedOutEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowTaskScheduledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowTaskStartedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowTaskCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowTaskTimedOutEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowTaskFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskScheduledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskStartedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskTimedOutEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'TimerStartedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'TimerFiredEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskCancelRequestedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ActivityTaskCanceledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'TimerCanceledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'MarkerRecordedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowExecutionSignaledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowExecutionTerminatedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowExecutionCanceledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ChildWorkflowExecutionStartedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'ChildWorkflowExecutionFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'WorkflowPropertiesModifiedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationScheduledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationStartedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationCanceledEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationTimedOutEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (HistoryEvent'NexusOperationCancelRequestedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (HistoryEvent'NexusOperationCancelRequestFailedEventAttributes x__)
+    = Control.DeepSeq.rnf x__
+_HistoryEvent'WorkflowExecutionStartedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionStartedEventAttributes
+_HistoryEvent'WorkflowExecutionStartedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionStartedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionStartedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionCompletedEventAttributes
+_HistoryEvent'WorkflowExecutionCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionFailedEventAttributes
+_HistoryEvent'WorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionTimedOutEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionTimedOutEventAttributes
+_HistoryEvent'WorkflowExecutionTimedOutEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionTimedOutEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionTimedOutEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowTaskScheduledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowTaskScheduledEventAttributes
+_HistoryEvent'WorkflowTaskScheduledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowTaskScheduledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowTaskScheduledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowTaskStartedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowTaskStartedEventAttributes
+_HistoryEvent'WorkflowTaskStartedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowTaskStartedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowTaskStartedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowTaskCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowTaskCompletedEventAttributes
+_HistoryEvent'WorkflowTaskCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowTaskCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowTaskCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowTaskTimedOutEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowTaskTimedOutEventAttributes
+_HistoryEvent'WorkflowTaskTimedOutEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowTaskTimedOutEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowTaskTimedOutEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowTaskFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowTaskFailedEventAttributes
+_HistoryEvent'WorkflowTaskFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowTaskFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowTaskFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskScheduledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskScheduledEventAttributes
+_HistoryEvent'ActivityTaskScheduledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskScheduledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskScheduledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskStartedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskStartedEventAttributes
+_HistoryEvent'ActivityTaskStartedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskStartedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskStartedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskCompletedEventAttributes
+_HistoryEvent'ActivityTaskCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskFailedEventAttributes
+_HistoryEvent'ActivityTaskFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskTimedOutEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskTimedOutEventAttributes
+_HistoryEvent'ActivityTaskTimedOutEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskTimedOutEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskTimedOutEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'TimerStartedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes TimerStartedEventAttributes
+_HistoryEvent'TimerStartedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'TimerStartedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'TimerStartedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'TimerFiredEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes TimerFiredEventAttributes
+_HistoryEvent'TimerFiredEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'TimerFiredEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'TimerFiredEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskCancelRequestedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskCancelRequestedEventAttributes
+_HistoryEvent'ActivityTaskCancelRequestedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskCancelRequestedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskCancelRequestedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityTaskCanceledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityTaskCanceledEventAttributes
+_HistoryEvent'ActivityTaskCanceledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityTaskCanceledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityTaskCanceledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'TimerCanceledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes TimerCanceledEventAttributes
+_HistoryEvent'TimerCanceledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'TimerCanceledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'TimerCanceledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'MarkerRecordedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes MarkerRecordedEventAttributes
+_HistoryEvent'MarkerRecordedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'MarkerRecordedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'MarkerRecordedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionSignaledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionSignaledEventAttributes
+_HistoryEvent'WorkflowExecutionSignaledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionSignaledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionSignaledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionTerminatedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionTerminatedEventAttributes
+_HistoryEvent'WorkflowExecutionTerminatedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionTerminatedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionTerminatedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionCancelRequestedEventAttributes
+_HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionCancelRequestedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionCanceledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionCanceledEventAttributes
+_HistoryEvent'WorkflowExecutionCanceledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionCanceledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionCanceledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+_HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes RequestCancelExternalWorkflowExecutionFailedEventAttributes
+_HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'RequestCancelExternalWorkflowExecutionFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ExternalWorkflowExecutionCancelRequestedEventAttributes
+_HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ExternalWorkflowExecutionCancelRequestedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionContinuedAsNewEventAttributes
+_HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionContinuedAsNewEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes StartChildWorkflowExecutionInitiatedEventAttributes
+_HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'StartChildWorkflowExecutionInitiatedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes StartChildWorkflowExecutionFailedEventAttributes
+_HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'StartChildWorkflowExecutionFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ChildWorkflowExecutionStartedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ChildWorkflowExecutionStartedEventAttributes
+_HistoryEvent'ChildWorkflowExecutionStartedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ChildWorkflowExecutionStartedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ChildWorkflowExecutionStartedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ChildWorkflowExecutionCompletedEventAttributes
+_HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ChildWorkflowExecutionCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ChildWorkflowExecutionFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ChildWorkflowExecutionFailedEventAttributes
+_HistoryEvent'ChildWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ChildWorkflowExecutionFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ChildWorkflowExecutionFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ChildWorkflowExecutionCanceledEventAttributes
+_HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ChildWorkflowExecutionCanceledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ChildWorkflowExecutionTimedOutEventAttributes
+_HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ChildWorkflowExecutionTimedOutEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ChildWorkflowExecutionTerminatedEventAttributes
+_HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ChildWorkflowExecutionTerminatedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes SignalExternalWorkflowExecutionInitiatedEventAttributes
+_HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'SignalExternalWorkflowExecutionInitiatedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes SignalExternalWorkflowExecutionFailedEventAttributes
+_HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'SignalExternalWorkflowExecutionFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ExternalWorkflowExecutionSignaledEventAttributes
+_HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ExternalWorkflowExecutionSignaledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes UpsertWorkflowSearchAttributesEventAttributes
+_HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'UpsertWorkflowSearchAttributesEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionUpdateAcceptedEventAttributes
+_HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionUpdateAcceptedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionUpdateRejectedEventAttributes
+_HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionUpdateRejectedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionUpdateCompletedEventAttributes
+_HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionUpdateCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowPropertiesModifiedExternallyEventAttributes
+_HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowPropertiesModifiedExternallyEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes ActivityPropertiesModifiedExternallyEventAttributes
+_HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'ActivityPropertiesModifiedExternallyEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowPropertiesModifiedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowPropertiesModifiedEventAttributes
+_HistoryEvent'WorkflowPropertiesModifiedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowPropertiesModifiedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowPropertiesModifiedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionUpdateAdmittedEventAttributes
+_HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionUpdateAdmittedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationScheduledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationScheduledEventAttributes
+_HistoryEvent'NexusOperationScheduledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationScheduledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationScheduledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationStartedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationStartedEventAttributes
+_HistoryEvent'NexusOperationStartedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationStartedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationStartedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationCompletedEventAttributes
+_HistoryEvent'NexusOperationCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationFailedEventAttributes
+_HistoryEvent'NexusOperationFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationCanceledEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationCanceledEventAttributes
+_HistoryEvent'NexusOperationCanceledEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationCanceledEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationCanceledEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationTimedOutEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationTimedOutEventAttributes
+_HistoryEvent'NexusOperationTimedOutEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationTimedOutEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationTimedOutEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationCancelRequestedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationCancelRequestedEventAttributes
+_HistoryEvent'NexusOperationCancelRequestedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationCancelRequestedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationCancelRequestedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes WorkflowExecutionOptionsUpdatedEventAttributes
+_HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'WorkflowExecutionOptionsUpdatedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationCancelRequestCompletedEventAttributes
+_HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationCancelRequestCompletedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_HistoryEvent'NexusOperationCancelRequestFailedEventAttributes ::
+  Data.ProtoLens.Prism.Prism' HistoryEvent'Attributes NexusOperationCancelRequestFailedEventAttributes
+_HistoryEvent'NexusOperationCancelRequestFailedEventAttributes
+  = Data.ProtoLens.Prism.prism'
+      HistoryEvent'NexusOperationCancelRequestFailedEventAttributes
+      (\ p__
+         -> case p__ of
+              (HistoryEvent'NexusOperationCancelRequestFailedEventAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.markerName' @:: Lens' MarkerRecordedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.details' @:: Lens' MarkerRecordedEventAttributes (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' MarkerRecordedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' MarkerRecordedEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' MarkerRecordedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' MarkerRecordedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' MarkerRecordedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data MarkerRecordedEventAttributes
+  = MarkerRecordedEventAttributes'_constructor {_MarkerRecordedEventAttributes'markerName :: !Data.Text.Text,
+                                                _MarkerRecordedEventAttributes'details :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                _MarkerRecordedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                _MarkerRecordedEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                _MarkerRecordedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                _MarkerRecordedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show MarkerRecordedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "markerName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'markerName
+           (\ x__ y__
+              -> x__ {_MarkerRecordedEventAttributes'markerName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "details" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'details
+           (\ x__ y__ -> x__ {_MarkerRecordedEventAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_MarkerRecordedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'header
+           (\ x__ y__ -> x__ {_MarkerRecordedEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'header
+           (\ x__ y__ -> x__ {_MarkerRecordedEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'failure
+           (\ x__ y__ -> x__ {_MarkerRecordedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'failure
+           (\ x__ y__ -> x__ {_MarkerRecordedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message MarkerRecordedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.MarkerRecordedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSMarkerRecordedEventAttributes\DC2\US\n\
+      \\vmarker_name\CAN\SOH \SOH(\tR\n\
+      \markerName\DC2]\n\
+      \\adetails\CAN\STX \ETX(\v2C.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntryR\adetails\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC26\n\
+      \\ACKheader\CAN\EOT \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2:\n\
+      \\afailure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\SUB\\\n\
+      \\fDetailsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC26\n\
+      \\ENQvalue\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        markerName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "marker_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"markerName")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor MarkerRecordedEventAttributes'DetailsEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"details")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, markerName__field_descriptor),
+           (Data.ProtoLens.Tag 2, details__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, header__field_descriptor),
+           (Data.ProtoLens.Tag 5, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _MarkerRecordedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_MarkerRecordedEventAttributes'_unknownFields = y__})
+  defMessage
+    = MarkerRecordedEventAttributes'_constructor
+        {_MarkerRecordedEventAttributes'markerName = Data.ProtoLens.fieldDefault,
+         _MarkerRecordedEventAttributes'details = Data.Map.empty,
+         _MarkerRecordedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _MarkerRecordedEventAttributes'header = Prelude.Nothing,
+         _MarkerRecordedEventAttributes'failure = Prelude.Nothing,
+         _MarkerRecordedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          MarkerRecordedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser MarkerRecordedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "marker_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"markerName") y x)
+                        18
+                          -> do !(entry :: MarkerRecordedEventAttributes'DetailsEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                            (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                  (Prelude.fromIntegral
+                                                                                                     len)
+                                                                                                  Data.ProtoLens.parseMessage)
+                                                                                            "details"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"details")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MarkerRecordedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"markerName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.Monoid.mconcat
+                   (Prelude.map
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                       (Data.ProtoLens.defMessage ::
+                                          MarkerRecordedEventAttributes'DetailsEntry)))))
+                      (Data.Map.toList
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"details") _x))))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData MarkerRecordedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_MarkerRecordedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_MarkerRecordedEventAttributes'markerName x__)
+                (Control.DeepSeq.deepseq
+                   (_MarkerRecordedEventAttributes'details x__)
+                   (Control.DeepSeq.deepseq
+                      (_MarkerRecordedEventAttributes'workflowTaskCompletedEventId x__)
+                      (Control.DeepSeq.deepseq
+                         (_MarkerRecordedEventAttributes'header x__)
+                         (Control.DeepSeq.deepseq
+                            (_MarkerRecordedEventAttributes'failure x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.key' @:: Lens' MarkerRecordedEventAttributes'DetailsEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.value' @:: Lens' MarkerRecordedEventAttributes'DetailsEntry Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'value' @:: Lens' MarkerRecordedEventAttributes'DetailsEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data MarkerRecordedEventAttributes'DetailsEntry
+  = MarkerRecordedEventAttributes'DetailsEntry'_constructor {_MarkerRecordedEventAttributes'DetailsEntry'key :: !Data.Text.Text,
+                                                             _MarkerRecordedEventAttributes'DetailsEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                             _MarkerRecordedEventAttributes'DetailsEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show MarkerRecordedEventAttributes'DetailsEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes'DetailsEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'DetailsEntry'key
+           (\ x__ y__
+              -> x__ {_MarkerRecordedEventAttributes'DetailsEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes'DetailsEntry "value" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'DetailsEntry'value
+           (\ x__ y__
+              -> x__ {_MarkerRecordedEventAttributes'DetailsEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField MarkerRecordedEventAttributes'DetailsEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _MarkerRecordedEventAttributes'DetailsEntry'value
+           (\ x__ y__
+              -> x__ {_MarkerRecordedEventAttributes'DetailsEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message MarkerRecordedEventAttributes'DetailsEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fDetailsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC26\n\
+      \\ENQvalue\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes'DetailsEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor MarkerRecordedEventAttributes'DetailsEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _MarkerRecordedEventAttributes'DetailsEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_MarkerRecordedEventAttributes'DetailsEntry'_unknownFields = y__})
+  defMessage
+    = MarkerRecordedEventAttributes'DetailsEntry'_constructor
+        {_MarkerRecordedEventAttributes'DetailsEntry'key = Data.ProtoLens.fieldDefault,
+         _MarkerRecordedEventAttributes'DetailsEntry'value = Prelude.Nothing,
+         _MarkerRecordedEventAttributes'DetailsEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          MarkerRecordedEventAttributes'DetailsEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser MarkerRecordedEventAttributes'DetailsEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DetailsEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData MarkerRecordedEventAttributes'DetailsEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_MarkerRecordedEventAttributes'DetailsEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_MarkerRecordedEventAttributes'DetailsEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_MarkerRecordedEventAttributes'DetailsEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestedEventId' @:: Lens' NexusOperationCancelRequestCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' NexusOperationCancelRequestCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationCancelRequestCompletedEventAttributes Data.Int.Int64@ -}
+data NexusOperationCancelRequestCompletedEventAttributes
+  = NexusOperationCancelRequestCompletedEventAttributes'_constructor {_NexusOperationCancelRequestCompletedEventAttributes'requestedEventId :: !Data.Int.Int64,
+                                                                      _NexusOperationCancelRequestCompletedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                      _NexusOperationCancelRequestCompletedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                                      _NexusOperationCancelRequestCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationCancelRequestCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestCompletedEventAttributes "requestedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestCompletedEventAttributes'requestedEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestCompletedEventAttributes'requestedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestCompletedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestCompletedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestCompletedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestCompletedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestCompletedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestCompletedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationCancelRequestCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \3NexusOperationCancelRequestCompletedEventAttributes\DC2,\n\
+      \\DC2requested_event_id\CAN\SOH \SOH(\ETXR\DLErequestedEventId\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2,\n\
+      \\DC2scheduled_event_id\CAN\ETX \SOH(\ETXR\DLEscheduledEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        requestedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "requested_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestedEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestCompletedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestCompletedEventAttributes
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, requestedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, scheduledEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationCancelRequestCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationCancelRequestCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationCancelRequestCompletedEventAttributes'_constructor
+        {_NexusOperationCancelRequestCompletedEventAttributes'requestedEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestCompletedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestCompletedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationCancelRequestCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationCancelRequestCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "requested_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestedEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationCancelRequestCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"requestedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"scheduledEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NexusOperationCancelRequestCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationCancelRequestCompletedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationCancelRequestCompletedEventAttributes'requestedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationCancelRequestCompletedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationCancelRequestCompletedEventAttributes'scheduledEventId
+                         x__)
+                      ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestedEventId' @:: Lens' NexusOperationCancelRequestFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' NexusOperationCancelRequestFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' NexusOperationCancelRequestFailedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' NexusOperationCancelRequestFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationCancelRequestFailedEventAttributes Data.Int.Int64@ -}
+data NexusOperationCancelRequestFailedEventAttributes
+  = NexusOperationCancelRequestFailedEventAttributes'_constructor {_NexusOperationCancelRequestFailedEventAttributes'requestedEventId :: !Data.Int.Int64,
+                                                                   _NexusOperationCancelRequestFailedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                   _NexusOperationCancelRequestFailedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                                   _NexusOperationCancelRequestFailedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                                   _NexusOperationCancelRequestFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationCancelRequestFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestFailedEventAttributes "requestedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestFailedEventAttributes'requestedEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestFailedEventAttributes'requestedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestFailedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestFailedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestFailedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestFailedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestFailedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestFailedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestFailedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestFailedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestFailedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestFailedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationCancelRequestFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \0NexusOperationCancelRequestFailedEventAttributes\DC2,\n\
+      \\DC2requested_event_id\CAN\SOH \SOH(\ETXR\DLErequestedEventId\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2:\n\
+      \\afailure\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2,\n\
+      \\DC2scheduled_event_id\CAN\EOT \SOH(\ETXR\DLEscheduledEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        requestedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "requested_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestedEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestFailedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestFailedEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestFailedEventAttributes
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, requestedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, failure__field_descriptor),
+           (Data.ProtoLens.Tag 4, scheduledEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationCancelRequestFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationCancelRequestFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationCancelRequestFailedEventAttributes'_constructor
+        {_NexusOperationCancelRequestFailedEventAttributes'requestedEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestFailedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestFailedEventAttributes'failure = Prelude.Nothing,
+         _NexusOperationCancelRequestFailedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationCancelRequestFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationCancelRequestFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "requested_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestedEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationCancelRequestFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"requestedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"scheduledEventId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData NexusOperationCancelRequestFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationCancelRequestFailedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationCancelRequestFailedEventAttributes'requestedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationCancelRequestFailedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationCancelRequestFailedEventAttributes'failure x__)
+                      (Control.DeepSeq.deepseq
+                         (_NexusOperationCancelRequestFailedEventAttributes'scheduledEventId
+                            x__)
+                         ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationCancelRequestedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' NexusOperationCancelRequestedEventAttributes Data.Int.Int64@ -}
+data NexusOperationCancelRequestedEventAttributes
+  = NexusOperationCancelRequestedEventAttributes'_constructor {_NexusOperationCancelRequestedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                               _NexusOperationCancelRequestedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                               _NexusOperationCancelRequestedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationCancelRequestedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancelRequestedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancelRequestedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancelRequestedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationCancelRequestedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationCancelRequestedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \,NexusOperationCancelRequestedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancelRequestedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationCancelRequestedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationCancelRequestedEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationCancelRequestedEventAttributes'_constructor
+        {_NexusOperationCancelRequestedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancelRequestedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationCancelRequestedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationCancelRequestedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationCancelRequestedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NexusOperationCancelRequestedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationCancelRequestedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationCancelRequestedEventAttributes'scheduledEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationCancelRequestedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' NexusOperationCanceledEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' NexusOperationCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' NexusOperationCanceledEventAttributes Data.Text.Text@ -}
+data NexusOperationCanceledEventAttributes
+  = NexusOperationCanceledEventAttributes'_constructor {_NexusOperationCanceledEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                        _NexusOperationCanceledEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                        _NexusOperationCanceledEventAttributes'requestId :: !Data.Text.Text,
+                                                        _NexusOperationCanceledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationCanceledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationCanceledEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCanceledEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCanceledEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCanceledEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCanceledEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_NexusOperationCanceledEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCanceledEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCanceledEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_NexusOperationCanceledEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCanceledEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCanceledEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_NexusOperationCanceledEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationCanceledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationCanceledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \%NexusOperationCanceledEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2:\n\
+      \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCanceledEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCanceledEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCanceledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationCanceledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationCanceledEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationCanceledEventAttributes'_constructor
+        {_NexusOperationCanceledEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCanceledEventAttributes'failure = Prelude.Nothing,
+         _NexusOperationCanceledEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCanceledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationCanceledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationCanceledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationCanceledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NexusOperationCanceledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationCanceledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationCanceledEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationCanceledEventAttributes'failure x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationCanceledEventAttributes'requestId x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.result' @:: Lens' NexusOperationCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'result' @:: Lens' NexusOperationCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' NexusOperationCompletedEventAttributes Data.Text.Text@ -}
+data NexusOperationCompletedEventAttributes
+  = NexusOperationCompletedEventAttributes'_constructor {_NexusOperationCompletedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                         _NexusOperationCompletedEventAttributes'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                         _NexusOperationCompletedEventAttributes'requestId :: !Data.Text.Text,
+                                                         _NexusOperationCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationCompletedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCompletedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCompletedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCompletedEventAttributes "result" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__ {_NexusOperationCompletedEventAttributes'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCompletedEventAttributes "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__ {_NexusOperationCompletedEventAttributes'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCompletedEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCompletedEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_NexusOperationCompletedEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \&NexusOperationCompletedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC27\n\
+      \\ACKresult\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCompletedEventAttributes
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCompletedEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, result__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationCompletedEventAttributes'_constructor
+        {_NexusOperationCompletedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCompletedEventAttributes'result = Prelude.Nothing,
+         _NexusOperationCompletedEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _NexusOperationCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NexusOperationCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationCompletedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationCompletedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationCompletedEventAttributes'result x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationCompletedEventAttributes'requestId x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' NexusOperationFailedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' NexusOperationFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' NexusOperationFailedEventAttributes Data.Text.Text@ -}
+data NexusOperationFailedEventAttributes
+  = NexusOperationFailedEventAttributes'_constructor {_NexusOperationFailedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                      _NexusOperationFailedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                      _NexusOperationFailedEventAttributes'requestId :: !Data.Text.Text,
+                                                      _NexusOperationFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationFailedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationFailedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_NexusOperationFailedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationFailedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_NexusOperationFailedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationFailedEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationFailedEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_NexusOperationFailedEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \#NexusOperationFailedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2:\n\
+      \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailedEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailedEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_NexusOperationFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationFailedEventAttributes'_constructor
+        {_NexusOperationFailedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailedEventAttributes'failure = Prelude.Nothing,
+         _NexusOperationFailedEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _NexusOperationFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NexusOperationFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationFailedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationFailedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationFailedEventAttributes'failure x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationFailedEventAttributes'requestId x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.endpoint' @:: Lens' NexusOperationScheduledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.service' @:: Lens' NexusOperationScheduledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.operation' @:: Lens' NexusOperationScheduledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' NexusOperationScheduledEventAttributes Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' NexusOperationScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduleToCloseTimeout' @:: Lens' NexusOperationScheduledEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'scheduleToCloseTimeout' @:: Lens' NexusOperationScheduledEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.nexusHeader' @:: Lens' NexusOperationScheduledEventAttributes (Data.Map.Map Data.Text.Text Data.Text.Text)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' NexusOperationScheduledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' NexusOperationScheduledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.endpointId' @:: Lens' NexusOperationScheduledEventAttributes Data.Text.Text@ -}
+data NexusOperationScheduledEventAttributes
+  = NexusOperationScheduledEventAttributes'_constructor {_NexusOperationScheduledEventAttributes'endpoint :: !Data.Text.Text,
+                                                         _NexusOperationScheduledEventAttributes'service :: !Data.Text.Text,
+                                                         _NexusOperationScheduledEventAttributes'operation :: !Data.Text.Text,
+                                                         _NexusOperationScheduledEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                         _NexusOperationScheduledEventAttributes'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                         _NexusOperationScheduledEventAttributes'nexusHeader :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                                         _NexusOperationScheduledEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                         _NexusOperationScheduledEventAttributes'requestId :: !Data.Text.Text,
+                                                         _NexusOperationScheduledEventAttributes'endpointId :: !Data.Text.Text,
+                                                         _NexusOperationScheduledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationScheduledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "endpoint" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'endpoint
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'service
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'operation
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'input
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'input
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationScheduledEventAttributes'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationScheduledEventAttributes'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "nexusHeader" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'nexusHeader
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationScheduledEventAttributes'nexusHeader = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationScheduledEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes "endpointId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'endpointId
+           (\ x__ y__
+              -> x__ {_NexusOperationScheduledEventAttributes'endpointId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationScheduledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationScheduledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \&NexusOperationScheduledEventAttributes\DC2\SUB\n\
+      \\bendpoint\CAN\SOH \SOH(\tR\bendpoint\DC2\CAN\n\
+      \\aservice\CAN\STX \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\ETX \SOH(\tR\toperation\DC25\n\
+      \\ENQinput\CAN\EOT \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2s\n\
+      \\fnexus_header\CAN\ACK \ETX(\v2P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntryR\vnexusHeader\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\a \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\GS\n\
+      \\n\
+      \request_id\CAN\b \SOH(\tR\trequestId\DC2\US\n\
+      \\vendpoint_id\CAN\t \SOH(\tR\n\
+      \endpointId\SUB>\n\
+      \\DLENexusHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"endpoint")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        nexusHeader__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationScheduledEventAttributes'NexusHeaderEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"nexusHeader")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+        endpointId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"endpointId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, endpoint__field_descriptor),
+           (Data.ProtoLens.Tag 2, service__field_descriptor),
+           (Data.ProtoLens.Tag 3, operation__field_descriptor),
+           (Data.ProtoLens.Tag 4, input__field_descriptor),
+           (Data.ProtoLens.Tag 5, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, nexusHeader__field_descriptor),
+           (Data.ProtoLens.Tag 7, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 8, requestId__field_descriptor),
+           (Data.ProtoLens.Tag 9, endpointId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationScheduledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationScheduledEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationScheduledEventAttributes'_constructor
+        {_NexusOperationScheduledEventAttributes'endpoint = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'service = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'operation = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'input = Prelude.Nothing,
+         _NexusOperationScheduledEventAttributes'scheduleToCloseTimeout = Prelude.Nothing,
+         _NexusOperationScheduledEventAttributes'nexusHeader = Data.Map.empty,
+         _NexusOperationScheduledEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'endpointId = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationScheduledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationScheduledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        50
+                          -> do !(entry :: NexusOperationScheduledEventAttributes'NexusHeaderEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                         (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                             Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                               (Prelude.fromIntegral
+                                                                                                                  len)
+                                                                                                               Data.ProtoLens.parseMessage)
+                                                                                                         "nexus_header"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"nexusHeader")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "endpoint_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpointId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationScheduledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"endpoint") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (Data.Monoid.mconcat
+                               (Prelude.map
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"value")
+                                                   (Prelude.snd _v)
+                                                   (Data.ProtoLens.defMessage ::
+                                                      NexusOperationScheduledEventAttributes'NexusHeaderEntry)))))
+                                  (Data.Map.toList
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"nexusHeader") _x))))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")
+                                        _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"requestId") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                           ((Prelude..)
+                                              (\ bs
+                                                 -> (Data.Monoid.<>)
+                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                         (Prelude.fromIntegral
+                                                            (Data.ByteString.length bs)))
+                                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                              Data.Text.Encoding.encodeUtf8 _v))
+                                  ((Data.Monoid.<>)
+                                     (let
+                                        _v
+                                          = Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"endpointId") _x
+                                      in
+                                        if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                            Data.Monoid.mempty
+                                        else
+                                            (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                              ((Prelude..)
+                                                 (\ bs
+                                                    -> (Data.Monoid.<>)
+                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                            (Prelude.fromIntegral
+                                                               (Data.ByteString.length bs)))
+                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                            bs))
+                                                 Data.Text.Encoding.encodeUtf8 _v))
+                                     (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                        (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))))
+instance Control.DeepSeq.NFData NexusOperationScheduledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationScheduledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationScheduledEventAttributes'endpoint x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationScheduledEventAttributes'service x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationScheduledEventAttributes'operation x__)
+                      (Control.DeepSeq.deepseq
+                         (_NexusOperationScheduledEventAttributes'input x__)
+                         (Control.DeepSeq.deepseq
+                            (_NexusOperationScheduledEventAttributes'scheduleToCloseTimeout
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_NexusOperationScheduledEventAttributes'nexusHeader x__)
+                               (Control.DeepSeq.deepseq
+                                  (_NexusOperationScheduledEventAttributes'workflowTaskCompletedEventId
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_NexusOperationScheduledEventAttributes'requestId x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_NexusOperationScheduledEventAttributes'endpointId x__)
+                                        ())))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.key' @:: Lens' NexusOperationScheduledEventAttributes'NexusHeaderEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.value' @:: Lens' NexusOperationScheduledEventAttributes'NexusHeaderEntry Data.Text.Text@ -}
+data NexusOperationScheduledEventAttributes'NexusHeaderEntry
+  = NexusOperationScheduledEventAttributes'NexusHeaderEntry'_constructor {_NexusOperationScheduledEventAttributes'NexusHeaderEntry'key :: !Data.Text.Text,
+                                                                          _NexusOperationScheduledEventAttributes'NexusHeaderEntry'value :: !Data.Text.Text,
+                                                                          _NexusOperationScheduledEventAttributes'NexusHeaderEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationScheduledEventAttributes'NexusHeaderEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes'NexusHeaderEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'NexusHeaderEntry'key
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationScheduledEventAttributes'NexusHeaderEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationScheduledEventAttributes'NexusHeaderEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationScheduledEventAttributes'NexusHeaderEntry'value
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationScheduledEventAttributes'NexusHeaderEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationScheduledEventAttributes'NexusHeaderEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLENexusHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes'NexusHeaderEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationScheduledEventAttributes'NexusHeaderEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationScheduledEventAttributes'NexusHeaderEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationScheduledEventAttributes'NexusHeaderEntry'_unknownFields = y__})
+  defMessage
+    = NexusOperationScheduledEventAttributes'NexusHeaderEntry'_constructor
+        {_NexusOperationScheduledEventAttributes'NexusHeaderEntry'key = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'NexusHeaderEntry'value = Data.ProtoLens.fieldDefault,
+         _NexusOperationScheduledEventAttributes'NexusHeaderEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationScheduledEventAttributes'NexusHeaderEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationScheduledEventAttributes'NexusHeaderEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusHeaderEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NexusOperationScheduledEventAttributes'NexusHeaderEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationScheduledEventAttributes'NexusHeaderEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationScheduledEventAttributes'NexusHeaderEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationScheduledEventAttributes'NexusHeaderEntry'value
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.operationId' @:: Lens' NexusOperationStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' NexusOperationStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.operationToken' @:: Lens' NexusOperationStartedEventAttributes Data.Text.Text@ -}
+data NexusOperationStartedEventAttributes
+  = NexusOperationStartedEventAttributes'_constructor {_NexusOperationStartedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                       _NexusOperationStartedEventAttributes'operationId :: !Data.Text.Text,
+                                                       _NexusOperationStartedEventAttributes'requestId :: !Data.Text.Text,
+                                                       _NexusOperationStartedEventAttributes'operationToken :: !Data.Text.Text,
+                                                       _NexusOperationStartedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationStartedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationStartedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationStartedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationStartedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationStartedEventAttributes "operationId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationStartedEventAttributes'operationId
+           (\ x__ y__
+              -> x__ {_NexusOperationStartedEventAttributes'operationId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationStartedEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationStartedEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_NexusOperationStartedEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationStartedEventAttributes "operationToken" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationStartedEventAttributes'operationToken
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationStartedEventAttributes'operationToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationStartedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationStartedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \$NexusOperationStartedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2!\n\
+      \\foperation_id\CAN\ETX \SOH(\tR\voperationId\DC2\GS\n\
+      \\n\
+      \request_id\CAN\EOT \SOH(\tR\trequestId\DC2'\n\
+      \\SIoperation_token\CAN\ENQ \SOH(\tR\SOoperationToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationStartedEventAttributes
+        operationId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationStartedEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationStartedEventAttributes
+        operationToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationToken")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationStartedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, operationId__field_descriptor),
+           (Data.ProtoLens.Tag 4, requestId__field_descriptor),
+           (Data.ProtoLens.Tag 5, operationToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationStartedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationStartedEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationStartedEventAttributes'_constructor
+        {_NexusOperationStartedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationStartedEventAttributes'operationId = Data.ProtoLens.fieldDefault,
+         _NexusOperationStartedEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _NexusOperationStartedEventAttributes'operationToken = Data.ProtoLens.fieldDefault,
+         _NexusOperationStartedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationStartedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationStartedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operationId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationToken") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationStartedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"operationId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"operationToken") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData NexusOperationStartedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationStartedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationStartedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationStartedEventAttributes'operationId x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationStartedEventAttributes'requestId x__)
+                      (Control.DeepSeq.deepseq
+                         (_NexusOperationStartedEventAttributes'operationToken x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' NexusOperationTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' NexusOperationTimedOutEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' NexusOperationTimedOutEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' NexusOperationTimedOutEventAttributes Data.Text.Text@ -}
+data NexusOperationTimedOutEventAttributes
+  = NexusOperationTimedOutEventAttributes'_constructor {_NexusOperationTimedOutEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                        _NexusOperationTimedOutEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                        _NexusOperationTimedOutEventAttributes'requestId :: !Data.Text.Text,
+                                                        _NexusOperationTimedOutEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationTimedOutEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationTimedOutEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationTimedOutEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationTimedOutEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationTimedOutEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationTimedOutEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_NexusOperationTimedOutEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationTimedOutEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationTimedOutEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_NexusOperationTimedOutEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationTimedOutEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationTimedOutEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_NexusOperationTimedOutEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationTimedOutEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.NexusOperationTimedOutEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \%NexusOperationTimedOutEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2:\n\
+      \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationTimedOutEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationTimedOutEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationTimedOutEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationTimedOutEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NexusOperationTimedOutEventAttributes'_unknownFields = y__})
+  defMessage
+    = NexusOperationTimedOutEventAttributes'_constructor
+        {_NexusOperationTimedOutEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _NexusOperationTimedOutEventAttributes'failure = Prelude.Nothing,
+         _NexusOperationTimedOutEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _NexusOperationTimedOutEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationTimedOutEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationTimedOutEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationTimedOutEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NexusOperationTimedOutEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationTimedOutEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationTimedOutEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationTimedOutEventAttributes'failure x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationTimedOutEventAttributes'requestId x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cause' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Enums.V1.FailedCause.CancelExternalWorkflowExecutionFailedCause@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' RequestCancelExternalWorkflowExecutionFailedEventAttributes Data.Text.Text@ -}
+data RequestCancelExternalWorkflowExecutionFailedEventAttributes
+  = RequestCancelExternalWorkflowExecutionFailedEventAttributes'_constructor {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'cause :: !Proto.Temporal.Api.Enums.V1.FailedCause.CancelExternalWorkflowExecutionFailedCause,
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespace :: !Data.Text.Text,
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'control :: !Data.Text.Text,
+                                                                              _RequestCancelExternalWorkflowExecutionFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelExternalWorkflowExecutionFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "cause" Proto.Temporal.Api.Enums.V1.FailedCause.CancelExternalWorkflowExecutionFailedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'cause
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionFailedEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionFailedEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelExternalWorkflowExecutionFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \;RequestCancelExternalWorkflowExecutionFailedEventAttributes\DC2W\n\
+      \\ENQcause\CAN\SOH \SOH(\SO2A.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCauseR\ENQcause\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+      \\tnamespace\CAN\ETX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\EOT \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2,\n\
+      \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2\CAN\n\
+      \\acontrol\CAN\ACK \SOH(\tR\acontrol"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.CancelExternalWorkflowExecutionFailedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, cause__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 7, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 5, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, control__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelExternalWorkflowExecutionFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = RequestCancelExternalWorkflowExecutionFailedEventAttributes'_constructor
+        {_RequestCancelExternalWorkflowExecutionFailedEventAttributes'cause = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution = Prelude.Nothing,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelExternalWorkflowExecutionFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelExternalWorkflowExecutionFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RequestCancelExternalWorkflowExecutionFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData RequestCancelExternalWorkflowExecutionFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'cause
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespace
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'namespaceId
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'workflowExecution
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'initiatedEventId
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_RequestCancelExternalWorkflowExecutionFailedEventAttributes'control
+                                     x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowOnly' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.reason' @:: Lens' RequestCancelExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@ -}
+data RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+  = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_constructor {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespace :: !Data.Text.Text,
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'control :: !Data.Text.Text,
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly :: !Prelude.Bool,
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'reason :: !Data.Text.Text,
+                                                                                 _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelExternalWorkflowExecutionInitiatedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "childWorkflowOnly" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecutionInitiatedEventAttributes "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'reason
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelExternalWorkflowExecutionInitiatedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\CAN\n\
+      \\acontrol\CAN\EOT \SOH(\tR\acontrol\DC2.\n\
+      \\DC3child_workflow_only\CAN\ENQ \SOH(\bR\DC1childWorkflowOnly\DC2\SYN\n\
+      \\ACKreason\CAN\ACK \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        childWorkflowOnly__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_only"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"childWorkflowOnly")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 7, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, control__field_descriptor),
+           (Data.ProtoLens.Tag 5, childWorkflowOnly__field_descriptor),
+           (Data.ProtoLens.Tag 6, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields = y__})
+  defMessage
+    = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_constructor
+        {_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution = Prelude.Nothing,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'reason = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "child_workflow_only"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"childWorkflowOnly") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RequestCancelExternalWorkflowExecutionInitiatedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"childWorkflowOnly") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (\ b -> if b then 1 else 0) _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData RequestCancelExternalWorkflowExecutionInitiatedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespace
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'namespaceId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'control
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes'reason
+                                     x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cause' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Enums.V1.FailedCause.SignalExternalWorkflowExecutionFailedCause@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' SignalExternalWorkflowExecutionFailedEventAttributes Data.Text.Text@ -}
+data SignalExternalWorkflowExecutionFailedEventAttributes
+  = SignalExternalWorkflowExecutionFailedEventAttributes'_constructor {_SignalExternalWorkflowExecutionFailedEventAttributes'cause :: !Proto.Temporal.Api.Enums.V1.FailedCause.SignalExternalWorkflowExecutionFailedCause,
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'namespace :: !Data.Text.Text,
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'control :: !Data.Text.Text,
+                                                                       _SignalExternalWorkflowExecutionFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalExternalWorkflowExecutionFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "cause" Proto.Temporal.Api.Enums.V1.FailedCause.SignalExternalWorkflowExecutionFailedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'cause
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionFailedEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionFailedEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionFailedEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SignalExternalWorkflowExecutionFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \4SignalExternalWorkflowExecutionFailedEventAttributes\DC2W\n\
+      \\ENQcause\CAN\SOH \SOH(\SO2A.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCauseR\ENQcause\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+      \\tnamespace\CAN\ETX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\EOT \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2,\n\
+      \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2\CAN\n\
+      \\acontrol\CAN\ACK \SOH(\tR\acontrol"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.SignalExternalWorkflowExecutionFailedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, cause__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 7, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 5, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 6, control__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalExternalWorkflowExecutionFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_SignalExternalWorkflowExecutionFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = SignalExternalWorkflowExecutionFailedEventAttributes'_constructor
+        {_SignalExternalWorkflowExecutionFailedEventAttributes'cause = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalExternalWorkflowExecutionFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser SignalExternalWorkflowExecutionFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "SignalExternalWorkflowExecutionFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecutionFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalExternalWorkflowExecutionFailedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_SignalExternalWorkflowExecutionFailedEventAttributes'cause x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalExternalWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_SignalExternalWorkflowExecutionFailedEventAttributes'namespace
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_SignalExternalWorkflowExecutionFailedEventAttributes'namespaceId
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_SignalExternalWorkflowExecutionFailedEventAttributes'workflowExecution
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_SignalExternalWorkflowExecutionFailedEventAttributes'initiatedEventId
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_SignalExternalWorkflowExecutionFailedEventAttributes'control
+                                     x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecution' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecution' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.signalName' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.childWorkflowOnly' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' SignalExternalWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@ -}
+data SignalExternalWorkflowExecutionInitiatedEventAttributes
+  = SignalExternalWorkflowExecutionInitiatedEventAttributes'_constructor {_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'namespace :: !Data.Text.Text,
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'signalName :: !Data.Text.Text,
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'control :: !Data.Text.Text,
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly :: !Prelude.Bool,
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                                          _SignalExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalExternalWorkflowExecutionInitiatedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "signalName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'signalName
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'signalName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "childWorkflowOnly" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecutionInitiatedEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecutionInitiatedEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecutionInitiatedEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SignalExternalWorkflowExecutionInitiatedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \7SignalExternalWorkflowExecutionInitiatedEventAttributes\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\t \SOH(\tR\vnamespaceId\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\US\n\
+      \\vsignal_name\CAN\EOT \SOH(\tR\n\
+      \signalName\DC26\n\
+      \\ENQinput\CAN\ENQ \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2\CAN\n\
+      \\acontrol\CAN\ACK \SOH(\tR\acontrol\DC2.\n\
+      \\DC3child_workflow_only\CAN\a \SOH(\bR\DC1childWorkflowOnly\DC26\n\
+      \\ACKheader\CAN\b \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        signalName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"signalName")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        childWorkflowOnly__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_only"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"childWorkflowOnly")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecutionInitiatedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 9, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, signalName__field_descriptor),
+           (Data.ProtoLens.Tag 5, input__field_descriptor),
+           (Data.ProtoLens.Tag 6, control__field_descriptor),
+           (Data.ProtoLens.Tag 7, childWorkflowOnly__field_descriptor),
+           (Data.ProtoLens.Tag 8, header__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_SignalExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields = y__})
+  defMessage
+    = SignalExternalWorkflowExecutionInitiatedEventAttributes'_constructor
+        {_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'signalName = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'input = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'header = Prelude.Nothing,
+         _SignalExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalExternalWorkflowExecutionInitiatedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser SignalExternalWorkflowExecutionInitiatedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "signal_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"signalName") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "child_workflow_only"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"childWorkflowOnly") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "SignalExternalWorkflowExecutionInitiatedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"signalName") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"childWorkflowOnly") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (\ b -> if b then 1 else 0) _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'header") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                        (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))))
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecutionInitiatedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalExternalWorkflowExecutionInitiatedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalExternalWorkflowExecutionInitiatedEventAttributes'namespace
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_SignalExternalWorkflowExecutionInitiatedEventAttributes'namespaceId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_SignalExternalWorkflowExecutionInitiatedEventAttributes'workflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_SignalExternalWorkflowExecutionInitiatedEventAttributes'signalName
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_SignalExternalWorkflowExecutionInitiatedEventAttributes'input
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_SignalExternalWorkflowExecutionInitiatedEventAttributes'control
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_SignalExternalWorkflowExecutionInitiatedEventAttributes'childWorkflowOnly
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_SignalExternalWorkflowExecutionInitiatedEventAttributes'header
+                                           x__)
+                                        ())))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowId' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cause' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Enums.V1.FailedCause.StartChildWorkflowExecutionFailedCause@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiatedEventId' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' StartChildWorkflowExecutionFailedEventAttributes Data.Int.Int64@ -}
+data StartChildWorkflowExecutionFailedEventAttributes
+  = StartChildWorkflowExecutionFailedEventAttributes'_constructor {_StartChildWorkflowExecutionFailedEventAttributes'namespace :: !Data.Text.Text,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'workflowId :: !Data.Text.Text,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'cause :: !Proto.Temporal.Api.Enums.V1.FailedCause.StartChildWorkflowExecutionFailedCause,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'control :: !Data.Text.Text,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'initiatedEventId :: !Data.Int.Int64,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                   _StartChildWorkflowExecutionFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecutionFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'workflowId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "cause" Proto.Temporal.Api.Enums.V1.FailedCause.StartChildWorkflowExecutionFailedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'cause
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "initiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'initiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'initiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionFailedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecutionFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \0StartChildWorkflowExecutionFailedEventAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\b \SOH(\tR\vnamespaceId\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2I\n\
+      \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2S\n\
+      \\ENQcause\CAN\EOT \SOH(\SO2=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCauseR\ENQcause\DC2\CAN\n\
+      \\acontrol\CAN\ENQ \SOH(\tR\acontrol\DC2,\n\
+      \\DC2initiated_event_id\CAN\ACK \SOH(\ETXR\DLEinitiatedEventId\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\a \SOH(\ETXR\FSworkflowTaskCompletedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.StartChildWorkflowExecutionFailedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        initiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 8, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 4, cause__field_descriptor),
+           (Data.ProtoLens.Tag 5, control__field_descriptor),
+           (Data.ProtoLens.Tag 6, initiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 7, 
+            workflowTaskCompletedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecutionFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartChildWorkflowExecutionFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecutionFailedEventAttributes'_constructor
+        {_StartChildWorkflowExecutionFailedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'workflowId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'workflowType = Prelude.Nothing,
+         _StartChildWorkflowExecutionFailedEventAttributes'cause = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'initiatedEventId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecutionFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecutionFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initiatedEventId") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "StartChildWorkflowExecutionFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v = Lens.Family2.view (Data.ProtoLens.Field.field @"control") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"initiatedEventId") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field
+                                              @"workflowTaskCompletedEventId")
+                                           _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              Prelude.fromIntegral _v))
+                                  (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                     (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))
+instance Control.DeepSeq.NFData StartChildWorkflowExecutionFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecutionFailedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecutionFailedEventAttributes'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecutionFailedEventAttributes'namespaceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_StartChildWorkflowExecutionFailedEventAttributes'workflowId x__)
+                      (Control.DeepSeq.deepseq
+                         (_StartChildWorkflowExecutionFailedEventAttributes'workflowType
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_StartChildWorkflowExecutionFailedEventAttributes'cause x__)
+                            (Control.DeepSeq.deepseq
+                               (_StartChildWorkflowExecutionFailedEventAttributes'control x__)
+                               (Control.DeepSeq.deepseq
+                                  (_StartChildWorkflowExecutionFailedEventAttributes'initiatedEventId
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_StartChildWorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+                                        x__)
+                                     ()))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespace' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.namespaceId' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowId' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.taskQueue' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'taskQueue' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionTimeout' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionTimeout' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowRunTimeout' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskTimeout' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskTimeout' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentClosePolicy' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.control' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowIdReusePolicy' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryPolicy' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'retryPolicy' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cronSchedule' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.memo' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'memo' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.searchAttributes' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'searchAttributes' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.inheritBuildId' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.priority' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'priority' @:: Lens' StartChildWorkflowExecutionInitiatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data StartChildWorkflowExecutionInitiatedEventAttributes
+  = StartChildWorkflowExecutionInitiatedEventAttributes'_constructor {_StartChildWorkflowExecutionInitiatedEventAttributes'namespace :: !Data.Text.Text,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'namespaceId :: !Data.Text.Text,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowId :: !Data.Text.Text,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'parentClosePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'control :: !Data.Text.Text,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'workflowIdReusePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'cronSchedule :: !Data.Text.Text,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'inheritBuildId :: !Prelude.Bool,
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                                                      _StartChildWorkflowExecutionInitiatedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecutionInitiatedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'namespace
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'namespaceId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "parentClosePolicy" Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'parentClosePolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'parentClosePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "control" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'control
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'control = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "workflowIdReusePolicy" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'workflowIdReusePolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'workflowIdReusePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'cronSchedule
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'memo
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'memo
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "inheritBuildId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'inheritBuildId
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'inheritBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'priority
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecutionInitiatedEventAttributes "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecutionInitiatedEventAttributes'priority
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecutionInitiatedEventAttributes'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecutionInitiatedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \3StartChildWorkflowExecutionInitiatedEventAttributes\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\DC2 \SOH(\tR\vnamespaceId\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2I\n\
+      \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+      \\n\
+      \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ENQinput\CAN\ENQ \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2X\n\
+      \\DC3parent_close_policy\CAN\t \SOH(\SO2(.temporal.api.enums.v1.ParentClosePolicyR\DC1parentClosePolicy\DC2\CAN\n\
+      \\acontrol\CAN\n\
+      \ \SOH(\tR\acontrol\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\v \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2e\n\
+      \\CANworkflow_id_reuse_policy\CAN\f \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+      \\fretry_policy\CAN\r \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+      \\rcron_schedule\CAN\SO \SOH(\tR\fcronSchedule\DC26\n\
+      \\ACKheader\CAN\SI \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+      \\EOTmemo\CAN\DLE \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\DC1 \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+      \\DLEinherit_build_id\CAN\DC3 \SOH(\bR\SOinheritBuildId\DC2<\n\
+      \\bpriority\CAN\DC4 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        parentClosePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_close_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentClosePolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        control__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "control"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"control")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        workflowIdReusePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id_reuse_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowIdReusePolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        inheritBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "inherit_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"inheritBuildId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecutionInitiatedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 18, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 4, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 5, input__field_descriptor),
+           (Data.ProtoLens.Tag 6, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 7, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, parentClosePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 10, control__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 12, workflowIdReusePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 13, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 14, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 15, header__field_descriptor),
+           (Data.ProtoLens.Tag 16, memo__field_descriptor),
+           (Data.ProtoLens.Tag 17, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 19, inheritBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 20, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecutionInitiatedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartChildWorkflowExecutionInitiatedEventAttributes'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecutionInitiatedEventAttributes'_constructor
+        {_StartChildWorkflowExecutionInitiatedEventAttributes'namespace = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'namespaceId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowType = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'input = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'parentClosePolicy = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'control = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'workflowIdReusePolicy = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'cronSchedule = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'header = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'memo = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'inheritBuildId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'priority = Prelude.Nothing,
+         _StartChildWorkflowExecutionInitiatedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecutionInitiatedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecutionInitiatedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                        72
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "parent_close_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentClosePolicy") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "control"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"control") y x)
+                        88
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        96
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "workflow_id_reuse_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowIdReusePolicy") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        152
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "inherit_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"inheritBuildId") y x)
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "StartChildWorkflowExecutionInitiatedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 146)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")
+                                      _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field
+                                               @"maybe'workflowTaskTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field @"parentClosePolicy")
+                                                 _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 72)
+                                                 ((Prelude..)
+                                                    ((Prelude..)
+                                                       Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       Prelude.fromIntegral)
+                                                    Prelude.fromEnum _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field @"control") _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                    ((Prelude..)
+                                                       (\ bs
+                                                          -> (Data.Monoid.<>)
+                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                  (Prelude.fromIntegral
+                                                                     (Data.ByteString.length bs)))
+                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                  bs))
+                                                       Data.Text.Encoding.encodeUtf8 _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field
+                                                          @"workflowTaskCompletedEventId")
+                                                       _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 88)
+                                                       ((Prelude..)
+                                                          Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          Prelude.fromIntegral _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field
+                                                             @"workflowIdReusePolicy")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             96)
+                                                          ((Prelude..)
+                                                             ((Prelude..)
+                                                                Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                Prelude.fromIntegral)
+                                                             Prelude.fromEnum _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'retryPolicy")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 106)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"cronSchedule")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   114)
+                                                                ((Prelude..)
+                                                                   (\ bs
+                                                                      -> (Data.Monoid.<>)
+                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                              (Prelude.fromIntegral
+                                                                                 (Data.ByteString.length
+                                                                                    bs)))
+                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                              bs))
+                                                                   Data.Text.Encoding.encodeUtf8
+                                                                   _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'header")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       122)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          ((Data.Monoid.<>)
+                                                             (case
+                                                                  Lens.Family2.view
+                                                                    (Data.ProtoLens.Field.field
+                                                                       @"maybe'memo")
+                                                                    _x
+                                                              of
+                                                                Prelude.Nothing
+                                                                  -> Data.Monoid.mempty
+                                                                (Prelude.Just _v)
+                                                                  -> (Data.Monoid.<>)
+                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                          130)
+                                                                       ((Prelude..)
+                                                                          (\ bs
+                                                                             -> (Data.Monoid.<>)
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                     (Prelude.fromIntegral
+                                                                                        (Data.ByteString.length
+                                                                                           bs)))
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                     bs))
+                                                                          Data.ProtoLens.encodeMessage
+                                                                          _v))
+                                                             ((Data.Monoid.<>)
+                                                                (case
+                                                                     Lens.Family2.view
+                                                                       (Data.ProtoLens.Field.field
+                                                                          @"maybe'searchAttributes")
+                                                                       _x
+                                                                 of
+                                                                   Prelude.Nothing
+                                                                     -> Data.Monoid.mempty
+                                                                   (Prelude.Just _v)
+                                                                     -> (Data.Monoid.<>)
+                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                             138)
+                                                                          ((Prelude..)
+                                                                             (\ bs
+                                                                                -> (Data.Monoid.<>)
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                        (Prelude.fromIntegral
+                                                                                           (Data.ByteString.length
+                                                                                              bs)))
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                        bs))
+                                                                             Data.ProtoLens.encodeMessage
+                                                                             _v))
+                                                                ((Data.Monoid.<>)
+                                                                   (let
+                                                                      _v
+                                                                        = Lens.Family2.view
+                                                                            (Data.ProtoLens.Field.field
+                                                                               @"inheritBuildId")
+                                                                            _x
+                                                                    in
+                                                                      if (Prelude.==)
+                                                                           _v
+                                                                           Data.ProtoLens.fieldDefault then
+                                                                          Data.Monoid.mempty
+                                                                      else
+                                                                          (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               152)
+                                                                            ((Prelude..)
+                                                                               Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               (\ b
+                                                                                  -> if b then
+                                                                                         1
+                                                                                     else
+                                                                                         0)
+                                                                               _v))
+                                                                   ((Data.Monoid.<>)
+                                                                      (case
+                                                                           Lens.Family2.view
+                                                                             (Data.ProtoLens.Field.field
+                                                                                @"maybe'priority")
+                                                                             _x
+                                                                       of
+                                                                         Prelude.Nothing
+                                                                           -> Data.Monoid.mempty
+                                                                         (Prelude.Just _v)
+                                                                           -> (Data.Monoid.<>)
+                                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                   162)
+                                                                                ((Prelude..)
+                                                                                   (\ bs
+                                                                                      -> (Data.Monoid.<>)
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                              (Prelude.fromIntegral
+                                                                                                 (Data.ByteString.length
+                                                                                                    bs)))
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                              bs))
+                                                                                   Data.ProtoLens.encodeMessage
+                                                                                   _v))
+                                                                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                         (Lens.Family2.view
+                                                                            Data.ProtoLens.unknownFields
+                                                                            _x)))))))))))))))))))))
+instance Control.DeepSeq.NFData StartChildWorkflowExecutionInitiatedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecutionInitiatedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecutionInitiatedEventAttributes'namespace
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecutionInitiatedEventAttributes'namespaceId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowType
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_StartChildWorkflowExecutionInitiatedEventAttributes'taskQueue
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_StartChildWorkflowExecutionInitiatedEventAttributes'input x__)
+                               (Control.DeepSeq.deepseq
+                                  (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowExecutionTimeout
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowRunTimeout
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskTimeout
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_StartChildWorkflowExecutionInitiatedEventAttributes'parentClosePolicy
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_StartChildWorkflowExecutionInitiatedEventAttributes'control
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowTaskCompletedEventId
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_StartChildWorkflowExecutionInitiatedEventAttributes'workflowIdReusePolicy
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_StartChildWorkflowExecutionInitiatedEventAttributes'retryPolicy
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_StartChildWorkflowExecutionInitiatedEventAttributes'cronSchedule
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_StartChildWorkflowExecutionInitiatedEventAttributes'header
+                                                                x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_StartChildWorkflowExecutionInitiatedEventAttributes'memo
+                                                                   x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_StartChildWorkflowExecutionInitiatedEventAttributes'searchAttributes
+                                                                      x__)
+                                                                   (Control.DeepSeq.deepseq
+                                                                      (_StartChildWorkflowExecutionInitiatedEventAttributes'inheritBuildId
+                                                                         x__)
+                                                                      (Control.DeepSeq.deepseq
+                                                                         (_StartChildWorkflowExecutionInitiatedEventAttributes'priority
+                                                                            x__)
+                                                                         ()))))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timerId' @:: Lens' TimerCanceledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' TimerCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' TimerCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' TimerCanceledEventAttributes Data.Text.Text@ -}
+data TimerCanceledEventAttributes
+  = TimerCanceledEventAttributes'_constructor {_TimerCanceledEventAttributes'timerId :: !Data.Text.Text,
+                                               _TimerCanceledEventAttributes'startedEventId :: !Data.Int.Int64,
+                                               _TimerCanceledEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                               _TimerCanceledEventAttributes'identity :: !Data.Text.Text,
+                                               _TimerCanceledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TimerCanceledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TimerCanceledEventAttributes "timerId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerCanceledEventAttributes'timerId
+           (\ x__ y__ -> x__ {_TimerCanceledEventAttributes'timerId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimerCanceledEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerCanceledEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__ {_TimerCanceledEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimerCanceledEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerCanceledEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_TimerCanceledEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimerCanceledEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerCanceledEventAttributes'identity
+           (\ x__ y__ -> x__ {_TimerCanceledEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TimerCanceledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.TimerCanceledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\FSTimerCanceledEventAttributes\DC2\EM\n\
+      \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2(\n\
+      \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\SUB\n\
+      \\bidentity\CAN\EOT \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timerId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"timerId")) ::
+              Data.ProtoLens.FieldDescriptor TimerCanceledEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor TimerCanceledEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor TimerCanceledEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor TimerCanceledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timerId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TimerCanceledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_TimerCanceledEventAttributes'_unknownFields = y__})
+  defMessage
+    = TimerCanceledEventAttributes'_constructor
+        {_TimerCanceledEventAttributes'timerId = Data.ProtoLens.fieldDefault,
+         _TimerCanceledEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _TimerCanceledEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _TimerCanceledEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _TimerCanceledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TimerCanceledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser TimerCanceledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "timer_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"timerId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TimerCanceledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"timerId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"startedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData TimerCanceledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TimerCanceledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TimerCanceledEventAttributes'timerId x__)
+                (Control.DeepSeq.deepseq
+                   (_TimerCanceledEventAttributes'startedEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_TimerCanceledEventAttributes'workflowTaskCompletedEventId x__)
+                      (Control.DeepSeq.deepseq
+                         (_TimerCanceledEventAttributes'identity x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timerId' @:: Lens' TimerFiredEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' TimerFiredEventAttributes Data.Int.Int64@ -}
+data TimerFiredEventAttributes
+  = TimerFiredEventAttributes'_constructor {_TimerFiredEventAttributes'timerId :: !Data.Text.Text,
+                                            _TimerFiredEventAttributes'startedEventId :: !Data.Int.Int64,
+                                            _TimerFiredEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TimerFiredEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TimerFiredEventAttributes "timerId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerFiredEventAttributes'timerId
+           (\ x__ y__ -> x__ {_TimerFiredEventAttributes'timerId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimerFiredEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerFiredEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__ {_TimerFiredEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TimerFiredEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.TimerFiredEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMTimerFiredEventAttributes\DC2\EM\n\
+      \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2(\n\
+      \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timerId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"timerId")) ::
+              Data.ProtoLens.FieldDescriptor TimerFiredEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor TimerFiredEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timerId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TimerFiredEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_TimerFiredEventAttributes'_unknownFields = y__})
+  defMessage
+    = TimerFiredEventAttributes'_constructor
+        {_TimerFiredEventAttributes'timerId = Data.ProtoLens.fieldDefault,
+         _TimerFiredEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _TimerFiredEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TimerFiredEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser TimerFiredEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "timer_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"timerId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TimerFiredEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"timerId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"startedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TimerFiredEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TimerFiredEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TimerFiredEventAttributes'timerId x__)
+                (Control.DeepSeq.deepseq
+                   (_TimerFiredEventAttributes'startedEventId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timerId' @:: Lens' TimerStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startToFireTimeout' @:: Lens' TimerStartedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'startToFireTimeout' @:: Lens' TimerStartedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' TimerStartedEventAttributes Data.Int.Int64@ -}
+data TimerStartedEventAttributes
+  = TimerStartedEventAttributes'_constructor {_TimerStartedEventAttributes'timerId :: !Data.Text.Text,
+                                              _TimerStartedEventAttributes'startToFireTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                              _TimerStartedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                              _TimerStartedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TimerStartedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TimerStartedEventAttributes "timerId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerStartedEventAttributes'timerId
+           (\ x__ y__ -> x__ {_TimerStartedEventAttributes'timerId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimerStartedEventAttributes "startToFireTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerStartedEventAttributes'startToFireTimeout
+           (\ x__ y__
+              -> x__ {_TimerStartedEventAttributes'startToFireTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TimerStartedEventAttributes "maybe'startToFireTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerStartedEventAttributes'startToFireTimeout
+           (\ x__ y__
+              -> x__ {_TimerStartedEventAttributes'startToFireTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimerStartedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimerStartedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_TimerStartedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TimerStartedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.TimerStartedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCTimerStartedEventAttributes\DC2\EM\n\
+      \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2L\n\
+      \\NAKstart_to_fire_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC2startToFireTimeout\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timerId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timer_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"timerId")) ::
+              Data.ProtoLens.FieldDescriptor TimerStartedEventAttributes
+        startToFireTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_fire_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToFireTimeout")) ::
+              Data.ProtoLens.FieldDescriptor TimerStartedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor TimerStartedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timerId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startToFireTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            workflowTaskCompletedEventId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TimerStartedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_TimerStartedEventAttributes'_unknownFields = y__})
+  defMessage
+    = TimerStartedEventAttributes'_constructor
+        {_TimerStartedEventAttributes'timerId = Data.ProtoLens.fieldDefault,
+         _TimerStartedEventAttributes'startToFireTimeout = Prelude.Nothing,
+         _TimerStartedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _TimerStartedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TimerStartedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser TimerStartedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "timer_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"timerId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_fire_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToFireTimeout") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TimerStartedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"timerId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'startToFireTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData TimerStartedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TimerStartedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TimerStartedEventAttributes'timerId x__)
+                (Control.DeepSeq.deepseq
+                   (_TimerStartedEventAttributes'startToFireTimeout x__)
+                   (Control.DeepSeq.deepseq
+                      (_TimerStartedEventAttributes'workflowTaskCompletedEventId x__)
+                      ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' UpsertWorkflowSearchAttributesEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.searchAttributes' @:: Lens' UpsertWorkflowSearchAttributesEventAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'searchAttributes' @:: Lens' UpsertWorkflowSearchAttributesEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@ -}
+data UpsertWorkflowSearchAttributesEventAttributes
+  = UpsertWorkflowSearchAttributesEventAttributes'_constructor {_UpsertWorkflowSearchAttributesEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                _UpsertWorkflowSearchAttributesEventAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                                _UpsertWorkflowSearchAttributesEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpsertWorkflowSearchAttributesEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributesEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributesEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributesEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributesEventAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributesEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributesEventAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributesEventAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributesEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributesEventAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpsertWorkflowSearchAttributesEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \-UpsertWorkflowSearchAttributesEventAttributes\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2U\n\
+      \\DC1search_attributes\CAN\STX \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor UpsertWorkflowSearchAttributesEventAttributes
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor UpsertWorkflowSearchAttributesEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, searchAttributes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpsertWorkflowSearchAttributesEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_UpsertWorkflowSearchAttributesEventAttributes'_unknownFields = y__})
+  defMessage
+    = UpsertWorkflowSearchAttributesEventAttributes'_constructor
+        {_UpsertWorkflowSearchAttributesEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _UpsertWorkflowSearchAttributesEventAttributes'searchAttributes = Prelude.Nothing,
+         _UpsertWorkflowSearchAttributesEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpsertWorkflowSearchAttributesEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpsertWorkflowSearchAttributesEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "UpsertWorkflowSearchAttributesEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'searchAttributes") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpsertWorkflowSearchAttributesEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpsertWorkflowSearchAttributesEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpsertWorkflowSearchAttributesEventAttributes'workflowTaskCompletedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_UpsertWorkflowSearchAttributesEventAttributes'searchAttributes
+                      x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cause' @:: Lens' WorkflowExecutionCancelRequestedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.externalInitiatedEventId' @:: Lens' WorkflowExecutionCancelRequestedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.externalWorkflowExecution' @:: Lens' WorkflowExecutionCancelRequestedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'externalWorkflowExecution' @:: Lens' WorkflowExecutionCancelRequestedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowExecutionCancelRequestedEventAttributes Data.Text.Text@ -}
+data WorkflowExecutionCancelRequestedEventAttributes
+  = WorkflowExecutionCancelRequestedEventAttributes'_constructor {_WorkflowExecutionCancelRequestedEventAttributes'cause :: !Data.Text.Text,
+                                                                  _WorkflowExecutionCancelRequestedEventAttributes'externalInitiatedEventId :: !Data.Int.Int64,
+                                                                  _WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                                  _WorkflowExecutionCancelRequestedEventAttributes'identity :: !Data.Text.Text,
+                                                                  _WorkflowExecutionCancelRequestedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionCancelRequestedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCancelRequestedEventAttributes "cause" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCancelRequestedEventAttributes'cause
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCancelRequestedEventAttributes'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCancelRequestedEventAttributes "externalInitiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCancelRequestedEventAttributes'externalInitiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCancelRequestedEventAttributes'externalInitiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCancelRequestedEventAttributes "externalWorkflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCancelRequestedEventAttributes "maybe'externalWorkflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCancelRequestedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCancelRequestedEventAttributes'identity
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCancelRequestedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionCancelRequestedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \/WorkflowExecutionCancelRequestedEventAttributes\DC2\DC4\n\
+      \\ENQcause\CAN\SOH \SOH(\tR\ENQcause\DC2=\n\
+      \\ESCexternal_initiated_event_id\CAN\STX \SOH(\ETXR\CANexternalInitiatedEventId\DC2i\n\
+      \\ESCexternal_workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\EMexternalWorkflowExecution\DC2\SUB\n\
+      \\bidentity\CAN\EOT \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCancelRequestedEventAttributes
+        externalInitiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "external_initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"externalInitiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCancelRequestedEventAttributes
+        externalWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "external_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'externalWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCancelRequestedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCancelRequestedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, cause__field_descriptor),
+           (Data.ProtoLens.Tag 2, externalInitiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            externalWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionCancelRequestedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionCancelRequestedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionCancelRequestedEventAttributes'_constructor
+        {_WorkflowExecutionCancelRequestedEventAttributes'cause = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionCancelRequestedEventAttributes'externalInitiatedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution = Prelude.Nothing,
+         _WorkflowExecutionCancelRequestedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionCancelRequestedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionCancelRequestedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionCancelRequestedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "external_initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"externalInitiatedEventId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "external_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"externalWorkflowExecution") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionCancelRequestedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"externalInitiatedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'externalWorkflowExecution") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowExecutionCancelRequestedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionCancelRequestedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionCancelRequestedEventAttributes'cause x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionCancelRequestedEventAttributes'externalInitiatedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionCancelRequestedEventAttributes'externalWorkflowExecution
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionCancelRequestedEventAttributes'identity x__)
+                         ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' WorkflowExecutionCanceledEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.details' @:: Lens' WorkflowExecutionCanceledEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'details' @:: Lens' WorkflowExecutionCanceledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data WorkflowExecutionCanceledEventAttributes
+  = WorkflowExecutionCanceledEventAttributes'_constructor {_WorkflowExecutionCanceledEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                           _WorkflowExecutionCanceledEventAttributes'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                           _WorkflowExecutionCanceledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionCanceledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCanceledEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCanceledEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCanceledEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCanceledEventAttributes "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCanceledEventAttributes'details
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionCanceledEventAttributes'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCanceledEventAttributes "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCanceledEventAttributes'details
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionCanceledEventAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionCanceledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionCanceledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \(WorkflowExecutionCanceledEventAttributes\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2:\n\
+      \\adetails\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCanceledEventAttributes
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCanceledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionCanceledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionCanceledEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionCanceledEventAttributes'_constructor
+        {_WorkflowExecutionCanceledEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionCanceledEventAttributes'details = Prelude.Nothing,
+         _WorkflowExecutionCanceledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionCanceledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionCanceledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionCanceledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowExecutionCanceledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionCanceledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionCanceledEventAttributes'workflowTaskCompletedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionCanceledEventAttributes'details x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.result' @:: Lens' WorkflowExecutionCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'result' @:: Lens' WorkflowExecutionCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' WorkflowExecutionCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newExecutionRunId' @:: Lens' WorkflowExecutionCompletedEventAttributes Data.Text.Text@ -}
+data WorkflowExecutionCompletedEventAttributes
+  = WorkflowExecutionCompletedEventAttributes'_constructor {_WorkflowExecutionCompletedEventAttributes'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                            _WorkflowExecutionCompletedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                            _WorkflowExecutionCompletedEventAttributes'newExecutionRunId :: !Data.Text.Text,
+                                                            _WorkflowExecutionCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCompletedEventAttributes "result" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionCompletedEventAttributes'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCompletedEventAttributes "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCompletedEventAttributes'result
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionCompletedEventAttributes'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCompletedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCompletedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCompletedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionCompletedEventAttributes "newExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionCompletedEventAttributes'newExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionCompletedEventAttributes'newExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \)WorkflowExecutionCompletedEventAttributes\DC28\n\
+      \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2/\n\
+      \\DC4new_execution_run_id\CAN\ETX \SOH(\tR\DC1newExecutionRunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCompletedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCompletedEventAttributes
+        newExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"newExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, newExecutionRunId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionCompletedEventAttributes'_constructor
+        {_WorkflowExecutionCompletedEventAttributes'result = Prelude.Nothing,
+         _WorkflowExecutionCompletedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionCompletedEventAttributes'newExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "new_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newExecutionRunId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"newExecutionRunId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkflowExecutionCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionCompletedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionCompletedEventAttributes'result x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionCompletedEventAttributes'workflowTaskCompletedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionCompletedEventAttributes'newExecutionRunId x__)
+                      ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newExecutionRunId' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.taskQueue' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'taskQueue' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowRunTimeout' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskTimeout' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskTimeout' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.backoffStartInterval' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'backoffStartInterval' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiator' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.lastCompletionResult' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'lastCompletionResult' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.memo' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'memo' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.searchAttributes' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'searchAttributes' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.inheritBuildId' @:: Lens' WorkflowExecutionContinuedAsNewEventAttributes Prelude.Bool@ -}
+data WorkflowExecutionContinuedAsNewEventAttributes
+  = WorkflowExecutionContinuedAsNewEventAttributes'_constructor {_WorkflowExecutionContinuedAsNewEventAttributes'newExecutionRunId :: !Data.Text.Text,
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'initiator :: !Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator,
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'inheritBuildId :: !Prelude.Bool,
+                                                                 _WorkflowExecutionContinuedAsNewEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionContinuedAsNewEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "newExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'newExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'newExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'input
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "backoffStartInterval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'backoffStartInterval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "initiator" Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'initiator
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'initiator = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "lastCompletionResult" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'lastCompletionResult" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'header
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'memo
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'memo
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionContinuedAsNewEventAttributes "inheritBuildId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionContinuedAsNewEventAttributes'inheritBuildId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionContinuedAsNewEventAttributes'inheritBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionContinuedAsNewEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \.WorkflowExecutionContinuedAsNewEventAttributes\DC2/\n\
+      \\DC4new_execution_run_id\CAN\SOH \SOH(\tR\DC1newExecutionRunId\DC2I\n\
+      \\rworkflow_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+      \\n\
+      \task_queue\CAN\ETX \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ENQinput\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\a \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2O\n\
+      \\SYNbackoff_start_interval\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC4backoffStartInterval\DC2K\n\
+      \\tinitiator\CAN\t \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\DC2:\n\
+      \\afailure\CAN\n\
+      \ \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2V\n\
+      \\SYNlast_completion_result\CAN\v \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC26\n\
+      \\ACKheader\CAN\f \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+      \\EOTmemo\CAN\r \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\SO \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+      \\DLEinherit_build_id\CAN\SI \SOH(\bR\SOinheritBuildId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        newExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"newExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        backoffStartInterval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backoff_start_interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'backoffStartInterval")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        initiator__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiator"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiator")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        lastCompletionResult__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_completion_result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastCompletionResult")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+        inheritBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "inherit_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"inheritBuildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionContinuedAsNewEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, newExecutionRunId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 3, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 4, input__field_descriptor),
+           (Data.ProtoLens.Tag 5, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 7, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 8, backoffStartInterval__field_descriptor),
+           (Data.ProtoLens.Tag 9, initiator__field_descriptor),
+           (Data.ProtoLens.Tag 10, failure__field_descriptor),
+           (Data.ProtoLens.Tag 11, lastCompletionResult__field_descriptor),
+           (Data.ProtoLens.Tag 12, header__field_descriptor),
+           (Data.ProtoLens.Tag 13, memo__field_descriptor),
+           (Data.ProtoLens.Tag 14, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 15, inheritBuildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionContinuedAsNewEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionContinuedAsNewEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionContinuedAsNewEventAttributes'_constructor
+        {_WorkflowExecutionContinuedAsNewEventAttributes'newExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionContinuedAsNewEventAttributes'workflowType = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'taskQueue = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'input = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'initiator = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionContinuedAsNewEventAttributes'failure = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'header = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'memo = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes = Prelude.Nothing,
+         _WorkflowExecutionContinuedAsNewEventAttributes'inheritBuildId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionContinuedAsNewEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionContinuedAsNewEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionContinuedAsNewEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "new_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newExecutionRunId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "backoff_start_interval"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"backoffStartInterval") y x)
+                        72
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "initiator"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"initiator") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_completion_result"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastCompletionResult") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        120
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "inherit_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"inheritBuildId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionContinuedAsNewEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"newExecutionRunId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")
+                                        _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'backoffStartInterval")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (let
+                                        _v
+                                          = Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"initiator") _x
+                                      in
+                                        if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                            Data.Monoid.mempty
+                                        else
+                                            (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt 72)
+                                              ((Prelude..)
+                                                 ((Prelude..)
+                                                    Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    Prelude.fromIntegral)
+                                                 Prelude.fromEnum _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'failure") _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field
+                                                     @"maybe'lastCompletionResult")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field @"maybe'header") _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field @"maybe'memo")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              106)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'searchAttributes")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 114)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"inheritBuildId")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   120)
+                                                                ((Prelude..)
+                                                                   Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (\ b -> if b then 1 else 0) _v))
+                                                       (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                          (Lens.Family2.view
+                                                             Data.ProtoLens.unknownFields
+                                                             _x))))))))))))))))
+instance Control.DeepSeq.NFData WorkflowExecutionContinuedAsNewEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionContinuedAsNewEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionContinuedAsNewEventAttributes'newExecutionRunId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionContinuedAsNewEventAttributes'workflowType x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionContinuedAsNewEventAttributes'taskQueue x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionContinuedAsNewEventAttributes'input x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionContinuedAsNewEventAttributes'workflowRunTimeout
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskTimeout
+                                  x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowExecutionContinuedAsNewEventAttributes'workflowTaskCompletedEventId
+                                     x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkflowExecutionContinuedAsNewEventAttributes'backoffStartInterval
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkflowExecutionContinuedAsNewEventAttributes'initiator
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_WorkflowExecutionContinuedAsNewEventAttributes'failure
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_WorkflowExecutionContinuedAsNewEventAttributes'lastCompletionResult
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_WorkflowExecutionContinuedAsNewEventAttributes'header
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_WorkflowExecutionContinuedAsNewEventAttributes'memo
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_WorkflowExecutionContinuedAsNewEventAttributes'searchAttributes
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_WorkflowExecutionContinuedAsNewEventAttributes'inheritBuildId
+                                                             x__)
+                                                          ())))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' WorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' WorkflowExecutionFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryState' @:: Lens' WorkflowExecutionFailedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.RetryState@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' WorkflowExecutionFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newExecutionRunId' @:: Lens' WorkflowExecutionFailedEventAttributes Data.Text.Text@ -}
+data WorkflowExecutionFailedEventAttributes
+  = WorkflowExecutionFailedEventAttributes'_constructor {_WorkflowExecutionFailedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                         _WorkflowExecutionFailedEventAttributes'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                         _WorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                         _WorkflowExecutionFailedEventAttributes'newExecutionRunId :: !Data.Text.Text,
+                                                         _WorkflowExecutionFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFailedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionFailedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFailedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionFailedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFailedEventAttributes "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFailedEventAttributes'retryState
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionFailedEventAttributes'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFailedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionFailedEventAttributes "newExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionFailedEventAttributes'newExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionFailedEventAttributes'newExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \&WorkflowExecutionFailedEventAttributes\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2B\n\
+      \\vretry_state\CAN\STX \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2/\n\
+      \\DC4new_execution_run_id\CAN\EOT \SOH(\tR\DC1newExecutionRunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionFailedEventAttributes
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionFailedEventAttributes
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionFailedEventAttributes
+        newExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"newExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor),
+           (Data.ProtoLens.Tag 2, retryState__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, newExecutionRunId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionFailedEventAttributes'_constructor
+        {_WorkflowExecutionFailedEventAttributes'failure = Prelude.Nothing,
+         _WorkflowExecutionFailedEventAttributes'retryState = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionFailedEventAttributes'newExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "new_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newExecutionRunId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"retryState") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"newExecutionRunId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowExecutionFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionFailedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionFailedEventAttributes'failure x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionFailedEventAttributes'retryState x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionFailedEventAttributes'workflowTaskCompletedEventId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionFailedEventAttributes'newExecutionRunId x__)
+                         ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.versioningOverride' @:: Lens' WorkflowExecutionOptionsUpdatedEventAttributes Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'versioningOverride' @:: Lens' WorkflowExecutionOptionsUpdatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.unsetVersioningOverride' @:: Lens' WorkflowExecutionOptionsUpdatedEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.attachedRequestId' @:: Lens' WorkflowExecutionOptionsUpdatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.attachedCompletionCallbacks' @:: Lens' WorkflowExecutionOptionsUpdatedEventAttributes [Proto.Temporal.Api.Common.V1.Message.Callback]@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.vec'attachedCompletionCallbacks' @:: Lens' WorkflowExecutionOptionsUpdatedEventAttributes (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Callback)@ -}
+data WorkflowExecutionOptionsUpdatedEventAttributes
+  = WorkflowExecutionOptionsUpdatedEventAttributes'_constructor {_WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride :: !(Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride),
+                                                                 _WorkflowExecutionOptionsUpdatedEventAttributes'unsetVersioningOverride :: !Prelude.Bool,
+                                                                 _WorkflowExecutionOptionsUpdatedEventAttributes'attachedRequestId :: !Data.Text.Text,
+                                                                 _WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Callback),
+                                                                 _WorkflowExecutionOptionsUpdatedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionOptionsUpdatedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptionsUpdatedEventAttributes "versioningOverride" Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptionsUpdatedEventAttributes "maybe'versioningOverride" (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptionsUpdatedEventAttributes "unsetVersioningOverride" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptionsUpdatedEventAttributes'unsetVersioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionOptionsUpdatedEventAttributes'unsetVersioningOverride = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptionsUpdatedEventAttributes "attachedRequestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptionsUpdatedEventAttributes'attachedRequestId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionOptionsUpdatedEventAttributes'attachedRequestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptionsUpdatedEventAttributes "attachedCompletionCallbacks" [Proto.Temporal.Api.Common.V1.Message.Callback] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptionsUpdatedEventAttributes "vec'attachedCompletionCallbacks" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Callback) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionOptionsUpdatedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \.WorkflowExecutionOptionsUpdatedEventAttributes\DC2]\n\
+      \\DC3versioning_override\CAN\SOH \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2:\n\
+      \\EMunset_versioning_override\CAN\STX \SOH(\bR\ETBunsetVersioningOverride\DC2.\n\
+      \\DC3attached_request_id\CAN\ETX \SOH(\tR\DC1attachedRequestId\DC2d\n\
+      \\GSattached_completion_callbacks\CAN\EOT \ETX(\v2 .temporal.api.common.v1.CallbackR\ESCattachedCompletionCallbacks"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        versioningOverride__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_override"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versioningOverride")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionOptionsUpdatedEventAttributes
+        unsetVersioningOverride__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "unset_versioning_override"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"unsetVersioningOverride")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionOptionsUpdatedEventAttributes
+        attachedRequestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attached_request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"attachedRequestId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionOptionsUpdatedEventAttributes
+        attachedCompletionCallbacks__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attached_completion_callbacks"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Callback)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"attachedCompletionCallbacks")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionOptionsUpdatedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, versioningOverride__field_descriptor),
+           (Data.ProtoLens.Tag 2, unsetVersioningOverride__field_descriptor),
+           (Data.ProtoLens.Tag 3, attachedRequestId__field_descriptor),
+           (Data.ProtoLens.Tag 4, 
+            attachedCompletionCallbacks__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionOptionsUpdatedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionOptionsUpdatedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionOptionsUpdatedEventAttributes'_constructor
+        {_WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride = Prelude.Nothing,
+         _WorkflowExecutionOptionsUpdatedEventAttributes'unsetVersioningOverride = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionOptionsUpdatedEventAttributes'attachedRequestId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks = Data.Vector.Generic.empty,
+         _WorkflowExecutionOptionsUpdatedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionOptionsUpdatedEventAttributes
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Callback
+             -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionOptionsUpdatedEventAttributes
+        loop x mutable'attachedCompletionCallbacks
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'attachedCompletionCallbacks <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                              (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                                 mutable'attachedCompletionCallbacks)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'attachedCompletionCallbacks")
+                              frozen'attachedCompletionCallbacks x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "versioning_override"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningOverride") y x)
+                                  mutable'attachedCompletionCallbacks
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "unset_versioning_override"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"unsetVersioningOverride") y x)
+                                  mutable'attachedCompletionCallbacks
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "attached_request_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"attachedRequestId") y x)
+                                  mutable'attachedCompletionCallbacks
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "attached_completion_callbacks"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'attachedCompletionCallbacks y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'attachedCompletionCallbacks
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'attachedCompletionCallbacks <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                       Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'attachedCompletionCallbacks)
+          "WorkflowExecutionOptionsUpdatedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'versioningOverride") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"unsetVersioningOverride") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"attachedRequestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'attachedCompletionCallbacks")
+                            _x))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowExecutionOptionsUpdatedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionOptionsUpdatedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionOptionsUpdatedEventAttributes'versioningOverride
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionOptionsUpdatedEventAttributes'unsetVersioningOverride
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionOptionsUpdatedEventAttributes'attachedRequestId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionOptionsUpdatedEventAttributes'attachedCompletionCallbacks
+                            x__)
+                         ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.signalName' @:: Lens' WorkflowExecutionSignaledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' WorkflowExecutionSignaledEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' WorkflowExecutionSignaledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowExecutionSignaledEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' WorkflowExecutionSignaledEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' WorkflowExecutionSignaledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.skipGenerateWorkflowTask' @:: Lens' WorkflowExecutionSignaledEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.externalWorkflowExecution' @:: Lens' WorkflowExecutionSignaledEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'externalWorkflowExecution' @:: Lens' WorkflowExecutionSignaledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@ -}
+data WorkflowExecutionSignaledEventAttributes
+  = WorkflowExecutionSignaledEventAttributes'_constructor {_WorkflowExecutionSignaledEventAttributes'signalName :: !Data.Text.Text,
+                                                           _WorkflowExecutionSignaledEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                           _WorkflowExecutionSignaledEventAttributes'identity :: !Data.Text.Text,
+                                                           _WorkflowExecutionSignaledEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                           _WorkflowExecutionSignaledEventAttributes'skipGenerateWorkflowTask :: !Prelude.Bool,
+                                                           _WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                           _WorkflowExecutionSignaledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionSignaledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "signalName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'signalName
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionSignaledEventAttributes'signalName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'input
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionSignaledEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'input
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionSignaledEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionSignaledEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'header
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionSignaledEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'header
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionSignaledEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "skipGenerateWorkflowTask" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'skipGenerateWorkflowTask
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionSignaledEventAttributes'skipGenerateWorkflowTask = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "externalWorkflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionSignaledEventAttributes "maybe'externalWorkflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionSignaledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionSignaledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \(WorkflowExecutionSignaledEventAttributes\DC2\US\n\
+      \\vsignal_name\CAN\SOH \SOH(\tR\n\
+      \signalName\DC26\n\
+      \\ENQinput\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2\SUB\n\
+      \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC26\n\
+      \\ACKheader\CAN\EOT \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2A\n\
+      \\ESCskip_generate_workflow_task\CAN\ENQ \SOH(\bR\CANskipGenerateWorkflowTaskB\STX\CAN\SOH\DC2i\n\
+      \\ESCexternal_workflow_execution\CAN\ACK \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\EMexternalWorkflowExecution"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        signalName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"signalName")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionSignaledEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionSignaledEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionSignaledEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionSignaledEventAttributes
+        skipGenerateWorkflowTask__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "skip_generate_workflow_task"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"skipGenerateWorkflowTask")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionSignaledEventAttributes
+        externalWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "external_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'externalWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionSignaledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, signalName__field_descriptor),
+           (Data.ProtoLens.Tag 2, input__field_descriptor),
+           (Data.ProtoLens.Tag 3, identity__field_descriptor),
+           (Data.ProtoLens.Tag 4, header__field_descriptor),
+           (Data.ProtoLens.Tag 5, skipGenerateWorkflowTask__field_descriptor),
+           (Data.ProtoLens.Tag 6, 
+            externalWorkflowExecution__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionSignaledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionSignaledEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionSignaledEventAttributes'_constructor
+        {_WorkflowExecutionSignaledEventAttributes'signalName = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionSignaledEventAttributes'input = Prelude.Nothing,
+         _WorkflowExecutionSignaledEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionSignaledEventAttributes'header = Prelude.Nothing,
+         _WorkflowExecutionSignaledEventAttributes'skipGenerateWorkflowTask = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution = Prelude.Nothing,
+         _WorkflowExecutionSignaledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionSignaledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionSignaledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "signal_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"signalName") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "skip_generate_workflow_task"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"skipGenerateWorkflowTask") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "external_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"externalWorkflowExecution") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionSignaledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"signalName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"skipGenerateWorkflowTask") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (\ b -> if b then 1 else 0) _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'externalWorkflowExecution")
+                                   _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData WorkflowExecutionSignaledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionSignaledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionSignaledEventAttributes'signalName x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionSignaledEventAttributes'input x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionSignaledEventAttributes'identity x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionSignaledEventAttributes'header x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionSignaledEventAttributes'skipGenerateWorkflowTask
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowExecutionSignaledEventAttributes'externalWorkflowExecution
+                                  x__)
+                               ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowType' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowType' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentWorkflowNamespace' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentWorkflowNamespaceId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentWorkflowExecution' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'parentWorkflowExecution' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentInitiatedEventId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.taskQueue' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'taskQueue' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.input' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'input' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionTimeout' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionTimeout' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowRunTimeout' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskTimeout' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowTaskTimeout' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.continuedExecutionRunId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.initiator' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.continuedFailure' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'continuedFailure' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.lastCompletionResult' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'lastCompletionResult' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.originalExecutionRunId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.firstExecutionRunId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryPolicy' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'retryPolicy' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.attempt' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Int.Int32@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowExecutionExpirationTime' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workflowExecutionExpirationTime' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cronSchedule' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.firstWorkflowTaskBackoff' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'firstWorkflowTaskBackoff' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.memo' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'memo' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.searchAttributes' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'searchAttributes' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.prevAutoResetPoints' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Workflow.V1.Message.ResetPoints@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'prevAutoResetPoints' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.ResetPoints)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.header' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'header' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentInitiatedEventVersion' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.sourceVersionStamp' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'sourceVersionStamp' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.completionCallbacks' @:: Lens' WorkflowExecutionStartedEventAttributes [Proto.Temporal.Api.Common.V1.Message.Callback]@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.vec'completionCallbacks' @:: Lens' WorkflowExecutionStartedEventAttributes (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Callback)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.rootWorkflowExecution' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'rootWorkflowExecution' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.inheritedBuildId' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.versioningOverride' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'versioningOverride' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.parentPinnedWorkerDeploymentVersion' @:: Lens' WorkflowExecutionStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.priority' @:: Lens' WorkflowExecutionStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'priority' @:: Lens' WorkflowExecutionStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data WorkflowExecutionStartedEventAttributes
+  = WorkflowExecutionStartedEventAttributes'_constructor {_WorkflowExecutionStartedEventAttributes'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                                          _WorkflowExecutionStartedEventAttributes'parentWorkflowNamespace :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'parentWorkflowNamespaceId :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'parentWorkflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                          _WorkflowExecutionStartedEventAttributes'parentInitiatedEventId :: !Data.Int.Int64,
+                                                          _WorkflowExecutionStartedEventAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                          _WorkflowExecutionStartedEventAttributes'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                          _WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                          _WorkflowExecutionStartedEventAttributes'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                          _WorkflowExecutionStartedEventAttributes'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                          _WorkflowExecutionStartedEventAttributes'continuedExecutionRunId :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'initiator :: !Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator,
+                                                          _WorkflowExecutionStartedEventAttributes'continuedFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                          _WorkflowExecutionStartedEventAttributes'lastCompletionResult :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                          _WorkflowExecutionStartedEventAttributes'originalExecutionRunId :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'identity :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'firstExecutionRunId :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                          _WorkflowExecutionStartedEventAttributes'attempt :: !Data.Int.Int32,
+                                                          _WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                          _WorkflowExecutionStartedEventAttributes'cronSchedule :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                          _WorkflowExecutionStartedEventAttributes'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                          _WorkflowExecutionStartedEventAttributes'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                                          _WorkflowExecutionStartedEventAttributes'prevAutoResetPoints :: !(Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.ResetPoints),
+                                                          _WorkflowExecutionStartedEventAttributes'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                                          _WorkflowExecutionStartedEventAttributes'parentInitiatedEventVersion :: !Data.Int.Int64,
+                                                          _WorkflowExecutionStartedEventAttributes'workflowId :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'sourceVersionStamp :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                          _WorkflowExecutionStartedEventAttributes'completionCallbacks :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Callback),
+                                                          _WorkflowExecutionStartedEventAttributes'rootWorkflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                                          _WorkflowExecutionStartedEventAttributes'inheritedBuildId :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'versioningOverride :: !(Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride),
+                                                          _WorkflowExecutionStartedEventAttributes'parentPinnedWorkerDeploymentVersion :: !Data.Text.Text,
+                                                          _WorkflowExecutionStartedEventAttributes'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                                          _WorkflowExecutionStartedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionStartedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowType
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "parentWorkflowNamespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentWorkflowNamespace
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentWorkflowNamespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "parentWorkflowNamespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentWorkflowNamespaceId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentWorkflowNamespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "parentWorkflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentWorkflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'parentWorkflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentWorkflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "parentInitiatedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentInitiatedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentInitiatedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'input
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'input
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "continuedExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'continuedExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'continuedExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "initiator" Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'initiator
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'initiator = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "continuedFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'continuedFailure
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'continuedFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'continuedFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'continuedFailure
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'continuedFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "lastCompletionResult" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'lastCompletionResult
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'lastCompletionResult = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'lastCompletionResult" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'lastCompletionResult
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'lastCompletionResult = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "originalExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'originalExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'originalExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "firstExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'firstExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'firstExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'retryPolicy
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'attempt
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "workflowExecutionExpirationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'workflowExecutionExpirationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'cronSchedule
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "firstWorkflowTaskBackoff" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'firstWorkflowTaskBackoff" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'memo
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'memo
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'searchAttributes
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "prevAutoResetPoints" Proto.Temporal.Api.Workflow.V1.Message.ResetPoints where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'prevAutoResetPoints
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'prevAutoResetPoints = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'prevAutoResetPoints" (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.ResetPoints) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'prevAutoResetPoints
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'prevAutoResetPoints = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'header
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'header
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "parentInitiatedEventVersion" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentInitiatedEventVersion
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentInitiatedEventVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'workflowId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "sourceVersionStamp" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'sourceVersionStamp
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'sourceVersionStamp = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'sourceVersionStamp" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'sourceVersionStamp
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'sourceVersionStamp = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "completionCallbacks" [Proto.Temporal.Api.Common.V1.Message.Callback] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'completionCallbacks
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'completionCallbacks = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "vec'completionCallbacks" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Callback) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'completionCallbacks
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'completionCallbacks = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "rootWorkflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'rootWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'rootWorkflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'rootWorkflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'rootWorkflowExecution
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'rootWorkflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "inheritedBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'inheritedBuildId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'inheritedBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "versioningOverride" Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'versioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'versioningOverride = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'versioningOverride" (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'versioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'versioningOverride = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "parentPinnedWorkerDeploymentVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'parentPinnedWorkerDeploymentVersion
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionStartedEventAttributes'parentPinnedWorkerDeploymentVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'priority
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionStartedEventAttributes "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionStartedEventAttributes'priority
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionStartedEventAttributes'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionStartedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionStartedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \'WorkflowExecutionStartedEventAttributes\DC2I\n\
+      \\rworkflow_type\CAN\SOH \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2:\n\
+      \\EMparent_workflow_namespace\CAN\STX \SOH(\tR\ETBparentWorkflowNamespace\DC2?\n\
+      \\FSparent_workflow_namespace_id\CAN\ESC \SOH(\tR\EMparentWorkflowNamespaceId\DC2e\n\
+      \\EMparent_workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\ETBparentWorkflowExecution\DC29\n\
+      \\EMparent_initiated_event_id\CAN\EOT \SOH(\ETXR\SYNparentInitiatedEventId\DC2C\n\
+      \\n\
+      \task_queue\CAN\ENQ \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ENQinput\CAN\ACK \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2;\n\
+      \\SUBcontinued_execution_run_id\CAN\n\
+      \ \SOH(\tR\ETBcontinuedExecutionRunId\DC2K\n\
+      \\tinitiator\CAN\v \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\DC2M\n\
+      \\DC1continued_failure\CAN\f \SOH(\v2 .temporal.api.failure.v1.FailureR\DLEcontinuedFailure\DC2V\n\
+      \\SYNlast_completion_result\CAN\r \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC29\n\
+      \\EMoriginal_execution_run_id\CAN\SO \SOH(\tR\SYNoriginalExecutionRunId\DC2\SUB\n\
+      \\bidentity\CAN\SI \SOH(\tR\bidentity\DC23\n\
+      \\SYNfirst_execution_run_id\CAN\DLE \SOH(\tR\DC3firstExecutionRunId\DC2F\n\
+      \\fretry_policy\CAN\DC1 \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2\CAN\n\
+      \\aattempt\CAN\DC2 \SOH(\ENQR\aattempt\DC2g\n\
+      \\"workflow_execution_expiration_time\CAN\DC3 \SOH(\v2\SUB.google.protobuf.TimestampR\USworkflowExecutionExpirationTime\DC2#\n\
+      \\rcron_schedule\CAN\DC4 \SOH(\tR\fcronSchedule\DC2X\n\
+      \\ESCfirst_workflow_task_backoff\CAN\NAK \SOH(\v2\EM.google.protobuf.DurationR\CANfirstWorkflowTaskBackoff\DC20\n\
+      \\EOTmemo\CAN\SYN \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\ETB \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2Z\n\
+      \\SYNprev_auto_reset_points\CAN\CAN \SOH(\v2%.temporal.api.workflow.v1.ResetPointsR\DC3prevAutoResetPoints\DC26\n\
+      \\ACKheader\CAN\EM \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2C\n\
+      \\RSparent_initiated_event_version\CAN\SUB \SOH(\ETXR\ESCparentInitiatedEventVersion\DC2\US\n\
+      \\vworkflow_id\CAN\FS \SOH(\tR\n\
+      \workflowId\DC2\\\n\
+      \\DC4source_version_stamp\CAN\GS \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\DC2sourceVersionStamp\DC2S\n\
+      \\DC4completion_callbacks\CAN\RS \ETX(\v2 .temporal.api.common.v1.CallbackR\DC3completionCallbacks\DC2a\n\
+      \\ETBroot_workflow_execution\CAN\US \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\NAKrootWorkflowExecution\DC2,\n\
+      \\DC2inherited_build_id\CAN  \SOH(\tR\DLEinheritedBuildId\DC2]\n\
+      \\DC3versioning_override\CAN! \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2T\n\
+      \'parent_pinned_worker_deployment_version\CAN\" \SOH(\tR#parentPinnedWorkerDeploymentVersion\DC2<\n\
+      \\bpriority\CAN# \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        parentWorkflowNamespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_workflow_namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentWorkflowNamespace")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        parentWorkflowNamespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_workflow_namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentWorkflowNamespaceId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        parentWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'parentWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        parentInitiatedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_initiated_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentInitiatedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        continuedExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continued_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"continuedExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        initiator__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiator"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiator")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        continuedFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continued_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'continuedFailure")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        lastCompletionResult__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_completion_result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastCompletionResult")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        originalExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "original_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"originalExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        firstExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"firstExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        workflowExecutionExpirationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_expiration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionExpirationTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        firstWorkflowTaskBackoff__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_workflow_task_backoff"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'firstWorkflowTaskBackoff")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        prevAutoResetPoints__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "prev_auto_reset_points"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Workflow.V1.Message.ResetPoints)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'prevAutoResetPoints")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        parentInitiatedEventVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_initiated_event_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentInitiatedEventVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        sourceVersionStamp__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "source_version_stamp"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'sourceVersionStamp")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        completionCallbacks__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completion_callbacks"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Callback)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"completionCallbacks")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        rootWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "root_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rootWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        inheritedBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "inherited_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"inheritedBuildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        versioningOverride__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_override"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Workflow.V1.Message.VersioningOverride)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versioningOverride")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        parentPinnedWorkerDeploymentVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_pinned_worker_deployment_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field
+                    @"parentPinnedWorkerDeploymentVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionStartedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 2, parentWorkflowNamespace__field_descriptor),
+           (Data.ProtoLens.Tag 27, 
+            parentWorkflowNamespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, parentWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, parentInitiatedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 5, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 6, input__field_descriptor),
+           (Data.ProtoLens.Tag 7, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, continuedExecutionRunId__field_descriptor),
+           (Data.ProtoLens.Tag 11, initiator__field_descriptor),
+           (Data.ProtoLens.Tag 12, continuedFailure__field_descriptor),
+           (Data.ProtoLens.Tag 13, lastCompletionResult__field_descriptor),
+           (Data.ProtoLens.Tag 14, originalExecutionRunId__field_descriptor),
+           (Data.ProtoLens.Tag 15, identity__field_descriptor),
+           (Data.ProtoLens.Tag 16, firstExecutionRunId__field_descriptor),
+           (Data.ProtoLens.Tag 17, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 18, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 19, 
+            workflowExecutionExpirationTime__field_descriptor),
+           (Data.ProtoLens.Tag 20, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 21, 
+            firstWorkflowTaskBackoff__field_descriptor),
+           (Data.ProtoLens.Tag 22, memo__field_descriptor),
+           (Data.ProtoLens.Tag 23, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 24, prevAutoResetPoints__field_descriptor),
+           (Data.ProtoLens.Tag 25, header__field_descriptor),
+           (Data.ProtoLens.Tag 26, 
+            parentInitiatedEventVersion__field_descriptor),
+           (Data.ProtoLens.Tag 28, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 29, sourceVersionStamp__field_descriptor),
+           (Data.ProtoLens.Tag 30, completionCallbacks__field_descriptor),
+           (Data.ProtoLens.Tag 31, rootWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 32, inheritedBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 33, versioningOverride__field_descriptor),
+           (Data.ProtoLens.Tag 34, 
+            parentPinnedWorkerDeploymentVersion__field_descriptor),
+           (Data.ProtoLens.Tag 35, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionStartedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionStartedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionStartedEventAttributes'_constructor
+        {_WorkflowExecutionStartedEventAttributes'workflowType = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'parentWorkflowNamespace = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'parentWorkflowNamespaceId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'parentWorkflowExecution = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'parentInitiatedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'taskQueue = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'input = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'workflowRunTimeout = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'workflowTaskTimeout = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'continuedExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'initiator = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'continuedFailure = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'lastCompletionResult = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'originalExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'firstExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'retryPolicy = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'attempt = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'cronSchedule = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'memo = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'searchAttributes = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'prevAutoResetPoints = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'header = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'parentInitiatedEventVersion = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'workflowId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'sourceVersionStamp = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'completionCallbacks = Data.Vector.Generic.empty,
+         _WorkflowExecutionStartedEventAttributes'rootWorkflowExecution = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'inheritedBuildId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'versioningOverride = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'parentPinnedWorkerDeploymentVersion = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionStartedEventAttributes'priority = Prelude.Nothing,
+         _WorkflowExecutionStartedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionStartedEventAttributes
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Callback
+             -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionStartedEventAttributes
+        loop x mutable'completionCallbacks
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'completionCallbacks <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                      (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                         mutable'completionCallbacks)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'completionCallbacks")
+                              frozen'completionCallbacks x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                                  mutable'completionCallbacks
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "parent_workflow_namespace"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentWorkflowNamespace") y x)
+                                  mutable'completionCallbacks
+                        218
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "parent_workflow_namespace_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentWorkflowNamespaceId") y x)
+                                  mutable'completionCallbacks
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "parent_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentWorkflowExecution") y x)
+                                  mutable'completionCallbacks
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "parent_initiated_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentInitiatedEventId") y x)
+                                  mutable'completionCallbacks
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                                  mutable'completionCallbacks
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                                  mutable'completionCallbacks
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                                  mutable'completionCallbacks
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                                  mutable'completionCallbacks
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                                  mutable'completionCallbacks
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "continued_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continuedExecutionRunId") y x)
+                                  mutable'completionCallbacks
+                        88
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "initiator"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"initiator") y x)
+                                  mutable'completionCallbacks
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "continued_failure"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continuedFailure") y x)
+                                  mutable'completionCallbacks
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_completion_result"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastCompletionResult") y x)
+                                  mutable'completionCallbacks
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "original_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"originalExecutionRunId") y x)
+                                  mutable'completionCallbacks
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                                  mutable'completionCallbacks
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "first_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"firstExecutionRunId") y x)
+                                  mutable'completionCallbacks
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'completionCallbacks
+                        144
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                                  mutable'completionCallbacks
+                        154
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_expiration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionExpirationTime")
+                                     y x)
+                                  mutable'completionCallbacks
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                                  mutable'completionCallbacks
+                        170
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "first_workflow_task_backoff"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"firstWorkflowTaskBackoff") y x)
+                                  mutable'completionCallbacks
+                        178
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                                  mutable'completionCallbacks
+                        186
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                                  mutable'completionCallbacks
+                        194
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "prev_auto_reset_points"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"prevAutoResetPoints") y x)
+                                  mutable'completionCallbacks
+                        202
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                                  mutable'completionCallbacks
+                        208
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "parent_initiated_event_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentInitiatedEventVersion") y
+                                     x)
+                                  mutable'completionCallbacks
+                        226
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                                  mutable'completionCallbacks
+                        234
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "source_version_stamp"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"sourceVersionStamp") y x)
+                                  mutable'completionCallbacks
+                        242
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "completion_callbacks"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'completionCallbacks y)
+                                loop x v
+                        250
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "root_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rootWorkflowExecution") y x)
+                                  mutable'completionCallbacks
+                        258
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "inherited_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"inheritedBuildId") y x)
+                                  mutable'completionCallbacks
+                        266
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "versioning_override"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningOverride") y x)
+                                  mutable'completionCallbacks
+                        274
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "parent_pinned_worker_deployment_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"parentPinnedWorkerDeploymentVersion")
+                                     y x)
+                                  mutable'completionCallbacks
+                        282
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                                  mutable'completionCallbacks
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'completionCallbacks
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'completionCallbacks <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                               Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'completionCallbacks)
+          "WorkflowExecutionStartedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"parentWorkflowNamespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"parentWorkflowNamespaceId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 218)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'parentWorkflowExecution") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"parentInitiatedEventId") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field
+                                            @"maybe'workflowExecutionTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'workflowTaskTimeout")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"continuedExecutionRunId")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                    ((Prelude..)
+                                                       (\ bs
+                                                          -> (Data.Monoid.<>)
+                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                  (Prelude.fromIntegral
+                                                                     (Data.ByteString.length bs)))
+                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                  bs))
+                                                       Data.Text.Encoding.encodeUtf8 _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field @"initiator") _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 88)
+                                                       ((Prelude..)
+                                                          ((Prelude..)
+                                                             Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             Prelude.fromIntegral)
+                                                          Prelude.fromEnum _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field
+                                                           @"maybe'continuedFailure")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              98)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'lastCompletionResult")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 106)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"originalExecutionRunId")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   114)
+                                                                ((Prelude..)
+                                                                   (\ bs
+                                                                      -> (Data.Monoid.<>)
+                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                              (Prelude.fromIntegral
+                                                                                 (Data.ByteString.length
+                                                                                    bs)))
+                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                              bs))
+                                                                   Data.Text.Encoding.encodeUtf8
+                                                                   _v))
+                                                       ((Data.Monoid.<>)
+                                                          (let
+                                                             _v
+                                                               = Lens.Family2.view
+                                                                   (Data.ProtoLens.Field.field
+                                                                      @"identity")
+                                                                   _x
+                                                           in
+                                                             if (Prelude.==)
+                                                                  _v
+                                                                  Data.ProtoLens.fieldDefault then
+                                                                 Data.Monoid.mempty
+                                                             else
+                                                                 (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      122)
+                                                                   ((Prelude..)
+                                                                      (\ bs
+                                                                         -> (Data.Monoid.<>)
+                                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                 (Prelude.fromIntegral
+                                                                                    (Data.ByteString.length
+                                                                                       bs)))
+                                                                              (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                 bs))
+                                                                      Data.Text.Encoding.encodeUtf8
+                                                                      _v))
+                                                          ((Data.Monoid.<>)
+                                                             (let
+                                                                _v
+                                                                  = Lens.Family2.view
+                                                                      (Data.ProtoLens.Field.field
+                                                                         @"firstExecutionRunId")
+                                                                      _x
+                                                              in
+                                                                if (Prelude.==)
+                                                                     _v
+                                                                     Data.ProtoLens.fieldDefault then
+                                                                    Data.Monoid.mempty
+                                                                else
+                                                                    (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         130)
+                                                                      ((Prelude..)
+                                                                         (\ bs
+                                                                            -> (Data.Monoid.<>)
+                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                    (Prelude.fromIntegral
+                                                                                       (Data.ByteString.length
+                                                                                          bs)))
+                                                                                 (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                    bs))
+                                                                         Data.Text.Encoding.encodeUtf8
+                                                                         _v))
+                                                             ((Data.Monoid.<>)
+                                                                (case
+                                                                     Lens.Family2.view
+                                                                       (Data.ProtoLens.Field.field
+                                                                          @"maybe'retryPolicy")
+                                                                       _x
+                                                                 of
+                                                                   Prelude.Nothing
+                                                                     -> Data.Monoid.mempty
+                                                                   (Prelude.Just _v)
+                                                                     -> (Data.Monoid.<>)
+                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                             138)
+                                                                          ((Prelude..)
+                                                                             (\ bs
+                                                                                -> (Data.Monoid.<>)
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                        (Prelude.fromIntegral
+                                                                                           (Data.ByteString.length
+                                                                                              bs)))
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                        bs))
+                                                                             Data.ProtoLens.encodeMessage
+                                                                             _v))
+                                                                ((Data.Monoid.<>)
+                                                                   (let
+                                                                      _v
+                                                                        = Lens.Family2.view
+                                                                            (Data.ProtoLens.Field.field
+                                                                               @"attempt")
+                                                                            _x
+                                                                    in
+                                                                      if (Prelude.==)
+                                                                           _v
+                                                                           Data.ProtoLens.fieldDefault then
+                                                                          Data.Monoid.mempty
+                                                                      else
+                                                                          (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               144)
+                                                                            ((Prelude..)
+                                                                               Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               Prelude.fromIntegral
+                                                                               _v))
+                                                                   ((Data.Monoid.<>)
+                                                                      (case
+                                                                           Lens.Family2.view
+                                                                             (Data.ProtoLens.Field.field
+                                                                                @"maybe'workflowExecutionExpirationTime")
+                                                                             _x
+                                                                       of
+                                                                         Prelude.Nothing
+                                                                           -> Data.Monoid.mempty
+                                                                         (Prelude.Just _v)
+                                                                           -> (Data.Monoid.<>)
+                                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                   154)
+                                                                                ((Prelude..)
+                                                                                   (\ bs
+                                                                                      -> (Data.Monoid.<>)
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                              (Prelude.fromIntegral
+                                                                                                 (Data.ByteString.length
+                                                                                                    bs)))
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                              bs))
+                                                                                   Data.ProtoLens.encodeMessage
+                                                                                   _v))
+                                                                      ((Data.Monoid.<>)
+                                                                         (let
+                                                                            _v
+                                                                              = Lens.Family2.view
+                                                                                  (Data.ProtoLens.Field.field
+                                                                                     @"cronSchedule")
+                                                                                  _x
+                                                                          in
+                                                                            if (Prelude.==)
+                                                                                 _v
+                                                                                 Data.ProtoLens.fieldDefault then
+                                                                                Data.Monoid.mempty
+                                                                            else
+                                                                                (Data.Monoid.<>)
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                     162)
+                                                                                  ((Prelude..)
+                                                                                     (\ bs
+                                                                                        -> (Data.Monoid.<>)
+                                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                (Prelude.fromIntegral
+                                                                                                   (Data.ByteString.length
+                                                                                                      bs)))
+                                                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                bs))
+                                                                                     Data.Text.Encoding.encodeUtf8
+                                                                                     _v))
+                                                                         ((Data.Monoid.<>)
+                                                                            (case
+                                                                                 Lens.Family2.view
+                                                                                   (Data.ProtoLens.Field.field
+                                                                                      @"maybe'firstWorkflowTaskBackoff")
+                                                                                   _x
+                                                                             of
+                                                                               Prelude.Nothing
+                                                                                 -> Data.Monoid.mempty
+                                                                               (Prelude.Just _v)
+                                                                                 -> (Data.Monoid.<>)
+                                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                         170)
+                                                                                      ((Prelude..)
+                                                                                         (\ bs
+                                                                                            -> (Data.Monoid.<>)
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                    (Prelude.fromIntegral
+                                                                                                       (Data.ByteString.length
+                                                                                                          bs)))
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                    bs))
+                                                                                         Data.ProtoLens.encodeMessage
+                                                                                         _v))
+                                                                            ((Data.Monoid.<>)
+                                                                               (case
+                                                                                    Lens.Family2.view
+                                                                                      (Data.ProtoLens.Field.field
+                                                                                         @"maybe'memo")
+                                                                                      _x
+                                                                                of
+                                                                                  Prelude.Nothing
+                                                                                    -> Data.Monoid.mempty
+                                                                                  (Prelude.Just _v)
+                                                                                    -> (Data.Monoid.<>)
+                                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                            178)
+                                                                                         ((Prelude..)
+                                                                                            (\ bs
+                                                                                               -> (Data.Monoid.<>)
+                                                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                       (Prelude.fromIntegral
+                                                                                                          (Data.ByteString.length
+                                                                                                             bs)))
+                                                                                                    (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                       bs))
+                                                                                            Data.ProtoLens.encodeMessage
+                                                                                            _v))
+                                                                               ((Data.Monoid.<>)
+                                                                                  (case
+                                                                                       Lens.Family2.view
+                                                                                         (Data.ProtoLens.Field.field
+                                                                                            @"maybe'searchAttributes")
+                                                                                         _x
+                                                                                   of
+                                                                                     Prelude.Nothing
+                                                                                       -> Data.Monoid.mempty
+                                                                                     (Prelude.Just _v)
+                                                                                       -> (Data.Monoid.<>)
+                                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                               186)
+                                                                                            ((Prelude..)
+                                                                                               (\ bs
+                                                                                                  -> (Data.Monoid.<>)
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                          (Prelude.fromIntegral
+                                                                                                             (Data.ByteString.length
+                                                                                                                bs)))
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                          bs))
+                                                                                               Data.ProtoLens.encodeMessage
+                                                                                               _v))
+                                                                                  ((Data.Monoid.<>)
+                                                                                     (case
+                                                                                          Lens.Family2.view
+                                                                                            (Data.ProtoLens.Field.field
+                                                                                               @"maybe'prevAutoResetPoints")
+                                                                                            _x
+                                                                                      of
+                                                                                        Prelude.Nothing
+                                                                                          -> Data.Monoid.mempty
+                                                                                        (Prelude.Just _v)
+                                                                                          -> (Data.Monoid.<>)
+                                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                  194)
+                                                                                               ((Prelude..)
+                                                                                                  (\ bs
+                                                                                                     -> (Data.Monoid.<>)
+                                                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                             (Prelude.fromIntegral
+                                                                                                                (Data.ByteString.length
+                                                                                                                   bs)))
+                                                                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                             bs))
+                                                                                                  Data.ProtoLens.encodeMessage
+                                                                                                  _v))
+                                                                                     ((Data.Monoid.<>)
+                                                                                        (case
+                                                                                             Lens.Family2.view
+                                                                                               (Data.ProtoLens.Field.field
+                                                                                                  @"maybe'header")
+                                                                                               _x
+                                                                                         of
+                                                                                           Prelude.Nothing
+                                                                                             -> Data.Monoid.mempty
+                                                                                           (Prelude.Just _v)
+                                                                                             -> (Data.Monoid.<>)
+                                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                     202)
+                                                                                                  ((Prelude..)
+                                                                                                     (\ bs
+                                                                                                        -> (Data.Monoid.<>)
+                                                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                (Prelude.fromIntegral
+                                                                                                                   (Data.ByteString.length
+                                                                                                                      bs)))
+                                                                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                bs))
+                                                                                                     Data.ProtoLens.encodeMessage
+                                                                                                     _v))
+                                                                                        ((Data.Monoid.<>)
+                                                                                           (let
+                                                                                              _v
+                                                                                                = Lens.Family2.view
+                                                                                                    (Data.ProtoLens.Field.field
+                                                                                                       @"parentInitiatedEventVersion")
+                                                                                                    _x
+                                                                                            in
+                                                                                              if (Prelude.==)
+                                                                                                   _v
+                                                                                                   Data.ProtoLens.fieldDefault then
+                                                                                                  Data.Monoid.mempty
+                                                                                              else
+                                                                                                  (Data.Monoid.<>)
+                                                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                       208)
+                                                                                                    ((Prelude..)
+                                                                                                       Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                       Prelude.fromIntegral
+                                                                                                       _v))
+                                                                                           ((Data.Monoid.<>)
+                                                                                              (let
+                                                                                                 _v
+                                                                                                   = Lens.Family2.view
+                                                                                                       (Data.ProtoLens.Field.field
+                                                                                                          @"workflowId")
+                                                                                                       _x
+                                                                                               in
+                                                                                                 if (Prelude.==)
+                                                                                                      _v
+                                                                                                      Data.ProtoLens.fieldDefault then
+                                                                                                     Data.Monoid.mempty
+                                                                                                 else
+                                                                                                     (Data.Monoid.<>)
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                          226)
+                                                                                                       ((Prelude..)
+                                                                                                          (\ bs
+                                                                                                             -> (Data.Monoid.<>)
+                                                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                     (Prelude.fromIntegral
+                                                                                                                        (Data.ByteString.length
+                                                                                                                           bs)))
+                                                                                                                  (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                     bs))
+                                                                                                          Data.Text.Encoding.encodeUtf8
+                                                                                                          _v))
+                                                                                              ((Data.Monoid.<>)
+                                                                                                 (case
+                                                                                                      Lens.Family2.view
+                                                                                                        (Data.ProtoLens.Field.field
+                                                                                                           @"maybe'sourceVersionStamp")
+                                                                                                        _x
+                                                                                                  of
+                                                                                                    Prelude.Nothing
+                                                                                                      -> Data.Monoid.mempty
+                                                                                                    (Prelude.Just _v)
+                                                                                                      -> (Data.Monoid.<>)
+                                                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                              234)
+                                                                                                           ((Prelude..)
+                                                                                                              (\ bs
+                                                                                                                 -> (Data.Monoid.<>)
+                                                                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                         (Prelude.fromIntegral
+                                                                                                                            (Data.ByteString.length
+                                                                                                                               bs)))
+                                                                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                         bs))
+                                                                                                              Data.ProtoLens.encodeMessage
+                                                                                                              _v))
+                                                                                                 ((Data.Monoid.<>)
+                                                                                                    (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                                                                                       (\ _v
+                                                                                                          -> (Data.Monoid.<>)
+                                                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                  242)
+                                                                                                               ((Prelude..)
+                                                                                                                  (\ bs
+                                                                                                                     -> (Data.Monoid.<>)
+                                                                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                             (Prelude.fromIntegral
+                                                                                                                                (Data.ByteString.length
+                                                                                                                                   bs)))
+                                                                                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                             bs))
+                                                                                                                  Data.ProtoLens.encodeMessage
+                                                                                                                  _v))
+                                                                                                       (Lens.Family2.view
+                                                                                                          (Data.ProtoLens.Field.field
+                                                                                                             @"vec'completionCallbacks")
+                                                                                                          _x))
+                                                                                                    ((Data.Monoid.<>)
+                                                                                                       (case
+                                                                                                            Lens.Family2.view
+                                                                                                              (Data.ProtoLens.Field.field
+                                                                                                                 @"maybe'rootWorkflowExecution")
+                                                                                                              _x
+                                                                                                        of
+                                                                                                          Prelude.Nothing
+                                                                                                            -> Data.Monoid.mempty
+                                                                                                          (Prelude.Just _v)
+                                                                                                            -> (Data.Monoid.<>)
+                                                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                    250)
+                                                                                                                 ((Prelude..)
+                                                                                                                    (\ bs
+                                                                                                                       -> (Data.Monoid.<>)
+                                                                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                               (Prelude.fromIntegral
+                                                                                                                                  (Data.ByteString.length
+                                                                                                                                     bs)))
+                                                                                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                               bs))
+                                                                                                                    Data.ProtoLens.encodeMessage
+                                                                                                                    _v))
+                                                                                                       ((Data.Monoid.<>)
+                                                                                                          (let
+                                                                                                             _v
+                                                                                                               = Lens.Family2.view
+                                                                                                                   (Data.ProtoLens.Field.field
+                                                                                                                      @"inheritedBuildId")
+                                                                                                                   _x
+                                                                                                           in
+                                                                                                             if (Prelude.==)
+                                                                                                                  _v
+                                                                                                                  Data.ProtoLens.fieldDefault then
+                                                                                                                 Data.Monoid.mempty
+                                                                                                             else
+                                                                                                                 (Data.Monoid.<>)
+                                                                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                      258)
+                                                                                                                   ((Prelude..)
+                                                                                                                      (\ bs
+                                                                                                                         -> (Data.Monoid.<>)
+                                                                                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                                 (Prelude.fromIntegral
+                                                                                                                                    (Data.ByteString.length
+                                                                                                                                       bs)))
+                                                                                                                              (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                                 bs))
+                                                                                                                      Data.Text.Encoding.encodeUtf8
+                                                                                                                      _v))
+                                                                                                          ((Data.Monoid.<>)
+                                                                                                             (case
+                                                                                                                  Lens.Family2.view
+                                                                                                                    (Data.ProtoLens.Field.field
+                                                                                                                       @"maybe'versioningOverride")
+                                                                                                                    _x
+                                                                                                              of
+                                                                                                                Prelude.Nothing
+                                                                                                                  -> Data.Monoid.mempty
+                                                                                                                (Prelude.Just _v)
+                                                                                                                  -> (Data.Monoid.<>)
+                                                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                          266)
+                                                                                                                       ((Prelude..)
+                                                                                                                          (\ bs
+                                                                                                                             -> (Data.Monoid.<>)
+                                                                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                                     (Prelude.fromIntegral
+                                                                                                                                        (Data.ByteString.length
+                                                                                                                                           bs)))
+                                                                                                                                  (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                                     bs))
+                                                                                                                          Data.ProtoLens.encodeMessage
+                                                                                                                          _v))
+                                                                                                             ((Data.Monoid.<>)
+                                                                                                                (let
+                                                                                                                   _v
+                                                                                                                     = Lens.Family2.view
+                                                                                                                         (Data.ProtoLens.Field.field
+                                                                                                                            @"parentPinnedWorkerDeploymentVersion")
+                                                                                                                         _x
+                                                                                                                 in
+                                                                                                                   if (Prelude.==)
+                                                                                                                        _v
+                                                                                                                        Data.ProtoLens.fieldDefault then
+                                                                                                                       Data.Monoid.mempty
+                                                                                                                   else
+                                                                                                                       (Data.Monoid.<>)
+                                                                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                            274)
+                                                                                                                         ((Prelude..)
+                                                                                                                            (\ bs
+                                                                                                                               -> (Data.Monoid.<>)
+                                                                                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                                       (Prelude.fromIntegral
+                                                                                                                                          (Data.ByteString.length
+                                                                                                                                             bs)))
+                                                                                                                                    (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                                       bs))
+                                                                                                                            Data.Text.Encoding.encodeUtf8
+                                                                                                                            _v))
+                                                                                                                ((Data.Monoid.<>)
+                                                                                                                   (case
+                                                                                                                        Lens.Family2.view
+                                                                                                                          (Data.ProtoLens.Field.field
+                                                                                                                             @"maybe'priority")
+                                                                                                                          _x
+                                                                                                                    of
+                                                                                                                      Prelude.Nothing
+                                                                                                                        -> Data.Monoid.mempty
+                                                                                                                      (Prelude.Just _v)
+                                                                                                                        -> (Data.Monoid.<>)
+                                                                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                                282)
+                                                                                                                             ((Prelude..)
+                                                                                                                                (\ bs
+                                                                                                                                   -> (Data.Monoid.<>)
+                                                                                                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                                                           (Prelude.fromIntegral
+                                                                                                                                              (Data.ByteString.length
+                                                                                                                                                 bs)))
+                                                                                                                                        (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                                                           bs))
+                                                                                                                                Data.ProtoLens.encodeMessage
+                                                                                                                                _v))
+                                                                                                                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                                                                      (Lens.Family2.view
+                                                                                                                         Data.ProtoLens.unknownFields
+                                                                                                                         _x))))))))))))))))))))))))))))))))))))
+instance Control.DeepSeq.NFData WorkflowExecutionStartedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionStartedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionStartedEventAttributes'workflowType x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionStartedEventAttributes'parentWorkflowNamespace
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionStartedEventAttributes'parentWorkflowNamespaceId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionStartedEventAttributes'parentWorkflowExecution
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionStartedEventAttributes'parentInitiatedEventId
+                               x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowExecutionStartedEventAttributes'taskQueue x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowExecutionStartedEventAttributes'input x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkflowExecutionStartedEventAttributes'workflowExecutionTimeout
+                                        x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkflowExecutionStartedEventAttributes'workflowRunTimeout
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_WorkflowExecutionStartedEventAttributes'workflowTaskTimeout
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_WorkflowExecutionStartedEventAttributes'continuedExecutionRunId
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_WorkflowExecutionStartedEventAttributes'initiator
+                                                    x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_WorkflowExecutionStartedEventAttributes'continuedFailure
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_WorkflowExecutionStartedEventAttributes'lastCompletionResult
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_WorkflowExecutionStartedEventAttributes'originalExecutionRunId
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_WorkflowExecutionStartedEventAttributes'identity
+                                                                x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_WorkflowExecutionStartedEventAttributes'firstExecutionRunId
+                                                                   x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_WorkflowExecutionStartedEventAttributes'retryPolicy
+                                                                      x__)
+                                                                   (Control.DeepSeq.deepseq
+                                                                      (_WorkflowExecutionStartedEventAttributes'attempt
+                                                                         x__)
+                                                                      (Control.DeepSeq.deepseq
+                                                                         (_WorkflowExecutionStartedEventAttributes'workflowExecutionExpirationTime
+                                                                            x__)
+                                                                         (Control.DeepSeq.deepseq
+                                                                            (_WorkflowExecutionStartedEventAttributes'cronSchedule
+                                                                               x__)
+                                                                            (Control.DeepSeq.deepseq
+                                                                               (_WorkflowExecutionStartedEventAttributes'firstWorkflowTaskBackoff
+                                                                                  x__)
+                                                                               (Control.DeepSeq.deepseq
+                                                                                  (_WorkflowExecutionStartedEventAttributes'memo
+                                                                                     x__)
+                                                                                  (Control.DeepSeq.deepseq
+                                                                                     (_WorkflowExecutionStartedEventAttributes'searchAttributes
+                                                                                        x__)
+                                                                                     (Control.DeepSeq.deepseq
+                                                                                        (_WorkflowExecutionStartedEventAttributes'prevAutoResetPoints
+                                                                                           x__)
+                                                                                        (Control.DeepSeq.deepseq
+                                                                                           (_WorkflowExecutionStartedEventAttributes'header
+                                                                                              x__)
+                                                                                           (Control.DeepSeq.deepseq
+                                                                                              (_WorkflowExecutionStartedEventAttributes'parentInitiatedEventVersion
+                                                                                                 x__)
+                                                                                              (Control.DeepSeq.deepseq
+                                                                                                 (_WorkflowExecutionStartedEventAttributes'workflowId
+                                                                                                    x__)
+                                                                                                 (Control.DeepSeq.deepseq
+                                                                                                    (_WorkflowExecutionStartedEventAttributes'sourceVersionStamp
+                                                                                                       x__)
+                                                                                                    (Control.DeepSeq.deepseq
+                                                                                                       (_WorkflowExecutionStartedEventAttributes'completionCallbacks
+                                                                                                          x__)
+                                                                                                       (Control.DeepSeq.deepseq
+                                                                                                          (_WorkflowExecutionStartedEventAttributes'rootWorkflowExecution
+                                                                                                             x__)
+                                                                                                          (Control.DeepSeq.deepseq
+                                                                                                             (_WorkflowExecutionStartedEventAttributes'inheritedBuildId
+                                                                                                                x__)
+                                                                                                             (Control.DeepSeq.deepseq
+                                                                                                                (_WorkflowExecutionStartedEventAttributes'versioningOverride
+                                                                                                                   x__)
+                                                                                                                (Control.DeepSeq.deepseq
+                                                                                                                   (_WorkflowExecutionStartedEventAttributes'parentPinnedWorkerDeploymentVersion
+                                                                                                                      x__)
+                                                                                                                   (Control.DeepSeq.deepseq
+                                                                                                                      (_WorkflowExecutionStartedEventAttributes'priority
+                                                                                                                         x__)
+                                                                                                                      ())))))))))))))))))))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.reason' @:: Lens' WorkflowExecutionTerminatedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.details' @:: Lens' WorkflowExecutionTerminatedEventAttributes Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'details' @:: Lens' WorkflowExecutionTerminatedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowExecutionTerminatedEventAttributes Data.Text.Text@ -}
+data WorkflowExecutionTerminatedEventAttributes
+  = WorkflowExecutionTerminatedEventAttributes'_constructor {_WorkflowExecutionTerminatedEventAttributes'reason :: !Data.Text.Text,
+                                                             _WorkflowExecutionTerminatedEventAttributes'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                                             _WorkflowExecutionTerminatedEventAttributes'identity :: !Data.Text.Text,
+                                                             _WorkflowExecutionTerminatedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionTerminatedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionTerminatedEventAttributes "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionTerminatedEventAttributes'reason
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionTerminatedEventAttributes'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionTerminatedEventAttributes "details" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionTerminatedEventAttributes'details
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionTerminatedEventAttributes'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionTerminatedEventAttributes "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionTerminatedEventAttributes'details
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionTerminatedEventAttributes'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionTerminatedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionTerminatedEventAttributes'identity
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionTerminatedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionTerminatedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \*WorkflowExecutionTerminatedEventAttributes\DC2\SYN\n\
+      \\ACKreason\CAN\SOH \SOH(\tR\ACKreason\DC2:\n\
+      \\adetails\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2\SUB\n\
+      \\bidentity\CAN\ETX \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionTerminatedEventAttributes
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionTerminatedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionTerminatedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, reason__field_descriptor),
+           (Data.ProtoLens.Tag 2, details__field_descriptor),
+           (Data.ProtoLens.Tag 3, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionTerminatedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionTerminatedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionTerminatedEventAttributes'_constructor
+        {_WorkflowExecutionTerminatedEventAttributes'reason = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionTerminatedEventAttributes'details = Prelude.Nothing,
+         _WorkflowExecutionTerminatedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionTerminatedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionTerminatedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionTerminatedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionTerminatedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkflowExecutionTerminatedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionTerminatedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionTerminatedEventAttributes'reason x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionTerminatedEventAttributes'details x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionTerminatedEventAttributes'identity x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.retryState' @:: Lens' WorkflowExecutionTimedOutEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.RetryState@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newExecutionRunId' @:: Lens' WorkflowExecutionTimedOutEventAttributes Data.Text.Text@ -}
+data WorkflowExecutionTimedOutEventAttributes
+  = WorkflowExecutionTimedOutEventAttributes'_constructor {_WorkflowExecutionTimedOutEventAttributes'retryState :: !Proto.Temporal.Api.Enums.V1.Workflow.RetryState,
+                                                           _WorkflowExecutionTimedOutEventAttributes'newExecutionRunId :: !Data.Text.Text,
+                                                           _WorkflowExecutionTimedOutEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionTimedOutEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionTimedOutEventAttributes "retryState" Proto.Temporal.Api.Enums.V1.Workflow.RetryState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionTimedOutEventAttributes'retryState
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionTimedOutEventAttributes'retryState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionTimedOutEventAttributes "newExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionTimedOutEventAttributes'newExecutionRunId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionTimedOutEventAttributes'newExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionTimedOutEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \(WorkflowExecutionTimedOutEventAttributes\DC2B\n\
+      \\vretry_state\CAN\SOH \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+      \retryState\DC2/\n\
+      \\DC4new_execution_run_id\CAN\STX \SOH(\tR\DC1newExecutionRunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        retryState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.RetryState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryState")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionTimedOutEventAttributes
+        newExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"newExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionTimedOutEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, retryState__field_descriptor),
+           (Data.ProtoLens.Tag 2, newExecutionRunId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionTimedOutEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionTimedOutEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionTimedOutEventAttributes'_constructor
+        {_WorkflowExecutionTimedOutEventAttributes'retryState = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionTimedOutEventAttributes'newExecutionRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionTimedOutEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionTimedOutEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionTimedOutEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryState") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "new_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newExecutionRunId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionTimedOutEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"retryState") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"newExecutionRunId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowExecutionTimedOutEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionTimedOutEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionTimedOutEventAttributes'retryState x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionTimedOutEventAttributes'newExecutionRunId x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.protocolInstanceId' @:: Lens' WorkflowExecutionUpdateAcceptedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.acceptedRequestMessageId' @:: Lens' WorkflowExecutionUpdateAcceptedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.acceptedRequestSequencingEventId' @:: Lens' WorkflowExecutionUpdateAcceptedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.acceptedRequest' @:: Lens' WorkflowExecutionUpdateAcceptedEventAttributes Proto.Temporal.Api.Update.V1.Message.Request@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'acceptedRequest' @:: Lens' WorkflowExecutionUpdateAcceptedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request)@ -}
+data WorkflowExecutionUpdateAcceptedEventAttributes
+  = WorkflowExecutionUpdateAcceptedEventAttributes'_constructor {_WorkflowExecutionUpdateAcceptedEventAttributes'protocolInstanceId :: !Data.Text.Text,
+                                                                 _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestMessageId :: !Data.Text.Text,
+                                                                 _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestSequencingEventId :: !Data.Int.Int64,
+                                                                 _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest :: !(Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request),
+                                                                 _WorkflowExecutionUpdateAcceptedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionUpdateAcceptedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAcceptedEventAttributes "protocolInstanceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAcceptedEventAttributes'protocolInstanceId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAcceptedEventAttributes'protocolInstanceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAcceptedEventAttributes "acceptedRequestMessageId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestMessageId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestMessageId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAcceptedEventAttributes "acceptedRequestSequencingEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestSequencingEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestSequencingEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAcceptedEventAttributes "acceptedRequest" Proto.Temporal.Api.Update.V1.Message.Request where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAcceptedEventAttributes "maybe'acceptedRequest" (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionUpdateAcceptedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \.WorkflowExecutionUpdateAcceptedEventAttributes\DC20\n\
+      \\DC4protocol_instance_id\CAN\SOH \SOH(\tR\DC2protocolInstanceId\DC2=\n\
+      \\ESCaccepted_request_message_id\CAN\STX \SOH(\tR\CANacceptedRequestMessageId\DC2N\n\
+      \$accepted_request_sequencing_event_id\CAN\ETX \SOH(\ETXR acceptedRequestSequencingEventId\DC2J\n\
+      \\DLEaccepted_request\CAN\EOT \SOH(\v2\US.temporal.api.update.v1.RequestR\SIacceptedRequest"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        protocolInstanceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "protocol_instance_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"protocolInstanceId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateAcceptedEventAttributes
+        acceptedRequestMessageId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_request_message_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"acceptedRequestMessageId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateAcceptedEventAttributes
+        acceptedRequestSequencingEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_request_sequencing_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field
+                    @"acceptedRequestSequencingEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateAcceptedEventAttributes
+        acceptedRequest__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_request"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Update.V1.Message.Request)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'acceptedRequest")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateAcceptedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, protocolInstanceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, acceptedRequestMessageId__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            acceptedRequestSequencingEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, acceptedRequest__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionUpdateAcceptedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionUpdateAcceptedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionUpdateAcceptedEventAttributes'_constructor
+        {_WorkflowExecutionUpdateAcceptedEventAttributes'protocolInstanceId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestMessageId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestSequencingEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest = Prelude.Nothing,
+         _WorkflowExecutionUpdateAcceptedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionUpdateAcceptedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionUpdateAcceptedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "protocol_instance_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"protocolInstanceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "accepted_request_message_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"acceptedRequestMessageId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "accepted_request_sequencing_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"acceptedRequestSequencingEventId")
+                                     y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "accepted_request"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"acceptedRequest") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionUpdateAcceptedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"protocolInstanceId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"acceptedRequestMessageId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"acceptedRequestSequencingEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'acceptedRequest") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowExecutionUpdateAcceptedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionUpdateAcceptedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionUpdateAcceptedEventAttributes'protocolInstanceId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestMessageId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequestSequencingEventId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionUpdateAcceptedEventAttributes'acceptedRequest
+                            x__)
+                         ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.request' @:: Lens' WorkflowExecutionUpdateAdmittedEventAttributes Proto.Temporal.Api.Update.V1.Message.Request@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'request' @:: Lens' WorkflowExecutionUpdateAdmittedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.origin' @:: Lens' WorkflowExecutionUpdateAdmittedEventAttributes Proto.Temporal.Api.Enums.V1.Update.UpdateAdmittedEventOrigin@ -}
+data WorkflowExecutionUpdateAdmittedEventAttributes
+  = WorkflowExecutionUpdateAdmittedEventAttributes'_constructor {_WorkflowExecutionUpdateAdmittedEventAttributes'request :: !(Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request),
+                                                                 _WorkflowExecutionUpdateAdmittedEventAttributes'origin :: !Proto.Temporal.Api.Enums.V1.Update.UpdateAdmittedEventOrigin,
+                                                                 _WorkflowExecutionUpdateAdmittedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionUpdateAdmittedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAdmittedEventAttributes "request" Proto.Temporal.Api.Update.V1.Message.Request where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAdmittedEventAttributes'request
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAdmittedEventAttributes'request = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAdmittedEventAttributes "maybe'request" (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAdmittedEventAttributes'request
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAdmittedEventAttributes'request = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateAdmittedEventAttributes "origin" Proto.Temporal.Api.Enums.V1.Update.UpdateAdmittedEventOrigin where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateAdmittedEventAttributes'origin
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateAdmittedEventAttributes'origin = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionUpdateAdmittedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \.WorkflowExecutionUpdateAdmittedEventAttributes\DC29\n\
+      \\arequest\CAN\SOH \SOH(\v2\US.temporal.api.update.v1.RequestR\arequest\DC2H\n\
+      \\ACKorigin\CAN\STX \SOH(\SO20.temporal.api.enums.v1.UpdateAdmittedEventOriginR\ACKorigin"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        request__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Update.V1.Message.Request)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'request")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateAdmittedEventAttributes
+        origin__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "origin"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Update.UpdateAdmittedEventOrigin)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"origin")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateAdmittedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, request__field_descriptor),
+           (Data.ProtoLens.Tag 2, origin__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionUpdateAdmittedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionUpdateAdmittedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionUpdateAdmittedEventAttributes'_constructor
+        {_WorkflowExecutionUpdateAdmittedEventAttributes'request = Prelude.Nothing,
+         _WorkflowExecutionUpdateAdmittedEventAttributes'origin = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateAdmittedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionUpdateAdmittedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionUpdateAdmittedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"request") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "origin"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"origin") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionUpdateAdmittedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'request") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"origin") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowExecutionUpdateAdmittedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionUpdateAdmittedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionUpdateAdmittedEventAttributes'request x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionUpdateAdmittedEventAttributes'origin x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.meta' @:: Lens' WorkflowExecutionUpdateCompletedEventAttributes Proto.Temporal.Api.Update.V1.Message.Meta@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'meta' @:: Lens' WorkflowExecutionUpdateCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Meta)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.acceptedEventId' @:: Lens' WorkflowExecutionUpdateCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.outcome' @:: Lens' WorkflowExecutionUpdateCompletedEventAttributes Proto.Temporal.Api.Update.V1.Message.Outcome@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'outcome' @:: Lens' WorkflowExecutionUpdateCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Outcome)@ -}
+data WorkflowExecutionUpdateCompletedEventAttributes
+  = WorkflowExecutionUpdateCompletedEventAttributes'_constructor {_WorkflowExecutionUpdateCompletedEventAttributes'meta :: !(Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Meta),
+                                                                  _WorkflowExecutionUpdateCompletedEventAttributes'acceptedEventId :: !Data.Int.Int64,
+                                                                  _WorkflowExecutionUpdateCompletedEventAttributes'outcome :: !(Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Outcome),
+                                                                  _WorkflowExecutionUpdateCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionUpdateCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateCompletedEventAttributes "meta" Proto.Temporal.Api.Update.V1.Message.Meta where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateCompletedEventAttributes'meta
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateCompletedEventAttributes'meta = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateCompletedEventAttributes "maybe'meta" (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Meta) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateCompletedEventAttributes'meta
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateCompletedEventAttributes'meta = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateCompletedEventAttributes "acceptedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateCompletedEventAttributes'acceptedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateCompletedEventAttributes'acceptedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateCompletedEventAttributes "outcome" Proto.Temporal.Api.Update.V1.Message.Outcome where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateCompletedEventAttributes'outcome
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateCompletedEventAttributes'outcome = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateCompletedEventAttributes "maybe'outcome" (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Outcome) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateCompletedEventAttributes'outcome
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateCompletedEventAttributes'outcome = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionUpdateCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \/WorkflowExecutionUpdateCompletedEventAttributes\DC20\n\
+      \\EOTmeta\CAN\SOH \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC2*\n\
+      \\DC1accepted_event_id\CAN\ETX \SOH(\ETXR\SIacceptedEventId\DC29\n\
+      \\aoutcome\CAN\STX \SOH(\v2\US.temporal.api.update.v1.OutcomeR\aoutcome"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        meta__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "meta"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Update.V1.Message.Meta)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'meta")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateCompletedEventAttributes
+        acceptedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"acceptedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateCompletedEventAttributes
+        outcome__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "outcome"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Update.V1.Message.Outcome)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'outcome")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, meta__field_descriptor),
+           (Data.ProtoLens.Tag 3, acceptedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, outcome__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionUpdateCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionUpdateCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionUpdateCompletedEventAttributes'_constructor
+        {_WorkflowExecutionUpdateCompletedEventAttributes'meta = Prelude.Nothing,
+         _WorkflowExecutionUpdateCompletedEventAttributes'acceptedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateCompletedEventAttributes'outcome = Prelude.Nothing,
+         _WorkflowExecutionUpdateCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionUpdateCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionUpdateCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "meta"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"meta") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "accepted_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"acceptedEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "outcome"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"outcome") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionUpdateCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'meta") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"acceptedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'outcome") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkflowExecutionUpdateCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionUpdateCompletedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionUpdateCompletedEventAttributes'meta x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionUpdateCompletedEventAttributes'acceptedEventId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionUpdateCompletedEventAttributes'outcome x__)
+                      ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.protocolInstanceId' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.rejectedRequestMessageId' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.rejectedRequestSequencingEventId' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.rejectedRequest' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes Proto.Temporal.Api.Update.V1.Message.Request@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'rejectedRequest' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' WorkflowExecutionUpdateRejectedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data WorkflowExecutionUpdateRejectedEventAttributes
+  = WorkflowExecutionUpdateRejectedEventAttributes'_constructor {_WorkflowExecutionUpdateRejectedEventAttributes'protocolInstanceId :: !Data.Text.Text,
+                                                                 _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestMessageId :: !Data.Text.Text,
+                                                                 _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestSequencingEventId :: !Data.Int.Int64,
+                                                                 _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest :: !(Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request),
+                                                                 _WorkflowExecutionUpdateRejectedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                                 _WorkflowExecutionUpdateRejectedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionUpdateRejectedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "protocolInstanceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'protocolInstanceId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'protocolInstanceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "rejectedRequestMessageId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestMessageId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestMessageId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "rejectedRequestSequencingEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestSequencingEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestSequencingEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "rejectedRequest" Proto.Temporal.Api.Update.V1.Message.Request where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "maybe'rejectedRequest" (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Request) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionUpdateRejectedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionUpdateRejectedEventAttributes'failure
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionUpdateRejectedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionUpdateRejectedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \.WorkflowExecutionUpdateRejectedEventAttributes\DC20\n\
+      \\DC4protocol_instance_id\CAN\SOH \SOH(\tR\DC2protocolInstanceId\DC2=\n\
+      \\ESCrejected_request_message_id\CAN\STX \SOH(\tR\CANrejectedRequestMessageId\DC2N\n\
+      \$rejected_request_sequencing_event_id\CAN\ETX \SOH(\ETXR rejectedRequestSequencingEventId\DC2J\n\
+      \\DLErejected_request\CAN\EOT \SOH(\v2\US.temporal.api.update.v1.RequestR\SIrejectedRequest\DC2:\n\
+      \\afailure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        protocolInstanceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "protocol_instance_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"protocolInstanceId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateRejectedEventAttributes
+        rejectedRequestMessageId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected_request_message_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rejectedRequestMessageId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateRejectedEventAttributes
+        rejectedRequestSequencingEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected_request_sequencing_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field
+                    @"rejectedRequestSequencingEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateRejectedEventAttributes
+        rejectedRequest__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected_request"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Update.V1.Message.Request)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rejectedRequest")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateRejectedEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionUpdateRejectedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, protocolInstanceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, rejectedRequestMessageId__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            rejectedRequestSequencingEventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, rejectedRequest__field_descriptor),
+           (Data.ProtoLens.Tag 5, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionUpdateRejectedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowExecutionUpdateRejectedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionUpdateRejectedEventAttributes'_constructor
+        {_WorkflowExecutionUpdateRejectedEventAttributes'protocolInstanceId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestMessageId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestSequencingEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest = Prelude.Nothing,
+         _WorkflowExecutionUpdateRejectedEventAttributes'failure = Prelude.Nothing,
+         _WorkflowExecutionUpdateRejectedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionUpdateRejectedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionUpdateRejectedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "protocol_instance_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"protocolInstanceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "rejected_request_message_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rejectedRequestMessageId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "rejected_request_sequencing_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"rejectedRequestSequencingEventId")
+                                     y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "rejected_request"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rejectedRequest") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionUpdateRejectedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"protocolInstanceId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"rejectedRequestMessageId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"rejectedRequestSequencingEventId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'rejectedRequest") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData WorkflowExecutionUpdateRejectedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionUpdateRejectedEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionUpdateRejectedEventAttributes'protocolInstanceId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestMessageId
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequestSequencingEventId
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionUpdateRejectedEventAttributes'rejectedRequest
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionUpdateRejectedEventAttributes'failure x__)
+                            ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workflowTaskCompletedEventId' @:: Lens' WorkflowPropertiesModifiedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.upsertedMemo' @:: Lens' WorkflowPropertiesModifiedEventAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'upsertedMemo' @:: Lens' WorkflowPropertiesModifiedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@ -}
+data WorkflowPropertiesModifiedEventAttributes
+  = WorkflowPropertiesModifiedEventAttributes'_constructor {_WorkflowPropertiesModifiedEventAttributes'workflowTaskCompletedEventId :: !Data.Int.Int64,
+                                                            _WorkflowPropertiesModifiedEventAttributes'upsertedMemo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                            _WorkflowPropertiesModifiedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowPropertiesModifiedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedEventAttributes "workflowTaskCompletedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedEventAttributes'workflowTaskCompletedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedEventAttributes'workflowTaskCompletedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedEventAttributes "upsertedMemo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedEventAttributes'upsertedMemo
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedEventAttributes'upsertedMemo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedEventAttributes "maybe'upsertedMemo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedEventAttributes'upsertedMemo
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedEventAttributes'upsertedMemo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowPropertiesModifiedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \)WorkflowPropertiesModifiedEventAttributes\DC2F\n\
+      \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2A\n\
+      \\rupserted_memo\CAN\STX \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowTaskCompletedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_completed_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedEventAttributes
+        upsertedMemo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upserted_memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'upsertedMemo")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            workflowTaskCompletedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, upsertedMemo__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowPropertiesModifiedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowPropertiesModifiedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowPropertiesModifiedEventAttributes'_constructor
+        {_WorkflowPropertiesModifiedEventAttributes'workflowTaskCompletedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowPropertiesModifiedEventAttributes'upsertedMemo = Prelude.Nothing,
+         _WorkflowPropertiesModifiedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowPropertiesModifiedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowPropertiesModifiedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "workflow_task_completed_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") y
+                                     x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upserted_memo"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"upsertedMemo") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowPropertiesModifiedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"workflowTaskCompletedEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'upsertedMemo") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowPropertiesModifiedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowPropertiesModifiedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowPropertiesModifiedEventAttributes'workflowTaskCompletedEventId
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowPropertiesModifiedEventAttributes'upsertedMemo x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newTaskQueue' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newWorkflowTaskTimeout' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'newWorkflowTaskTimeout' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newWorkflowRunTimeout' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'newWorkflowRunTimeout' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newWorkflowExecutionTimeout' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'newWorkflowExecutionTimeout' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.upsertedMemo' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'upsertedMemo' @:: Lens' WorkflowPropertiesModifiedExternallyEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@ -}
+data WorkflowPropertiesModifiedExternallyEventAttributes
+  = WorkflowPropertiesModifiedExternallyEventAttributes'_constructor {_WorkflowPropertiesModifiedExternallyEventAttributes'newTaskQueue :: !Data.Text.Text,
+                                                                      _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                      _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                      _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                                      _WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                                                      _WorkflowPropertiesModifiedExternallyEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowPropertiesModifiedExternallyEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "newTaskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newTaskQueue
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newTaskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "newWorkflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "maybe'newWorkflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "newWorkflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "maybe'newWorkflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "newWorkflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "maybe'newWorkflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "upsertedMemo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowPropertiesModifiedExternallyEventAttributes "maybe'upsertedMemo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo
+           (\ x__ y__
+              -> x__
+                   {_WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowPropertiesModifiedExternallyEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \3WorkflowPropertiesModifiedExternallyEventAttributes\DC2$\n\
+      \\SOnew_task_queue\CAN\SOH \SOH(\tR\fnewTaskQueue\DC2T\n\
+      \\EMnew_workflow_task_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SYNnewWorkflowTaskTimeout\DC2R\n\
+      \\CANnew_workflow_run_timeout\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\NAKnewWorkflowRunTimeout\DC2^\n\
+      \\RSnew_workflow_execution_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\ESCnewWorkflowExecutionTimeout\DC2A\n\
+      \\rupserted_memo\CAN\ENQ \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        newTaskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"newTaskQueue")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedExternallyEventAttributes
+        newWorkflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'newWorkflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedExternallyEventAttributes
+        newWorkflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'newWorkflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedExternallyEventAttributes
+        newWorkflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'newWorkflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedExternallyEventAttributes
+        upsertedMemo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upserted_memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'upsertedMemo")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowPropertiesModifiedExternallyEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, newTaskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 2, newWorkflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 3, newWorkflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 4, 
+            newWorkflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 5, upsertedMemo__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowPropertiesModifiedExternallyEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowPropertiesModifiedExternallyEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowPropertiesModifiedExternallyEventAttributes'_constructor
+        {_WorkflowPropertiesModifiedExternallyEventAttributes'newTaskQueue = Data.ProtoLens.fieldDefault,
+         _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout = Prelude.Nothing,
+         _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout = Prelude.Nothing,
+         _WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout = Prelude.Nothing,
+         _WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo = Prelude.Nothing,
+         _WorkflowPropertiesModifiedExternallyEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowPropertiesModifiedExternallyEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowPropertiesModifiedExternallyEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "new_task_queue"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newTaskQueue") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "new_workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newWorkflowTaskTimeout") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "new_workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newWorkflowRunTimeout") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "new_workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"newWorkflowExecutionTimeout") y
+                                     x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upserted_memo"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"upsertedMemo") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowPropertiesModifiedExternallyEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"newTaskQueue") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'newWorkflowTaskTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'newWorkflowRunTimeout") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'newWorkflowExecutionTimeout")
+                             _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'upsertedMemo") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData WorkflowPropertiesModifiedExternallyEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowPropertiesModifiedExternallyEventAttributes'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowPropertiesModifiedExternallyEventAttributes'newTaskQueue
+                   x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowTaskTimeout
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowRunTimeout
+                         x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowPropertiesModifiedExternallyEventAttributes'newWorkflowExecutionTimeout
+                            x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowPropertiesModifiedExternallyEventAttributes'upsertedMemo
+                               x__)
+                            ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' WorkflowTaskCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' WorkflowTaskCompletedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowTaskCompletedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.binaryChecksum' @:: Lens' WorkflowTaskCompletedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' WorkflowTaskCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' WorkflowTaskCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.sdkMetadata' @:: Lens' WorkflowTaskCompletedEventAttributes Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata.WorkflowTaskCompletedMetadata@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'sdkMetadata' @:: Lens' WorkflowTaskCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata.WorkflowTaskCompletedMetadata)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.meteringMetadata' @:: Lens' WorkflowTaskCompletedEventAttributes Proto.Temporal.Api.Common.V1.Message.MeteringMetadata@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'meteringMetadata' @:: Lens' WorkflowTaskCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.MeteringMetadata)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.deployment' @:: Lens' WorkflowTaskCompletedEventAttributes Proto.Temporal.Api.Deployment.V1.Message.Deployment@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'deployment' @:: Lens' WorkflowTaskCompletedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.versioningBehavior' @:: Lens' WorkflowTaskCompletedEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerDeploymentVersion' @:: Lens' WorkflowTaskCompletedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerDeploymentName' @:: Lens' WorkflowTaskCompletedEventAttributes Data.Text.Text@ -}
+data WorkflowTaskCompletedEventAttributes
+  = WorkflowTaskCompletedEventAttributes'_constructor {_WorkflowTaskCompletedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                       _WorkflowTaskCompletedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                       _WorkflowTaskCompletedEventAttributes'identity :: !Data.Text.Text,
+                                                       _WorkflowTaskCompletedEventAttributes'binaryChecksum :: !Data.Text.Text,
+                                                       _WorkflowTaskCompletedEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                       _WorkflowTaskCompletedEventAttributes'sdkMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata.WorkflowTaskCompletedMetadata),
+                                                       _WorkflowTaskCompletedEventAttributes'meteringMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.MeteringMetadata),
+                                                       _WorkflowTaskCompletedEventAttributes'deployment :: !(Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment),
+                                                       _WorkflowTaskCompletedEventAttributes'versioningBehavior :: !Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior,
+                                                       _WorkflowTaskCompletedEventAttributes'workerDeploymentVersion :: !Data.Text.Text,
+                                                       _WorkflowTaskCompletedEventAttributes'workerDeploymentName :: !Data.Text.Text,
+                                                       _WorkflowTaskCompletedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTaskCompletedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "binaryChecksum" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'binaryChecksum
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'binaryChecksum = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "sdkMetadata" Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata.WorkflowTaskCompletedMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'sdkMetadata
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedEventAttributes'sdkMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "maybe'sdkMetadata" (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata.WorkflowTaskCompletedMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'sdkMetadata
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedEventAttributes'sdkMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "meteringMetadata" Proto.Temporal.Api.Common.V1.Message.MeteringMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'meteringMetadata
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'meteringMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "maybe'meteringMetadata" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.MeteringMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'meteringMetadata
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'meteringMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "deployment" Proto.Temporal.Api.Deployment.V1.Message.Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'deployment
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedEventAttributes'deployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "maybe'deployment" (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'deployment
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedEventAttributes'deployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "versioningBehavior" Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'versioningBehavior
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'versioningBehavior = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "workerDeploymentVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'workerDeploymentVersion
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'workerDeploymentVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedEventAttributes "workerDeploymentName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedEventAttributes'workerDeploymentName
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskCompletedEventAttributes'workerDeploymentName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTaskCompletedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowTaskCompletedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \$WorkflowTaskCompletedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+      \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2'\n\
+      \\SIbinary_checksum\CAN\EOT \SOH(\tR\SObinaryChecksum\DC2Q\n\
+      \\SOworker_version\CAN\ENQ \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\DC2U\n\
+      \\fsdk_metadata\CAN\ACK \SOH(\v22.temporal.api.sdk.v1.WorkflowTaskCompletedMetadataR\vsdkMetadata\DC2U\n\
+      \\DC1metering_metadata\CAN\r \SOH(\v2(.temporal.api.common.v1.MeteringMetadataR\DLEmeteringMetadata\DC2J\n\
+      \\n\
+      \deployment\CAN\a \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+      \deploymentB\STX\CAN\SOH\DC2Z\n\
+      \\DC3versioning_behavior\CAN\b \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\DC2versioningBehavior\DC2:\n\
+      \\EMworker_deployment_version\CAN\t \SOH(\tR\ETBworkerDeploymentVersion\DC24\n\
+      \\SYNworker_deployment_name\CAN\n\
+      \ \SOH(\tR\DC4workerDeploymentName"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        binaryChecksum__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "binary_checksum"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"binaryChecksum")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        sdkMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sdk_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata.WorkflowTaskCompletedMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'sdkMetadata")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        meteringMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "metering_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.MeteringMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'meteringMetadata")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        deployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Deployment.V1.Message.Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deployment")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        versioningBehavior__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_behavior"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"versioningBehavior")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        workerDeploymentVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_deployment_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workerDeploymentVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+        workerDeploymentName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_deployment_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workerDeploymentName")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, identity__field_descriptor),
+           (Data.ProtoLens.Tag 4, binaryChecksum__field_descriptor),
+           (Data.ProtoLens.Tag 5, workerVersion__field_descriptor),
+           (Data.ProtoLens.Tag 6, sdkMetadata__field_descriptor),
+           (Data.ProtoLens.Tag 13, meteringMetadata__field_descriptor),
+           (Data.ProtoLens.Tag 7, deployment__field_descriptor),
+           (Data.ProtoLens.Tag 8, versioningBehavior__field_descriptor),
+           (Data.ProtoLens.Tag 9, workerDeploymentVersion__field_descriptor),
+           (Data.ProtoLens.Tag 10, workerDeploymentName__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTaskCompletedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowTaskCompletedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowTaskCompletedEventAttributes'_constructor
+        {_WorkflowTaskCompletedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'binaryChecksum = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'workerVersion = Prelude.Nothing,
+         _WorkflowTaskCompletedEventAttributes'sdkMetadata = Prelude.Nothing,
+         _WorkflowTaskCompletedEventAttributes'meteringMetadata = Prelude.Nothing,
+         _WorkflowTaskCompletedEventAttributes'deployment = Prelude.Nothing,
+         _WorkflowTaskCompletedEventAttributes'versioningBehavior = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'workerDeploymentVersion = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'workerDeploymentName = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTaskCompletedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTaskCompletedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "binary_checksum"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"binaryChecksum") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "sdk_metadata"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"sdkMetadata") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "metering_metadata"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"meteringMetadata") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deployment") y x)
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "versioning_behavior"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningBehavior") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "worker_deployment_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerDeploymentVersion") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "worker_deployment_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerDeploymentName") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowTaskCompletedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"startedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"binaryChecksum") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workerVersion") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'sdkMetadata") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'meteringMetadata") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 106)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'deployment") _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (let
+                                        _v
+                                          = Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"versioningBehavior") _x
+                                      in
+                                        if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                            Data.Monoid.mempty
+                                        else
+                                            (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                              ((Prelude..)
+                                                 ((Prelude..)
+                                                    Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    Prelude.fromIntegral)
+                                                 Prelude.fromEnum _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field
+                                                    @"workerDeploymentVersion")
+                                                 _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                                 ((Prelude..)
+                                                    (\ bs
+                                                       -> (Data.Monoid.<>)
+                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                               (Prelude.fromIntegral
+                                                                  (Data.ByteString.length bs)))
+                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                               bs))
+                                                    Data.Text.Encoding.encodeUtf8 _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"workerDeploymentName")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                    ((Prelude..)
+                                                       (\ bs
+                                                          -> (Data.Monoid.<>)
+                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                  (Prelude.fromIntegral
+                                                                     (Data.ByteString.length bs)))
+                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                  bs))
+                                                       Data.Text.Encoding.encodeUtf8 _v))
+                                           (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                              (Lens.Family2.view
+                                                 Data.ProtoLens.unknownFields _x))))))))))))
+instance Control.DeepSeq.NFData WorkflowTaskCompletedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTaskCompletedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowTaskCompletedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowTaskCompletedEventAttributes'startedEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowTaskCompletedEventAttributes'identity x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowTaskCompletedEventAttributes'binaryChecksum x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowTaskCompletedEventAttributes'workerVersion x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowTaskCompletedEventAttributes'sdkMetadata x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowTaskCompletedEventAttributes'meteringMetadata x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkflowTaskCompletedEventAttributes'deployment x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkflowTaskCompletedEventAttributes'versioningBehavior
+                                           x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_WorkflowTaskCompletedEventAttributes'workerDeploymentVersion
+                                              x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_WorkflowTaskCompletedEventAttributes'workerDeploymentName
+                                                 x__)
+                                              ())))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' WorkflowTaskFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' WorkflowTaskFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.cause' @:: Lens' WorkflowTaskFailedEventAttributes Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.failure' @:: Lens' WorkflowTaskFailedEventAttributes Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'failure' @:: Lens' WorkflowTaskFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowTaskFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.baseRunId' @:: Lens' WorkflowTaskFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.newRunId' @:: Lens' WorkflowTaskFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.forkEventVersion' @:: Lens' WorkflowTaskFailedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.binaryChecksum' @:: Lens' WorkflowTaskFailedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' WorkflowTaskFailedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' WorkflowTaskFailedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@ -}
+data WorkflowTaskFailedEventAttributes
+  = WorkflowTaskFailedEventAttributes'_constructor {_WorkflowTaskFailedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                    _WorkflowTaskFailedEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                    _WorkflowTaskFailedEventAttributes'cause :: !Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause,
+                                                    _WorkflowTaskFailedEventAttributes'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                    _WorkflowTaskFailedEventAttributes'identity :: !Data.Text.Text,
+                                                    _WorkflowTaskFailedEventAttributes'baseRunId :: !Data.Text.Text,
+                                                    _WorkflowTaskFailedEventAttributes'newRunId :: !Data.Text.Text,
+                                                    _WorkflowTaskFailedEventAttributes'forkEventVersion :: !Data.Int.Int64,
+                                                    _WorkflowTaskFailedEventAttributes'binaryChecksum :: !Data.Text.Text,
+                                                    _WorkflowTaskFailedEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                    _WorkflowTaskFailedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTaskFailedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskFailedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "cause" Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'cause
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'failure
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "baseRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'baseRunId
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'baseRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "newRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'newRunId
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'newRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "forkEventVersion" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'forkEventVersion
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskFailedEventAttributes'forkEventVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "binaryChecksum" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'binaryChecksum
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'binaryChecksum = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskFailedEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskFailedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_WorkflowTaskFailedEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTaskFailedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowTaskFailedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \!WorkflowTaskFailedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2D\n\
+      \\ENQcause\CAN\ETX \SOH(\SO2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\ENQcause\DC2:\n\
+      \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\SUB\n\
+      \\bidentity\CAN\ENQ \SOH(\tR\bidentity\DC2\RS\n\
+      \\vbase_run_id\CAN\ACK \SOH(\tR\tbaseRunId\DC2\FS\n\
+      \\n\
+      \new_run_id\CAN\a \SOH(\tR\bnewRunId\DC2,\n\
+      \\DC2fork_event_version\CAN\b \SOH(\ETXR\DLEforkEventVersion\DC2'\n\
+      \\SIbinary_checksum\CAN\t \SOH(\tR\SObinaryChecksum\DC2Q\n\
+      \\SOworker_version\CAN\n\
+      \ \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        baseRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "base_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"baseRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        newRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "new_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"newRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        forkEventVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fork_event_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"forkEventVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        binaryChecksum__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "binary_checksum"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"binaryChecksum")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskFailedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, cause__field_descriptor),
+           (Data.ProtoLens.Tag 4, failure__field_descriptor),
+           (Data.ProtoLens.Tag 5, identity__field_descriptor),
+           (Data.ProtoLens.Tag 6, baseRunId__field_descriptor),
+           (Data.ProtoLens.Tag 7, newRunId__field_descriptor),
+           (Data.ProtoLens.Tag 8, forkEventVersion__field_descriptor),
+           (Data.ProtoLens.Tag 9, binaryChecksum__field_descriptor),
+           (Data.ProtoLens.Tag 10, workerVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTaskFailedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowTaskFailedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowTaskFailedEventAttributes'_constructor
+        {_WorkflowTaskFailedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'cause = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'failure = Prelude.Nothing,
+         _WorkflowTaskFailedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'baseRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'newRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'forkEventVersion = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'binaryChecksum = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskFailedEventAttributes'workerVersion = Prelude.Nothing,
+         _WorkflowTaskFailedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTaskFailedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTaskFailedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "base_run_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"baseRunId") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "new_run_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"newRunId") y x)
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "fork_event_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"forkEventVersion") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "binary_checksum"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"binaryChecksum") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowTaskFailedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"startedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v = Lens.Family2.view (Data.ProtoLens.Field.field @"baseRunId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"newRunId") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"forkEventVersion") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              Prelude.fromIntegral _v))
+                                  ((Data.Monoid.<>)
+                                     (let
+                                        _v
+                                          = Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"binaryChecksum") _x
+                                      in
+                                        if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                            Data.Monoid.mempty
+                                        else
+                                            (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                              ((Prelude..)
+                                                 (\ bs
+                                                    -> (Data.Monoid.<>)
+                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                            (Prelude.fromIntegral
+                                                               (Data.ByteString.length bs)))
+                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                            bs))
+                                                 Data.Text.Encoding.encodeUtf8 _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'workerVersion")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                           (Lens.Family2.view
+                                              Data.ProtoLens.unknownFields _x)))))))))))
+instance Control.DeepSeq.NFData WorkflowTaskFailedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTaskFailedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowTaskFailedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowTaskFailedEventAttributes'startedEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowTaskFailedEventAttributes'cause x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowTaskFailedEventAttributes'failure x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowTaskFailedEventAttributes'identity x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowTaskFailedEventAttributes'baseRunId x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowTaskFailedEventAttributes'newRunId x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkflowTaskFailedEventAttributes'forkEventVersion x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkflowTaskFailedEventAttributes'binaryChecksum x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_WorkflowTaskFailedEventAttributes'workerVersion x__)
+                                           ()))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.taskQueue' @:: Lens' WorkflowTaskScheduledEventAttributes Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'taskQueue' @:: Lens' WorkflowTaskScheduledEventAttributes (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startToCloseTimeout' @:: Lens' WorkflowTaskScheduledEventAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'startToCloseTimeout' @:: Lens' WorkflowTaskScheduledEventAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.attempt' @:: Lens' WorkflowTaskScheduledEventAttributes Data.Int.Int32@ -}
+data WorkflowTaskScheduledEventAttributes
+  = WorkflowTaskScheduledEventAttributes'_constructor {_WorkflowTaskScheduledEventAttributes'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                                       _WorkflowTaskScheduledEventAttributes'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                       _WorkflowTaskScheduledEventAttributes'attempt :: !Data.Int.Int32,
+                                                       _WorkflowTaskScheduledEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTaskScheduledEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTaskScheduledEventAttributes "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskScheduledEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_WorkflowTaskScheduledEventAttributes'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskScheduledEventAttributes "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskScheduledEventAttributes'taskQueue
+           (\ x__ y__
+              -> x__ {_WorkflowTaskScheduledEventAttributes'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskScheduledEventAttributes "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskScheduledEventAttributes'startToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskScheduledEventAttributes'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskScheduledEventAttributes "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskScheduledEventAttributes'startToCloseTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskScheduledEventAttributes'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskScheduledEventAttributes "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskScheduledEventAttributes'attempt
+           (\ x__ y__
+              -> x__ {_WorkflowTaskScheduledEventAttributes'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTaskScheduledEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowTaskScheduledEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \$WorkflowTaskScheduledEventAttributes\DC2C\n\
+      \\n\
+      \task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2\CAN\n\
+      \\aattempt\CAN\ETX \SOH(\ENQR\aattempt"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskScheduledEventAttributes
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskScheduledEventAttributes
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskScheduledEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 2, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 3, attempt__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTaskScheduledEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowTaskScheduledEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowTaskScheduledEventAttributes'_constructor
+        {_WorkflowTaskScheduledEventAttributes'taskQueue = Prelude.Nothing,
+         _WorkflowTaskScheduledEventAttributes'startToCloseTimeout = Prelude.Nothing,
+         _WorkflowTaskScheduledEventAttributes'attempt = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskScheduledEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTaskScheduledEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTaskScheduledEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowTaskScheduledEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkflowTaskScheduledEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTaskScheduledEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowTaskScheduledEventAttributes'taskQueue x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowTaskScheduledEventAttributes'startToCloseTimeout x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowTaskScheduledEventAttributes'attempt x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' WorkflowTaskStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.identity' @:: Lens' WorkflowTaskStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.requestId' @:: Lens' WorkflowTaskStartedEventAttributes Data.Text.Text@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.suggestContinueAsNew' @:: Lens' WorkflowTaskStartedEventAttributes Prelude.Bool@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.historySizeBytes' @:: Lens' WorkflowTaskStartedEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.workerVersion' @:: Lens' WorkflowTaskStartedEventAttributes Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.maybe'workerVersion' @:: Lens' WorkflowTaskStartedEventAttributes (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.buildIdRedirectCounter' @:: Lens' WorkflowTaskStartedEventAttributes Data.Int.Int64@ -}
+data WorkflowTaskStartedEventAttributes
+  = WorkflowTaskStartedEventAttributes'_constructor {_WorkflowTaskStartedEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                     _WorkflowTaskStartedEventAttributes'identity :: !Data.Text.Text,
+                                                     _WorkflowTaskStartedEventAttributes'requestId :: !Data.Text.Text,
+                                                     _WorkflowTaskStartedEventAttributes'suggestContinueAsNew :: !Prelude.Bool,
+                                                     _WorkflowTaskStartedEventAttributes'historySizeBytes :: !Data.Int.Int64,
+                                                     _WorkflowTaskStartedEventAttributes'workerVersion :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                                     _WorkflowTaskStartedEventAttributes'buildIdRedirectCounter :: !Data.Int.Int64,
+                                                     _WorkflowTaskStartedEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTaskStartedEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskStartedEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'identity
+           (\ x__ y__
+              -> x__ {_WorkflowTaskStartedEventAttributes'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'requestId
+           (\ x__ y__
+              -> x__ {_WorkflowTaskStartedEventAttributes'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "suggestContinueAsNew" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'suggestContinueAsNew
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskStartedEventAttributes'suggestContinueAsNew = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "historySizeBytes" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'historySizeBytes
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskStartedEventAttributes'historySizeBytes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "workerVersion" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_WorkflowTaskStartedEventAttributes'workerVersion = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "maybe'workerVersion" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'workerVersion
+           (\ x__ y__
+              -> x__ {_WorkflowTaskStartedEventAttributes'workerVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskStartedEventAttributes "buildIdRedirectCounter" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskStartedEventAttributes'buildIdRedirectCounter
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskStartedEventAttributes'buildIdRedirectCounter = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTaskStartedEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowTaskStartedEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\"WorkflowTaskStartedEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2\SUB\n\
+      \\bidentity\CAN\STX \SOH(\tR\bidentity\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId\DC25\n\
+      \\ETBsuggest_continue_as_new\CAN\EOT \SOH(\bR\DC4suggestContinueAsNew\DC2,\n\
+      \\DC2history_size_bytes\CAN\ENQ \SOH(\ETXR\DLEhistorySizeBytes\DC2Q\n\
+      \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\DC29\n\
+      \\EMbuild_id_redirect_counter\CAN\a \SOH(\ETXR\SYNbuildIdRedirectCounter"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+        suggestContinueAsNew__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "suggest_continue_as_new"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"suggestContinueAsNew")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+        historySizeBytes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_size_bytes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historySizeBytes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+        workerVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+        buildIdRedirectCounter__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id_redirect_counter"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"buildIdRedirectCounter")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskStartedEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, identity__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor),
+           (Data.ProtoLens.Tag 4, suggestContinueAsNew__field_descriptor),
+           (Data.ProtoLens.Tag 5, historySizeBytes__field_descriptor),
+           (Data.ProtoLens.Tag 6, workerVersion__field_descriptor),
+           (Data.ProtoLens.Tag 7, buildIdRedirectCounter__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTaskStartedEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowTaskStartedEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowTaskStartedEventAttributes'_constructor
+        {_WorkflowTaskStartedEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskStartedEventAttributes'identity = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskStartedEventAttributes'requestId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskStartedEventAttributes'suggestContinueAsNew = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskStartedEventAttributes'historySizeBytes = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskStartedEventAttributes'workerVersion = Prelude.Nothing,
+         _WorkflowTaskStartedEventAttributes'buildIdRedirectCounter = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskStartedEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTaskStartedEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTaskStartedEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "suggest_continue_as_new"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"suggestContinueAsNew") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "history_size_bytes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historySizeBytes") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersion") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "build_id_redirect_counter"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"buildIdRedirectCounter") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowTaskStartedEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"suggestContinueAsNew") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (\ b -> if b then 1 else 0) _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"historySizeBytes") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workerVersion") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"buildIdRedirectCounter") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData WorkflowTaskStartedEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTaskStartedEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowTaskStartedEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowTaskStartedEventAttributes'identity x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowTaskStartedEventAttributes'requestId x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowTaskStartedEventAttributes'suggestContinueAsNew x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowTaskStartedEventAttributes'historySizeBytes x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowTaskStartedEventAttributes'workerVersion x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowTaskStartedEventAttributes'buildIdRedirectCounter x__)
+                                  ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.scheduledEventId' @:: Lens' WorkflowTaskTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.startedEventId' @:: Lens' WorkflowTaskTimedOutEventAttributes Data.Int.Int64@
+         * 'Proto.Temporal.Api.History.V1.Message_Fields.timeoutType' @:: Lens' WorkflowTaskTimedOutEventAttributes Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType@ -}
+data WorkflowTaskTimedOutEventAttributes
+  = WorkflowTaskTimedOutEventAttributes'_constructor {_WorkflowTaskTimedOutEventAttributes'scheduledEventId :: !Data.Int.Int64,
+                                                      _WorkflowTaskTimedOutEventAttributes'startedEventId :: !Data.Int.Int64,
+                                                      _WorkflowTaskTimedOutEventAttributes'timeoutType :: !Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType,
+                                                      _WorkflowTaskTimedOutEventAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTaskTimedOutEventAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTaskTimedOutEventAttributes "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskTimedOutEventAttributes'scheduledEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskTimedOutEventAttributes'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskTimedOutEventAttributes "startedEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskTimedOutEventAttributes'startedEventId
+           (\ x__ y__
+              -> x__
+                   {_WorkflowTaskTimedOutEventAttributes'startedEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskTimedOutEventAttributes "timeoutType" Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskTimedOutEventAttributes'timeoutType
+           (\ x__ y__
+              -> x__ {_WorkflowTaskTimedOutEventAttributes'timeoutType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTaskTimedOutEventAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.history.v1.WorkflowTaskTimedOutEventAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \#WorkflowTaskTimedOutEventAttributes\DC2,\n\
+      \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+      \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2E\n\
+      \\ftimeout_type\CAN\ETX \SOH(\SO2\".temporal.api.enums.v1.TimeoutTypeR\vtimeoutType"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskTimedOutEventAttributes
+        startedEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startedEventId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskTimedOutEventAttributes
+        timeoutType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timeout_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.TimeoutType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"timeoutType")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskTimedOutEventAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 2, startedEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, timeoutType__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTaskTimedOutEventAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowTaskTimedOutEventAttributes'_unknownFields = y__})
+  defMessage
+    = WorkflowTaskTimedOutEventAttributes'_constructor
+        {_WorkflowTaskTimedOutEventAttributes'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskTimedOutEventAttributes'startedEventId = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskTimedOutEventAttributes'timeoutType = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskTimedOutEventAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTaskTimedOutEventAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTaskTimedOutEventAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startedEventId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "timeout_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"timeoutType") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowTaskTimedOutEventAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"scheduledEventId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"startedEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"timeoutType") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkflowTaskTimedOutEventAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTaskTimedOutEventAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowTaskTimedOutEventAttributes'scheduledEventId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowTaskTimedOutEventAttributes'startedEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowTaskTimedOutEventAttributes'timeoutType x__) ())))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \%temporal/api/history/v1/message.proto\DC2\ETBtemporal.api.history.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB&temporal/api/enums/v1/event_type.proto\SUB(temporal/api/enums/v1/failed_cause.proto\SUB\"temporal/api/enums/v1/update.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB$temporal/api/common/v1/message.proto\SUB(temporal/api/deployment/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\SUB'temporal/api/taskqueue/v1/message.proto\SUB$temporal/api/update/v1/message.proto\SUB&temporal/api/workflow/v1/message.proto\SUB0temporal/api/sdk/v1/task_complete_metadata.proto\SUB'temporal/api/sdk/v1/user_metadata.proto\"\198\DC3\n\
+    \'WorkflowExecutionStartedEventAttributes\DC2I\n\
+    \\rworkflow_type\CAN\SOH \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2:\n\
+    \\EMparent_workflow_namespace\CAN\STX \SOH(\tR\ETBparentWorkflowNamespace\DC2?\n\
+    \\FSparent_workflow_namespace_id\CAN\ESC \SOH(\tR\EMparentWorkflowNamespaceId\DC2e\n\
+    \\EMparent_workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\ETBparentWorkflowExecution\DC29\n\
+    \\EMparent_initiated_event_id\CAN\EOT \SOH(\ETXR\SYNparentInitiatedEventId\DC2C\n\
+    \\n\
+    \task_queue\CAN\ENQ \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ENQinput\CAN\ACK \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2;\n\
+    \\SUBcontinued_execution_run_id\CAN\n\
+    \ \SOH(\tR\ETBcontinuedExecutionRunId\DC2K\n\
+    \\tinitiator\CAN\v \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\DC2M\n\
+    \\DC1continued_failure\CAN\f \SOH(\v2 .temporal.api.failure.v1.FailureR\DLEcontinuedFailure\DC2V\n\
+    \\SYNlast_completion_result\CAN\r \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC29\n\
+    \\EMoriginal_execution_run_id\CAN\SO \SOH(\tR\SYNoriginalExecutionRunId\DC2\SUB\n\
+    \\bidentity\CAN\SI \SOH(\tR\bidentity\DC23\n\
+    \\SYNfirst_execution_run_id\CAN\DLE \SOH(\tR\DC3firstExecutionRunId\DC2F\n\
+    \\fretry_policy\CAN\DC1 \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2\CAN\n\
+    \\aattempt\CAN\DC2 \SOH(\ENQR\aattempt\DC2g\n\
+    \\"workflow_execution_expiration_time\CAN\DC3 \SOH(\v2\SUB.google.protobuf.TimestampR\USworkflowExecutionExpirationTime\DC2#\n\
+    \\rcron_schedule\CAN\DC4 \SOH(\tR\fcronSchedule\DC2X\n\
+    \\ESCfirst_workflow_task_backoff\CAN\NAK \SOH(\v2\EM.google.protobuf.DurationR\CANfirstWorkflowTaskBackoff\DC20\n\
+    \\EOTmemo\CAN\SYN \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\ETB \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2Z\n\
+    \\SYNprev_auto_reset_points\CAN\CAN \SOH(\v2%.temporal.api.workflow.v1.ResetPointsR\DC3prevAutoResetPoints\DC26\n\
+    \\ACKheader\CAN\EM \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2C\n\
+    \\RSparent_initiated_event_version\CAN\SUB \SOH(\ETXR\ESCparentInitiatedEventVersion\DC2\US\n\
+    \\vworkflow_id\CAN\FS \SOH(\tR\n\
+    \workflowId\DC2\\\n\
+    \\DC4source_version_stamp\CAN\GS \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\DC2sourceVersionStamp\DC2S\n\
+    \\DC4completion_callbacks\CAN\RS \ETX(\v2 .temporal.api.common.v1.CallbackR\DC3completionCallbacks\DC2a\n\
+    \\ETBroot_workflow_execution\CAN\US \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\NAKrootWorkflowExecution\DC2,\n\
+    \\DC2inherited_build_id\CAN  \SOH(\tR\DLEinheritedBuildId\DC2]\n\
+    \\DC3versioning_override\CAN! \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2T\n\
+    \'parent_pinned_worker_deployment_version\CAN\" \SOH(\tR#parentPinnedWorkerDeploymentVersion\DC2<\n\
+    \\bpriority\CAN# \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\222\SOH\n\
+    \)WorkflowExecutionCompletedEventAttributes\DC28\n\
+    \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2/\n\
+    \\DC4new_execution_run_id\CAN\ETX \SOH(\tR\DC1newExecutionRunId\"\161\STX\n\
+    \&WorkflowExecutionFailedEventAttributes\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2B\n\
+    \\vretry_state\CAN\STX \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2/\n\
+    \\DC4new_execution_run_id\CAN\EOT \SOH(\tR\DC1newExecutionRunId\"\159\SOH\n\
+    \(WorkflowExecutionTimedOutEventAttributes\DC2B\n\
+    \\vretry_state\CAN\SOH \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\DC2/\n\
+    \\DC4new_execution_run_id\CAN\STX \SOH(\tR\DC1newExecutionRunId\"\170\b\n\
+    \.WorkflowExecutionContinuedAsNewEventAttributes\DC2/\n\
+    \\DC4new_execution_run_id\CAN\SOH \SOH(\tR\DC1newExecutionRunId\DC2I\n\
+    \\rworkflow_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+    \\n\
+    \task_queue\CAN\ETX \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ENQinput\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\a \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2O\n\
+    \\SYNbackoff_start_interval\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC4backoffStartInterval\DC2K\n\
+    \\tinitiator\CAN\t \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\tinitiator\DC2:\n\
+    \\afailure\CAN\n\
+    \ \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2V\n\
+    \\SYNlast_completion_result\CAN\v \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC26\n\
+    \\ACKheader\CAN\f \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+    \\EOTmemo\CAN\r \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\SO \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+    \\DLEinherit_build_id\CAN\SI \SOH(\bR\SOinheritBuildId\"\213\SOH\n\
+    \$WorkflowTaskScheduledEventAttributes\DC2C\n\
+    \\n\
+    \task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2\CAN\n\
+    \\aattempt\CAN\ETX \SOH(\ENQR\aattempt\"\128\ETX\n\
+    \\"WorkflowTaskStartedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2\SUB\n\
+    \\bidentity\CAN\STX \SOH(\tR\bidentity\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\DC25\n\
+    \\ETBsuggest_continue_as_new\CAN\EOT \SOH(\bR\DC4suggestContinueAsNew\DC2,\n\
+    \\DC2history_size_bytes\CAN\ENQ \SOH(\ETXR\DLEhistorySizeBytes\DC2Q\n\
+    \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\DC29\n\
+    \\EMbuild_id_redirect_counter\CAN\a \SOH(\ETXR\SYNbuildIdRedirectCounter\"\222\ENQ\n\
+    \$WorkflowTaskCompletedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+    \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2'\n\
+    \\SIbinary_checksum\CAN\EOT \SOH(\tR\SObinaryChecksum\DC2Q\n\
+    \\SOworker_version\CAN\ENQ \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\DC2U\n\
+    \\fsdk_metadata\CAN\ACK \SOH(\v22.temporal.api.sdk.v1.WorkflowTaskCompletedMetadataR\vsdkMetadata\DC2U\n\
+    \\DC1metering_metadata\CAN\r \SOH(\v2(.temporal.api.common.v1.MeteringMetadataR\DLEmeteringMetadata\DC2J\n\
+    \\n\
+    \deployment\CAN\a \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+    \deploymentB\STX\CAN\SOH\DC2Z\n\
+    \\DC3versioning_behavior\CAN\b \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\DC2versioningBehavior\DC2:\n\
+    \\EMworker_deployment_version\CAN\t \SOH(\tR\ETBworkerDeploymentVersion\DC24\n\
+    \\SYNworker_deployment_name\CAN\n\
+    \ \SOH(\tR\DC4workerDeploymentName\"\196\SOH\n\
+    \#WorkflowTaskTimedOutEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2E\n\
+    \\ftimeout_type\CAN\ETX \SOH(\SO2\".temporal.api.enums.v1.TimeoutTypeR\vtimeoutType\"\129\EOT\n\
+    \!WorkflowTaskFailedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2D\n\
+    \\ENQcause\CAN\ETX \SOH(\SO2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\ENQcause\DC2:\n\
+    \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\SUB\n\
+    \\bidentity\CAN\ENQ \SOH(\tR\bidentity\DC2\RS\n\
+    \\vbase_run_id\CAN\ACK \SOH(\tR\tbaseRunId\DC2\FS\n\
+    \\n\
+    \new_run_id\CAN\a \SOH(\tR\bnewRunId\DC2,\n\
+    \\DC2fork_event_version\CAN\b \SOH(\ETXR\DLEforkEventVersion\DC2'\n\
+    \\SIbinary_checksum\CAN\t \SOH(\tR\SObinaryChecksum\DC2Q\n\
+    \\SOworker_version\CAN\n\
+    \ \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\"\146\a\n\
+    \$ActivityTaskScheduledEventAttributes\DC2\US\n\
+    \\vactivity_id\CAN\SOH \SOH(\tR\n\
+    \activityId\DC2I\n\
+    \\ractivity_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2C\n\
+    \\n\
+    \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ACKheader\CAN\ENQ \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC26\n\
+    \\ENQinput\CAN\ACK \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+    \\EMschedule_to_start_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+    \\DC1heartbeat_timeout\CAN\n\
+    \ \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\v \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2F\n\
+    \\fretry_policy\CAN\f \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC21\n\
+    \\NAKuse_workflow_build_id\CAN\r \SOH(\bR\DC2useWorkflowBuildId\DC2<\n\
+    \\bpriority\CAN\SO \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriorityJ\EOT\b\ETX\DLE\EOT\"\250\STX\n\
+    \\"ActivityTaskStartedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2\SUB\n\
+    \\bidentity\CAN\STX \SOH(\tR\bidentity\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\DC2\CAN\n\
+    \\aattempt\CAN\EOT \SOH(\ENQR\aattempt\DC2C\n\
+    \\flast_failure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\DC2Q\n\
+    \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\DC29\n\
+    \\EMbuild_id_redirect_counter\CAN\a \SOH(\ETXR\SYNbuildIdRedirectCounter\"\167\STX\n\
+    \$ActivityTaskCompletedEventAttributes\DC28\n\
+    \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\DC2,\n\
+    \\DC2scheduled_event_id\CAN\STX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ETX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+    \\bidentity\CAN\EOT \SOH(\tR\bidentity\DC2Q\n\
+    \\SOworker_version\CAN\ENQ \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\"\234\STX\n\
+    \!ActivityTaskFailedEventAttributes\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2,\n\
+    \\DC2scheduled_event_id\CAN\STX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ETX \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+    \\bidentity\CAN\EOT \SOH(\tR\bidentity\DC2B\n\
+    \\vretry_state\CAN\ENQ \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\DC2Q\n\
+    \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\"\253\SOH\n\
+    \#ActivityTaskTimedOutEventAttributes\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2,\n\
+    \\DC2scheduled_event_id\CAN\STX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ETX \SOH(\ETXR\SOstartedEventId\DC2B\n\
+    \\vretry_state\CAN\EOT \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\"\162\SOH\n\
+    \*ActivityTaskCancelRequestedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\"\240\STX\n\
+    \#ActivityTaskCanceledEventAttributes\DC2:\n\
+    \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2F\n\
+    \ latest_cancel_requested_event_id\CAN\STX \SOH(\ETXR\FSlatestCancelRequestedEventId\DC2,\n\
+    \\DC2scheduled_event_id\CAN\ETX \SOH(\ETXR\DLEscheduledEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\EOT \SOH(\ETXR\SOstartedEventId\DC2\SUB\n\
+    \\bidentity\CAN\ENQ \SOH(\tR\bidentity\DC2Q\n\
+    \\SOworker_version\CAN\ACK \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\rworkerVersion\"\206\SOH\n\
+    \\ESCTimerStartedEventAttributes\DC2\EM\n\
+    \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2L\n\
+    \\NAKstart_to_fire_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC2startToFireTimeout\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\"`\n\
+    \\EMTimerFiredEventAttributes\DC2\EM\n\
+    \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2(\n\
+    \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\"\199\SOH\n\
+    \\FSTimerCanceledEventAttributes\DC2\EM\n\
+    \\btimer_id\CAN\SOH \SOH(\tR\atimerId\DC2(\n\
+    \\DLEstarted_event_id\CAN\STX \SOH(\ETXR\SOstartedEventId\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\SUB\n\
+    \\bidentity\CAN\EOT \SOH(\tR\bidentity\"\141\STX\n\
+    \/WorkflowExecutionCancelRequestedEventAttributes\DC2\DC4\n\
+    \\ENQcause\CAN\SOH \SOH(\tR\ENQcause\DC2=\n\
+    \\ESCexternal_initiated_event_id\CAN\STX \SOH(\ETXR\CANexternalInitiatedEventId\DC2i\n\
+    \\ESCexternal_workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\EMexternalWorkflowExecution\DC2\SUB\n\
+    \\bidentity\CAN\EOT \SOH(\tR\bidentity\"\174\SOH\n\
+    \(WorkflowExecutionCanceledEventAttributes\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2:\n\
+    \\adetails\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\"\185\ETX\n\
+    \\GSMarkerRecordedEventAttributes\DC2\US\n\
+    \\vmarker_name\CAN\SOH \SOH(\tR\n\
+    \markerName\DC2]\n\
+    \\adetails\CAN\STX \ETX(\v2C.temporal.api.history.v1.MarkerRecordedEventAttributes.DetailsEntryR\adetails\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\ETX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC26\n\
+    \\ACKheader\CAN\EOT \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2:\n\
+    \\afailure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\SUB\\\n\
+    \\fDetailsEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC26\n\
+    \\ENQvalue\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQvalue:\STX8\SOH\"\133\ETX\n\
+    \(WorkflowExecutionSignaledEventAttributes\DC2\US\n\
+    \\vsignal_name\CAN\SOH \SOH(\tR\n\
+    \signalName\DC26\n\
+    \\ENQinput\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2\SUB\n\
+    \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC26\n\
+    \\ACKheader\CAN\EOT \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2A\n\
+    \\ESCskip_generate_workflow_task\CAN\ENQ \SOH(\bR\CANskipGenerateWorkflowTaskB\STX\CAN\SOH\DC2i\n\
+    \\ESCexternal_workflow_execution\CAN\ACK \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\EMexternalWorkflowExecution\"\156\SOH\n\
+    \*WorkflowExecutionTerminatedEventAttributes\DC2\SYN\n\
+    \\ACKreason\CAN\SOH \SOH(\tR\ACKreason\DC2:\n\
+    \\adetails\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2\SUB\n\
+    \\bidentity\CAN\ETX \SOH(\tR\bidentity\"\133\ETX\n\
+    \>RequestCancelExternalWorkflowExecutionInitiatedEventAttributes\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\CAN\n\
+    \\acontrol\CAN\EOT \SOH(\tR\acontrol\DC2.\n\
+    \\DC3child_workflow_only\CAN\ENQ \SOH(\bR\DC1childWorkflowOnly\DC2\SYN\n\
+    \\ACKreason\CAN\ACK \SOH(\tR\ACKreason\"\193\ETX\n\
+    \;RequestCancelExternalWorkflowExecutionFailedEventAttributes\DC2W\n\
+    \\ENQcause\CAN\SOH \SOH(\SO2A.temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCauseR\ENQcause\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+    \\tnamespace\CAN\ETX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\EOT \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2,\n\
+    \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2\CAN\n\
+    \\acontrol\CAN\ACK \SOH(\tR\acontrol\"\130\STX\n\
+    \7ExternalWorkflowExecutionCancelRequestedEventAttributes\DC2,\n\
+    \\DC2initiated_event_id\CAN\SOH \SOH(\ETXR\DLEinitiatedEventId\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\EOT \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\"\247\ETX\n\
+    \7SignalExternalWorkflowExecutionInitiatedEventAttributes\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\t \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\US\n\
+    \\vsignal_name\CAN\EOT \SOH(\tR\n\
+    \signalName\DC26\n\
+    \\ENQinput\CAN\ENQ \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2\CAN\n\
+    \\acontrol\CAN\ACK \SOH(\tR\acontrol\DC2.\n\
+    \\DC3child_workflow_only\CAN\a \SOH(\bR\DC1childWorkflowOnly\DC26\n\
+    \\ACKheader\CAN\b \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\"\186\ETX\n\
+    \4SignalExternalWorkflowExecutionFailedEventAttributes\DC2W\n\
+    \\ENQcause\CAN\SOH \SOH(\SO2A.temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCauseR\ENQcause\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\FS\n\
+    \\tnamespace\CAN\ETX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\EOT \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2,\n\
+    \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2\CAN\n\
+    \\acontrol\CAN\ACK \SOH(\tR\acontrol\"\149\STX\n\
+    \0ExternalWorkflowExecutionSignaledEventAttributes\DC2,\n\
+    \\DC2initiated_event_id\CAN\SOH \SOH(\ETXR\DLEinitiatedEventId\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\ENQ \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\CAN\n\
+    \\acontrol\CAN\EOT \SOH(\tR\acontrol\"\206\SOH\n\
+    \-UpsertWorkflowSearchAttributesEventAttributes\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2U\n\
+    \\DC1search_attributes\CAN\STX \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\"\182\SOH\n\
+    \)WorkflowPropertiesModifiedEventAttributes\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\SOH \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2A\n\
+    \\rupserted_memo\CAN\STX \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo\"\141\n\
+    \\n\
+    \3StartChildWorkflowExecutionInitiatedEventAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\DC2 \SOH(\tR\vnamespaceId\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2I\n\
+    \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+    \\n\
+    \task_queue\CAN\EOT \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ENQinput\CAN\ENQ \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2X\n\
+    \\DC3parent_close_policy\CAN\t \SOH(\SO2(.temporal.api.enums.v1.ParentClosePolicyR\DC1parentClosePolicy\DC2\CAN\n\
+    \\acontrol\CAN\n\
+    \ \SOH(\tR\acontrol\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\v \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2e\n\
+    \\CANworkflow_id_reuse_policy\CAN\f \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+    \\fretry_policy\CAN\r \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+    \\rcron_schedule\CAN\SO \SOH(\tR\fcronSchedule\DC26\n\
+    \\ACKheader\CAN\SI \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC20\n\
+    \\EOTmemo\CAN\DLE \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\DC1 \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2(\n\
+    \\DLEinherit_build_id\CAN\DC3 \SOH(\bR\SOinheritBuildId\DC2<\n\
+    \\bpriority\CAN\DC4 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\196\ETX\n\
+    \0StartChildWorkflowExecutionFailedEventAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\b \SOH(\tR\vnamespaceId\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2I\n\
+    \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2S\n\
+    \\ENQcause\CAN\EOT \SOH(\SO2=.temporal.api.enums.v1.StartChildWorkflowExecutionFailedCauseR\ENQcause\DC2\CAN\n\
+    \\acontrol\CAN\ENQ \SOH(\tR\acontrol\DC2,\n\
+    \\DC2initiated_event_id\CAN\ACK \SOH(\ETXR\DLEinitiatedEventId\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\a \SOH(\ETXR\FSworkflowTaskCompletedEventId\"\250\STX\n\
+    \,ChildWorkflowExecutionStartedEventAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\ACK \SOH(\tR\vnamespaceId\DC2,\n\
+    \\DC2initiated_event_id\CAN\STX \SOH(\ETXR\DLEinitiatedEventId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC26\n\
+    \\ACKheader\CAN\ENQ \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\"\168\ETX\n\
+    \.ChildWorkflowExecutionCompletedEventAttributes\DC28\n\
+    \\ACKresult\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKresult\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+    \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ACK \SOH(\ETXR\SOstartedEventId\"\235\ETX\n\
+    \+ChildWorkflowExecutionFailedEventAttributes\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\b \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+    \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ACK \SOH(\ETXR\SOstartedEventId\DC2B\n\
+    \\vretry_state\CAN\a \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\"\169\ETX\n\
+    \-ChildWorkflowExecutionCanceledEventAttributes\DC2:\n\
+    \\adetails\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsR\adetails\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\EOT \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+    \\DC2initiated_event_id\CAN\ENQ \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ACK \SOH(\ETXR\SOstartedEventId\"\177\ETX\n\
+    \-ChildWorkflowExecutionTimedOutEventAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\a \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+    \\DC2initiated_event_id\CAN\EOT \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ENQ \SOH(\ETXR\SOstartedEventId\DC2B\n\
+    \\vretry_state\CAN\ACK \SOH(\SO2!.temporal.api.enums.v1.RetryStateR\n\
+    \retryState\"\239\STX\n\
+    \/ChildWorkflowExecutionTerminatedEventAttributes\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\ACK \SOH(\tR\vnamespaceId\DC2X\n\
+    \\DC2workflow_execution\CAN\STX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2I\n\
+    \\rworkflow_type\CAN\ETX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2,\n\
+    \\DC2initiated_event_id\CAN\EOT \SOH(\ETXR\DLEinitiatedEventId\DC2(\n\
+    \\DLEstarted_event_id\CAN\ENQ \SOH(\ETXR\SOstartedEventId\"\225\STX\n\
+    \.WorkflowExecutionOptionsUpdatedEventAttributes\DC2]\n\
+    \\DC3versioning_override\CAN\SOH \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2:\n\
+    \\EMunset_versioning_override\CAN\STX \SOH(\bR\ETBunsetVersioningOverride\DC2.\n\
+    \\DC3attached_request_id\CAN\ETX \SOH(\tR\DC1attachedRequestId\DC2d\n\
+    \\GSattached_completion_callbacks\CAN\EOT \ETX(\v2 .temporal.api.common.v1.CallbackR\ESCattachedCompletionCallbacks\"\168\ETX\n\
+    \3WorkflowPropertiesModifiedExternallyEventAttributes\DC2$\n\
+    \\SOnew_task_queue\CAN\SOH \SOH(\tR\fnewTaskQueue\DC2T\n\
+    \\EMnew_workflow_task_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SYNnewWorkflowTaskTimeout\DC2R\n\
+    \\CANnew_workflow_run_timeout\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\NAKnewWorkflowRunTimeout\DC2^\n\
+    \\RSnew_workflow_execution_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\ESCnewWorkflowExecutionTimeout\DC2A\n\
+    \\rupserted_memo\CAN\ENQ \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo\"\178\SOH\n\
+    \3ActivityPropertiesModifiedExternallyEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2M\n\
+    \\DLEnew_retry_policy\CAN\STX \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\SOnewRetryPolicy\"\189\STX\n\
+    \.WorkflowExecutionUpdateAcceptedEventAttributes\DC20\n\
+    \\DC4protocol_instance_id\CAN\SOH \SOH(\tR\DC2protocolInstanceId\DC2=\n\
+    \\ESCaccepted_request_message_id\CAN\STX \SOH(\tR\CANacceptedRequestMessageId\DC2N\n\
+    \$accepted_request_sequencing_event_id\CAN\ETX \SOH(\ETXR acceptedRequestSequencingEventId\DC2J\n\
+    \\DLEaccepted_request\CAN\EOT \SOH(\v2\US.temporal.api.update.v1.RequestR\SIacceptedRequest\"\202\SOH\n\
+    \/WorkflowExecutionUpdateCompletedEventAttributes\DC20\n\
+    \\EOTmeta\CAN\SOH \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC2*\n\
+    \\DC1accepted_event_id\CAN\ETX \SOH(\ETXR\SIacceptedEventId\DC29\n\
+    \\aoutcome\CAN\STX \SOH(\v2\US.temporal.api.update.v1.OutcomeR\aoutcome\"\249\STX\n\
+    \.WorkflowExecutionUpdateRejectedEventAttributes\DC20\n\
+    \\DC4protocol_instance_id\CAN\SOH \SOH(\tR\DC2protocolInstanceId\DC2=\n\
+    \\ESCrejected_request_message_id\CAN\STX \SOH(\tR\CANrejectedRequestMessageId\DC2N\n\
+    \$rejected_request_sequencing_event_id\CAN\ETX \SOH(\ETXR rejectedRequestSequencingEventId\DC2J\n\
+    \\DLErejected_request\CAN\EOT \SOH(\v2\US.temporal.api.update.v1.RequestR\SIrejectedRequest\DC2:\n\
+    \\afailure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"\181\SOH\n\
+    \.WorkflowExecutionUpdateAdmittedEventAttributes\DC29\n\
+    \\arequest\CAN\SOH \SOH(\v2\US.temporal.api.update.v1.RequestR\arequest\DC2H\n\
+    \\ACKorigin\CAN\STX \SOH(\SO20.temporal.api.enums.v1.UpdateAdmittedEventOriginR\ACKorigin\"\198\EOT\n\
+    \&NexusOperationScheduledEventAttributes\DC2\SUB\n\
+    \\bendpoint\CAN\SOH \SOH(\tR\bendpoint\DC2\CAN\n\
+    \\aservice\CAN\STX \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\ETX \SOH(\tR\toperation\DC25\n\
+    \\ENQinput\CAN\EOT \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2s\n\
+    \\fnexus_header\CAN\ACK \ETX(\v2P.temporal.api.history.v1.NexusOperationScheduledEventAttributes.NexusHeaderEntryR\vnexusHeader\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\a \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2\GS\n\
+    \\n\
+    \request_id\CAN\b \SOH(\tR\trequestId\DC2\US\n\
+    \\vendpoint_id\CAN\t \SOH(\tR\n\
+    \endpointId\SUB>\n\
+    \\DLENexusHeaderEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"\191\SOH\n\
+    \$NexusOperationStartedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2!\n\
+    \\foperation_id\CAN\ETX \SOH(\tR\voperationId\DC2\GS\n\
+    \\n\
+    \request_id\CAN\EOT \SOH(\tR\trequestId\DC2'\n\
+    \\SIoperation_token\CAN\ENQ \SOH(\tR\SOoperationToken\"\174\SOH\n\
+    \&NexusOperationCompletedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC27\n\
+    \\ACKresult\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\"\174\SOH\n\
+    \#NexusOperationFailedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2:\n\
+    \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\"\176\SOH\n\
+    \%NexusOperationTimedOutEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2:\n\
+    \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\"\176\SOH\n\
+    \%NexusOperationCanceledEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2:\n\
+    \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\"\164\SOH\n\
+    \,NexusOperationCancelRequestedEventAttributes\DC2,\n\
+    \\DC2scheduled_event_id\CAN\SOH \SOH(\ETXR\DLEscheduledEventId\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\"\217\SOH\n\
+    \3NexusOperationCancelRequestCompletedEventAttributes\DC2,\n\
+    \\DC2requested_event_id\CAN\SOH \SOH(\ETXR\DLErequestedEventId\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2,\n\
+    \\DC2scheduled_event_id\CAN\ETX \SOH(\ETXR\DLEscheduledEventId\"\146\STX\n\
+    \0NexusOperationCancelRequestFailedEventAttributes\DC2,\n\
+    \\DC2requested_event_id\CAN\SOH \SOH(\ETXR\DLErequestedEventId\DC2F\n\
+    \ workflow_task_completed_event_id\CAN\STX \SOH(\ETXR\FSworkflowTaskCompletedEventId\DC2:\n\
+    \\afailure\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2,\n\
+    \\DC2scheduled_event_id\CAN\EOT \SOH(\ETXR\DLEscheduledEventId\"\247O\n\
+    \\fHistoryEvent\DC2\EM\n\
+    \\bevent_id\CAN\SOH \SOH(\ETXR\aeventId\DC29\n\
+    \\n\
+    \event_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\teventTime\DC2?\n\
+    \\n\
+    \event_type\CAN\ETX \SOH(\SO2 .temporal.api.enums.v1.EventTypeR\teventType\DC2\CAN\n\
+    \\aversion\CAN\EOT \SOH(\ETXR\aversion\DC2\ETB\n\
+    \\atask_id\CAN\ENQ \SOH(\ETXR\ACKtaskId\DC2+\n\
+    \\DC1worker_may_ignore\CAN\172\STX \SOH(\bR\SIworkerMayIgnore\DC2G\n\
+    \\ruser_metadata\CAN\173\STX \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC23\n\
+    \\ENQlinks\CAN\174\STX \ETX(\v2\FS.temporal.api.common.v1.LinkR\ENQlinks\DC2\160\SOH\n\
+    \+workflow_execution_started_event_attributes\CAN\ACK \SOH(\v2@.temporal.api.history.v1.WorkflowExecutionStartedEventAttributesH\NULR'workflowExecutionStartedEventAttributes\DC2\166\SOH\n\
+    \-workflow_execution_completed_event_attributes\CAN\a \SOH(\v2B.temporal.api.history.v1.WorkflowExecutionCompletedEventAttributesH\NULR)workflowExecutionCompletedEventAttributes\DC2\157\SOH\n\
+    \*workflow_execution_failed_event_attributes\CAN\b \SOH(\v2?.temporal.api.history.v1.WorkflowExecutionFailedEventAttributesH\NULR&workflowExecutionFailedEventAttributes\DC2\164\SOH\n\
+    \-workflow_execution_timed_out_event_attributes\CAN\t \SOH(\v2A.temporal.api.history.v1.WorkflowExecutionTimedOutEventAttributesH\NULR(workflowExecutionTimedOutEventAttributes\DC2\151\SOH\n\
+    \(workflow_task_scheduled_event_attributes\CAN\n\
+    \ \SOH(\v2=.temporal.api.history.v1.WorkflowTaskScheduledEventAttributesH\NULR$workflowTaskScheduledEventAttributes\DC2\145\SOH\n\
+    \&workflow_task_started_event_attributes\CAN\v \SOH(\v2;.temporal.api.history.v1.WorkflowTaskStartedEventAttributesH\NULR\"workflowTaskStartedEventAttributes\DC2\151\SOH\n\
+    \(workflow_task_completed_event_attributes\CAN\f \SOH(\v2=.temporal.api.history.v1.WorkflowTaskCompletedEventAttributesH\NULR$workflowTaskCompletedEventAttributes\DC2\149\SOH\n\
+    \(workflow_task_timed_out_event_attributes\CAN\r \SOH(\v2<.temporal.api.history.v1.WorkflowTaskTimedOutEventAttributesH\NULR#workflowTaskTimedOutEventAttributes\DC2\142\SOH\n\
+    \%workflow_task_failed_event_attributes\CAN\SO \SOH(\v2:.temporal.api.history.v1.WorkflowTaskFailedEventAttributesH\NULR!workflowTaskFailedEventAttributes\DC2\151\SOH\n\
+    \(activity_task_scheduled_event_attributes\CAN\SI \SOH(\v2=.temporal.api.history.v1.ActivityTaskScheduledEventAttributesH\NULR$activityTaskScheduledEventAttributes\DC2\145\SOH\n\
+    \&activity_task_started_event_attributes\CAN\DLE \SOH(\v2;.temporal.api.history.v1.ActivityTaskStartedEventAttributesH\NULR\"activityTaskStartedEventAttributes\DC2\151\SOH\n\
+    \(activity_task_completed_event_attributes\CAN\DC1 \SOH(\v2=.temporal.api.history.v1.ActivityTaskCompletedEventAttributesH\NULR$activityTaskCompletedEventAttributes\DC2\142\SOH\n\
+    \%activity_task_failed_event_attributes\CAN\DC2 \SOH(\v2:.temporal.api.history.v1.ActivityTaskFailedEventAttributesH\NULR!activityTaskFailedEventAttributes\DC2\149\SOH\n\
+    \(activity_task_timed_out_event_attributes\CAN\DC3 \SOH(\v2<.temporal.api.history.v1.ActivityTaskTimedOutEventAttributesH\NULR#activityTaskTimedOutEventAttributes\DC2{\n\
+    \\RStimer_started_event_attributes\CAN\DC4 \SOH(\v24.temporal.api.history.v1.TimerStartedEventAttributesH\NULR\ESCtimerStartedEventAttributes\DC2u\n\
+    \\FStimer_fired_event_attributes\CAN\NAK \SOH(\v22.temporal.api.history.v1.TimerFiredEventAttributesH\NULR\EMtimerFiredEventAttributes\DC2\170\SOH\n\
+    \/activity_task_cancel_requested_event_attributes\CAN\SYN \SOH(\v2C.temporal.api.history.v1.ActivityTaskCancelRequestedEventAttributesH\NULR*activityTaskCancelRequestedEventAttributes\DC2\148\SOH\n\
+    \'activity_task_canceled_event_attributes\CAN\ETB \SOH(\v2<.temporal.api.history.v1.ActivityTaskCanceledEventAttributesH\NULR#activityTaskCanceledEventAttributes\DC2~\n\
+    \\UStimer_canceled_event_attributes\CAN\CAN \SOH(\v25.temporal.api.history.v1.TimerCanceledEventAttributesH\NULR\FStimerCanceledEventAttributes\DC2\129\SOH\n\
+    \ marker_recorded_event_attributes\CAN\EM \SOH(\v26.temporal.api.history.v1.MarkerRecordedEventAttributesH\NULR\GSmarkerRecordedEventAttributes\DC2\163\SOH\n\
+    \,workflow_execution_signaled_event_attributes\CAN\SUB \SOH(\v2A.temporal.api.history.v1.WorkflowExecutionSignaledEventAttributesH\NULR(workflowExecutionSignaledEventAttributes\DC2\169\SOH\n\
+    \.workflow_execution_terminated_event_attributes\CAN\ESC \SOH(\v2C.temporal.api.history.v1.WorkflowExecutionTerminatedEventAttributesH\NULR*workflowExecutionTerminatedEventAttributes\DC2\185\SOH\n\
+    \4workflow_execution_cancel_requested_event_attributes\CAN\FS \SOH(\v2H.temporal.api.history.v1.WorkflowExecutionCancelRequestedEventAttributesH\NULR/workflowExecutionCancelRequestedEventAttributes\DC2\163\SOH\n\
+    \,workflow_execution_canceled_event_attributes\CAN\GS \SOH(\v2A.temporal.api.history.v1.WorkflowExecutionCanceledEventAttributesH\NULR(workflowExecutionCanceledEventAttributes\DC2\232\SOH\n\
+    \Erequest_cancel_external_workflow_execution_initiated_event_attributes\CAN\RS \SOH(\v2W.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesH\NULR>requestCancelExternalWorkflowExecutionInitiatedEventAttributes\DC2\223\SOH\n\
+    \Brequest_cancel_external_workflow_execution_failed_event_attributes\CAN\US \SOH(\v2T.temporal.api.history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributesH\NULR;requestCancelExternalWorkflowExecutionFailedEventAttributes\DC2\210\SOH\n\
+    \=external_workflow_execution_cancel_requested_event_attributes\CAN  \SOH(\v2P.temporal.api.history.v1.ExternalWorkflowExecutionCancelRequestedEventAttributesH\NULR7externalWorkflowExecutionCancelRequestedEventAttributes\DC2\183\SOH\n\
+    \4workflow_execution_continued_as_new_event_attributes\CAN! \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionContinuedAsNewEventAttributesH\NULR.workflowExecutionContinuedAsNewEventAttributes\DC2\198\SOH\n\
+    \9start_child_workflow_execution_initiated_event_attributes\CAN\" \SOH(\v2L.temporal.api.history.v1.StartChildWorkflowExecutionInitiatedEventAttributesH\NULR3startChildWorkflowExecutionInitiatedEventAttributes\DC2\189\SOH\n\
+    \6start_child_workflow_execution_failed_event_attributes\CAN# \SOH(\v2I.temporal.api.history.v1.StartChildWorkflowExecutionFailedEventAttributesH\NULR0startChildWorkflowExecutionFailedEventAttributes\DC2\176\SOH\n\
+    \1child_workflow_execution_started_event_attributes\CAN$ \SOH(\v2E.temporal.api.history.v1.ChildWorkflowExecutionStartedEventAttributesH\NULR,childWorkflowExecutionStartedEventAttributes\DC2\182\SOH\n\
+    \3child_workflow_execution_completed_event_attributes\CAN% \SOH(\v2G.temporal.api.history.v1.ChildWorkflowExecutionCompletedEventAttributesH\NULR.childWorkflowExecutionCompletedEventAttributes\DC2\173\SOH\n\
+    \0child_workflow_execution_failed_event_attributes\CAN& \SOH(\v2D.temporal.api.history.v1.ChildWorkflowExecutionFailedEventAttributesH\NULR+childWorkflowExecutionFailedEventAttributes\DC2\179\SOH\n\
+    \2child_workflow_execution_canceled_event_attributes\CAN' \SOH(\v2F.temporal.api.history.v1.ChildWorkflowExecutionCanceledEventAttributesH\NULR-childWorkflowExecutionCanceledEventAttributes\DC2\180\SOH\n\
+    \3child_workflow_execution_timed_out_event_attributes\CAN( \SOH(\v2F.temporal.api.history.v1.ChildWorkflowExecutionTimedOutEventAttributesH\NULR-childWorkflowExecutionTimedOutEventAttributes\DC2\185\SOH\n\
+    \4child_workflow_execution_terminated_event_attributes\CAN) \SOH(\v2H.temporal.api.history.v1.ChildWorkflowExecutionTerminatedEventAttributesH\NULR/childWorkflowExecutionTerminatedEventAttributes\DC2\210\SOH\n\
+    \=signal_external_workflow_execution_initiated_event_attributes\CAN* \SOH(\v2P.temporal.api.history.v1.SignalExternalWorkflowExecutionInitiatedEventAttributesH\NULR7signalExternalWorkflowExecutionInitiatedEventAttributes\DC2\201\SOH\n\
+    \:signal_external_workflow_execution_failed_event_attributes\CAN+ \SOH(\v2M.temporal.api.history.v1.SignalExternalWorkflowExecutionFailedEventAttributesH\NULR4signalExternalWorkflowExecutionFailedEventAttributes\DC2\188\SOH\n\
+    \5external_workflow_execution_signaled_event_attributes\CAN, \SOH(\v2I.temporal.api.history.v1.ExternalWorkflowExecutionSignaledEventAttributesH\NULR0externalWorkflowExecutionSignaledEventAttributes\DC2\179\SOH\n\
+    \2upsert_workflow_search_attributes_event_attributes\CAN- \SOH(\v2F.temporal.api.history.v1.UpsertWorkflowSearchAttributesEventAttributesH\NULR-upsertWorkflowSearchAttributesEventAttributes\DC2\182\SOH\n\
+    \3workflow_execution_update_accepted_event_attributes\CAN. \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributesH\NULR.workflowExecutionUpdateAcceptedEventAttributes\DC2\182\SOH\n\
+    \3workflow_execution_update_rejected_event_attributes\CAN/ \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributesH\NULR.workflowExecutionUpdateRejectedEventAttributes\DC2\185\SOH\n\
+    \4workflow_execution_update_completed_event_attributes\CAN0 \SOH(\v2H.temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributesH\NULR/workflowExecutionUpdateCompletedEventAttributes\DC2\197\SOH\n\
+    \8workflow_properties_modified_externally_event_attributes\CAN1 \SOH(\v2L.temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributesH\NULR3workflowPropertiesModifiedExternallyEventAttributes\DC2\197\SOH\n\
+    \8activity_properties_modified_externally_event_attributes\CAN2 \SOH(\v2L.temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributesH\NULR3activityPropertiesModifiedExternallyEventAttributes\DC2\166\SOH\n\
+    \-workflow_properties_modified_event_attributes\CAN3 \SOH(\v2B.temporal.api.history.v1.WorkflowPropertiesModifiedEventAttributesH\NULR)workflowPropertiesModifiedEventAttributes\DC2\182\SOH\n\
+    \3workflow_execution_update_admitted_event_attributes\CAN4 \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionUpdateAdmittedEventAttributesH\NULR.workflowExecutionUpdateAdmittedEventAttributes\DC2\157\SOH\n\
+    \*nexus_operation_scheduled_event_attributes\CAN5 \SOH(\v2?.temporal.api.history.v1.NexusOperationScheduledEventAttributesH\NULR&nexusOperationScheduledEventAttributes\DC2\151\SOH\n\
+    \(nexus_operation_started_event_attributes\CAN6 \SOH(\v2=.temporal.api.history.v1.NexusOperationStartedEventAttributesH\NULR$nexusOperationStartedEventAttributes\DC2\157\SOH\n\
+    \*nexus_operation_completed_event_attributes\CAN7 \SOH(\v2?.temporal.api.history.v1.NexusOperationCompletedEventAttributesH\NULR&nexusOperationCompletedEventAttributes\DC2\148\SOH\n\
+    \'nexus_operation_failed_event_attributes\CAN8 \SOH(\v2<.temporal.api.history.v1.NexusOperationFailedEventAttributesH\NULR#nexusOperationFailedEventAttributes\DC2\154\SOH\n\
+    \)nexus_operation_canceled_event_attributes\CAN9 \SOH(\v2>.temporal.api.history.v1.NexusOperationCanceledEventAttributesH\NULR%nexusOperationCanceledEventAttributes\DC2\155\SOH\n\
+    \*nexus_operation_timed_out_event_attributes\CAN: \SOH(\v2>.temporal.api.history.v1.NexusOperationTimedOutEventAttributesH\NULR%nexusOperationTimedOutEventAttributes\DC2\176\SOH\n\
+    \1nexus_operation_cancel_requested_event_attributes\CAN; \SOH(\v2E.temporal.api.history.v1.NexusOperationCancelRequestedEventAttributesH\NULR,nexusOperationCancelRequestedEventAttributes\DC2\182\SOH\n\
+    \3workflow_execution_options_updated_event_attributes\CAN< \SOH(\v2G.temporal.api.history.v1.WorkflowExecutionOptionsUpdatedEventAttributesH\NULR.workflowExecutionOptionsUpdatedEventAttributes\DC2\198\SOH\n\
+    \9nexus_operation_cancel_request_completed_event_attributes\CAN= \SOH(\v2L.temporal.api.history.v1.NexusOperationCancelRequestCompletedEventAttributesH\NULR3nexusOperationCancelRequestCompletedEventAttributes\DC2\189\SOH\n\
+    \6nexus_operation_cancel_request_failed_event_attributes\CAN> \SOH(\v2I.temporal.api.history.v1.NexusOperationCancelRequestFailedEventAttributesH\NULR0nexusOperationCancelRequestFailedEventAttributesB\f\n\
+    \\n\
+    \attributes\"H\n\
+    \\aHistory\DC2=\n\
+    \\ACKevents\CAN\SOH \ETX(\v2%.temporal.api.history.v1.HistoryEventR\ACKeventsB\142\SOH\n\
+    \\SUBio.temporal.api.history.v1B\fMessageProtoP\SOHZ%go.temporal.io/api/history/v1;history\170\STX\EMTemporalio.Api.History.V1\234\STX\FSTemporalio::Api::History::V1J\163\175\ETX\n\
+    \\a\DC2\ENQ\SYN\NUL\182\b\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL \n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL<\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL<\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL3\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL5\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX$\NUL0\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX%\NUL2\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX&\NUL,\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX'\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX(\NUL.\n\
+    \\t\n\
+    \\STX\ETX\a\DC2\ETX)\NUL2\n\
+    \\t\n\
+    \\STX\ETX\b\DC2\ETX*\NUL/\n\
+    \\t\n\
+    \\STX\ETX\t\DC2\ETX+\NUL1\n\
+    \\t\n\
+    \\STX\ETX\n\
+    \\DC2\ETX,\NUL.\n\
+    \\t\n\
+    \\STX\ETX\v\DC2\ETX-\NUL0\n\
+    \\t\n\
+    \\STX\ETX\f\DC2\ETX.\NUL:\n\
+    \\t\n\
+    \\STX\ETX\r\DC2\ETX/\NUL1\n\
+    \9\n\
+    \\STX\EOT\NUL\DC2\ENQ2\NUL\153\SOH\SOH\SUB, Always the first event in workflow history\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX2\b/\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX3\EOT:\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX3\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX3(5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX389\n\
+    \\200\SOH\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX6\EOT)\SUB\186\SOH If this workflow is a child, the namespace our parent lives in.\n\
+    \ SDKs and UI tools should use `parent_workflow_namespace` field but server must use `parent_workflow_namespace_id` only.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX6\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX6\v$\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX6'(\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX7\EOT-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX7\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX7\v'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX7*,\n\
+    \\128\STX\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX:\EOTK\SUB\242\SOH Contains information about parent workflow execution that initiated the child workflow these attributes belong to.\n\
+    \ If the workflow these attributes belong to is not a child workflow of any other execution, this field will not be populated.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX:\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX:-F\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX:IJ\n\
+    \Q\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX<\EOT(\SUBD EventID of the child execution initiated event in parent workflow \n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ENQ\DC2\ETX<\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX<\n\
+    \#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX<&'\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETX=\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX=\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX=(2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX=56\n\
+    \]\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETX?\EOT.\SUBP SDK will deserialize this and provide it as arguments to the workflow function\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX?\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX?$)\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX?,-\n\
+    \V\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETXA\EOT<\SUBI Total workflow execution timeout including retries and continue as new.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ACK\DC2\ETXA\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETXA\GS7\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETXA:;\n\
+    \0\n\
+    \\EOT\EOT\NUL\STX\b\DC2\ETXC\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ACK\DC2\ETXC\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\SOH\DC2\ETXC\GS1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ETX\DC2\ETXC45\n\
+    \1\n\
+    \\EOT\EOT\NUL\STX\t\DC2\ETXE\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ACK\DC2\ETXE\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\SOH\DC2\ETXE\GS2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ETX\DC2\ETXE56\n\
+    \v\n\
+    \\EOT\EOT\NUL\STX\n\
+    \\DC2\ETXH\EOT+\SUBi Run id of the previous workflow which continued-as-new or retired or cron executed into this\n\
+    \ workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ENQ\DC2\ETXH\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\SOH\DC2\ETXH\v%\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ETX\DC2\ETXH(*\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\v\DC2\ETXI\EOT@\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ACK\DC2\ETXI\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\SOH\DC2\ETXI1:\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ETX\DC2\ETXI=?\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\f\DC2\ETXJ\EOT;\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ACK\DC2\ETXJ\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\SOH\DC2\ETXJ$5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ETX\DC2\ETXJ8:\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\r\DC2\ETXK\EOT@\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\ACK\DC2\ETXK\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\SOH\DC2\ETXK$:\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\ETX\DC2\ETXK=?\n\
+    \\161\SOH\n\
+    \\EOT\EOT\NUL\STX\SO\DC2\ETXN\EOT*\SUB\147\SOH This is the run id when the WorkflowExecutionStarted event was written.\n\
+    \ A workflow reset changes the execution run_id, but preserves this field.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\ENQ\DC2\ETXN\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\SOH\DC2\ETXN\v$\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\ETX\DC2\ETXN')\n\
+    \B\n\
+    \\EOT\EOT\NUL\STX\SI\DC2\ETXP\EOT\EM\SUB5 Identity of the client who requested this execution\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\ENQ\DC2\ETXP\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\SOH\DC2\ETXP\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\ETX\DC2\ETXP\SYN\CAN\n\
+    \\DEL\n\
+    \\EOT\EOT\NUL\STX\DLE\DC2\ETXS\EOT'\SUBr This is the very first runId along the chain of ContinueAsNew, Retry, Cron and Reset.\n\
+    \ Used to identify a chain.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\ENQ\DC2\ETXS\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\SOH\DC2\ETXS\v!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\ETX\DC2\ETXS$&\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\DC1\DC2\ETXT\EOT9\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\ACK\DC2\ETXT\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\SOH\DC2\ETXT'3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\ETX\DC2\ETXT68\n\
+    \X\n\
+    \\EOT\EOT\NUL\STX\DC2\DC2\ETXV\EOT\ETB\SUBK Starting at 1, the number of times we have tried to execute this workflow\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\ENQ\DC2\ETXV\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\SOH\DC2\ETXV\n\
+    \\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\ETX\DC2\ETXV\DC4\SYN\n\
+    \\142\SOH\n\
+    \\EOT\EOT\NUL\STX\DC3\DC2\ETXY\EOTF\SUB\128\SOH The absolute time at which the workflow will be timed out.\n\
+    \ This is passed without change to the next run/retry of a workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\ACK\DC2\ETXY\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\SOH\DC2\ETXY\RS@\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\ETX\DC2\ETXYCE\n\
+    \L\n\
+    \\EOT\EOT\NUL\STX\DC4\DC2\ETX[\EOT\RS\SUB? If this workflow runs on a cron schedule, it will appear here\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\ENQ\DC2\ETX[\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\SOH\DC2\ETX[\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\ETX\DC2\ETX[\ESC\GS\n\
+    \\184\SOH\n\
+    \\EOT\EOT\NUL\STX\NAK\DC2\ETX^\EOT>\SUB\170\SOH For a cron workflow, this contains the amount of time between when this iteration of\n\
+    \ the cron workflow was scheduled and when it should run next per its cron_schedule.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\ACK\DC2\ETX^\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\SOH\DC2\ETX^\GS8\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\ETX\DC2\ETX^;=\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SYN\DC2\ETX_\EOT*\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\ACK\DC2\ETX_\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\SOH\DC2\ETX_ $\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\ETX\DC2\ETX_')\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETB\DC2\ETX`\EOTC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETB\ACK\DC2\ETX`\EOT+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETB\SOH\DC2\ETX`,=\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETB\ETX\DC2\ETX`@B\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\CAN\DC2\ETXa\EOTE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\CAN\ACK\DC2\ETXa\EOT(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\CAN\SOH\DC2\ETXa)?\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\CAN\ETX\DC2\ETXaBD\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\EM\DC2\ETXb\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EM\ACK\DC2\ETXb\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EM\SOH\DC2\ETXb\"(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EM\ETX\DC2\ETXb+-\n\
+    \\198\SOH\n\
+    \\EOT\EOT\NUL\STX\SUB\DC2\ETXf\EOT.\SUB\184\SOH Version of the child execution initiated event in parent workflow\n\
+    \ It should be used together with parent_initiated_event_id to identify\n\
+    \ a child initiated event for global namespace\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SUB\ENQ\DC2\ETXf\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SUB\SOH\DC2\ETXf\n\
+    \(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SUB\ETX\DC2\ETXf+-\n\
+    \)\n\
+    \\EOT\EOT\NUL\STX\ESC\DC2\ETXh\EOT\FS\SUB\FS This field is new in 1.21.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ESC\ENQ\DC2\ETXh\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ESC\SOH\DC2\ETXh\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ESC\ETX\DC2\ETXh\EM\ESC\n\
+    \\183\SOH\n\
+    \\EOT\EOT\NUL\STX\FS\DC2\ETXl\EOTH\SUB\169\SOH If this workflow intends to use anything other than the current overall default version for\n\
+    \ the queue, then we include it here.\n\
+    \ Deprecated. [cleanup-experimental-wv]\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\FS\ACK\DC2\ETXl\EOT-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\FS\SOH\DC2\ETXl.B\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\FS\ETX\DC2\ETXlEG\n\
+    \L\n\
+    \\EOT\EOT\NUL\STX\GS\DC2\ETXn\EOTG\SUB? Completion callbacks attached when this workflow was started.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\GS\EOT\DC2\ETXn\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\GS\ACK\DC2\ETXn\r,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\GS\SOH\DC2\ETXn-A\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\GS\ETX\DC2\ETXnDF\n\
+    \\165\f\n\
+    \\EOT\EOT\NUL\STX\RS\DC2\EOT\138\SOH\EOTJ\SUB\150\f Contains information about the root workflow execution.\n\
+    \ The root workflow execution is defined as follows:\n\
+    \   1. A workflow without parent workflow is its own root workflow.\n\
+    \   2. A workflow that has a parent workflow has the same root workflow as its parent workflow.\n\
+    \ When the workflow is its own root workflow, then root_workflow_execution is nil.\n\
+    \ Note: workflows continued as new or reseted may or may not have parents, check examples below.\n\
+    \\n\
+    \ Examples:\n\
+    \   Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.\n\
+    \     - The root workflow of all three workflows is W1.\n\
+    \     - W1 has root_workflow_execution set to nil.\n\
+    \     - W2 and W3 have root_workflow_execution set to W1.\n\
+    \   Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.\n\
+    \     - The root workflow of all three workflows is W1.\n\
+    \     - W1 has root_workflow_execution set to nil.\n\
+    \     - W2 and W3 have root_workflow_execution set to W1.\n\
+    \   Scenario 3: Workflow W1 continued as new W2.\n\
+    \     - The root workflow of W1 is W1 and the root workflow of W2 is W2.\n\
+    \     - W1 and W2 have root_workflow_execution set to nil.\n\
+    \   Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3\n\
+    \     - The root workflow of all three workflows is W1.\n\
+    \     - W1 has root_workflow_execution set to nil.\n\
+    \     - W2 and W3 have root_workflow_execution set to W1.\n\
+    \   Scenario 5: Workflow W1 is reseted, creating W2.\n\
+    \     - The root workflow of W1 is W1 and the root workflow of W2 is W2.\n\
+    \     - W1 and W2 have root_workflow_execution set to nil.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\RS\ACK\DC2\EOT\138\SOH\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\RS\SOH\DC2\EOT\138\SOH-D\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\RS\ETX\DC2\EOT\138\SOHGI\n\
+    \\215\SOH\n\
+    \\EOT\EOT\NUL\STX\US\DC2\EOT\141\SOH\EOT#\SUB\200\SOH When present, this execution is assigned to the build ID of its parent or previous execution.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\US\ENQ\DC2\EOT\141\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\US\SOH\DC2\EOT\141\SOH\v\GS\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\US\ETX\DC2\EOT\141\SOH \"\n\
+    \Q\n\
+    \\EOT\EOT\NUL\STX \DC2\EOT\143\SOH\EOTI\SUBC Versioning override applied to this workflow when it was started.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX \ACK\DC2\EOT\143\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX \SOH\DC2\EOT\143\SOH0C\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX \ETX\DC2\EOT\143\SOHFH\n\
+    \\246\STX\n\
+    \\EOT\EOT\NUL\STX!\DC2\EOT\149\SOH\EOT8\SUB\231\STX When present, it means this is a child workflow of a parent that is Pinned to this Worker\n\
+    \ Deployment Version. In this case, child workflow will start as Pinned to this Version instead\n\
+    \ of starting on the Current Version of its Task Queue.\n\
+    \ This is set only if the child workflow is starting on a Task Queue belonging to the same\n\
+    \ Worker Deployment Version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX!\ENQ\DC2\EOT\149\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX!\SOH\DC2\EOT\149\SOH\v2\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX!\ETX\DC2\EOT\149\SOH57\n\
+    \!\n\
+    \\EOT\EOT\NUL\STX\"\DC2\EOT\152\SOH\EOT2\SUB\DC3 Priority metadata\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\"\ACK\DC2\EOT\152\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\"\SOH\DC2\EOT\152\SOH$,\n\
+    \\r\n\
+    \\ENQ\EOT\NUL\STX\"\ETX\DC2\EOT\152\SOH/1\n\
+    \\f\n\
+    \\STX\EOT\SOH\DC2\ACK\155\SOH\NUL\162\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SOH\SOH\DC2\EOT\155\SOH\b1\n\
+    \h\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\EOT\157\SOH\EOT/\SUBZ Serialized result of workflow completion (ie: The return value of the workflow function)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\EOT\157\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\EOT\157\SOH$*\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\EOT\157\SOH-.\n\
+    \X\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\EOT\159\SOH\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\EOT\159\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\EOT\159\SOH\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\EOT\159\SOH-.\n\
+    \P\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\EOT\161\SOH\EOT$\SUBB If another run is started by cron, this contains the new run id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\EOT\161\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\EOT\161\SOH\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\EOT\161\SOH\"#\n\
+    \\f\n\
+    \\STX\EOT\STX\DC2\ACK\164\SOH\NUL\172\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\STX\SOH\DC2\EOT\164\SOH\b.\n\
+    \b\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\EOT\166\SOH\EOT0\SUBT Serialized result of workflow failure (ex: An exception thrown, or error returned)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\EOT\166\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\166\SOH$+\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\166\SOH./\n\
+    \\f\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\EOT\167\SOH\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\EOT\167\SOH\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\167\SOH%0\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\167\SOH34\n\
+    \X\n\
+    \\EOT\EOT\STX\STX\STX\DC2\EOT\169\SOH\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\ENQ\DC2\EOT\169\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\169\SOH\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\169\SOH-.\n\
+    \Y\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\EOT\171\SOH\EOT$\SUBK If another run is started by cron or retry, this contains the new run id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\ENQ\DC2\EOT\171\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\EOT\171\SOH\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\EOT\171\SOH\"#\n\
+    \\f\n\
+    \\STX\EOT\ETX\DC2\ACK\174\SOH\NUL\178\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ETX\SOH\DC2\EOT\174\SOH\b0\n\
+    \\f\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\EOT\175\SOH\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\175\SOH\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\175\SOH%0\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\175\SOH34\n\
+    \Y\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\EOT\177\SOH\EOT$\SUBK If another run is started by cron or retry, this contains the new run id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\EOT\177\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\177\SOH\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\177\SOH\"#\n\
+    \\f\n\
+    \\STX\EOT\EOT\DC2\ACK\180\SOH\NUL\210\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\EOT\SOH\DC2\EOT\180\SOH\b6\n\
+    \N\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\EOT\182\SOH\EOT$\SUB@ The run ID of the new workflow started by this continue-as-new\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\182\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\182\SOH\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\182\SOH\"#\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\EOT\183\SOH\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\EOT\183\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\183\SOH(5\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\183\SOH89\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\EOT\184\SOH\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\184\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\184\SOH(2\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\184\SOH56\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\ETX\DC2\EOT\185\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\185\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\185\SOH$)\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\185\SOH,-\n\
+    \1\n\
+    \\EOT\EOT\EOT\STX\EOT\DC2\EOT\187\SOH\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\ACK\DC2\EOT\187\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\187\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\187\SOH45\n\
+    \2\n\
+    \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\189\SOH\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ACK\DC2\EOT\189\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\189\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\189\SOH56\n\
+    \X\n\
+    \\EOT\EOT\EOT\STX\ACK\DC2\EOT\191\SOH\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ACK\ENQ\DC2\EOT\191\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\191\SOH\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\191\SOH-.\n\
+    \+\n\
+    \\EOT\EOT\EOT\STX\a\DC2\EOT\193\SOH\EOT8\SUB\GS TODO: How and is this used?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\a\ACK\DC2\EOT\193\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\193\SOH\GS3\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\193\SOH67\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\b\DC2\EOT\194\SOH\EOT?\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\b\ACK\DC2\EOT\194\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\194\SOH1:\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\194\SOH=>\n\
+    \\198\STX\n\
+    \\EOT\EOT\EOT\STX\t\DC2\EOT\199\SOH\EOT1\SUB\183\STX TODO: David are these right?\n\
+    \ Deprecated. If a workflow's retry policy would cause a new run to start when the current one\n\
+    \ has failed, this field would be populated with that failure. Now (when supported by server\n\
+    \ and sdk) the final event will be `WORKFLOW_EXECUTION_FAILED` with `new_execution_run_id` set.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\199\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\199\SOH$+\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\199\SOH.0\n\
+    \S\n\
+    \\EOT\EOT\EOT\STX\n\
+    \\DC2\EOT\201\SOH\EOT@\SUBE TODO: Is this the result of *this* workflow as it continued-as-new?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\ACK\DC2\EOT\201\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\SOH\DC2\EOT\201\SOH$:\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\ETX\DC2\EOT\201\SOH=?\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\v\DC2\EOT\202\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\v\ACK\DC2\EOT\202\SOH\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\v\SOH\DC2\EOT\202\SOH\"(\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\v\ETX\DC2\EOT\202\SOH+-\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\f\DC2\EOT\203\SOH\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\f\ACK\DC2\EOT\203\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\f\SOH\DC2\EOT\203\SOH $\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\f\ETX\DC2\EOT\203\SOH')\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\r\DC2\EOT\204\SOH\EOTC\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\r\ACK\DC2\EOT\204\SOH\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\r\SOH\DC2\EOT\204\SOH,=\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\r\ETX\DC2\EOT\204\SOH@B\n\
+    \\201\SOH\n\
+    \\EOT\EOT\EOT\STX\SO\DC2\EOT\207\SOH\EOT\US\SUB\186\SOH If this is set, the new execution inherits the Build ID of the current execution. Otherwise,\n\
+    \ the assignment rules will be used to independently assign a Build ID to the new execution.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SO\ENQ\DC2\EOT\207\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SO\SOH\DC2\EOT\207\SOH\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SO\ETX\DC2\EOT\207\SOH\FS\RS\n\
+    \\f\n\
+    \\STX\EOT\ENQ\DC2\ACK\212\SOH\NUL\222\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ENQ\SOH\DC2\EOT\212\SOH\b,\n\
+    \j\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\214\SOH\EOT7\SUB\\ The task queue this workflow task was enqueued in, which could be a normal or sticky queue\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\EOT\214\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\214\SOH(2\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\214\SOH56\n\
+    \\218\SOH\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\219\SOH\EOT8\SUB\203\SOH How long the worker has to process this task once receiving it before it times out\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\219\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\219\SOH\GS3\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\219\SOH67\n\
+    \V\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\EOT\221\SOH\EOT\SYN\SUBH Starting at 1, how many attempts there have been to complete this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ENQ\DC2\EOT\221\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\EOT\221\SOH\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\EOT\221\SOH\DC4\NAK\n\
+    \\f\n\
+    \\STX\EOT\ACK\DC2\ACK\224\SOH\NUL\245\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ACK\SOH\DC2\EOT\224\SOH\b*\n\
+    \V\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\226\SOH\EOT!\SUBH The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\226\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\226\SOH\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\226\SOH\US \n\
+    \>\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\EOT\228\SOH\EOT\CAN\SUB0 Identity of the worker who picked up this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ENQ\DC2\EOT\228\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\228\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\228\SOH\SYN\ETB\n\
+    \'\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\EOT\230\SOH\EOT\SUB\SUB\EM TODO: ? Appears unused?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ENQ\DC2\EOT\230\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\230\SOH\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\230\SOH\CAN\EM\n\
+    \\143\SOH\n\
+    \\EOT\EOT\ACK\STX\ETX\DC2\EOT\233\SOH\EOT%\SUB\128\SOH True if this workflow should continue-as-new soon because its history size (in\n\
+    \ either event count or bytes) is getting large.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\ENQ\DC2\EOT\233\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\233\SOH\t \n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\233\SOH#$\n\
+    \\246\SOH\n\
+    \\EOT\EOT\ACK\STX\EOT\DC2\EOT\237\SOH\EOT!\SUB\231\SOH Total history size in bytes, which the workflow might use to decide when to\n\
+    \ continue-as-new regardless of the suggestion. Note that history event count is\n\
+    \ just the event id of this event, so we don't include it explicitly here.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\EOT\ENQ\DC2\EOT\237\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\237\SOH\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\237\SOH\US \n\
+    \\182\SOH\n\
+    \\EOT\EOT\ACK\STX\ENQ\DC2\EOT\240\SOH\EOTA\SUB\167\SOH Version info of the worker to whom this task was dispatched.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ENQ\ACK\DC2\EOT\240\SOH\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ENQ\SOH\DC2\EOT\240\SOH.<\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ENQ\ETX\DC2\EOT\240\SOH?@\n\
+    \\235\SOH\n\
+    \\EOT\EOT\ACK\STX\ACK\DC2\EOT\244\SOH\EOT(\SUB\220\SOH Used by server internally to properly reapply build ID redirects to an execution\n\
+    \ when rebuilding it from events.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ACK\ENQ\DC2\EOT\244\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ACK\SOH\DC2\EOT\244\SOH\n\
+    \#\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ACK\ETX\DC2\EOT\244\SOH&'\n\
+    \\f\n\
+    \\STX\EOT\a\DC2\ACK\247\SOH\NUL\157\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\247\SOH\b,\n\
+    \V\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\249\SOH\EOT!\SUBH The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\249\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\249\SOH\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\249\SOH\US \n\
+    \T\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\251\SOH\EOT\US\SUBF The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\251\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\251\SOH\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\251\SOH\GS\RS\n\
+    \>\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\253\SOH\EOT\CAN\SUB0 Identity of the worker who completed this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ENQ\DC2\EOT\253\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\253\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\253\SOH\SYN\ETB\n\
+    \?\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\255\SOH\EOT\US\SUB1 Binary ID of the worker who completed this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ENQ\DC2\EOT\255\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\255\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\255\SOH\GS\RS\n\
+    \\179\STX\n\
+    \\EOT\EOT\a\STX\EOT\DC2\EOT\132\STX\EOTA\SUB\164\STX Version info of the worker who processed this workflow task. If present, the `build_id` field\n\
+    \ within is also used as `binary_checksum`, which may be omitted in that case (it may also be\n\
+    \ populated to preserve compatibility).\n\
+    \ Deprecated. Use `deployment` and `versioning_behavior` instead.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ACK\DC2\EOT\132\STX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\EOT\132\STX.<\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\EOT\132\STX?@\n\
+    \\134\SOH\n\
+    \\EOT\EOT\a\STX\ENQ\DC2\EOT\135\STX\EOTG\SUBx Data the SDK wishes to record for itself, but server need not interpret, and does not\n\
+    \ directly impact workflow state.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\ACK\DC2\EOT\135\STX\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\SOH\DC2\EOT\135\STX6B\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ENQ\ETX\DC2\EOT\135\STXEF\n\
+    \e\n\
+    \\EOT\EOT\a\STX\ACK\DC2\EOT\138\STX\EOTC\SUBW Local usage data sent during workflow task completion and recorded here for posterity\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ACK\ACK\DC2\EOT\138\STX\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ACK\SOH\DC2\EOT\138\STX,=\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ACK\ETX\DC2\EOT\138\STX@B\n\
+    \\153\STX\n\
+    \\EOT\EOT\a\STX\a\DC2\EOT\144\STX\EOTM\SUB\138\STX The deployment that completed this task. May or may not be set for unversioned workers,\n\
+    \ depending on whether a value is sent by the SDK. This value updates workflow execution's\n\
+    \ `versioning_info.deployment`.\n\
+    \ Deprecated. Replaced with `worker_deployment_version`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\a\ACK\DC2\EOT\144\STX\EOT)\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\a\SOH\DC2\EOT\144\STX*4\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\a\ETX\DC2\EOT\144\STX78\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\a\b\DC2\EOT\144\STX9L\n\
+    \\SO\n\
+    \\ACK\EOT\a\STX\a\b\ETX\DC2\EOT\144\STX:K\n\
+    \\129\STX\n\
+    \\EOT\EOT\a\STX\b\DC2\EOT\148\STX\EOTE\SUB\242\SOH Versioning behavior sent by the worker that completed this task for this particular workflow\n\
+    \ execution. UNSPECIFIED means the task was completed by an unversioned worker. This value\n\
+    \ updates workflow execution's `versioning_info.behavior`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\b\ACK\DC2\EOT\148\STX\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\b\SOH\DC2\EOT\148\STX-@\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\b\ETX\DC2\EOT\148\STXCD\n\
+    \\154\STX\n\
+    \\EOT\EOT\a\STX\t\DC2\EOT\152\STX\EOT)\SUB\139\STX The Worker Deployment Version that completed this task. Must be set if `versioning_behavior`\n\
+    \ is set. This value updates workflow execution's `versioning_info.version`.\n\
+    \ Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\t\ENQ\DC2\EOT\152\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\t\SOH\DC2\EOT\152\STX\v$\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\t\ETX\DC2\EOT\152\STX'(\n\
+    \\153\STX\n\
+    \\EOT\EOT\a\STX\n\
+    \\DC2\EOT\156\STX\EOT'\SUB\138\STX The name of Worker Deployment that completed this task. Must be set if `versioning_behavior`\n\
+    \ is set. This value updates workflow execution's `worker_deployment_name`.\n\
+    \ Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\n\
+    \\ENQ\DC2\EOT\156\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\n\
+    \\SOH\DC2\EOT\156\STX\v!\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\n\
+    \\ETX\DC2\EOT\156\STX$&\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\159\STX\NUL\165\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\159\STX\b+\n\
+    \V\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\161\STX\EOT!\SUBH The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\161\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\161\STX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\161\STX\US \n\
+    \T\n\
+    \\EOT\EOT\b\STX\SOH\DC2\EOT\163\STX\EOT\US\SUBF The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\EOT\163\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\163\STX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\163\STX\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\STX\DC2\EOT\164\STX\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\164\STX\EOT%\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\164\STX&2\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\164\STX56\n\
+    \\f\n\
+    \\STX\EOT\t\DC2\ACK\167\STX\NUL\191\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\167\STX\b)\n\
+    \V\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\169\STX\EOT!\SUBH The id of the `WORKFLOW_TASK_SCHEDULED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\169\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\169\STX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\169\STX\US \n\
+    \T\n\
+    \\EOT\EOT\t\STX\SOH\DC2\EOT\171\STX\EOT\US\SUBF The id of the `WORKFLOW_TASK_STARTED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\171\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\171\STX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\171\STX\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\STX\DC2\EOT\172\STX\EOT<\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\STX\ACK\DC2\EOT\172\STX\EOT1\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\STX\SOH\DC2\EOT\172\STX27\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\STX\ETX\DC2\EOT\172\STX:;\n\
+    \#\n\
+    \\EOT\EOT\t\STX\ETX\DC2\EOT\174\STX\EOT0\SUB\NAK The failure details\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ETX\ACK\DC2\EOT\174\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ETX\SOH\DC2\EOT\174\STX$+\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ETX\ETX\DC2\EOT\174\STX./\n\
+    \{\n\
+    \\EOT\EOT\t\STX\EOT\DC2\EOT\176\STX\EOT\CAN\SUBm If a worker explicitly failed this task, it's identity. TODO: What is this set to if server fails the task?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\EOT\ENQ\DC2\EOT\176\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\EOT\SOH\DC2\EOT\176\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\EOT\ETX\DC2\EOT\176\STX\SYN\ETB\n\
+    \H\n\
+    \\EOT\EOT\t\STX\ENQ\DC2\EOT\178\STX\EOT\ESC\SUB: The original run id of the workflow. For reset workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ENQ\ENQ\DC2\EOT\178\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ENQ\SOH\DC2\EOT\178\STX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ENQ\ETX\DC2\EOT\178\STX\EM\SUB\n\
+    \?\n\
+    \\EOT\EOT\t\STX\ACK\DC2\EOT\180\STX\EOT\SUB\SUB1 If the workflow is being reset, the new run id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ACK\ENQ\DC2\EOT\180\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ACK\SOH\DC2\EOT\180\STX\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\ACK\ETX\DC2\EOT\180\STX\CAN\EM\n\
+    \\ETB\n\
+    \\EOT\EOT\t\STX\a\DC2\EOT\182\STX\EOT!\SUB\t TODO: ?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\a\ENQ\DC2\EOT\182\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\a\SOH\DC2\EOT\182\STX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\a\ETX\DC2\EOT\182\STX\US \n\
+    \}\n\
+    \\EOT\EOT\t\STX\b\DC2\EOT\185\STX\EOT\US\SUBo DEPRECATED since 1.21 - use `worker_version` instead.\n\
+    \ If a worker explicitly failed this task, its binary id\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\b\ENQ\DC2\EOT\185\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\b\SOH\DC2\EOT\185\STX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\b\ETX\DC2\EOT\185\STX\GS\RS\n\
+    \\190\STX\n\
+    \\EOT\EOT\t\STX\t\DC2\EOT\190\STX\EOTB\SUB\175\STX Version info of the worker who processed this workflow task. If present, the `build_id` field\n\
+    \ within is also used as `binary_checksum`, which may be omitted in that case (it may also be\n\
+    \ populated to preserve compatibility).\n\
+    \ Deprecated. Use the info inside the corresponding WorkflowTaskStartedEvent\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\t\ACK\DC2\EOT\190\STX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\t\SOH\DC2\EOT\190\STX.<\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\t\ETX\DC2\EOT\190\STX?A\n\
+    \\f\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\193\STX\NUL\237\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\193\STX\b,\n\
+    \D\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\195\STX\EOT\ESC\SUB6 The worker/user assigned identifier for the activity\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\EOT\195\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\195\STX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\195\STX\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\SOH\DC2\EOT\196\STX\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ACK\DC2\EOT\196\STX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\SOH\DC2\EOT\196\STX(5\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ETX\DC2\EOT\196\STX89\n\
+    \k\n\
+    \\ETX\EOT\n\
+    \\t\DC2\EOT\198\STX\EOT\SI\SUB^ This used to be a `namespace` field which allowed to schedule activity in another namespace.\n\
+    \\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\t\NUL\DC2\EOT\198\STX\r\SO\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\t\NUL\SOH\DC2\EOT\198\STX\r\SO\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\t\NUL\STX\DC2\EOT\198\STX\r\SO\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\STX\DC2\EOT\199\STX\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ACK\DC2\EOT\199\STX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\SOH\DC2\EOT\199\STX(2\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ETX\DC2\EOT\199\STX56\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\ETX\DC2\EOT\200\STX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ACK\DC2\EOT\200\STX\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\SOH\DC2\EOT\200\STX\"(\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ETX\DC2\EOT\200\STX+,\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\EOT\DC2\EOT\201\STX\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ACK\DC2\EOT\201\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\SOH\DC2\EOT\201\STX$)\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ETX\DC2\EOT\201\STX,-\n\
+    \\187\STX\n\
+    \\EOT\EOT\n\
+    \\STX\ENQ\DC2\EOT\207\STX\EOT;\SUB\172\STX Indicates how long the caller is willing to wait for an activity completion. Limits how long\n\
+    \ retries will be attempted. Either this or `start_to_close_timeout` must be specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ACK\DC2\EOT\207\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\SOH\DC2\EOT\207\STX\GS6\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ETX\DC2\EOT\207\STX9:\n\
+    \\159\ETX\n\
+    \\EOT\EOT\n\
+    \\STX\ACK\DC2\EOT\215\STX\EOT;\SUB\144\ETX Limits time an activity task can stay in a task queue before a worker picks it up. This\n\
+    \ timeout is always non retryable, as all a retry would achieve is to put it back into the same\n\
+    \ queue. Defaults to `schedule_to_close_timeout` or workflow execution timeout if not\n\
+    \ specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\ACK\DC2\EOT\215\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\SOH\DC2\EOT\215\STX\GS6\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\ETX\DC2\EOT\215\STX9:\n\
+    \\187\STX\n\
+    \\EOT\EOT\n\
+    \\STX\a\DC2\EOT\222\STX\EOT8\SUB\172\STX Maximum time an activity is allowed to execute after being picked up by a worker. This\n\
+    \ timeout is always retryable. Either this or `schedule_to_close_timeout` must be\n\
+    \ specified.\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\a\ACK\DC2\EOT\222\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\a\SOH\DC2\EOT\222\STX\GS3\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\a\ETX\DC2\EOT\222\STX67\n\
+    \L\n\
+    \\EOT\EOT\n\
+    \\STX\b\DC2\EOT\224\STX\EOT4\SUB> Maximum permitted time between successful worker heartbeats.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\b\ACK\DC2\EOT\224\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\b\SOH\DC2\EOT\224\STX\GS.\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\b\ETX\DC2\EOT\224\STX13\n\
+    \X\n\
+    \\EOT\EOT\n\
+    \\STX\t\DC2\EOT\226\STX\EOT0\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\t\ENQ\DC2\EOT\226\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\t\SOH\DC2\EOT\226\STX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\t\ETX\DC2\EOT\226\STX-/\n\
+    \\230\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\n\
+    \\DC2\EOT\230\STX\EOT9\SUB\215\SOH Activities are assigned a default retry policy controlled by the service's dynamic\n\
+    \ configuration. Retries will happen up to `schedule_to_close_timeout`. To disable retries set\n\
+    \ retry_policy.maximum_attempts to 1.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\n\
+    \\ACK\DC2\EOT\230\STX\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\n\
+    \\SOH\DC2\EOT\230\STX'3\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\n\
+    \\ETX\DC2\EOT\230\STX68\n\
+    \\194\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\v\DC2\EOT\233\STX\EOT$\SUB\179\SOH If this is set, the activity would be assigned to the Build ID of the workflow. Otherwise,\n\
+    \ Assignment rules of the activity's Task Queue will be used to determine the Build ID.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\v\ENQ\DC2\EOT\233\STX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\v\SOH\DC2\EOT\233\STX\t\RS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\v\ETX\DC2\EOT\233\STX!#\n\
+    \\141\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\f\DC2\EOT\236\STX\EOT2\SUB\DEL Priority metadata. If this message is not present, or any fields are not\n\
+    \ present, they inherit the values from the workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\f\ACK\DC2\EOT\236\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\f\SOH\DC2\EOT\236\STX$,\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\f\ETX\DC2\EOT\236\STX/1\n\
+    \\f\n\
+    \\STX\EOT\v\DC2\ACK\239\STX\NUL\130\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\239\STX\b*\n\
+    \V\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\241\STX\EOT!\SUBH The id of the `ACTIVITY_TASK_SCHEDULED` event this task corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\241\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\241\STX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\241\STX\US \n\
+    \9\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\243\STX\EOT\CAN\SUB+ id of the worker that picked up this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\243\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\243\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\243\STX\SYN\ETB\n\
+    \\ETB\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\245\STX\EOT\SUB\SUB\t TODO ??\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\245\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\245\STX\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\245\STX\CAN\EM\n\
+    \O\n\
+    \\EOT\EOT\v\STX\ETX\DC2\EOT\247\STX\EOT\SYN\SUBA Starting at 1, the number of times this task has been attempted\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\247\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\247\STX\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\247\STX\DC4\NAK\n\
+    \z\n\
+    \\EOT\EOT\v\STX\EOT\DC2\EOT\250\STX\EOT5\SUBl Will be set to the most recent failure details, if this task has previously failed and then\n\
+    \ been retried.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\ACK\DC2\EOT\250\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\250\STX$0\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\250\STX34\n\
+    \\182\SOH\n\
+    \\EOT\EOT\v\STX\ENQ\DC2\EOT\253\STX\EOTA\SUB\167\SOH Version info of the worker to whom this task was dispatched.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\ACK\DC2\EOT\253\STX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\SOH\DC2\EOT\253\STX.<\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\ETX\DC2\EOT\253\STX?@\n\
+    \\235\SOH\n\
+    \\EOT\EOT\v\STX\ACK\DC2\EOT\129\ETX\EOT(\SUB\220\SOH Used by server internally to properly reapply build ID redirects to an execution\n\
+    \ when rebuilding it from events.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\ENQ\DC2\EOT\129\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\SOH\DC2\EOT\129\ETX\n\
+    \#\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\ETX\DC2\EOT\129\ETX&'\n\
+    \\f\n\
+    \\STX\EOT\f\DC2\ACK\132\ETX\NUL\144\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\132\ETX\b,\n\
+    \a\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\134\ETX\EOT/\SUBS Serialized results of the activity. IE: The return value of the activity function\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\134\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\134\ETX$*\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\134\ETX-.\n\
+    \\\\n\
+    \\EOT\EOT\f\STX\SOH\DC2\EOT\136\ETX\EOT!\SUBN The id of the `ACTIVITY_TASK_SCHEDULED` event this completion corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ENQ\DC2\EOT\136\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\136\ETX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\136\ETX\US \n\
+    \Z\n\
+    \\EOT\EOT\f\STX\STX\DC2\EOT\138\ETX\EOT\US\SUBL The id of the `ACTIVITY_TASK_STARTED` event this completion corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ENQ\DC2\EOT\138\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\138\ETX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\138\ETX\GS\RS\n\
+    \9\n\
+    \\EOT\EOT\f\STX\ETX\DC2\EOT\140\ETX\EOT\CAN\SUB+ id of the worker that completed this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ENQ\DC2\EOT\140\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\140\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\140\ETX\SYN\ETB\n\
+    \\153\SOH\n\
+    \\EOT\EOT\f\STX\EOT\DC2\EOT\143\ETX\EOTA\SUB\138\SOH Version info of the worker who processed this workflow task.\n\
+    \ Deprecated. Use the info inside the corresponding ActivityTaskStartedEvent\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ACK\DC2\EOT\143\ETX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\143\ETX.<\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\143\ETX?@\n\
+    \\f\n\
+    \\STX\EOT\r\DC2\ACK\146\ETX\NUL\159\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\146\ETX\b)\n\
+    \\US\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\148\ETX\EOT0\SUB\DC1 Failure details\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ACK\DC2\EOT\148\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\148\ETX$+\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\148\ETX./\n\
+    \Y\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\150\ETX\EOT!\SUBK The id of the `ACTIVITY_TASK_SCHEDULED` event this failure corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ENQ\DC2\EOT\150\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\150\ETX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\150\ETX\US \n\
+    \W\n\
+    \\EOT\EOT\r\STX\STX\DC2\EOT\152\ETX\EOT\US\SUBI The id of the `ACTIVITY_TASK_STARTED` event this failure corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ENQ\DC2\EOT\152\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\152\ETX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\152\ETX\GS\RS\n\
+    \6\n\
+    \\EOT\EOT\r\STX\ETX\DC2\EOT\154\ETX\EOT\CAN\SUB( id of the worker that failed this task\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ENQ\DC2\EOT\154\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\154\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\154\ETX\SYN\ETB\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\EOT\DC2\EOT\155\ETX\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ACK\DC2\EOT\155\ETX\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\SOH\DC2\EOT\155\ETX%0\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ETX\DC2\EOT\155\ETX34\n\
+    \\153\SOH\n\
+    \\EOT\EOT\r\STX\ENQ\DC2\EOT\158\ETX\EOTA\SUB\138\SOH Version info of the worker who processed this workflow task.\n\
+    \ Deprecated. Use the info inside the corresponding ActivityTaskStartedEvent\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ACK\DC2\EOT\158\ETX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\SOH\DC2\EOT\158\ETX.<\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ETX\DC2\EOT\158\ETX?@\n\
+    \\f\n\
+    \\STX\EOT\SO\DC2\ACK\161\ETX\NUL\170\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\161\ETX\b+\n\
+    \}\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\164\ETX\EOT0\SUBo If this activity had failed, was retried, and then timed out, that failure is stored as the\n\
+    \ `cause` in here.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ACK\DC2\EOT\164\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\164\ETX$+\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\164\ETX./\n\
+    \Y\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\EOT\166\ETX\EOT!\SUBK The id of the `ACTIVITY_TASK_SCHEDULED` event this timeout corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ENQ\DC2\EOT\166\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\166\ETX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\166\ETX\US \n\
+    \W\n\
+    \\EOT\EOT\SO\STX\STX\DC2\EOT\168\ETX\EOT\US\SUBI The id of the `ACTIVITY_TASK_STARTED` event this timeout corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ENQ\DC2\EOT\168\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\SOH\DC2\EOT\168\ETX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ETX\DC2\EOT\168\ETX\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\ETX\DC2\EOT\169\ETX\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ACK\DC2\EOT\169\ETX\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\SOH\DC2\EOT\169\ETX%0\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ETX\DC2\EOT\169\ETX34\n\
+    \\f\n\
+    \\STX\EOT\SI\DC2\ACK\172\ETX\NUL\177\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\172\ETX\b2\n\
+    \`\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\174\ETX\EOT!\SUBR The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel request corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\174\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\174\ETX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\174\ETX\US \n\
+    \X\n\
+    \\EOT\EOT\SI\STX\SOH\DC2\EOT\176\ETX\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ENQ\DC2\EOT\176\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\176\ETX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\176\ETX-.\n\
+    \\f\n\
+    \\STX\EOT\DLE\DC2\ACK\179\ETX\NUL\194\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\179\ETX\b+\n\
+    \^\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\181\ETX\EOT0\SUBP Additional information that the activity reported upon confirming cancellation\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ACK\DC2\EOT\181\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\181\ETX$+\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\181\ETX./\n\
+    \o\n\
+    \\EOT\EOT\DLE\STX\SOH\DC2\EOT\184\ETX\EOT/\SUBa id of the most recent `ACTIVITY_TASK_CANCEL_REQUESTED` event which refers to the same\n\
+    \ activity\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ENQ\DC2\EOT\184\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\184\ETX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\184\ETX-.\n\
+    \e\n\
+    \\EOT\EOT\DLE\STX\STX\DC2\EOT\186\ETX\EOT!\SUBW The id of the `ACTIVITY_TASK_SCHEDULED` event this cancel confirmation corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\ENQ\DC2\EOT\186\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\SOH\DC2\EOT\186\ETX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\ETX\DC2\EOT\186\ETX\US \n\
+    \c\n\
+    \\EOT\EOT\DLE\STX\ETX\DC2\EOT\188\ETX\EOT\US\SUBU The id of the `ACTIVITY_TASK_STARTED` event this cancel confirmation corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\ETX\ENQ\DC2\EOT\188\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\ETX\SOH\DC2\EOT\188\ETX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\ETX\ETX\DC2\EOT\188\ETX\GS\RS\n\
+    \;\n\
+    \\EOT\EOT\DLE\STX\EOT\DC2\EOT\190\ETX\EOT\CAN\SUB- id of the worker who canceled this activity\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\EOT\ENQ\DC2\EOT\190\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\EOT\SOH\DC2\EOT\190\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\EOT\ETX\DC2\EOT\190\ETX\SYN\ETB\n\
+    \\153\SOH\n\
+    \\EOT\EOT\DLE\STX\ENQ\DC2\EOT\193\ETX\EOTA\SUB\138\SOH Version info of the worker who processed this workflow task.\n\
+    \ Deprecated. Use the info inside the corresponding ActivityTaskStartedEvent\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\ENQ\ACK\DC2\EOT\193\ETX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\ENQ\SOH\DC2\EOT\193\ETX.<\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\ENQ\ETX\DC2\EOT\193\ETX?@\n\
+    \\f\n\
+    \\STX\EOT\DC1\DC2\ACK\196\ETX\NUL\206\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\196\ETX\b#\n\
+    \:\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\198\ETX\EOT\CAN\SUB, The worker/user assigned id for this timer\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ENQ\DC2\EOT\198\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\198\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\198\ETX\SYN\ETB\n\
+    \\167\SOH\n\
+    \\EOT\EOT\DC1\STX\SOH\DC2\EOT\203\ETX\EOT7\SUB\152\SOH How long until this timer fires\n\
+    \\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ACK\DC2\EOT\203\ETX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\203\ETX\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\203\ETX56\n\
+    \X\n\
+    \\EOT\EOT\DC1\STX\STX\DC2\EOT\205\ETX\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ENQ\DC2\EOT\205\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\205\ETX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\205\ETX-.\n\
+    \\f\n\
+    \\STX\EOT\DC2\DC2\ACK\208\ETX\NUL\213\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC2\SOH\DC2\EOT\208\ETX\b!\n\
+    \S\n\
+    \\EOT\EOT\DC2\STX\NUL\DC2\EOT\210\ETX\EOT\CAN\SUBE Will match the `timer_id` from `TIMER_STARTED` event for this timer\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ENQ\DC2\EOT\210\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\210\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\210\ETX\SYN\ETB\n\
+    \:\n\
+    \\EOT\EOT\DC2\STX\SOH\DC2\EOT\212\ETX\EOT\US\SUB, The id of the `TIMER_STARTED` event itself\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\ENQ\DC2\EOT\212\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\SOH\DC2\EOT\212\ETX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\ETX\DC2\EOT\212\ETX\GS\RS\n\
+    \\f\n\
+    \\STX\EOT\DC3\DC2\ACK\215\ETX\NUL\224\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC3\SOH\DC2\EOT\215\ETX\b$\n\
+    \S\n\
+    \\EOT\EOT\DC3\STX\NUL\DC2\EOT\217\ETX\EOT\CAN\SUBE Will match the `timer_id` from `TIMER_STARTED` event for this timer\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ENQ\DC2\EOT\217\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\217\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\217\ETX\SYN\ETB\n\
+    \:\n\
+    \\EOT\EOT\DC3\STX\SOH\DC2\EOT\219\ETX\EOT\US\SUB, The id of the `TIMER_STARTED` event itself\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ENQ\DC2\EOT\219\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\SOH\DC2\EOT\219\ETX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ETX\DC2\EOT\219\ETX\GS\RS\n\
+    \X\n\
+    \\EOT\EOT\DC3\STX\STX\DC2\EOT\221\ETX\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\STX\ENQ\DC2\EOT\221\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\STX\SOH\DC2\EOT\221\ETX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\STX\ETX\DC2\EOT\221\ETX-.\n\
+    \>\n\
+    \\EOT\EOT\DC3\STX\ETX\DC2\EOT\223\ETX\EOT\CAN\SUB0 The id of the worker who requested this cancel\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\ETX\ENQ\DC2\EOT\223\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\ETX\SOH\DC2\EOT\223\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\ETX\ETX\DC2\EOT\223\ETX\SYN\ETB\n\
+    \\f\n\
+    \\STX\EOT\DC4\DC2\ACK\226\ETX\NUL\235\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC4\SOH\DC2\EOT\226\ETX\b7\n\
+    \\144\SOH\n\
+    \\EOT\EOT\DC4\STX\NUL\DC2\EOT\229\ETX\EOT\NAK\SUB\129\SOH User provided reason for requesting cancellation\n\
+    \ TODO: shall we create a new field with name \"reason\" and deprecate this one? \n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ENQ\DC2\EOT\229\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\SOH\DC2\EOT\229\ETX\v\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ETX\DC2\EOT\229\ETX\DC3\DC4\n\
+    \p\n\
+    \\EOT\EOT\DC4\STX\SOH\DC2\EOT\231\ETX\EOT*\SUBb TODO: Is this the ID of the event in the workflow which initiated this cancel, if there was one?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\SOH\ENQ\DC2\EOT\231\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\SOH\SOH\DC2\EOT\231\ETX\n\
+    \%\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\SOH\ETX\DC2\EOT\231\ETX()\n\
+    \\f\n\
+    \\EOT\EOT\DC4\STX\STX\DC2\EOT\232\ETX\EOTM\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\STX\ACK\DC2\EOT\232\ETX\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\STX\SOH\DC2\EOT\232\ETX-H\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\STX\ETX\DC2\EOT\232\ETXKL\n\
+    \D\n\
+    \\EOT\EOT\DC4\STX\ETX\DC2\EOT\234\ETX\EOT\CAN\SUB6 id of the worker or client who requested this cancel\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\ETX\ENQ\DC2\EOT\234\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\ETX\SOH\DC2\EOT\234\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\ETX\ETX\DC2\EOT\234\ETX\SYN\ETB\n\
+    \\f\n\
+    \\STX\EOT\NAK\DC2\ACK\237\ETX\NUL\241\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\NAK\SOH\DC2\EOT\237\ETX\b0\n\
+    \X\n\
+    \\EOT\EOT\NAK\STX\NUL\DC2\EOT\239\ETX\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\ENQ\DC2\EOT\239\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\SOH\DC2\EOT\239\ETX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\ETX\DC2\EOT\239\ETX-.\n\
+    \\f\n\
+    \\EOT\EOT\NAK\STX\SOH\DC2\EOT\240\ETX\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\ACK\DC2\EOT\240\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\SOH\DC2\EOT\240\ETX$+\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\ETX\DC2\EOT\240\ETX./\n\
+    \\f\n\
+    \\STX\EOT\SYN\DC2\ACK\243\ETX\NUL\253\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SYN\SOH\DC2\EOT\243\ETX\b%\n\
+    \m\n\
+    \\EOT\EOT\SYN\STX\NUL\DC2\EOT\245\ETX\EOT\ESC\SUB_ Workers use this to identify the \"types\" of various markers. Ex: Local activity, side effect.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\NUL\ENQ\DC2\EOT\245\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\NUL\SOH\DC2\EOT\245\ETX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\NUL\ETX\DC2\EOT\245\ETX\EM\SUB\n\
+    \=\n\
+    \\EOT\EOT\SYN\STX\SOH\DC2\EOT\247\ETX\EOT=\SUB/ Serialized information recorded in the marker\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\SOH\ACK\DC2\EOT\247\ETX\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\SOH\SOH\DC2\EOT\247\ETX18\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\SOH\ETX\DC2\EOT\247\ETX;<\n\
+    \X\n\
+    \\EOT\EOT\SYN\STX\STX\DC2\EOT\249\ETX\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\STX\ENQ\DC2\EOT\249\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\STX\SOH\DC2\EOT\249\ETX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\STX\ETX\DC2\EOT\249\ETX-.\n\
+    \\f\n\
+    \\EOT\EOT\SYN\STX\ETX\DC2\EOT\250\ETX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ETX\ACK\DC2\EOT\250\ETX\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ETX\SOH\DC2\EOT\250\ETX\"(\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ETX\ETX\DC2\EOT\250\ETX+,\n\
+    \m\n\
+    \\EOT\EOT\SYN\STX\EOT\DC2\EOT\252\ETX\EOT0\SUB_ Some uses of markers, like a local activity, could \"fail\". If they did that is recorded here.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\EOT\ACK\DC2\EOT\252\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\EOT\SOH\DC2\EOT\252\ETX$+\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\EOT\ETX\DC2\EOT\252\ETX./\n\
+    \\f\n\
+    \\STX\EOT\ETB\DC2\ACK\255\ETX\NUL\141\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ETB\SOH\DC2\EOT\255\ETX\b0\n\
+    \3\n\
+    \\EOT\EOT\ETB\STX\NUL\DC2\EOT\129\EOT\EOT\ESC\SUB% The name/type of the signal to fire\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\ENQ\DC2\EOT\129\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\SOH\DC2\EOT\129\EOT\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\ETX\DC2\EOT\129\EOT\EM\SUB\n\
+    \V\n\
+    \\EOT\EOT\ETB\STX\SOH\DC2\EOT\131\EOT\EOT.\SUBH Will be deserialized and provided as argument(s) to the signal handler\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\SOH\ACK\DC2\EOT\131\EOT\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\SOH\SOH\DC2\EOT\131\EOT$)\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\SOH\ETX\DC2\EOT\131\EOT,-\n\
+    \<\n\
+    \\EOT\EOT\ETB\STX\STX\DC2\EOT\133\EOT\EOT\CAN\SUB. id of the worker/client who sent this signal\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\STX\ENQ\DC2\EOT\133\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\STX\SOH\DC2\EOT\133\EOT\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\STX\ETX\DC2\EOT\133\EOT\SYN\ETB\n\
+    \|\n\
+    \\EOT\EOT\ETB\STX\ETX\DC2\EOT\136\EOT\EOT-\SUBn Headers that were passed by the sender of the signal and copied by temporal \n\
+    \ server into the workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\ETX\ACK\DC2\EOT\136\EOT\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\ETX\SOH\DC2\EOT\136\EOT\"(\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\ETX\ETX\DC2\EOT\136\EOT+,\n\
+    \_\n\
+    \\EOT\EOT\ETB\STX\EOT\DC2\EOT\138\EOT\EOT=\SUBQ This field is deprecated and never respected. It should always be set to false.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\EOT\ENQ\DC2\EOT\138\EOT\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\EOT\SOH\DC2\EOT\138\EOT\t$\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\EOT\ETX\DC2\EOT\138\EOT'(\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\EOT\b\DC2\EOT\138\EOT)<\n\
+    \\SO\n\
+    \\ACK\EOT\ETB\STX\EOT\b\ETX\DC2\EOT\138\EOT*;\n\
+    \N\n\
+    \\EOT\EOT\ETB\STX\ENQ\DC2\EOT\140\EOT\EOTM\SUB@ When signal origin is a workflow execution, this field is set.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\ENQ\ACK\DC2\EOT\140\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\ENQ\SOH\DC2\EOT\140\EOT-H\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\ENQ\ETX\DC2\EOT\140\EOTKL\n\
+    \\f\n\
+    \\STX\EOT\CAN\DC2\ACK\143\EOT\NUL\149\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\CAN\SOH\DC2\EOT\143\EOT\b2\n\
+    \;\n\
+    \\EOT\EOT\CAN\STX\NUL\DC2\EOT\145\EOT\EOT\SYN\SUB- User/client provided reason for termination\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\NUL\ENQ\DC2\EOT\145\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\NUL\SOH\DC2\EOT\145\EOT\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\NUL\ETX\DC2\EOT\145\EOT\DC4\NAK\n\
+    \\f\n\
+    \\EOT\EOT\CAN\STX\SOH\DC2\EOT\146\EOT\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\ACK\DC2\EOT\146\EOT\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\SOH\DC2\EOT\146\EOT$+\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\ETX\DC2\EOT\146\EOT./\n\
+    \:\n\
+    \\EOT\EOT\CAN\STX\STX\DC2\EOT\148\EOT\EOT\CAN\SUB, id of the client who requested termination\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\STX\ENQ\DC2\EOT\148\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\STX\SOH\DC2\EOT\148\EOT\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\STX\ETX\DC2\EOT\148\EOT\SYN\ETB\n\
+    \\f\n\
+    \\STX\EOT\EM\DC2\ACK\151\EOT\NUL\166\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\EM\SOH\DC2\EOT\151\EOT\bF\n\
+    \X\n\
+    \\EOT\EOT\EM\STX\NUL\DC2\EOT\153\EOT\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\NUL\ENQ\DC2\EOT\153\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\NUL\SOH\DC2\EOT\153\EOT\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\NUL\ETX\DC2\EOT\153\EOT-.\n\
+    \\158\SOH\n\
+    \\EOT\EOT\EM\STX\SOH\DC2\EOT\156\EOT\EOT\EM\SUB\143\SOH The namespace the workflow to be cancelled lives in.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\SOH\ENQ\DC2\EOT\156\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\SOH\SOH\DC2\EOT\156\EOT\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\SOH\ETX\DC2\EOT\156\EOT\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\EM\STX\STX\DC2\EOT\157\EOT\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\STX\ENQ\DC2\EOT\157\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\STX\SOH\DC2\EOT\157\EOT\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\STX\ETX\DC2\EOT\157\EOT\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\EM\STX\ETX\DC2\EOT\158\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ETX\ACK\DC2\EOT\158\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ETX\SOH\DC2\EOT\158\EOT-?\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ETX\ETX\DC2\EOT\158\EOTBC\n\
+    \\SUB\n\
+    \\EOT\EOT\EM\STX\EOT\DC2\EOT\160\EOT\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\EOT\ENQ\DC2\EOT\160\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\EOT\SOH\DC2\EOT\160\EOT\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\EOT\ETX\DC2\EOT\160\EOT\NAK\SYN\n\
+    \\156\SOH\n\
+    \\EOT\EOT\EM\STX\ENQ\DC2\EOT\163\EOT\EOT!\SUB\141\SOH Workers are expected to set this to true if the workflow they are requesting to cancel is\n\
+    \ a child of the workflow which issued the request\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ENQ\ENQ\DC2\EOT\163\EOT\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ENQ\SOH\DC2\EOT\163\EOT\t\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ENQ\ETX\DC2\EOT\163\EOT\US \n\
+    \6\n\
+    \\EOT\EOT\EM\STX\ACK\DC2\EOT\165\EOT\EOT\SYN\SUB( Reason for requesting the cancellation\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ACK\ENQ\DC2\EOT\165\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ACK\SOH\DC2\EOT\165\EOT\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\EM\STX\ACK\ETX\DC2\EOT\165\EOT\DC4\NAK\n\
+    \\f\n\
+    \\STX\EOT\SUB\DC2\ACK\168\EOT\NUL\182\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SUB\SOH\DC2\EOT\168\EOT\bC\n\
+    \\f\n\
+    \\EOT\EOT\SUB\STX\NUL\DC2\EOT\169\EOT\EOTO\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\NUL\ACK\DC2\EOT\169\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\NUL\SOH\DC2\EOT\169\EOTEJ\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\NUL\ETX\DC2\EOT\169\EOTMN\n\
+    \X\n\
+    \\EOT\EOT\SUB\STX\SOH\DC2\EOT\171\EOT\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\SOH\ENQ\DC2\EOT\171\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\SOH\SOH\DC2\EOT\171\EOT\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\SOH\ETX\DC2\EOT\171\EOT-.\n\
+    \\155\SOH\n\
+    \\EOT\EOT\SUB\STX\STX\DC2\EOT\174\EOT\EOT\EM\SUB\140\SOH Namespace of the workflow which failed to cancel.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\STX\ENQ\DC2\EOT\174\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\STX\SOH\DC2\EOT\174\EOT\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\STX\ETX\DC2\EOT\174\EOT\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\SUB\STX\ETX\DC2\EOT\175\EOT\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ETX\ENQ\DC2\EOT\175\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ETX\SOH\DC2\EOT\175\EOT\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ETX\ETX\DC2\EOT\175\EOT\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\SUB\STX\EOT\DC2\EOT\176\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\EOT\ACK\DC2\EOT\176\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\EOT\SOH\DC2\EOT\176\EOT-?\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\EOT\ETX\DC2\EOT\176\EOTBC\n\
+    \s\n\
+    \\EOT\EOT\SUB\STX\ENQ\DC2\EOT\179\EOT\EOT!\SUBe id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this failure\n\
+    \ corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ENQ\ENQ\DC2\EOT\179\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ENQ\SOH\DC2\EOT\179\EOT\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ENQ\ETX\DC2\EOT\179\EOT\US \n\
+    \\SUB\n\
+    \\EOT\EOT\SUB\STX\ACK\DC2\EOT\181\EOT\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ACK\ENQ\DC2\EOT\181\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ACK\SOH\DC2\EOT\181\EOT\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\SUB\STX\ACK\ETX\DC2\EOT\181\EOT\NAK\SYN\n\
+    \\f\n\
+    \\STX\EOT\ESC\DC2\ACK\184\EOT\NUL\193\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ESC\SOH\DC2\EOT\184\EOT\b?\n\
+    \q\n\
+    \\EOT\EOT\ESC\STX\NUL\DC2\EOT\187\EOT\EOT!\SUBc id of the `REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds\n\
+    \ to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\NUL\ENQ\DC2\EOT\187\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\NUL\SOH\DC2\EOT\187\EOT\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\NUL\ETX\DC2\EOT\187\EOT\US \n\
+    \\148\SOH\n\
+    \\EOT\EOT\ESC\STX\SOH\DC2\EOT\190\EOT\EOT\EM\SUB\133\SOH Namespace of the to-be-cancelled workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\SOH\ENQ\DC2\EOT\190\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\SOH\SOH\DC2\EOT\190\EOT\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\SOH\ETX\DC2\EOT\190\EOT\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\ESC\STX\STX\DC2\EOT\191\EOT\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\STX\ENQ\DC2\EOT\191\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\STX\SOH\DC2\EOT\191\EOT\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\STX\ETX\DC2\EOT\191\EOT\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\ESC\STX\ETX\DC2\EOT\192\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\ETX\ACK\DC2\EOT\192\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\ETX\SOH\DC2\EOT\192\EOT-?\n\
+    \\r\n\
+    \\ENQ\EOT\ESC\STX\ETX\ETX\DC2\EOT\192\EOTBC\n\
+    \\f\n\
+    \\STX\EOT\FS\DC2\ACK\195\EOT\NUL\213\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\FS\SOH\DC2\EOT\195\EOT\b?\n\
+    \X\n\
+    \\EOT\EOT\FS\STX\NUL\DC2\EOT\197\EOT\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\NUL\ENQ\DC2\EOT\197\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\NUL\SOH\DC2\EOT\197\EOT\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\NUL\ETX\DC2\EOT\197\EOT-.\n\
+    \\148\SOH\n\
+    \\EOT\EOT\FS\STX\SOH\DC2\EOT\200\EOT\EOT\EM\SUB\133\SOH Namespace of the to-be-signalled workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\SOH\ENQ\DC2\EOT\200\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\SOH\SOH\DC2\EOT\200\EOT\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\SOH\ETX\DC2\EOT\200\EOT\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\FS\STX\STX\DC2\EOT\201\EOT\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\STX\ENQ\DC2\EOT\201\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\STX\SOH\DC2\EOT\201\EOT\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\STX\ETX\DC2\EOT\201\EOT\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\FS\STX\ETX\DC2\EOT\202\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ETX\ACK\DC2\EOT\202\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ETX\SOH\DC2\EOT\202\EOT-?\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ETX\ETX\DC2\EOT\202\EOTBC\n\
+    \H\n\
+    \\EOT\EOT\FS\STX\EOT\DC2\EOT\204\EOT\EOT\ESC\SUB: name/type of the signal to fire in the external workflow\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\EOT\ENQ\DC2\EOT\204\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\EOT\SOH\DC2\EOT\204\EOT\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\EOT\ETX\DC2\EOT\204\EOT\EM\SUB\n\
+    \E\n\
+    \\EOT\EOT\FS\STX\ENQ\DC2\EOT\206\EOT\EOT.\SUB7 Serialized arguments to provide to the signal handler\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ENQ\ACK\DC2\EOT\206\EOT\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ENQ\SOH\DC2\EOT\206\EOT$)\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ENQ\ETX\DC2\EOT\206\EOT,-\n\
+    \\SUB\n\
+    \\EOT\EOT\FS\STX\ACK\DC2\EOT\208\EOT\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ACK\ENQ\DC2\EOT\208\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ACK\SOH\DC2\EOT\208\EOT\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\ACK\ETX\DC2\EOT\208\EOT\NAK\SYN\n\
+    \\156\SOH\n\
+    \\EOT\EOT\FS\STX\a\DC2\EOT\211\EOT\EOT!\SUB\141\SOH Workers are expected to set this to true if the workflow they are requesting to cancel is\n\
+    \ a child of the workflow which issued the request\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\a\ENQ\DC2\EOT\211\EOT\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\a\SOH\DC2\EOT\211\EOT\t\FS\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\a\ETX\DC2\EOT\211\EOT\US \n\
+    \\f\n\
+    \\EOT\EOT\FS\STX\b\DC2\EOT\212\EOT\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\b\ACK\DC2\EOT\212\EOT\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\b\SOH\DC2\EOT\212\EOT\"(\n\
+    \\r\n\
+    \\ENQ\EOT\FS\STX\b\ETX\DC2\EOT\212\EOT+,\n\
+    \\f\n\
+    \\STX\EOT\GS\DC2\ACK\215\EOT\NUL\227\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\GS\SOH\DC2\EOT\215\EOT\b<\n\
+    \\f\n\
+    \\EOT\EOT\GS\STX\NUL\DC2\EOT\216\EOT\EOTO\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\NUL\ACK\DC2\EOT\216\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\NUL\SOH\DC2\EOT\216\EOTEJ\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\NUL\ETX\DC2\EOT\216\EOTMN\n\
+    \X\n\
+    \\EOT\EOT\GS\STX\SOH\DC2\EOT\218\EOT\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\SOH\ENQ\DC2\EOT\218\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\SOH\SOH\DC2\EOT\218\EOT\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\SOH\ETX\DC2\EOT\218\EOT-.\n\
+    \\156\SOH\n\
+    \\EOT\EOT\GS\STX\STX\DC2\EOT\221\EOT\EOT\EM\SUB\141\SOH Namespace of the workflow which failed the signal.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\STX\ENQ\DC2\EOT\221\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\STX\SOH\DC2\EOT\221\EOT\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\STX\ETX\DC2\EOT\221\EOT\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\GS\STX\ETX\DC2\EOT\222\EOT\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ETX\ENQ\DC2\EOT\222\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ETX\SOH\DC2\EOT\222\EOT\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ETX\ETX\DC2\EOT\222\EOT\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\GS\STX\EOT\DC2\EOT\223\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\EOT\ACK\DC2\EOT\223\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\EOT\SOH\DC2\EOT\223\EOT-?\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\EOT\ETX\DC2\EOT\223\EOTBC\n\
+    \\f\n\
+    \\EOT\EOT\GS\STX\ENQ\DC2\EOT\224\EOT\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ENQ\ENQ\DC2\EOT\224\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ENQ\SOH\DC2\EOT\224\EOT\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ENQ\ETX\DC2\EOT\224\EOT\US \n\
+    \\SUB\n\
+    \\EOT\EOT\GS\STX\ACK\DC2\EOT\226\EOT\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ACK\ENQ\DC2\EOT\226\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ACK\SOH\DC2\EOT\226\EOT\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\GS\STX\ACK\ETX\DC2\EOT\226\EOT\NAK\SYN\n\
+    \\f\n\
+    \\STX\EOT\RS\DC2\ACK\229\EOT\NUL\239\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\RS\SOH\DC2\EOT\229\EOT\b8\n\
+    \h\n\
+    \\EOT\EOT\RS\STX\NUL\DC2\EOT\231\EOT\EOT!\SUBZ id of the `SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_INITIATED` event this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\NUL\ENQ\DC2\EOT\231\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\NUL\SOH\DC2\EOT\231\EOT\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\NUL\ETX\DC2\EOT\231\EOT\US \n\
+    \\151\SOH\n\
+    \\EOT\EOT\RS\STX\SOH\DC2\EOT\234\EOT\EOT\EM\SUB\136\SOH Namespace of the workflow which was signaled.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\SOH\ENQ\DC2\EOT\234\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\SOH\SOH\DC2\EOT\234\EOT\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\SOH\ETX\DC2\EOT\234\EOT\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\RS\STX\STX\DC2\EOT\235\EOT\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\STX\ENQ\DC2\EOT\235\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\STX\SOH\DC2\EOT\235\EOT\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\STX\ETX\DC2\EOT\235\EOT\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\RS\STX\ETX\DC2\EOT\236\EOT\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\ETX\ACK\DC2\EOT\236\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\ETX\SOH\DC2\EOT\236\EOT-?\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\ETX\ETX\DC2\EOT\236\EOTBC\n\
+    \\SUB\n\
+    \\EOT\EOT\RS\STX\EOT\DC2\EOT\238\EOT\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\EOT\ENQ\DC2\EOT\238\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\EOT\SOH\DC2\EOT\238\EOT\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\RS\STX\EOT\ETX\DC2\EOT\238\EOT\NAK\SYN\n\
+    \\f\n\
+    \\STX\EOT\US\DC2\ACK\241\EOT\NUL\245\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\US\SOH\DC2\EOT\241\EOT\b5\n\
+    \X\n\
+    \\EOT\EOT\US\STX\NUL\DC2\EOT\243\EOT\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\US\STX\NUL\ENQ\DC2\EOT\243\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\US\STX\NUL\SOH\DC2\EOT\243\EOT\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\US\STX\NUL\ETX\DC2\EOT\243\EOT-.\n\
+    \\f\n\
+    \\EOT\EOT\US\STX\SOH\DC2\EOT\244\EOT\EOTB\n\
+    \\r\n\
+    \\ENQ\EOT\US\STX\SOH\ACK\DC2\EOT\244\EOT\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\US\STX\SOH\SOH\DC2\EOT\244\EOT,=\n\
+    \\r\n\
+    \\ENQ\EOT\US\STX\SOH\ETX\DC2\EOT\244\EOT@A\n\
+    \\f\n\
+    \\STX\EOT \DC2\ACK\247\EOT\NUL\254\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT \SOH\DC2\EOT\247\EOT\b1\n\
+    \X\n\
+    \\EOT\EOT \STX\NUL\DC2\EOT\249\EOT\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT \STX\NUL\ENQ\DC2\EOT\249\EOT\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT \STX\NUL\SOH\DC2\EOT\249\EOT\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT \STX\NUL\ETX\DC2\EOT\249\EOT-.\n\
+    \\242\SOH\n\
+    \\EOT\EOT \STX\SOH\DC2\EOT\253\EOT\EOT2\SUB\227\SOH If set, update the workflow memo with the provided values. The values will be merged with\n\
+    \ the existing memo. If the user wants to delete values, a default/empty Payload should be\n\
+    \ used as the value for the key being deleted.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT \STX\SOH\ACK\DC2\EOT\253\EOT\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT \STX\SOH\SOH\DC2\EOT\253\EOT -\n\
+    \\r\n\
+    \\ENQ\EOT \STX\SOH\ETX\DC2\EOT\253\EOT01\n\
+    \\f\n\
+    \\STX\EOT!\DC2\ACK\128\ENQ\NUL\162\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT!\SOH\DC2\EOT\128\ENQ\b;\n\
+    \\137\SOH\n\
+    \\EOT\EOT!\STX\NUL\DC2\EOT\131\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\NUL\ENQ\DC2\EOT\131\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\NUL\SOH\DC2\EOT\131\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\NUL\ETX\DC2\EOT\131\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT!\STX\SOH\DC2\EOT\132\ENQ\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SOH\ENQ\DC2\EOT\132\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SOH\SOH\DC2\EOT\132\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SOH\ETX\DC2\EOT\132\ENQ\SUB\FS\n\
+    \\f\n\
+    \\EOT\EOT!\STX\STX\DC2\EOT\133\ENQ\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\STX\ENQ\DC2\EOT\133\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\STX\SOH\DC2\EOT\133\ENQ\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\STX\ETX\DC2\EOT\133\ENQ\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT!\STX\ETX\DC2\EOT\134\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ETX\ACK\DC2\EOT\134\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ETX\SOH\DC2\EOT\134\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ETX\ETX\DC2\EOT\134\ENQ89\n\
+    \\f\n\
+    \\EOT\EOT!\STX\EOT\DC2\EOT\135\ENQ\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\EOT\ACK\DC2\EOT\135\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\EOT\SOH\DC2\EOT\135\ENQ(2\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\EOT\ETX\DC2\EOT\135\ENQ56\n\
+    \\f\n\
+    \\EOT\EOT!\STX\ENQ\DC2\EOT\136\ENQ\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ENQ\ACK\DC2\EOT\136\ENQ\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ENQ\SOH\DC2\EOT\136\ENQ$)\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ENQ\ETX\DC2\EOT\136\ENQ,-\n\
+    \W\n\
+    \\EOT\EOT!\STX\ACK\DC2\EOT\138\ENQ\EOT<\SUBI Total workflow execution timeout including retries and continue as new.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ACK\ACK\DC2\EOT\138\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ACK\SOH\DC2\EOT\138\ENQ\GS7\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\ACK\ETX\DC2\EOT\138\ENQ:;\n\
+    \1\n\
+    \\EOT\EOT!\STX\a\DC2\EOT\140\ENQ\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\a\ACK\DC2\EOT\140\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\a\SOH\DC2\EOT\140\ENQ\GS1\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\a\ETX\DC2\EOT\140\ENQ45\n\
+    \2\n\
+    \\EOT\EOT!\STX\b\DC2\EOT\142\ENQ\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\b\ACK\DC2\EOT\142\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\b\SOH\DC2\EOT\142\ENQ\GS2\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\b\ETX\DC2\EOT\142\ENQ56\n\
+    \7\n\
+    \\EOT\EOT!\STX\t\DC2\EOT\144\ENQ\EOTD\SUB) Default: PARENT_CLOSE_POLICY_TERMINATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\t\ACK\DC2\EOT\144\ENQ\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\t\SOH\DC2\EOT\144\ENQ,?\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\t\ETX\DC2\EOT\144\ENQBC\n\
+    \\SUB\n\
+    \\EOT\EOT!\STX\n\
+    \\DC2\EOT\146\ENQ\EOT\CAN\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\n\
+    \\ENQ\DC2\EOT\146\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\n\
+    \\SOH\DC2\EOT\146\ENQ\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\n\
+    \\ETX\DC2\EOT\146\ENQ\NAK\ETB\n\
+    \X\n\
+    \\EOT\EOT!\STX\v\DC2\EOT\148\ENQ\EOT0\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\v\ENQ\DC2\EOT\148\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\v\SOH\DC2\EOT\148\ENQ\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\v\ETX\DC2\EOT\148\ENQ-/\n\
+    \B\n\
+    \\EOT\EOT!\STX\f\DC2\EOT\150\ENQ\EOTN\SUB4 Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\f\ACK\DC2\EOT\150\ENQ\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\f\SOH\DC2\EOT\150\ENQ0H\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\f\ETX\DC2\EOT\150\ENQKM\n\
+    \\f\n\
+    \\EOT\EOT!\STX\r\DC2\EOT\151\ENQ\EOT9\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\r\ACK\DC2\EOT\151\ENQ\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\r\SOH\DC2\EOT\151\ENQ'3\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\r\ETX\DC2\EOT\151\ENQ68\n\
+    \J\n\
+    \\EOT\EOT!\STX\SO\DC2\EOT\153\ENQ\EOT\RS\SUB< If this child runs on a cron schedule, it will appear here\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SO\ENQ\DC2\EOT\153\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SO\SOH\DC2\EOT\153\ENQ\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SO\ETX\DC2\EOT\153\ENQ\ESC\GS\n\
+    \\f\n\
+    \\EOT\EOT!\STX\SI\DC2\EOT\154\ENQ\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SI\ACK\DC2\EOT\154\ENQ\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SI\SOH\DC2\EOT\154\ENQ\"(\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\SI\ETX\DC2\EOT\154\ENQ+-\n\
+    \\f\n\
+    \\EOT\EOT!\STX\DLE\DC2\EOT\155\ENQ\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DLE\ACK\DC2\EOT\155\ENQ\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DLE\SOH\DC2\EOT\155\ENQ $\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DLE\ETX\DC2\EOT\155\ENQ')\n\
+    \\f\n\
+    \\EOT\EOT!\STX\DC1\DC2\EOT\156\ENQ\EOTC\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC1\ACK\DC2\EOT\156\ENQ\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC1\SOH\DC2\EOT\156\ENQ,=\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC1\ETX\DC2\EOT\156\ENQ@B\n\
+    \\202\SOH\n\
+    \\EOT\EOT!\STX\DC2\DC2\EOT\159\ENQ\EOT\US\SUB\187\SOH If this is set, the child workflow inherits the Build ID of the parent. Otherwise, the assignment\n\
+    \ rules of the child's Task Queue will be used to independently assign a Build ID to it.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC2\ENQ\DC2\EOT\159\ENQ\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC2\SOH\DC2\EOT\159\ENQ\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC2\ETX\DC2\EOT\159\ENQ\FS\RS\n\
+    \!\n\
+    \\EOT\EOT!\STX\DC3\DC2\EOT\161\ENQ\EOT2\SUB\DC3 Priority metadata\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC3\ACK\DC2\EOT\161\ENQ\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC3\SOH\DC2\EOT\161\ENQ$,\n\
+    \\r\n\
+    \\ENQ\EOT!\STX\DC3\ETX\DC2\EOT\161\ENQ/1\n\
+    \\f\n\
+    \\STX\EOT\"\DC2\ACK\164\ENQ\NUL\178\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT\"\SOH\DC2\EOT\164\ENQ\b8\n\
+    \\137\SOH\n\
+    \\EOT\EOT\"\STX\NUL\DC2\EOT\167\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\NUL\ENQ\DC2\EOT\167\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\NUL\SOH\DC2\EOT\167\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\NUL\ETX\DC2\EOT\167\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\"\STX\SOH\DC2\EOT\168\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\SOH\ENQ\DC2\EOT\168\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\SOH\SOH\DC2\EOT\168\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\SOH\ETX\DC2\EOT\168\ENQ\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT\"\STX\STX\DC2\EOT\169\ENQ\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\STX\ENQ\DC2\EOT\169\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\STX\SOH\DC2\EOT\169\ENQ\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\STX\ETX\DC2\EOT\169\ENQ\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\"\STX\ETX\DC2\EOT\170\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ETX\ACK\DC2\EOT\170\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ETX\SOH\DC2\EOT\170\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ETX\ETX\DC2\EOT\170\ENQ89\n\
+    \\f\n\
+    \\EOT\EOT\"\STX\EOT\DC2\EOT\171\ENQ\EOTK\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\EOT\ACK\DC2\EOT\171\ENQ\EOT@\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\EOT\SOH\DC2\EOT\171\ENQAF\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\EOT\ETX\DC2\EOT\171\ENQIJ\n\
+    \\SUB\n\
+    \\EOT\EOT\"\STX\ENQ\DC2\EOT\173\ENQ\EOT\ETB\SUB\f Deprecated\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ENQ\ENQ\DC2\EOT\173\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ENQ\SOH\DC2\EOT\173\ENQ\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ENQ\ETX\DC2\EOT\173\ENQ\NAK\SYN\n\
+    \j\n\
+    \\EOT\EOT\"\STX\ACK\DC2\EOT\175\ENQ\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ACK\ENQ\DC2\EOT\175\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ACK\SOH\DC2\EOT\175\ENQ\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\ACK\ETX\DC2\EOT\175\ENQ\US \n\
+    \X\n\
+    \\EOT\EOT\"\STX\a\DC2\EOT\177\ENQ\EOT/\SUBJ The `WORKFLOW_TASK_COMPLETED` event which this command was reported with\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\a\ENQ\DC2\EOT\177\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\a\SOH\DC2\EOT\177\ENQ\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\"\STX\a\ETX\DC2\EOT\177\ENQ-.\n\
+    \\f\n\
+    \\STX\EOT#\DC2\ACK\180\ENQ\NUL\190\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT#\SOH\DC2\EOT\180\ENQ\b4\n\
+    \\137\SOH\n\
+    \\EOT\EOT#\STX\NUL\DC2\EOT\183\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\NUL\ENQ\DC2\EOT\183\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\NUL\SOH\DC2\EOT\183\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\NUL\ETX\DC2\EOT\183\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT#\STX\SOH\DC2\EOT\184\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\SOH\ENQ\DC2\EOT\184\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\SOH\SOH\DC2\EOT\184\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\SOH\ETX\DC2\EOT\184\ENQ\SUB\ESC\n\
+    \j\n\
+    \\EOT\EOT#\STX\STX\DC2\EOT\186\ENQ\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\STX\ENQ\DC2\EOT\186\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\STX\SOH\DC2\EOT\186\ENQ\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\STX\ETX\DC2\EOT\186\ENQ\US \n\
+    \\f\n\
+    \\EOT\EOT#\STX\ETX\DC2\EOT\187\ENQ\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\ETX\ACK\DC2\EOT\187\ENQ\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\ETX\SOH\DC2\EOT\187\ENQ-?\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\ETX\ETX\DC2\EOT\187\ENQBC\n\
+    \\f\n\
+    \\EOT\EOT#\STX\EOT\DC2\EOT\188\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\EOT\ACK\DC2\EOT\188\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\EOT\SOH\DC2\EOT\188\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\EOT\ETX\DC2\EOT\188\ENQ89\n\
+    \\f\n\
+    \\EOT\EOT#\STX\ENQ\DC2\EOT\189\ENQ\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\ENQ\ACK\DC2\EOT\189\ENQ\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\ENQ\SOH\DC2\EOT\189\ENQ\"(\n\
+    \\r\n\
+    \\ENQ\EOT#\STX\ENQ\ETX\DC2\EOT\189\ENQ+,\n\
+    \\f\n\
+    \\STX\EOT$\DC2\ACK\192\ENQ\NUL\204\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT$\SOH\DC2\EOT\192\ENQ\b6\n\
+    \\f\n\
+    \\EOT\EOT$\STX\NUL\DC2\EOT\193\ENQ\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\NUL\ACK\DC2\EOT\193\ENQ\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\NUL\SOH\DC2\EOT\193\ENQ$*\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\NUL\ETX\DC2\EOT\193\ENQ-.\n\
+    \\137\SOH\n\
+    \\EOT\EOT$\STX\SOH\DC2\EOT\196\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\SOH\ENQ\DC2\EOT\196\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\SOH\SOH\DC2\EOT\196\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\SOH\ETX\DC2\EOT\196\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT$\STX\STX\DC2\EOT\197\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\STX\ENQ\DC2\EOT\197\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\STX\SOH\DC2\EOT\197\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\STX\ETX\DC2\EOT\197\ENQ\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT$\STX\ETX\DC2\EOT\198\ENQ\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ETX\ACK\DC2\EOT\198\ENQ\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ETX\SOH\DC2\EOT\198\ENQ-?\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ETX\ETX\DC2\EOT\198\ENQBC\n\
+    \\f\n\
+    \\EOT\EOT$\STX\EOT\DC2\EOT\199\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\EOT\ACK\DC2\EOT\199\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\EOT\SOH\DC2\EOT\199\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\EOT\ETX\DC2\EOT\199\ENQ89\n\
+    \j\n\
+    \\EOT\EOT$\STX\ENQ\DC2\EOT\201\ENQ\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ENQ\ENQ\DC2\EOT\201\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ENQ\SOH\DC2\EOT\201\ENQ\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ENQ\ETX\DC2\EOT\201\ENQ\US \n\
+    \b\n\
+    \\EOT\EOT$\STX\ACK\DC2\EOT\203\ENQ\EOT\US\SUBT Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ACK\ENQ\DC2\EOT\203\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ACK\SOH\DC2\EOT\203\ENQ\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT$\STX\ACK\ETX\DC2\EOT\203\ENQ\GS\RS\n\
+    \\f\n\
+    \\STX\EOT%\DC2\ACK\206\ENQ\NUL\219\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT%\SOH\DC2\EOT\206\ENQ\b3\n\
+    \\f\n\
+    \\EOT\EOT%\STX\NUL\DC2\EOT\207\ENQ\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\NUL\ACK\DC2\EOT\207\ENQ\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\NUL\SOH\DC2\EOT\207\ENQ$+\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\NUL\ETX\DC2\EOT\207\ENQ./\n\
+    \\137\SOH\n\
+    \\EOT\EOT%\STX\SOH\DC2\EOT\210\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\SOH\ENQ\DC2\EOT\210\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\SOH\SOH\DC2\EOT\210\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\SOH\ETX\DC2\EOT\210\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT%\STX\STX\DC2\EOT\211\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\STX\ENQ\DC2\EOT\211\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\STX\SOH\DC2\EOT\211\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\STX\ETX\DC2\EOT\211\ENQ\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT%\STX\ETX\DC2\EOT\212\ENQ\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ETX\ACK\DC2\EOT\212\ENQ\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ETX\SOH\DC2\EOT\212\ENQ-?\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ETX\ETX\DC2\EOT\212\ENQBC\n\
+    \\f\n\
+    \\EOT\EOT%\STX\EOT\DC2\EOT\213\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\EOT\ACK\DC2\EOT\213\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\EOT\SOH\DC2\EOT\213\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\EOT\ETX\DC2\EOT\213\ENQ89\n\
+    \j\n\
+    \\EOT\EOT%\STX\ENQ\DC2\EOT\215\ENQ\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ENQ\ENQ\DC2\EOT\215\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ENQ\SOH\DC2\EOT\215\ENQ\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ENQ\ETX\DC2\EOT\215\ENQ\US \n\
+    \b\n\
+    \\EOT\EOT%\STX\ACK\DC2\EOT\217\ENQ\EOT\US\SUBT Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ACK\ENQ\DC2\EOT\217\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ACK\SOH\DC2\EOT\217\ENQ\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\ACK\ETX\DC2\EOT\217\ENQ\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT%\STX\a\DC2\EOT\218\ENQ\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\a\ACK\DC2\EOT\218\ENQ\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\a\SOH\DC2\EOT\218\ENQ%0\n\
+    \\r\n\
+    \\ENQ\EOT%\STX\a\ETX\DC2\EOT\218\ENQ34\n\
+    \\f\n\
+    \\STX\EOT&\DC2\ACK\221\ENQ\NUL\233\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT&\SOH\DC2\EOT\221\ENQ\b5\n\
+    \\f\n\
+    \\EOT\EOT&\STX\NUL\DC2\EOT\222\ENQ\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\NUL\ACK\DC2\EOT\222\ENQ\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\NUL\SOH\DC2\EOT\222\ENQ$+\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\NUL\ETX\DC2\EOT\222\ENQ./\n\
+    \\137\SOH\n\
+    \\EOT\EOT&\STX\SOH\DC2\EOT\225\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\SOH\ENQ\DC2\EOT\225\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\SOH\SOH\DC2\EOT\225\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\SOH\ETX\DC2\EOT\225\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT&\STX\STX\DC2\EOT\226\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\STX\ENQ\DC2\EOT\226\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\STX\SOH\DC2\EOT\226\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\STX\ETX\DC2\EOT\226\ENQ\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT&\STX\ETX\DC2\EOT\227\ENQ\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ETX\ACK\DC2\EOT\227\ENQ\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ETX\SOH\DC2\EOT\227\ENQ-?\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ETX\ETX\DC2\EOT\227\ENQBC\n\
+    \\f\n\
+    \\EOT\EOT&\STX\EOT\DC2\EOT\228\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\EOT\ACK\DC2\EOT\228\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\EOT\SOH\DC2\EOT\228\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\EOT\ETX\DC2\EOT\228\ENQ89\n\
+    \j\n\
+    \\EOT\EOT&\STX\ENQ\DC2\EOT\230\ENQ\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ENQ\ENQ\DC2\EOT\230\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ENQ\SOH\DC2\EOT\230\ENQ\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ENQ\ETX\DC2\EOT\230\ENQ\US \n\
+    \b\n\
+    \\EOT\EOT&\STX\ACK\DC2\EOT\232\ENQ\EOT\US\SUBT Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ACK\ENQ\DC2\EOT\232\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ACK\SOH\DC2\EOT\232\ENQ\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT&\STX\ACK\ETX\DC2\EOT\232\ENQ\GS\RS\n\
+    \\f\n\
+    \\STX\EOT'\DC2\ACK\235\ENQ\NUL\247\ENQ\SOH\n\
+    \\v\n\
+    \\ETX\EOT'\SOH\DC2\EOT\235\ENQ\b5\n\
+    \\137\SOH\n\
+    \\EOT\EOT'\STX\NUL\DC2\EOT\238\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\NUL\ENQ\DC2\EOT\238\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\NUL\SOH\DC2\EOT\238\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\NUL\ETX\DC2\EOT\238\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT'\STX\SOH\DC2\EOT\239\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\SOH\ENQ\DC2\EOT\239\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\SOH\SOH\DC2\EOT\239\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\SOH\ETX\DC2\EOT\239\ENQ\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT'\STX\STX\DC2\EOT\240\ENQ\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\STX\ACK\DC2\EOT\240\ENQ\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\STX\SOH\DC2\EOT\240\ENQ-?\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\STX\ETX\DC2\EOT\240\ENQBC\n\
+    \\f\n\
+    \\EOT\EOT'\STX\ETX\DC2\EOT\241\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ETX\ACK\DC2\EOT\241\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ETX\SOH\DC2\EOT\241\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ETX\ETX\DC2\EOT\241\ENQ89\n\
+    \j\n\
+    \\EOT\EOT'\STX\EOT\DC2\EOT\243\ENQ\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\EOT\ENQ\DC2\EOT\243\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\EOT\SOH\DC2\EOT\243\ENQ\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\EOT\ETX\DC2\EOT\243\ENQ\US \n\
+    \b\n\
+    \\EOT\EOT'\STX\ENQ\DC2\EOT\245\ENQ\EOT\US\SUBT Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ENQ\ENQ\DC2\EOT\245\ENQ\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ENQ\SOH\DC2\EOT\245\ENQ\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ENQ\ETX\DC2\EOT\245\ENQ\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT'\STX\ACK\DC2\EOT\246\ENQ\EOT5\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ACK\ACK\DC2\EOT\246\ENQ\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ACK\SOH\DC2\EOT\246\ENQ%0\n\
+    \\r\n\
+    \\ENQ\EOT'\STX\ACK\ETX\DC2\EOT\246\ENQ34\n\
+    \\f\n\
+    \\STX\EOT(\DC2\ACK\249\ENQ\NUL\132\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT(\SOH\DC2\EOT\249\ENQ\b7\n\
+    \\137\SOH\n\
+    \\EOT\EOT(\STX\NUL\DC2\EOT\252\ENQ\EOT\EM\SUB{ Namespace of the child workflow.\n\
+    \ SDKs and UI tools should use `namespace` field but server must use `namespace_id` only.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\NUL\ENQ\DC2\EOT\252\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\NUL\SOH\DC2\EOT\252\ENQ\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\NUL\ETX\DC2\EOT\252\ENQ\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT(\STX\SOH\DC2\EOT\253\ENQ\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\SOH\ENQ\DC2\EOT\253\ENQ\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\SOH\SOH\DC2\EOT\253\ENQ\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\SOH\ETX\DC2\EOT\253\ENQ\SUB\ESC\n\
+    \\f\n\
+    \\EOT\EOT(\STX\STX\DC2\EOT\254\ENQ\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\STX\ACK\DC2\EOT\254\ENQ\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\STX\SOH\DC2\EOT\254\ENQ-?\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\STX\ETX\DC2\EOT\254\ENQBC\n\
+    \\f\n\
+    \\EOT\EOT(\STX\ETX\DC2\EOT\255\ENQ\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\ETX\ACK\DC2\EOT\255\ENQ\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\ETX\SOH\DC2\EOT\255\ENQ(5\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\ETX\ETX\DC2\EOT\255\ENQ89\n\
+    \j\n\
+    \\EOT\EOT(\STX\EOT\DC2\EOT\129\ACK\EOT!\SUB\\ Id of the `START_CHILD_WORKFLOW_EXECUTION_INITIATED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\EOT\ENQ\DC2\EOT\129\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\EOT\SOH\DC2\EOT\129\ACK\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\EOT\ETX\DC2\EOT\129\ACK\US \n\
+    \b\n\
+    \\EOT\EOT(\STX\ENQ\DC2\EOT\131\ACK\EOT\US\SUBT Id of the `CHILD_WORKFLOW_EXECUTION_STARTED` event which this event corresponds to\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\ENQ\ENQ\DC2\EOT\131\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\ENQ\SOH\DC2\EOT\131\ACK\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT(\STX\ENQ\ETX\DC2\EOT\131\ACK\GS\RS\n\
+    \\f\n\
+    \\STX\EOT)\DC2\ACK\134\ACK\NUL\145\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT)\SOH\DC2\EOT\134\ACK\b6\n\
+    \t\n\
+    \\EOT\EOT)\STX\NUL\DC2\EOT\137\ACK\EOTH\SUBf Versioning override upserted in this event.\n\
+    \ Ignored if nil or if unset_versioning_override is true.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\NUL\ACK\DC2\EOT\137\ACK\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\NUL\SOH\DC2\EOT\137\ACK0C\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\NUL\ETX\DC2\EOT\137\ACKFG\n\
+    \:\n\
+    \\EOT\EOT)\STX\SOH\DC2\EOT\139\ACK\EOT'\SUB, Versioning override removed in this event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\SOH\ENQ\DC2\EOT\139\ACK\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\SOH\SOH\DC2\EOT\139\ACK\t\"\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\SOH\ETX\DC2\EOT\139\ACK%&\n\
+    \\135\SOH\n\
+    \\EOT\EOT)\STX\STX\DC2\EOT\142\ACK\EOT#\SUBy Request ID attachedto the running workflow execution so that subsequent requests with same\n\
+    \ request ID will be deduped.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\STX\ENQ\DC2\EOT\142\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\STX\SOH\DC2\EOT\142\ACK\v\RS\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\STX\ETX\DC2\EOT\142\ACK!\"\n\
+    \P\n\
+    \\EOT\EOT)\STX\ETX\DC2\EOT\144\ACK\EOTO\SUBB Completion callbacks attached to the running workflow execution.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\ETX\EOT\DC2\EOT\144\ACK\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\ETX\ACK\DC2\EOT\144\ACK\r,\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\ETX\SOH\DC2\EOT\144\ACK-J\n\
+    \\r\n\
+    \\ENQ\EOT)\STX\ETX\ETX\DC2\EOT\144\ACKMN\n\
+    \i\n\
+    \\STX\EOT*\DC2\ACK\148\ACK\NUL\159\ACK\SOH\SUB[ Not used anywhere. Use case is replaced by WorkflowExecutionOptionsUpdatedEventAttributes\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT*\SOH\DC2\EOT\148\ACK\b;\n\
+    \\EM\n\
+    \\EOT\EOT*\STX\NUL\DC2\EOT\150\ACK\EOT\RS\SUB\v Not used.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\NUL\ENQ\DC2\EOT\150\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\NUL\SOH\DC2\EOT\150\ACK\v\EM\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\NUL\ETX\DC2\EOT\150\ACK\FS\GS\n\
+    \\EM\n\
+    \\EOT\EOT*\STX\SOH\DC2\EOT\152\ACK\EOT;\SUB\v Not used.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\SOH\ACK\DC2\EOT\152\ACK\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\SOH\SOH\DC2\EOT\152\ACK\GS6\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\SOH\ETX\DC2\EOT\152\ACK9:\n\
+    \\EM\n\
+    \\EOT\EOT*\STX\STX\DC2\EOT\154\ACK\EOT:\SUB\v Not used.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\STX\ACK\DC2\EOT\154\ACK\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\STX\SOH\DC2\EOT\154\ACK\GS5\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\STX\ETX\DC2\EOT\154\ACK89\n\
+    \\EM\n\
+    \\EOT\EOT*\STX\ETX\DC2\EOT\156\ACK\EOT@\SUB\v Not used.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\ETX\ACK\DC2\EOT\156\ACK\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\ETX\SOH\DC2\EOT\156\ACK\GS;\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\ETX\ETX\DC2\EOT\156\ACK>?\n\
+    \\EM\n\
+    \\EOT\EOT*\STX\EOT\DC2\EOT\158\ACK\EOT2\SUB\v Not used.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\EOT\ACK\DC2\EOT\158\ACK\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\EOT\SOH\DC2\EOT\158\ACK -\n\
+    \\r\n\
+    \\ENQ\EOT*\STX\EOT\ETX\DC2\EOT\158\ACK01\n\
+    \\f\n\
+    \\STX\EOT+\DC2\ACK\161\ACK\NUL\167\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT+\SOH\DC2\EOT\161\ACK\b;\n\
+    \_\n\
+    \\EOT\EOT+\STX\NUL\DC2\EOT\163\ACK\EOT!\SUBQ The id of the `ACTIVITY_TASK_SCHEDULED` event this modification corresponds to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT+\STX\NUL\ENQ\DC2\EOT\163\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT+\STX\NUL\SOH\DC2\EOT\163\ACK\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT+\STX\NUL\ETX\DC2\EOT\163\ACK\US \n\
+    \\156\SOH\n\
+    \\EOT\EOT+\STX\SOH\DC2\EOT\166\ACK\EOT<\SUB\141\SOH If set, update the retry policy of the activity, replacing it with the specified one.\n\
+    \ The number of attempts at the activity is preserved.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT+\STX\SOH\ACK\DC2\EOT\166\ACK\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT+\STX\SOH\SOH\DC2\EOT\166\ACK'7\n\
+    \\r\n\
+    \\ENQ\EOT+\STX\SOH\ETX\DC2\EOT\166\ACK:;\n\
+    \\f\n\
+    \\STX\EOT,\DC2\ACK\169\ACK\NUL\181\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT,\SOH\DC2\EOT\169\ACK\b6\n\
+    \Q\n\
+    \\EOT\EOT,\STX\NUL\DC2\EOT\171\ACK\EOT$\SUBC The instance ID of the update protocol that generated this event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\NUL\ENQ\DC2\EOT\171\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\NUL\SOH\DC2\EOT\171\ACK\v\US\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\NUL\ETX\DC2\EOT\171\ACK\"#\n\
+    \\181\SOH\n\
+    \\EOT\EOT,\STX\SOH\DC2\EOT\175\ACK\EOT+\SUB\166\SOH The message ID of the original request message that initiated this\n\
+    \ update. Needed so that the worker can recreate and deliver that same\n\
+    \ message as part of replay.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\SOH\ENQ\DC2\EOT\175\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\SOH\SOH\DC2\EOT\175\ACK\v&\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\SOH\ETX\DC2\EOT\175\ACK)*\n\
+    \K\n\
+    \\EOT\EOT,\STX\STX\DC2\EOT\177\ACK\EOT3\SUB= The event ID used to sequence the original request message.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\STX\ENQ\DC2\EOT\177\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\STX\SOH\DC2\EOT\177\ACK\n\
+    \.\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\STX\ETX\DC2\EOT\177\ACK12\n\
+    \`\n\
+    \\EOT\EOT,\STX\ETX\DC2\EOT\180\ACK\EOT8\SUBR The message payload of the original request message that initiated this\n\
+    \ update.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\ETX\ACK\DC2\EOT\180\ACK\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\ETX\SOH\DC2\EOT\180\ACK#3\n\
+    \\r\n\
+    \\ENQ\EOT,\STX\ETX\ETX\DC2\EOT\180\ACK67\n\
+    \\f\n\
+    \\STX\EOT-\DC2\ACK\183\ACK\NUL\192\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT-\SOH\DC2\EOT\183\ACK\b7\n\
+    \/\n\
+    \\EOT\EOT-\STX\NUL\DC2\EOT\185\ACK\EOT)\SUB! The metadata about this update.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\NUL\ACK\DC2\EOT\185\ACK\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\NUL\SOH\DC2\EOT\185\ACK $\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\NUL\ETX\DC2\EOT\185\ACK'(\n\
+    \F\n\
+    \\EOT\EOT-\STX\SOH\DC2\EOT\188\ACK\EOT \SUB8 The event ID indicating the acceptance of this update.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\SOH\ENQ\DC2\EOT\188\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\SOH\SOH\DC2\EOT\188\ACK\n\
+    \\ESC\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\SOH\ETX\DC2\EOT\188\ACK\RS\US\n\
+    \F\n\
+    \\EOT\EOT-\STX\STX\DC2\EOT\191\ACK\EOT/\SUB8 The outcome of executing the workflow update function.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\STX\ACK\DC2\EOT\191\ACK\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\STX\SOH\DC2\EOT\191\ACK#*\n\
+    \\r\n\
+    \\ENQ\EOT-\STX\STX\ETX\DC2\EOT\191\ACK-.\n\
+    \\f\n\
+    \\STX\EOT.\DC2\ACK\194\ACK\NUL\208\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT.\SOH\DC2\EOT\194\ACK\b6\n\
+    \Q\n\
+    \\EOT\EOT.\STX\NUL\DC2\EOT\196\ACK\EOT$\SUBC The instance ID of the update protocol that generated this event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\NUL\ENQ\DC2\EOT\196\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\NUL\SOH\DC2\EOT\196\ACK\v\US\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\NUL\ETX\DC2\EOT\196\ACK\"#\n\
+    \\181\SOH\n\
+    \\EOT\EOT.\STX\SOH\DC2\EOT\200\ACK\EOT+\SUB\166\SOH The message ID of the original request message that initiated this\n\
+    \ update. Needed so that the worker can recreate and deliver that same\n\
+    \ message as part of replay.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\SOH\ENQ\DC2\EOT\200\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\SOH\SOH\DC2\EOT\200\ACK\v&\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\SOH\ETX\DC2\EOT\200\ACK)*\n\
+    \K\n\
+    \\EOT\EOT.\STX\STX\DC2\EOT\202\ACK\EOT3\SUB= The event ID used to sequence the original request message.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\STX\ENQ\DC2\EOT\202\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\STX\SOH\DC2\EOT\202\ACK\n\
+    \.\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\STX\ETX\DC2\EOT\202\ACK12\n\
+    \`\n\
+    \\EOT\EOT.\STX\ETX\DC2\EOT\205\ACK\EOT8\SUBR The message payload of the original request message that initiated this\n\
+    \ update.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\ETX\ACK\DC2\EOT\205\ACK\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\ETX\SOH\DC2\EOT\205\ACK#3\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\ETX\ETX\DC2\EOT\205\ACK67\n\
+    \'\n\
+    \\EOT\EOT.\STX\EOT\DC2\EOT\207\ACK\EOT0\SUB\EM The cause of rejection.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\EOT\ACK\DC2\EOT\207\ACK\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\EOT\SOH\DC2\EOT\207\ACK$+\n\
+    \\r\n\
+    \\ENQ\EOT.\STX\EOT\ETX\DC2\EOT\207\ACK./\n\
+    \\f\n\
+    \\STX\EOT/\DC2\ACK\210\ACK\NUL\215\ACK\SOH\n\
+    \\v\n\
+    \\ETX\EOT/\SOH\DC2\EOT\210\ACK\b6\n\
+    \>\n\
+    \\EOT\EOT/\STX\NUL\DC2\EOT\212\ACK\EOT/\SUB0 The update request associated with this event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT/\STX\NUL\ACK\DC2\EOT\212\ACK\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT/\STX\NUL\SOH\DC2\EOT\212\ACK#*\n\
+    \\r\n\
+    \\ENQ\EOT/\STX\NUL\ETX\DC2\EOT\212\ACK-.\n\
+    \H\n\
+    \\EOT\EOT/\STX\SOH\DC2\EOT\214\ACK\EOT?\SUB: An explanation of why this event was written to history.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT/\STX\SOH\ACK\DC2\EOT\214\ACK\EOT3\n\
+    \\r\n\
+    \\ENQ\EOT/\STX\SOH\SOH\DC2\EOT\214\ACK4:\n\
+    \\r\n\
+    \\ENQ\EOT/\STX\SOH\ETX\DC2\EOT\214\ACK=>\n\
+    \s\n\
+    \\STX\EOT0\DC2\ACK\218\ACK\NUL\249\ACK\SOH\SUBe Event marking that an operation was scheduled by a workflow via the ScheduleNexusOperation command.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT0\SOH\DC2\EOT\218\ACK\b.\n\
+    \C\n\
+    \\EOT\EOT0\STX\NUL\DC2\EOT\220\ACK\EOT\CAN\SUB5 Endpoint name, must exist in the endpoint registry.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\NUL\ENQ\DC2\EOT\220\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\NUL\SOH\DC2\EOT\220\ACK\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\NUL\ETX\DC2\EOT\220\ACK\SYN\ETB\n\
+    \\GS\n\
+    \\EOT\EOT0\STX\SOH\DC2\EOT\222\ACK\EOT\ETB\SUB\SI Service name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\SOH\ENQ\DC2\EOT\222\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\SOH\SOH\DC2\EOT\222\ACK\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\SOH\ETX\DC2\EOT\222\ACK\NAK\SYN\n\
+    \\US\n\
+    \\EOT\EOT0\STX\STX\DC2\EOT\224\ACK\EOT\EM\SUB\DC1 Operation name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\STX\ENQ\DC2\EOT\224\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\STX\SOH\DC2\EOT\224\ACK\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\STX\ETX\DC2\EOT\224\ACK\ETB\CAN\n\
+    \\188\STX\n\
+    \\EOT\EOT0\STX\ETX\DC2\EOT\228\ACK\EOT-\SUB\173\STX Input for the operation. The server converts this into Nexus request content and the appropriate content headers\n\
+    \ internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the\n\
+    \ content is transformed back to the original Payload stored in this event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ETX\ACK\DC2\EOT\228\ACK\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ETX\SOH\DC2\EOT\228\ACK#(\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ETX\ETX\DC2\EOT\228\ACK+,\n\
+    \\173\STX\n\
+    \\EOT\EOT0\STX\EOT\DC2\EOT\234\ACK\EOT;\SUB\158\STX Schedule-to-close timeout for this operation.\n\
+    \ Indicates how long the caller is willing to wait for operation completion.\n\
+    \ Calls are retried internally by the server.\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\EOT\ACK\DC2\EOT\234\ACK\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\EOT\SOH\DC2\EOT\234\ACK\GS6\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\EOT\ETX\DC2\EOT\234\ACK9:\n\
+    \\254\SOH\n\
+    \\EOT\EOT0\STX\ENQ\DC2\EOT\238\ACK\EOT)\SUB\239\SOH Header to attach to the Nexus request. Note these headers are not the same as Temporal headers on internal\n\
+    \ activities and child workflows, these are transmitted to Nexus operations that may be external and are not\n\
+    \ traditional payloads.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ENQ\ACK\DC2\EOT\238\ACK\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ENQ\SOH\DC2\EOT\238\ACK\CAN$\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ENQ\ETX\DC2\EOT\238\ACK'(\n\
+    \|\n\
+    \\EOT\EOT0\STX\ACK\DC2\EOT\240\ACK\EOT/\SUBn The `WORKFLOW_TASK_COMPLETED` event that the corresponding ScheduleNexusOperation command was reported with.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ACK\ENQ\DC2\EOT\240\ACK\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ACK\SOH\DC2\EOT\240\ACK\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\ACK\ETX\DC2\EOT\240\ACK-.\n\
+    \\195\SOH\n\
+    \\EOT\EOT0\STX\a\DC2\EOT\243\ACK\EOT\SUB\SUB\180\SOH A unique ID generated by the history service upon creation of this event.\n\
+    \ The ID will be transmitted with all nexus StartOperation requests and is used as an idempotentency key.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\a\ENQ\DC2\EOT\243\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\a\SOH\DC2\EOT\243\ACK\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\a\ETX\DC2\EOT\243\ACK\CAN\EM\n\
+    \\249\SOH\n\
+    \\EOT\EOT0\STX\b\DC2\EOT\248\ACK\EOT\ESC\SUB\234\SOH Endpoint ID as resolved in the endpoint registry at the time this event was generated.\n\
+    \ This is stored on the event and used internally by the server in case the endpoint is renamed from the time the\n\
+    \ event was originally scheduled.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\b\ENQ\DC2\EOT\248\ACK\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\b\SOH\DC2\EOT\248\ACK\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT0\STX\b\ETX\DC2\EOT\248\ACK\EM\SUB\n\
+    \\230\STX\n\
+    \\STX\EOT1\DC2\ACK\255\ACK\NUL\142\a\SOH\SUB\215\STX Event marking an asynchronous operation was started by the responding Nexus handler.\n\
+    \ If the operation completes synchronously, this event is not generated.\n\
+    \ In rare situations, such as request timeouts, the service may fail to record the actual start time and will fabricate\n\
+    \ this event upon receiving the operation completion via callback.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT1\SOH\DC2\EOT\255\ACK\b,\n\
+    \Y\n\
+    \\EOT\EOT1\STX\NUL\DC2\EOT\129\a\EOT!\SUBK The ID of the `NEXUS_OPERATION_SCHEDULED` event this task corresponds to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\NUL\ENQ\DC2\EOT\129\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\NUL\SOH\DC2\EOT\129\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\NUL\ETX\DC2\EOT\129\a\US \n\
+    \\199\SOH\n\
+    \\EOT\EOT1\STX\SOH\DC2\EOT\134\a\EOT\FS\SUB\184\SOH The operation ID returned by the Nexus handler in the response to the StartOperation request.\n\
+    \ This ID is used when canceling the operation.\n\
+    \\n\
+    \ Deprecated: Renamed to operation_token.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\SOH\ENQ\DC2\EOT\134\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\SOH\SOH\DC2\EOT\134\a\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\SOH\ETX\DC2\EOT\134\a\SUB\ESC\n\
+    \:\n\
+    \\EOT\EOT1\STX\STX\DC2\EOT\137\a\EOT\SUB\SUB, The request ID allocated at schedule time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\STX\ENQ\DC2\EOT\137\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\STX\SOH\DC2\EOT\137\a\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\STX\ETX\DC2\EOT\137\a\CAN\EM\n\
+    \\163\SOH\n\
+    \\EOT\EOT1\STX\ETX\DC2\EOT\141\a\EOT\US\SUB\148\SOH The operation token returned by the Nexus handler in the response to the StartOperation request.\n\
+    \ This token is used when canceling the operation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\ETX\ENQ\DC2\EOT\141\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\ETX\SOH\DC2\EOT\141\a\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT1\STX\ETX\ETX\DC2\EOT\141\a\GS\RS\n\
+    \7\n\
+    \\STX\EOT2\DC2\ACK\145\a\NUL\154\a\SOH\SUB) Nexus operation completed successfully.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT2\SOH\DC2\EOT\145\a\b.\n\
+    \d\n\
+    \\EOT\EOT2\STX\NUL\DC2\EOT\147\a\EOT!\SUBV The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\NUL\ENQ\DC2\EOT\147\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\NUL\SOH\DC2\EOT\147\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\NUL\ETX\DC2\EOT\147\a\US \n\
+    \\182\SOH\n\
+    \\EOT\EOT2\STX\SOH\DC2\EOT\150\a\EOT.\SUB\167\SOH Serialized result of the Nexus operation. The response of the Nexus handler.\n\
+    \ Delivered either via a completion callback or as a response to a synchronous operation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\SOH\ACK\DC2\EOT\150\a\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\SOH\SOH\DC2\EOT\150\a#)\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\SOH\ETX\DC2\EOT\150\a,-\n\
+    \:\n\
+    \\EOT\EOT2\STX\STX\DC2\EOT\153\a\EOT\SUB\SUB, The request ID allocated at schedule time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\STX\ENQ\DC2\EOT\153\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\STX\SOH\DC2\EOT\153\a\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT2\STX\STX\ETX\DC2\EOT\153\a\CAN\EM\n\
+    \'\n\
+    \\STX\EOT3\DC2\ACK\157\a\NUL\165\a\SOH\SUB\EM Nexus operation failed.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT3\SOH\DC2\EOT\157\a\b+\n\
+    \d\n\
+    \\EOT\EOT3\STX\NUL\DC2\EOT\159\a\EOT!\SUBV The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\NUL\ENQ\DC2\EOT\159\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\NUL\SOH\DC2\EOT\159\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\NUL\ETX\DC2\EOT\159\a\US \n\
+    \`\n\
+    \\EOT\EOT3\STX\SOH\DC2\EOT\161\a\EOT0\SUBR Failure details. A NexusOperationFailureInfo wrapping an ApplicationFailureInfo.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\SOH\ACK\DC2\EOT\161\a\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\SOH\SOH\DC2\EOT\161\a$+\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\SOH\ETX\DC2\EOT\161\a./\n\
+    \:\n\
+    \\EOT\EOT3\STX\STX\DC2\EOT\164\a\EOT\SUB\SUB, The request ID allocated at schedule time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\STX\ENQ\DC2\EOT\164\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\STX\SOH\DC2\EOT\164\a\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT3\STX\STX\ETX\DC2\EOT\164\a\CAN\EM\n\
+    \*\n\
+    \\STX\EOT4\DC2\ACK\168\a\NUL\176\a\SOH\SUB\FS Nexus operation timed out.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT4\SOH\DC2\EOT\168\a\b-\n\
+    \d\n\
+    \\EOT\EOT4\STX\NUL\DC2\EOT\170\a\EOT!\SUBV The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\NUL\ENQ\DC2\EOT\170\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\NUL\SOH\DC2\EOT\170\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\NUL\ETX\DC2\EOT\170\a\US \n\
+    \\\\n\
+    \\EOT\EOT4\STX\SOH\DC2\EOT\172\a\EOT0\SUBN Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\SOH\ACK\DC2\EOT\172\a\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\SOH\SOH\DC2\EOT\172\a$+\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\SOH\ETX\DC2\EOT\172\a./\n\
+    \:\n\
+    \\EOT\EOT4\STX\STX\DC2\EOT\175\a\EOT\SUB\SUB, The request ID allocated at schedule time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\STX\ENQ\DC2\EOT\175\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\STX\SOH\DC2\EOT\175\a\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT4\STX\STX\ETX\DC2\EOT\175\a\CAN\EM\n\
+    \~\n\
+    \\STX\EOT5\DC2\ACK\179\a\NUL\187\a\SOH\SUBp Nexus operation completed as canceled. May or may not have been due to a cancellation request by the workflow.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT5\SOH\DC2\EOT\179\a\b-\n\
+    \d\n\
+    \\EOT\EOT5\STX\NUL\DC2\EOT\181\a\EOT!\SUBV The ID of the `NEXUS_OPERATION_SCHEDULED` event. Uniquely identifies this operation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\NUL\ENQ\DC2\EOT\181\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\NUL\SOH\DC2\EOT\181\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\NUL\ETX\DC2\EOT\181\a\US \n\
+    \%\n\
+    \\EOT\EOT5\STX\SOH\DC2\EOT\183\a\EOT0\SUB\ETB Cancellation details.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\SOH\ACK\DC2\EOT\183\a\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\SOH\SOH\DC2\EOT\183\a$+\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\SOH\ETX\DC2\EOT\183\a./\n\
+    \:\n\
+    \\EOT\EOT5\STX\STX\DC2\EOT\186\a\EOT\SUB\SUB, The request ID allocated at schedule time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\STX\ENQ\DC2\EOT\186\a\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\STX\SOH\DC2\EOT\186\a\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT5\STX\STX\ETX\DC2\EOT\186\a\CAN\EM\n\
+    \\f\n\
+    \\STX\EOT6\DC2\ACK\189\a\NUL\195\a\SOH\n\
+    \\v\n\
+    \\ETX\EOT6\SOH\DC2\EOT\189\a\b4\n\
+    \c\n\
+    \\EOT\EOT6\STX\NUL\DC2\EOT\191\a\EOT!\SUBU The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT6\STX\NUL\ENQ\DC2\EOT\191\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT6\STX\NUL\SOH\DC2\EOT\191\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT6\STX\NUL\ETX\DC2\EOT\191\a\US \n\
+    \\130\SOH\n\
+    \\EOT\EOT6\STX\SOH\DC2\EOT\194\a\EOT/\SUBt The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported\n\
+    \ with.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT6\STX\SOH\ENQ\DC2\EOT\194\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT6\STX\SOH\SOH\DC2\EOT\194\a\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT6\STX\SOH\ETX\DC2\EOT\194\a-.\n\
+    \\f\n\
+    \\STX\EOT7\DC2\ACK\197\a\NUL\205\a\SOH\n\
+    \\v\n\
+    \\ETX\EOT7\SOH\DC2\EOT\197\a\b;\n\
+    \G\n\
+    \\EOT\EOT7\STX\NUL\DC2\EOT\199\a\EOT!\SUB9 The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\NUL\ENQ\DC2\EOT\199\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\NUL\SOH\DC2\EOT\199\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\NUL\ETX\DC2\EOT\199\a\US \n\
+    \\130\SOH\n\
+    \\EOT\EOT7\STX\SOH\DC2\EOT\202\a\EOT/\SUBt The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported\n\
+    \ with.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\SOH\ENQ\DC2\EOT\202\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\SOH\SOH\DC2\EOT\202\a\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\SOH\ETX\DC2\EOT\202\a-.\n\
+    \c\n\
+    \\EOT\EOT7\STX\STX\DC2\EOT\204\a\EOT!\SUBU The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\STX\ENQ\DC2\EOT\204\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\STX\SOH\DC2\EOT\204\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT7\STX\STX\ETX\DC2\EOT\204\a\US \n\
+    \\f\n\
+    \\STX\EOT8\DC2\ACK\207\a\NUL\217\a\SOH\n\
+    \\v\n\
+    \\ETX\EOT8\SOH\DC2\EOT\207\a\b8\n\
+    \G\n\
+    \\EOT\EOT8\STX\NUL\DC2\EOT\209\a\EOT!\SUB9 The ID of the `NEXUS_OPERATION_CANCEL_REQUESTED` event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\NUL\ENQ\DC2\EOT\209\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\NUL\SOH\DC2\EOT\209\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\NUL\ETX\DC2\EOT\209\a\US \n\
+    \\130\SOH\n\
+    \\EOT\EOT8\STX\SOH\DC2\EOT\212\a\EOT/\SUBt The `WORKFLOW_TASK_COMPLETED` event that the corresponding RequestCancelNexusOperation command was reported\n\
+    \ with.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\SOH\ENQ\DC2\EOT\212\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\SOH\SOH\DC2\EOT\212\a\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\SOH\ETX\DC2\EOT\212\a-.\n\
+    \\\\n\
+    \\EOT\EOT8\STX\STX\DC2\EOT\214\a\EOT0\SUBN Failure details. A NexusOperationFailureInfo wrapping a CanceledFailureInfo.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\STX\ACK\DC2\EOT\214\a\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\STX\SOH\DC2\EOT\214\a$+\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\STX\ETX\DC2\EOT\214\a./\n\
+    \c\n\
+    \\EOT\EOT8\STX\ETX\DC2\EOT\216\a\EOT!\SUBU The id of the `NEXUS_OPERATION_SCHEDULED` event this cancel request corresponds to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\ETX\ENQ\DC2\EOT\216\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\ETX\SOH\DC2\EOT\216\a\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT8\STX\ETX\ETX\DC2\EOT\216\a\US \n\
+    \\177\SOH\n\
+    \\STX\EOT9\DC2\ACK\221\a\NUL\178\b\SOH\SUB\162\SOH History events are the method by which Temporal SDKs advance (or recreate) workflow state.\n\
+    \ See the `EventType` enum for more info about what each event is for.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT9\SOH\DC2\EOT\221\a\b\DC4\n\
+    \C\n\
+    \\EOT\EOT9\STX\NUL\DC2\EOT\223\a\EOT\ETB\SUB5 Monotonically increasing event number, starts at 1.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\NUL\ENQ\DC2\EOT\223\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\NUL\SOH\DC2\EOT\223\a\n\
+    \\DC2\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\NUL\ETX\DC2\EOT\223\a\NAK\SYN\n\
+    \\f\n\
+    \\EOT\EOT9\STX\SOH\DC2\EOT\224\a\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SOH\ACK\DC2\EOT\224\a\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SOH\SOH\DC2\EOT\224\a\RS(\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SOH\ETX\DC2\EOT\224\a+,\n\
+    \\f\n\
+    \\EOT\EOT9\STX\STX\DC2\EOT\225\a\EOT3\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\STX\ACK\DC2\EOT\225\a\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\STX\SOH\DC2\EOT\225\a$.\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\STX\ETX\DC2\EOT\225\a12\n\
+    \:\n\
+    \\EOT\EOT9\STX\ETX\DC2\EOT\227\a\EOT\SYN\SUB, TODO: What is this? Appears unused by SDKs\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ETX\ENQ\DC2\EOT\227\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ETX\SOH\DC2\EOT\227\a\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ETX\ETX\DC2\EOT\227\a\DC4\NAK\n\
+    \:\n\
+    \\EOT\EOT9\STX\EOT\DC2\EOT\229\a\EOT\SYN\SUB, TODO: What is this? Appears unused by SDKs\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\EOT\ENQ\DC2\EOT\229\a\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\EOT\SOH\DC2\EOT\229\a\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\EOT\ETX\DC2\EOT\229\a\DC4\NAK\n\
+    \\228\STX\n\
+    \\EOT\EOT9\STX\ENQ\DC2\EOT\234\a\EOT!\SUB\213\STX Set to true when the SDK may ignore the event as it does not impact workflow state or\n\
+    \ information in any way that the SDK need be concerned with. If an SDK encounters an event\n\
+    \ type which it does not understand, it must error unless this is true. If it is true, it's\n\
+    \ acceptable for the event type and/or attributes to be uninterpretable.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ENQ\ENQ\DC2\EOT\234\a\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ENQ\SOH\DC2\EOT\234\a\t\SUB\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ENQ\ETX\DC2\EOT\234\a\GS \n\
+    \\199\ETX\n\
+    \\EOT\EOT9\STX\ACK\DC2\EOT\243\a\EOT9\SUB\184\ETX Metadata on the event. This is often carried over from commands and client calls. Most events\n\
+    \ won't have this information, and how this information is used is dependent upon the interface\n\
+    \ that reads it.\n\
+    \\n\
+    \ Current well-known uses:\n\
+    \  * workflow_execution_started_event_attributes - summary and details from start workflow.\n\
+    \  * timer_started_event_attributes - summary represents an identifier for the timer for use by\n\
+    \    user interfaces.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ACK\ACK\DC2\EOT\243\a\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ACK\SOH\DC2\EOT\243\a%2\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ACK\ETX\DC2\EOT\243\a58\n\
+    \0\n\
+    \\EOT\EOT9\STX\a\DC2\EOT\245\a\EOT5\SUB\" Links associated with the event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\a\EOT\DC2\EOT\245\a\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\a\ACK\DC2\EOT\245\a\r(\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\a\SOH\DC2\EOT\245\a).\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\a\ETX\DC2\EOT\245\a14\n\
+    \N\n\
+    \\EOT\EOT9\b\NUL\DC2\ACK\247\a\EOT\177\b\ENQ\SUB> The event details. The type must match that in `event_type`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT9\b\NUL\SOH\DC2\EOT\247\a\n\
+    \\DC4\n\
+    \\f\n\
+    \\EOT\EOT9\STX\b\DC2\EOT\248\a\b`\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\b\ACK\DC2\EOT\248\a\b/\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\b\SOH\DC2\EOT\248\a0[\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\b\ETX\DC2\EOT\248\a^_\n\
+    \\f\n\
+    \\EOT\EOT9\STX\t\DC2\EOT\249\a\bd\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\t\ACK\DC2\EOT\249\a\b1\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\t\SOH\DC2\EOT\249\a2_\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\t\ETX\DC2\EOT\249\abc\n\
+    \\f\n\
+    \\EOT\EOT9\STX\n\
+    \\DC2\EOT\250\a\b^\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\n\
+    \\ACK\DC2\EOT\250\a\b.\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\n\
+    \\SOH\DC2\EOT\250\a/Y\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\n\
+    \\ETX\DC2\EOT\250\a\\]\n\
+    \\f\n\
+    \\EOT\EOT9\STX\v\DC2\EOT\251\a\bc\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\v\ACK\DC2\EOT\251\a\b0\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\v\SOH\DC2\EOT\251\a1^\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\v\ETX\DC2\EOT\251\aab\n\
+    \\f\n\
+    \\EOT\EOT9\STX\f\DC2\EOT\252\a\b[\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\f\ACK\DC2\EOT\252\a\b,\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\f\SOH\DC2\EOT\252\a-U\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\f\ETX\DC2\EOT\252\aXZ\n\
+    \\f\n\
+    \\EOT\EOT9\STX\r\DC2\EOT\253\a\bW\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\r\ACK\DC2\EOT\253\a\b*\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\r\SOH\DC2\EOT\253\a+Q\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\r\ETX\DC2\EOT\253\aTV\n\
+    \\f\n\
+    \\EOT\EOT9\STX\SO\DC2\EOT\254\a\b[\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SO\ACK\DC2\EOT\254\a\b,\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SO\SOH\DC2\EOT\254\a-U\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SO\ETX\DC2\EOT\254\aXZ\n\
+    \\f\n\
+    \\EOT\EOT9\STX\SI\DC2\EOT\255\a\bZ\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SI\ACK\DC2\EOT\255\a\b+\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SI\SOH\DC2\EOT\255\a,T\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SI\ETX\DC2\EOT\255\aWY\n\
+    \\f\n\
+    \\EOT\EOT9\STX\DLE\DC2\EOT\128\b\bU\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DLE\ACK\DC2\EOT\128\b\b)\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DLE\SOH\DC2\EOT\128\b*O\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DLE\ETX\DC2\EOT\128\bRT\n\
+    \\f\n\
+    \\EOT\EOT9\STX\DC1\DC2\EOT\129\b\b[\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC1\ACK\DC2\EOT\129\b\b,\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC1\SOH\DC2\EOT\129\b-U\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC1\ETX\DC2\EOT\129\bXZ\n\
+    \\f\n\
+    \\EOT\EOT9\STX\DC2\DC2\EOT\130\b\bW\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC2\ACK\DC2\EOT\130\b\b*\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC2\SOH\DC2\EOT\130\b+Q\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC2\ETX\DC2\EOT\130\bTV\n\
+    \\f\n\
+    \\EOT\EOT9\STX\DC3\DC2\EOT\131\b\b[\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC3\ACK\DC2\EOT\131\b\b,\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC3\SOH\DC2\EOT\131\b-U\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC3\ETX\DC2\EOT\131\bXZ\n\
+    \\f\n\
+    \\EOT\EOT9\STX\DC4\DC2\EOT\132\b\bU\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC4\ACK\DC2\EOT\132\b\b)\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC4\SOH\DC2\EOT\132\b*O\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\DC4\ETX\DC2\EOT\132\bRT\n\
+    \\f\n\
+    \\EOT\EOT9\STX\NAK\DC2\EOT\133\b\bZ\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\NAK\ACK\DC2\EOT\133\b\b+\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\NAK\SOH\DC2\EOT\133\b,T\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\NAK\ETX\DC2\EOT\133\bWY\n\
+    \\f\n\
+    \\EOT\EOT9\STX\SYN\DC2\EOT\134\b\bH\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SYN\ACK\DC2\EOT\134\b\b#\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SYN\SOH\DC2\EOT\134\b$B\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SYN\ETX\DC2\EOT\134\bEG\n\
+    \\f\n\
+    \\EOT\EOT9\STX\ETB\DC2\EOT\135\b\bD\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ETB\ACK\DC2\EOT\135\b\b!\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ETB\SOH\DC2\EOT\135\b\">\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ETB\ETX\DC2\EOT\135\bAC\n\
+    \\f\n\
+    \\EOT\EOT9\STX\CAN\DC2\EOT\136\b\bh\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\CAN\ACK\DC2\EOT\136\b\b2\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\CAN\SOH\DC2\EOT\136\b3b\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\CAN\ETX\DC2\EOT\136\beg\n\
+    \\f\n\
+    \\EOT\EOT9\STX\EM\DC2\EOT\137\b\bY\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\EM\ACK\DC2\EOT\137\b\b+\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\EM\SOH\DC2\EOT\137\b,S\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\EM\ETX\DC2\EOT\137\bVX\n\
+    \\f\n\
+    \\EOT\EOT9\STX\SUB\DC2\EOT\138\b\bJ\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SUB\ACK\DC2\EOT\138\b\b$\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SUB\SOH\DC2\EOT\138\b%D\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\SUB\ETX\DC2\EOT\138\bGI\n\
+    \\f\n\
+    \\EOT\EOT9\STX\ESC\DC2\EOT\139\b\bL\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ESC\ACK\DC2\EOT\139\b\b%\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ESC\SOH\DC2\EOT\139\b&F\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\ESC\ETX\DC2\EOT\139\bIK\n\
+    \\f\n\
+    \\EOT\EOT9\STX\FS\DC2\EOT\140\b\bc\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\FS\ACK\DC2\EOT\140\b\b0\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\FS\SOH\DC2\EOT\140\b1]\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\FS\ETX\DC2\EOT\140\b`b\n\
+    \\f\n\
+    \\EOT\EOT9\STX\GS\DC2\EOT\141\b\bg\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\GS\ACK\DC2\EOT\141\b\b2\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\GS\SOH\DC2\EOT\141\b3a\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\GS\ETX\DC2\EOT\141\bdf\n\
+    \\f\n\
+    \\EOT\EOT9\STX\RS\DC2\EOT\142\b\br\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\RS\ACK\DC2\EOT\142\b\b7\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\RS\SOH\DC2\EOT\142\b8l\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\RS\ETX\DC2\EOT\142\boq\n\
+    \\f\n\
+    \\EOT\EOT9\STX\US\DC2\EOT\143\b\bc\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\US\ACK\DC2\EOT\143\b\b0\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\US\SOH\DC2\EOT\143\b1]\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\US\ETX\DC2\EOT\143\b`b\n\
+    \\r\n\
+    \\EOT\EOT9\STX \DC2\ENQ\144\b\b\146\SOH\n\
+    \\r\n\
+    \\ENQ\EOT9\STX \ACK\DC2\EOT\144\b\bF\n\
+    \\SO\n\
+    \\ENQ\EOT9\STX \SOH\DC2\ENQ\144\bG\140\SOH\n\
+    \\SI\n\
+    \\ENQ\EOT9\STX \ETX\DC2\ACK\144\b\143\SOH\145\SOH\n\
+    \\r\n\
+    \\EOT\EOT9\STX!\DC2\ENQ\145\b\b\140\SOH\n\
+    \\r\n\
+    \\ENQ\EOT9\STX!\ACK\DC2\EOT\145\b\bC\n\
+    \\SO\n\
+    \\ENQ\EOT9\STX!\SOH\DC2\ENQ\145\bD\134\SOH\n\
+    \\SI\n\
+    \\ENQ\EOT9\STX!\ETX\DC2\ACK\145\b\137\SOH\139\SOH\n\
+    \\r\n\
+    \\EOT\EOT9\STX\"\DC2\ENQ\146\b\b\131\SOH\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\"\ACK\DC2\EOT\146\b\b?\n\
+    \\r\n\
+    \\ENQ\EOT9\STX\"\SOH\DC2\EOT\146\b@}\n\
+    \\SI\n\
+    \\ENQ\EOT9\STX\"\ETX\DC2\ACK\146\b\128\SOH\130\SOH\n\
+    \\f\n\
+    \\EOT\EOT9\STX#\DC2\EOT\147\b\bq\n\
+    \\r\n\
+    \\ENQ\EOT9\STX#\ACK\DC2\EOT\147\b\b6\n\
+    \\r\n\
+    \\ENQ\EOT9\STX#\SOH\DC2\EOT\147\b7k\n\
+    \\r\n\
+    \\ENQ\EOT9\STX#\ETX\DC2\EOT\147\bnp\n\
+    \\f\n\
+    \\EOT\EOT9\STX$\DC2\EOT\148\b\b{\n\
+    \\r\n\
+    \\ENQ\EOT9\STX$\ACK\DC2\EOT\148\b\b;\n\
+    \\r\n\
+    \\ENQ\EOT9\STX$\SOH\DC2\EOT\148\b<u\n\
+    \\r\n\
+    \\ENQ\EOT9\STX$\ETX\DC2\EOT\148\bxz\n\
+    \\f\n\
+    \\EOT\EOT9\STX%\DC2\EOT\149\b\bu\n\
+    \\r\n\
+    \\ENQ\EOT9\STX%\ACK\DC2\EOT\149\b\b8\n\
+    \\r\n\
+    \\ENQ\EOT9\STX%\SOH\DC2\EOT\149\b9o\n\
+    \\r\n\
+    \\ENQ\EOT9\STX%\ETX\DC2\EOT\149\brt\n\
+    \\f\n\
+    \\EOT\EOT9\STX&\DC2\EOT\150\b\bl\n\
+    \\r\n\
+    \\ENQ\EOT9\STX&\ACK\DC2\EOT\150\b\b4\n\
+    \\r\n\
+    \\ENQ\EOT9\STX&\SOH\DC2\EOT\150\b5f\n\
+    \\r\n\
+    \\ENQ\EOT9\STX&\ETX\DC2\EOT\150\bik\n\
+    \\f\n\
+    \\EOT\EOT9\STX'\DC2\EOT\151\b\bp\n\
+    \\r\n\
+    \\ENQ\EOT9\STX'\ACK\DC2\EOT\151\b\b6\n\
+    \\r\n\
+    \\ENQ\EOT9\STX'\SOH\DC2\EOT\151\b7j\n\
+    \\r\n\
+    \\ENQ\EOT9\STX'\ETX\DC2\EOT\151\bmo\n\
+    \\f\n\
+    \\EOT\EOT9\STX(\DC2\EOT\152\b\bj\n\
+    \\r\n\
+    \\ENQ\EOT9\STX(\ACK\DC2\EOT\152\b\b3\n\
+    \\r\n\
+    \\ENQ\EOT9\STX(\SOH\DC2\EOT\152\b4d\n\
+    \\r\n\
+    \\ENQ\EOT9\STX(\ETX\DC2\EOT\152\bgi\n\
+    \\f\n\
+    \\EOT\EOT9\STX)\DC2\EOT\153\b\bn\n\
+    \\r\n\
+    \\ENQ\EOT9\STX)\ACK\DC2\EOT\153\b\b5\n\
+    \\r\n\
+    \\ENQ\EOT9\STX)\SOH\DC2\EOT\153\b6h\n\
+    \\r\n\
+    \\ENQ\EOT9\STX)\ETX\DC2\EOT\153\bkm\n\
+    \\f\n\
+    \\EOT\EOT9\STX*\DC2\EOT\154\b\bo\n\
+    \\r\n\
+    \\ENQ\EOT9\STX*\ACK\DC2\EOT\154\b\b5\n\
+    \\r\n\
+    \\ENQ\EOT9\STX*\SOH\DC2\EOT\154\b6i\n\
+    \\r\n\
+    \\ENQ\EOT9\STX*\ETX\DC2\EOT\154\bln\n\
+    \\f\n\
+    \\EOT\EOT9\STX+\DC2\EOT\155\b\br\n\
+    \\r\n\
+    \\ENQ\EOT9\STX+\ACK\DC2\EOT\155\b\b7\n\
+    \\r\n\
+    \\ENQ\EOT9\STX+\SOH\DC2\EOT\155\b8l\n\
+    \\r\n\
+    \\ENQ\EOT9\STX+\ETX\DC2\EOT\155\boq\n\
+    \\r\n\
+    \\EOT\EOT9\STX,\DC2\ENQ\156\b\b\131\SOH\n\
+    \\r\n\
+    \\ENQ\EOT9\STX,\ACK\DC2\EOT\156\b\b?\n\
+    \\r\n\
+    \\ENQ\EOT9\STX,\SOH\DC2\EOT\156\b@}\n\
+    \\SI\n\
+    \\ENQ\EOT9\STX,\ETX\DC2\ACK\156\b\128\SOH\130\SOH\n\
+    \\f\n\
+    \\EOT\EOT9\STX-\DC2\EOT\157\b\b}\n\
+    \\r\n\
+    \\ENQ\EOT9\STX-\ACK\DC2\EOT\157\b\b<\n\
+    \\r\n\
+    \\ENQ\EOT9\STX-\SOH\DC2\EOT\157\b=w\n\
+    \\r\n\
+    \\ENQ\EOT9\STX-\ETX\DC2\EOT\157\bz|\n\
+    \\f\n\
+    \\EOT\EOT9\STX.\DC2\EOT\158\b\bt\n\
+    \\r\n\
+    \\ENQ\EOT9\STX.\ACK\DC2\EOT\158\b\b8\n\
+    \\r\n\
+    \\ENQ\EOT9\STX.\SOH\DC2\EOT\158\b9n\n\
+    \\r\n\
+    \\ENQ\EOT9\STX.\ETX\DC2\EOT\158\bqs\n\
+    \\f\n\
+    \\EOT\EOT9\STX/\DC2\EOT\159\b\bn\n\
+    \\r\n\
+    \\ENQ\EOT9\STX/\ACK\DC2\EOT\159\b\b5\n\
+    \\r\n\
+    \\ENQ\EOT9\STX/\SOH\DC2\EOT\159\b6h\n\
+    \\r\n\
+    \\ENQ\EOT9\STX/\ETX\DC2\EOT\159\bkm\n\
+    \\f\n\
+    \\EOT\EOT9\STX0\DC2\EOT\160\b\bp\n\
+    \\r\n\
+    \\ENQ\EOT9\STX0\ACK\DC2\EOT\160\b\b6\n\
+    \\r\n\
+    \\ENQ\EOT9\STX0\SOH\DC2\EOT\160\b7j\n\
+    \\r\n\
+    \\ENQ\EOT9\STX0\ETX\DC2\EOT\160\bmo\n\
+    \\f\n\
+    \\EOT\EOT9\STX1\DC2\EOT\161\b\bp\n\
+    \\r\n\
+    \\ENQ\EOT9\STX1\ACK\DC2\EOT\161\b\b6\n\
+    \\r\n\
+    \\ENQ\EOT9\STX1\SOH\DC2\EOT\161\b7j\n\
+    \\r\n\
+    \\ENQ\EOT9\STX1\ETX\DC2\EOT\161\bmo\n\
+    \\f\n\
+    \\EOT\EOT9\STX2\DC2\EOT\162\b\br\n\
+    \\r\n\
+    \\ENQ\EOT9\STX2\ACK\DC2\EOT\162\b\b7\n\
+    \\r\n\
+    \\ENQ\EOT9\STX2\SOH\DC2\EOT\162\b8l\n\
+    \\r\n\
+    \\ENQ\EOT9\STX2\ETX\DC2\EOT\162\boq\n\
+    \\f\n\
+    \\EOT\EOT9\STX3\DC2\EOT\163\b\bz\n\
+    \\r\n\
+    \\ENQ\EOT9\STX3\ACK\DC2\EOT\163\b\b;\n\
+    \\r\n\
+    \\ENQ\EOT9\STX3\SOH\DC2\EOT\163\b<t\n\
+    \\r\n\
+    \\ENQ\EOT9\STX3\ETX\DC2\EOT\163\bwy\n\
+    \\f\n\
+    \\EOT\EOT9\STX4\DC2\EOT\164\b\bz\n\
+    \\r\n\
+    \\ENQ\EOT9\STX4\ACK\DC2\EOT\164\b\b;\n\
+    \\r\n\
+    \\ENQ\EOT9\STX4\SOH\DC2\EOT\164\b<t\n\
+    \\r\n\
+    \\ENQ\EOT9\STX4\ETX\DC2\EOT\164\bwy\n\
+    \\f\n\
+    \\EOT\EOT9\STX5\DC2\EOT\165\b\be\n\
+    \\r\n\
+    \\ENQ\EOT9\STX5\ACK\DC2\EOT\165\b\b1\n\
+    \\r\n\
+    \\ENQ\EOT9\STX5\SOH\DC2\EOT\165\b2_\n\
+    \\r\n\
+    \\ENQ\EOT9\STX5\ETX\DC2\EOT\165\bbd\n\
+    \\f\n\
+    \\EOT\EOT9\STX6\DC2\EOT\166\b\bp\n\
+    \\r\n\
+    \\ENQ\EOT9\STX6\ACK\DC2\EOT\166\b\b6\n\
+    \\r\n\
+    \\ENQ\EOT9\STX6\SOH\DC2\EOT\166\b7j\n\
+    \\r\n\
+    \\ENQ\EOT9\STX6\ETX\DC2\EOT\166\bmo\n\
+    \\f\n\
+    \\EOT\EOT9\STX7\DC2\EOT\167\b\b_\n\
+    \\r\n\
+    \\ENQ\EOT9\STX7\ACK\DC2\EOT\167\b\b.\n\
+    \\r\n\
+    \\ENQ\EOT9\STX7\SOH\DC2\EOT\167\b/Y\n\
+    \\r\n\
+    \\ENQ\EOT9\STX7\ETX\DC2\EOT\167\b\\^\n\
+    \\f\n\
+    \\EOT\EOT9\STX8\DC2\EOT\168\b\b[\n\
+    \\r\n\
+    \\ENQ\EOT9\STX8\ACK\DC2\EOT\168\b\b,\n\
+    \\r\n\
+    \\ENQ\EOT9\STX8\SOH\DC2\EOT\168\b-U\n\
+    \\r\n\
+    \\ENQ\EOT9\STX8\ETX\DC2\EOT\168\bXZ\n\
+    \\f\n\
+    \\EOT\EOT9\STX9\DC2\EOT\169\b\b_\n\
+    \\r\n\
+    \\ENQ\EOT9\STX9\ACK\DC2\EOT\169\b\b.\n\
+    \\r\n\
+    \\ENQ\EOT9\STX9\SOH\DC2\EOT\169\b/Y\n\
+    \\r\n\
+    \\ENQ\EOT9\STX9\ETX\DC2\EOT\169\b\\^\n\
+    \\f\n\
+    \\EOT\EOT9\STX:\DC2\EOT\170\b\bY\n\
+    \\r\n\
+    \\ENQ\EOT9\STX:\ACK\DC2\EOT\170\b\b+\n\
+    \\r\n\
+    \\ENQ\EOT9\STX:\SOH\DC2\EOT\170\b,S\n\
+    \\r\n\
+    \\ENQ\EOT9\STX:\ETX\DC2\EOT\170\bVX\n\
+    \\f\n\
+    \\EOT\EOT9\STX;\DC2\EOT\171\b\b]\n\
+    \\r\n\
+    \\ENQ\EOT9\STX;\ACK\DC2\EOT\171\b\b-\n\
+    \\r\n\
+    \\ENQ\EOT9\STX;\SOH\DC2\EOT\171\b.W\n\
+    \\r\n\
+    \\ENQ\EOT9\STX;\ETX\DC2\EOT\171\bZ\\\n\
+    \\f\n\
+    \\EOT\EOT9\STX<\DC2\EOT\172\b\b^\n\
+    \\r\n\
+    \\ENQ\EOT9\STX<\ACK\DC2\EOT\172\b\b-\n\
+    \\r\n\
+    \\ENQ\EOT9\STX<\SOH\DC2\EOT\172\b.X\n\
+    \\r\n\
+    \\ENQ\EOT9\STX<\ETX\DC2\EOT\172\b[]\n\
+    \\f\n\
+    \\EOT\EOT9\STX=\DC2\EOT\173\b\bl\n\
+    \\r\n\
+    \\ENQ\EOT9\STX=\ACK\DC2\EOT\173\b\b4\n\
+    \\r\n\
+    \\ENQ\EOT9\STX=\SOH\DC2\EOT\173\b5f\n\
+    \\r\n\
+    \\ENQ\EOT9\STX=\ETX\DC2\EOT\173\bik\n\
+    \\f\n\
+    \\EOT\EOT9\STX>\DC2\EOT\174\b\bp\n\
+    \\r\n\
+    \\ENQ\EOT9\STX>\ACK\DC2\EOT\174\b\b6\n\
+    \\r\n\
+    \\ENQ\EOT9\STX>\SOH\DC2\EOT\174\b7j\n\
+    \\r\n\
+    \\ENQ\EOT9\STX>\ETX\DC2\EOT\174\bmo\n\
+    \\f\n\
+    \\EOT\EOT9\STX?\DC2\EOT\175\b\b{\n\
+    \\r\n\
+    \\ENQ\EOT9\STX?\ACK\DC2\EOT\175\b\b;\n\
+    \\r\n\
+    \\ENQ\EOT9\STX?\SOH\DC2\EOT\175\b<u\n\
+    \\r\n\
+    \\ENQ\EOT9\STX?\ETX\DC2\EOT\175\bxz\n\
+    \\f\n\
+    \\EOT\EOT9\STX@\DC2\EOT\176\b\bu\n\
+    \\r\n\
+    \\ENQ\EOT9\STX@\ACK\DC2\EOT\176\b\b8\n\
+    \\r\n\
+    \\ENQ\EOT9\STX@\SOH\DC2\EOT\176\b9o\n\
+    \\r\n\
+    \\ENQ\EOT9\STX@\ETX\DC2\EOT\176\brt\n\
+    \\f\n\
+    \\STX\EOT:\DC2\ACK\180\b\NUL\182\b\SOH\n\
+    \\v\n\
+    \\ETX\EOT:\SOH\DC2\EOT\180\b\b\SI\n\
+    \\f\n\
+    \\EOT\EOT:\STX\NUL\DC2\EOT\181\b\EOT%\n\
+    \\r\n\
+    \\ENQ\EOT:\STX\NUL\EOT\DC2\EOT\181\b\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT:\STX\NUL\ACK\DC2\EOT\181\b\r\EM\n\
+    \\r\n\
+    \\ENQ\EOT:\STX\NUL\SOH\DC2\EOT\181\b\SUB \n\
+    \\r\n\
+    \\ENQ\EOT:\STX\NUL\ETX\DC2\EOT\181\b#$b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/History/V1/Message_Fields.hs b/src/Proto/Temporal/Api/History/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/History/V1/Message_Fields.hs
@@ -0,0 +1,2091 @@
+{- This file was auto-generated from temporal/api/history/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.History.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.EventType
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Update
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+import qualified Proto.Temporal.Api.Update.V1.Message
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+acceptedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedEventId = Data.ProtoLens.Field.field @"acceptedEventId"
+acceptedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedRequest = Data.ProtoLens.Field.field @"acceptedRequest"
+acceptedRequestMessageId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedRequestMessageId" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedRequestMessageId
+  = Data.ProtoLens.Field.field @"acceptedRequestMessageId"
+acceptedRequestSequencingEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedRequestSequencingEventId" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedRequestSequencingEventId
+  = Data.ProtoLens.Field.field @"acceptedRequestSequencingEventId"
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityPropertiesModifiedExternallyEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityPropertiesModifiedExternallyEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityPropertiesModifiedExternallyEventAttributes
+  = Data.ProtoLens.Field.field
+      @"activityPropertiesModifiedExternallyEventAttributes"
+activityTaskCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"activityTaskCancelRequestedEventAttributes"
+activityTaskCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskCanceledEventAttributes
+  = Data.ProtoLens.Field.field @"activityTaskCanceledEventAttributes"
+activityTaskCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"activityTaskCompletedEventAttributes"
+activityTaskFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskFailedEventAttributes
+  = Data.ProtoLens.Field.field @"activityTaskFailedEventAttributes"
+activityTaskScheduledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskScheduledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskScheduledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"activityTaskScheduledEventAttributes"
+activityTaskStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskStartedEventAttributes
+  = Data.ProtoLens.Field.field @"activityTaskStartedEventAttributes"
+activityTaskTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskTimedOutEventAttributes
+  = Data.ProtoLens.Field.field @"activityTaskTimedOutEventAttributes"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+attachedCompletionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "attachedCompletionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+attachedCompletionCallbacks
+  = Data.ProtoLens.Field.field @"attachedCompletionCallbacks"
+attachedRequestId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "attachedRequestId" a) =>
+  Lens.Family2.LensLike' f s a
+attachedRequestId = Data.ProtoLens.Field.field @"attachedRequestId"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+backoffStartInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backoffStartInterval" a) =>
+  Lens.Family2.LensLike' f s a
+backoffStartInterval
+  = Data.ProtoLens.Field.field @"backoffStartInterval"
+baseRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "baseRunId" a) =>
+  Lens.Family2.LensLike' f s a
+baseRunId = Data.ProtoLens.Field.field @"baseRunId"
+binaryChecksum ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "binaryChecksum" a) =>
+  Lens.Family2.LensLike' f s a
+binaryChecksum = Data.ProtoLens.Field.field @"binaryChecksum"
+buildIdRedirectCounter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "buildIdRedirectCounter" a) =>
+  Lens.Family2.LensLike' f s a
+buildIdRedirectCounter
+  = Data.ProtoLens.Field.field @"buildIdRedirectCounter"
+cause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "cause" a) =>
+  Lens.Family2.LensLike' f s a
+cause = Data.ProtoLens.Field.field @"cause"
+childWorkflowExecutionCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"childWorkflowExecutionCanceledEventAttributes"
+childWorkflowExecutionCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"childWorkflowExecutionCompletedEventAttributes"
+childWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"childWorkflowExecutionFailedEventAttributes"
+childWorkflowExecutionStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"childWorkflowExecutionStartedEventAttributes"
+childWorkflowExecutionTerminatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionTerminatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionTerminatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"childWorkflowExecutionTerminatedEventAttributes"
+childWorkflowExecutionTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowExecutionTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowExecutionTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"childWorkflowExecutionTimedOutEventAttributes"
+childWorkflowOnly ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowOnly" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowOnly = Data.ProtoLens.Field.field @"childWorkflowOnly"
+completionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+completionCallbacks
+  = Data.ProtoLens.Field.field @"completionCallbacks"
+continuedExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continuedExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+continuedExecutionRunId
+  = Data.ProtoLens.Field.field @"continuedExecutionRunId"
+continuedFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continuedFailure" a) =>
+  Lens.Family2.LensLike' f s a
+continuedFailure = Data.ProtoLens.Field.field @"continuedFailure"
+control ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "control" a) =>
+  Lens.Family2.LensLike' f s a
+control = Data.ProtoLens.Field.field @"control"
+cronSchedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronSchedule" a) =>
+  Lens.Family2.LensLike' f s a
+cronSchedule = Data.ProtoLens.Field.field @"cronSchedule"
+deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deployment" a) =>
+  Lens.Family2.LensLike' f s a
+deployment = Data.ProtoLens.Field.field @"deployment"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+endpoint = Data.ProtoLens.Field.field @"endpoint"
+endpointId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpointId" a) =>
+  Lens.Family2.LensLike' f s a
+endpointId = Data.ProtoLens.Field.field @"endpointId"
+eventId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "eventId" a) =>
+  Lens.Family2.LensLike' f s a
+eventId = Data.ProtoLens.Field.field @"eventId"
+eventTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eventTime" a) =>
+  Lens.Family2.LensLike' f s a
+eventTime = Data.ProtoLens.Field.field @"eventTime"
+eventType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eventType" a) =>
+  Lens.Family2.LensLike' f s a
+eventType = Data.ProtoLens.Field.field @"eventType"
+events ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "events" a) =>
+  Lens.Family2.LensLike' f s a
+events = Data.ProtoLens.Field.field @"events"
+externalInitiatedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "externalInitiatedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+externalInitiatedEventId
+  = Data.ProtoLens.Field.field @"externalInitiatedEventId"
+externalWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "externalWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+externalWorkflowExecution
+  = Data.ProtoLens.Field.field @"externalWorkflowExecution"
+externalWorkflowExecutionCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "externalWorkflowExecutionCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+externalWorkflowExecutionCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"externalWorkflowExecutionCancelRequestedEventAttributes"
+externalWorkflowExecutionSignaledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "externalWorkflowExecutionSignaledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+externalWorkflowExecutionSignaledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"externalWorkflowExecutionSignaledEventAttributes"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+firstExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+firstExecutionRunId
+  = Data.ProtoLens.Field.field @"firstExecutionRunId"
+firstWorkflowTaskBackoff ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstWorkflowTaskBackoff" a) =>
+  Lens.Family2.LensLike' f s a
+firstWorkflowTaskBackoff
+  = Data.ProtoLens.Field.field @"firstWorkflowTaskBackoff"
+forkEventVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "forkEventVersion" a) =>
+  Lens.Family2.LensLike' f s a
+forkEventVersion = Data.ProtoLens.Field.field @"forkEventVersion"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatTimeout = Data.ProtoLens.Field.field @"heartbeatTimeout"
+historySizeBytes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historySizeBytes" a) =>
+  Lens.Family2.LensLike' f s a
+historySizeBytes = Data.ProtoLens.Field.field @"historySizeBytes"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+inheritBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "inheritBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+inheritBuildId = Data.ProtoLens.Field.field @"inheritBuildId"
+inheritedBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "inheritedBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+inheritedBuildId = Data.ProtoLens.Field.field @"inheritedBuildId"
+initiatedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initiatedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+initiatedEventId = Data.ProtoLens.Field.field @"initiatedEventId"
+initiator ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initiator" a) =>
+  Lens.Family2.LensLike' f s a
+initiator = Data.ProtoLens.Field.field @"initiator"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+lastCompletionResult
+  = Data.ProtoLens.Field.field @"lastCompletionResult"
+lastFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastFailure" a) =>
+  Lens.Family2.LensLike' f s a
+lastFailure = Data.ProtoLens.Field.field @"lastFailure"
+latestCancelRequestedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "latestCancelRequestedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+latestCancelRequestedEventId
+  = Data.ProtoLens.Field.field @"latestCancelRequestedEventId"
+links ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "links" a) =>
+  Lens.Family2.LensLike' f s a
+links = Data.ProtoLens.Field.field @"links"
+markerName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "markerName" a) =>
+  Lens.Family2.LensLike' f s a
+markerName = Data.ProtoLens.Field.field @"markerName"
+markerRecordedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "markerRecordedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+markerRecordedEventAttributes
+  = Data.ProtoLens.Field.field @"markerRecordedEventAttributes"
+maybe'acceptedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'acceptedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'acceptedRequest
+  = Data.ProtoLens.Field.field @"maybe'acceptedRequest"
+maybe'activityPropertiesModifiedExternallyEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityPropertiesModifiedExternallyEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityPropertiesModifiedExternallyEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityPropertiesModifiedExternallyEventAttributes"
+maybe'activityTaskCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskCancelRequestedEventAttributes"
+maybe'activityTaskCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskCanceledEventAttributes"
+maybe'activityTaskCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskCompletedEventAttributes"
+maybe'activityTaskFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskFailedEventAttributes"
+maybe'activityTaskScheduledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskScheduledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskScheduledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskScheduledEventAttributes"
+maybe'activityTaskStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskStartedEventAttributes"
+maybe'activityTaskTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityTaskTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityTaskTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'activityTaskTimedOutEventAttributes"
+maybe'activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityType
+  = Data.ProtoLens.Field.field @"maybe'activityType"
+maybe'attributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'attributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'attributes = Data.ProtoLens.Field.field @"maybe'attributes"
+maybe'backoffStartInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'backoffStartInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'backoffStartInterval
+  = Data.ProtoLens.Field.field @"maybe'backoffStartInterval"
+maybe'childWorkflowExecutionCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionCanceledEventAttributes"
+maybe'childWorkflowExecutionCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionCompletedEventAttributes"
+maybe'childWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionFailedEventAttributes"
+maybe'childWorkflowExecutionStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionStartedEventAttributes"
+maybe'childWorkflowExecutionTerminatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionTerminatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionTerminatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionTerminatedEventAttributes"
+maybe'childWorkflowExecutionTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowExecutionTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowExecutionTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'childWorkflowExecutionTimedOutEventAttributes"
+maybe'continuedFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'continuedFailure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'continuedFailure
+  = Data.ProtoLens.Field.field @"maybe'continuedFailure"
+maybe'deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deployment" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deployment = Data.ProtoLens.Field.field @"maybe'deployment"
+maybe'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'details" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'details = Data.ProtoLens.Field.field @"maybe'details"
+maybe'eventTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'eventTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'eventTime = Data.ProtoLens.Field.field @"maybe'eventTime"
+maybe'externalWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'externalWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'externalWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'externalWorkflowExecution"
+maybe'externalWorkflowExecutionCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'externalWorkflowExecutionCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'externalWorkflowExecutionCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'externalWorkflowExecutionCancelRequestedEventAttributes"
+maybe'externalWorkflowExecutionSignaledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'externalWorkflowExecutionSignaledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'externalWorkflowExecutionSignaledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'externalWorkflowExecutionSignaledEventAttributes"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'firstWorkflowTaskBackoff ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'firstWorkflowTaskBackoff" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'firstWorkflowTaskBackoff
+  = Data.ProtoLens.Field.field @"maybe'firstWorkflowTaskBackoff"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatTimeout
+  = Data.ProtoLens.Field.field @"maybe'heartbeatTimeout"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastCompletionResult
+  = Data.ProtoLens.Field.field @"maybe'lastCompletionResult"
+maybe'lastFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastFailure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastFailure = Data.ProtoLens.Field.field @"maybe'lastFailure"
+maybe'markerRecordedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'markerRecordedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'markerRecordedEventAttributes
+  = Data.ProtoLens.Field.field @"maybe'markerRecordedEventAttributes"
+maybe'memo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'memo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'memo = Data.ProtoLens.Field.field @"maybe'memo"
+maybe'meta ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'meta" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'meta = Data.ProtoLens.Field.field @"maybe'meta"
+maybe'meteringMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'meteringMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'meteringMetadata
+  = Data.ProtoLens.Field.field @"maybe'meteringMetadata"
+maybe'newRetryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'newRetryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'newRetryPolicy
+  = Data.ProtoLens.Field.field @"maybe'newRetryPolicy"
+maybe'newWorkflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'newWorkflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'newWorkflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'newWorkflowExecutionTimeout"
+maybe'newWorkflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'newWorkflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'newWorkflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'newWorkflowRunTimeout"
+maybe'newWorkflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'newWorkflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'newWorkflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'newWorkflowTaskTimeout"
+maybe'nexusOperationCancelRequestCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationCancelRequestCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationCancelRequestCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationCancelRequestCompletedEventAttributes"
+maybe'nexusOperationCancelRequestFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationCancelRequestFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationCancelRequestFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationCancelRequestFailedEventAttributes"
+maybe'nexusOperationCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationCancelRequestedEventAttributes"
+maybe'nexusOperationCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationCanceledEventAttributes"
+maybe'nexusOperationCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationCompletedEventAttributes"
+maybe'nexusOperationFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationFailedEventAttributes"
+maybe'nexusOperationScheduledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationScheduledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationScheduledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationScheduledEventAttributes"
+maybe'nexusOperationStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationStartedEventAttributes"
+maybe'nexusOperationTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nexusOperationTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nexusOperationTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'nexusOperationTimedOutEventAttributes"
+maybe'outcome ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'outcome" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'outcome = Data.ProtoLens.Field.field @"maybe'outcome"
+maybe'parentWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'parentWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'parentWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'parentWorkflowExecution"
+maybe'prevAutoResetPoints ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'prevAutoResetPoints" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'prevAutoResetPoints
+  = Data.ProtoLens.Field.field @"maybe'prevAutoResetPoints"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'rejectedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rejectedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rejectedRequest
+  = Data.ProtoLens.Field.field @"maybe'rejectedRequest"
+maybe'request ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'request" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'request = Data.ProtoLens.Field.field @"maybe'request"
+maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'requestCancelExternalWorkflowExecutionFailedEventAttributes"
+maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'requestCancelExternalWorkflowExecutionInitiatedEventAttributes"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'rootWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rootWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rootWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'rootWorkflowExecution"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout"
+maybe'sdkMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'sdkMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'sdkMetadata = Data.ProtoLens.Field.field @"maybe'sdkMetadata"
+maybe'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'searchAttributes
+  = Data.ProtoLens.Field.field @"maybe'searchAttributes"
+maybe'signalExternalWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalExternalWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalExternalWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'signalExternalWorkflowExecutionFailedEventAttributes"
+maybe'signalExternalWorkflowExecutionInitiatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalExternalWorkflowExecutionInitiatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalExternalWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'signalExternalWorkflowExecutionInitiatedEventAttributes"
+maybe'sourceVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'sourceVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'sourceVersionStamp
+  = Data.ProtoLens.Field.field @"maybe'sourceVersionStamp"
+maybe'startChildWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startChildWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startChildWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'startChildWorkflowExecutionFailedEventAttributes"
+maybe'startChildWorkflowExecutionInitiatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startChildWorkflowExecutionInitiatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startChildWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'startChildWorkflowExecutionInitiatedEventAttributes"
+maybe'startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToCloseTimeout"
+maybe'startToFireTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToFireTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToFireTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToFireTimeout"
+maybe'taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueue = Data.ProtoLens.Field.field @"maybe'taskQueue"
+maybe'timerCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timerCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timerCanceledEventAttributes
+  = Data.ProtoLens.Field.field @"maybe'timerCanceledEventAttributes"
+maybe'timerFiredEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timerFiredEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timerFiredEventAttributes
+  = Data.ProtoLens.Field.field @"maybe'timerFiredEventAttributes"
+maybe'timerStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timerStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timerStartedEventAttributes
+  = Data.ProtoLens.Field.field @"maybe'timerStartedEventAttributes"
+maybe'upsertWorkflowSearchAttributesEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'upsertWorkflowSearchAttributesEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'upsertWorkflowSearchAttributesEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'upsertWorkflowSearchAttributesEventAttributes"
+maybe'upsertedMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'upsertedMemo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'upsertedMemo
+  = Data.ProtoLens.Field.field @"maybe'upsertedMemo"
+maybe'userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'userMetadata
+  = Data.ProtoLens.Field.field @"maybe'userMetadata"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'versioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versioningOverride
+  = Data.ProtoLens.Field.field @"maybe'versioningOverride"
+maybe'workerVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerVersion" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerVersion
+  = Data.ProtoLens.Field.field @"maybe'workerVersion"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+maybe'workflowExecutionCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionCancelRequestedEventAttributes"
+maybe'workflowExecutionCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionCanceledEventAttributes"
+maybe'workflowExecutionCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionCompletedEventAttributes"
+maybe'workflowExecutionContinuedAsNewEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionContinuedAsNewEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionContinuedAsNewEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionContinuedAsNewEventAttributes"
+maybe'workflowExecutionExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionExpirationTime
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionExpirationTime"
+maybe'workflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionFailedEventAttributes"
+maybe'workflowExecutionOptionsUpdatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionOptionsUpdatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionOptionsUpdatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionOptionsUpdatedEventAttributes"
+maybe'workflowExecutionSignaledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionSignaledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionSignaledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionSignaledEventAttributes"
+maybe'workflowExecutionStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionStartedEventAttributes"
+maybe'workflowExecutionTerminatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTerminatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTerminatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionTerminatedEventAttributes"
+maybe'workflowExecutionTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionTimedOutEventAttributes"
+maybe'workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout"
+maybe'workflowExecutionUpdateAcceptedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionUpdateAcceptedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionUpdateAcceptedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionUpdateAcceptedEventAttributes"
+maybe'workflowExecutionUpdateAdmittedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionUpdateAdmittedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionUpdateAdmittedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionUpdateAdmittedEventAttributes"
+maybe'workflowExecutionUpdateCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionUpdateCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionUpdateCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionUpdateCompletedEventAttributes"
+maybe'workflowExecutionUpdateRejectedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionUpdateRejectedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionUpdateRejectedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionUpdateRejectedEventAttributes"
+maybe'workflowPropertiesModifiedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowPropertiesModifiedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowPropertiesModifiedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowPropertiesModifiedEventAttributes"
+maybe'workflowPropertiesModifiedExternallyEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowPropertiesModifiedExternallyEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowPropertiesModifiedExternallyEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowPropertiesModifiedExternallyEventAttributes"
+maybe'workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowRunTimeout"
+maybe'workflowTaskCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowTaskCompletedEventAttributes"
+maybe'workflowTaskFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowTaskFailedEventAttributes"
+maybe'workflowTaskScheduledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskScheduledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskScheduledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowTaskScheduledEventAttributes"
+maybe'workflowTaskStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowTaskStartedEventAttributes"
+maybe'workflowTaskTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowTaskTimedOutEventAttributes"
+maybe'workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout"
+maybe'workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowType
+  = Data.ProtoLens.Field.field @"maybe'workflowType"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+meta ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "meta" a) =>
+  Lens.Family2.LensLike' f s a
+meta = Data.ProtoLens.Field.field @"meta"
+meteringMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "meteringMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+meteringMetadata = Data.ProtoLens.Field.field @"meteringMetadata"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+namespaceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespaceId" a) =>
+  Lens.Family2.LensLike' f s a
+namespaceId = Data.ProtoLens.Field.field @"namespaceId"
+newExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+newExecutionRunId = Data.ProtoLens.Field.field @"newExecutionRunId"
+newRetryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newRetryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+newRetryPolicy = Data.ProtoLens.Field.field @"newRetryPolicy"
+newRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newRunId" a) =>
+  Lens.Family2.LensLike' f s a
+newRunId = Data.ProtoLens.Field.field @"newRunId"
+newTaskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newTaskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+newTaskQueue = Data.ProtoLens.Field.field @"newTaskQueue"
+newWorkflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newWorkflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+newWorkflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"newWorkflowExecutionTimeout"
+newWorkflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newWorkflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+newWorkflowRunTimeout
+  = Data.ProtoLens.Field.field @"newWorkflowRunTimeout"
+newWorkflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newWorkflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+newWorkflowTaskTimeout
+  = Data.ProtoLens.Field.field @"newWorkflowTaskTimeout"
+nexusHeader ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusHeader" a) =>
+  Lens.Family2.LensLike' f s a
+nexusHeader = Data.ProtoLens.Field.field @"nexusHeader"
+nexusOperationCancelRequestCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationCancelRequestCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationCancelRequestCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationCancelRequestCompletedEventAttributes"
+nexusOperationCancelRequestFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationCancelRequestFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationCancelRequestFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationCancelRequestFailedEventAttributes"
+nexusOperationCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationCancelRequestedEventAttributes"
+nexusOperationCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationCanceledEventAttributes"
+nexusOperationCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationCompletedEventAttributes"
+nexusOperationFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationFailedEventAttributes
+  = Data.ProtoLens.Field.field @"nexusOperationFailedEventAttributes"
+nexusOperationScheduledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationScheduledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationScheduledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationScheduledEventAttributes"
+nexusOperationStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationStartedEventAttributes"
+nexusOperationTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusOperationTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+nexusOperationTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"nexusOperationTimedOutEventAttributes"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+operationId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationId" a) =>
+  Lens.Family2.LensLike' f s a
+operationId = Data.ProtoLens.Field.field @"operationId"
+operationToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationToken" a) =>
+  Lens.Family2.LensLike' f s a
+operationToken = Data.ProtoLens.Field.field @"operationToken"
+origin ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "origin" a) =>
+  Lens.Family2.LensLike' f s a
+origin = Data.ProtoLens.Field.field @"origin"
+originalExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "originalExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+originalExecutionRunId
+  = Data.ProtoLens.Field.field @"originalExecutionRunId"
+outcome ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "outcome" a) =>
+  Lens.Family2.LensLike' f s a
+outcome = Data.ProtoLens.Field.field @"outcome"
+parentClosePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentClosePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+parentClosePolicy = Data.ProtoLens.Field.field @"parentClosePolicy"
+parentInitiatedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentInitiatedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+parentInitiatedEventId
+  = Data.ProtoLens.Field.field @"parentInitiatedEventId"
+parentInitiatedEventVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentInitiatedEventVersion" a) =>
+  Lens.Family2.LensLike' f s a
+parentInitiatedEventVersion
+  = Data.ProtoLens.Field.field @"parentInitiatedEventVersion"
+parentPinnedWorkerDeploymentVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentPinnedWorkerDeploymentVersion" a) =>
+  Lens.Family2.LensLike' f s a
+parentPinnedWorkerDeploymentVersion
+  = Data.ProtoLens.Field.field @"parentPinnedWorkerDeploymentVersion"
+parentWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+parentWorkflowExecution
+  = Data.ProtoLens.Field.field @"parentWorkflowExecution"
+parentWorkflowNamespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentWorkflowNamespace" a) =>
+  Lens.Family2.LensLike' f s a
+parentWorkflowNamespace
+  = Data.ProtoLens.Field.field @"parentWorkflowNamespace"
+parentWorkflowNamespaceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentWorkflowNamespaceId" a) =>
+  Lens.Family2.LensLike' f s a
+parentWorkflowNamespaceId
+  = Data.ProtoLens.Field.field @"parentWorkflowNamespaceId"
+prevAutoResetPoints ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "prevAutoResetPoints" a) =>
+  Lens.Family2.LensLike' f s a
+prevAutoResetPoints
+  = Data.ProtoLens.Field.field @"prevAutoResetPoints"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+protocolInstanceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "protocolInstanceId" a) =>
+  Lens.Family2.LensLike' f s a
+protocolInstanceId
+  = Data.ProtoLens.Field.field @"protocolInstanceId"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+rejectedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejectedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+rejectedRequest = Data.ProtoLens.Field.field @"rejectedRequest"
+rejectedRequestMessageId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejectedRequestMessageId" a) =>
+  Lens.Family2.LensLike' f s a
+rejectedRequestMessageId
+  = Data.ProtoLens.Field.field @"rejectedRequestMessageId"
+rejectedRequestSequencingEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejectedRequestSequencingEventId" a) =>
+  Lens.Family2.LensLike' f s a
+rejectedRequestSequencingEventId
+  = Data.ProtoLens.Field.field @"rejectedRequestSequencingEventId"
+request ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "request" a) =>
+  Lens.Family2.LensLike' f s a
+request = Data.ProtoLens.Field.field @"request"
+requestCancelExternalWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelExternalWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelExternalWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"requestCancelExternalWorkflowExecutionFailedEventAttributes"
+requestCancelExternalWorkflowExecutionInitiatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelExternalWorkflowExecutionInitiatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelExternalWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"requestCancelExternalWorkflowExecutionInitiatedEventAttributes"
+requestId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestId" a) =>
+  Lens.Family2.LensLike' f s a
+requestId = Data.ProtoLens.Field.field @"requestId"
+requestedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+requestedEventId = Data.ProtoLens.Field.field @"requestedEventId"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+retryState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryState" a) =>
+  Lens.Family2.LensLike' f s a
+retryState = Data.ProtoLens.Field.field @"retryState"
+rootWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rootWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+rootWorkflowExecution
+  = Data.ProtoLens.Field.field @"rootWorkflowExecution"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"scheduleToStartTimeout"
+scheduledEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledEventId" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledEventId = Data.ProtoLens.Field.field @"scheduledEventId"
+sdkMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "sdkMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+sdkMetadata = Data.ProtoLens.Field.field @"sdkMetadata"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+signalExternalWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalExternalWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+signalExternalWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"signalExternalWorkflowExecutionFailedEventAttributes"
+signalExternalWorkflowExecutionInitiatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalExternalWorkflowExecutionInitiatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+signalExternalWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"signalExternalWorkflowExecutionInitiatedEventAttributes"
+signalName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalName" a) =>
+  Lens.Family2.LensLike' f s a
+signalName = Data.ProtoLens.Field.field @"signalName"
+skipGenerateWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "skipGenerateWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+skipGenerateWorkflowTask
+  = Data.ProtoLens.Field.field @"skipGenerateWorkflowTask"
+sourceVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "sourceVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+sourceVersionStamp
+  = Data.ProtoLens.Field.field @"sourceVersionStamp"
+startChildWorkflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startChildWorkflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+startChildWorkflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"startChildWorkflowExecutionFailedEventAttributes"
+startChildWorkflowExecutionInitiatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startChildWorkflowExecutionInitiatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+startChildWorkflowExecutionInitiatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"startChildWorkflowExecutionInitiatedEventAttributes"
+startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToCloseTimeout
+  = Data.ProtoLens.Field.field @"startToCloseTimeout"
+startToFireTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToFireTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToFireTimeout
+  = Data.ProtoLens.Field.field @"startToFireTimeout"
+startedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+startedEventId = Data.ProtoLens.Field.field @"startedEventId"
+suggestContinueAsNew ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "suggestContinueAsNew" a) =>
+  Lens.Family2.LensLike' f s a
+suggestContinueAsNew
+  = Data.ProtoLens.Field.field @"suggestContinueAsNew"
+taskId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "taskId" a) =>
+  Lens.Family2.LensLike' f s a
+taskId = Data.ProtoLens.Field.field @"taskId"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+timeoutType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timeoutType" a) =>
+  Lens.Family2.LensLike' f s a
+timeoutType = Data.ProtoLens.Field.field @"timeoutType"
+timerCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timerCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+timerCanceledEventAttributes
+  = Data.ProtoLens.Field.field @"timerCanceledEventAttributes"
+timerFiredEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timerFiredEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+timerFiredEventAttributes
+  = Data.ProtoLens.Field.field @"timerFiredEventAttributes"
+timerId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "timerId" a) =>
+  Lens.Family2.LensLike' f s a
+timerId = Data.ProtoLens.Field.field @"timerId"
+timerStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timerStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+timerStartedEventAttributes
+  = Data.ProtoLens.Field.field @"timerStartedEventAttributes"
+unsetVersioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "unsetVersioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+unsetVersioningOverride
+  = Data.ProtoLens.Field.field @"unsetVersioningOverride"
+upsertWorkflowSearchAttributesEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertWorkflowSearchAttributesEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+upsertWorkflowSearchAttributesEventAttributes
+  = Data.ProtoLens.Field.field
+      @"upsertWorkflowSearchAttributesEventAttributes"
+upsertedMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertedMemo" a) =>
+  Lens.Family2.LensLike' f s a
+upsertedMemo = Data.ProtoLens.Field.field @"upsertedMemo"
+useWorkflowBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "useWorkflowBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+useWorkflowBuildId
+  = Data.ProtoLens.Field.field @"useWorkflowBuildId"
+userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+userMetadata = Data.ProtoLens.Field.field @"userMetadata"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'attachedCompletionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'attachedCompletionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+vec'attachedCompletionCallbacks
+  = Data.ProtoLens.Field.field @"vec'attachedCompletionCallbacks"
+vec'completionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'completionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+vec'completionCallbacks
+  = Data.ProtoLens.Field.field @"vec'completionCallbacks"
+vec'events ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'events" a) =>
+  Lens.Family2.LensLike' f s a
+vec'events = Data.ProtoLens.Field.field @"vec'events"
+vec'links ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'links" a) =>
+  Lens.Family2.LensLike' f s a
+vec'links = Data.ProtoLens.Field.field @"vec'links"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
+versioningBehavior ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningBehavior" a) =>
+  Lens.Family2.LensLike' f s a
+versioningBehavior
+  = Data.ProtoLens.Field.field @"versioningBehavior"
+versioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+versioningOverride
+  = Data.ProtoLens.Field.field @"versioningOverride"
+workerDeploymentName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerDeploymentName" a) =>
+  Lens.Family2.LensLike' f s a
+workerDeploymentName
+  = Data.ProtoLens.Field.field @"workerDeploymentName"
+workerDeploymentVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerDeploymentVersion" a) =>
+  Lens.Family2.LensLike' f s a
+workerDeploymentVersion
+  = Data.ProtoLens.Field.field @"workerDeploymentVersion"
+workerMayIgnore ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerMayIgnore" a) =>
+  Lens.Family2.LensLike' f s a
+workerMayIgnore = Data.ProtoLens.Field.field @"workerMayIgnore"
+workerVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerVersion" a) =>
+  Lens.Family2.LensLike' f s a
+workerVersion = Data.ProtoLens.Field.field @"workerVersion"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
+workflowExecutionCancelRequestedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionCancelRequestedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionCancelRequestedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionCancelRequestedEventAttributes"
+workflowExecutionCanceledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionCanceledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionCanceledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionCanceledEventAttributes"
+workflowExecutionCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionCompletedEventAttributes"
+workflowExecutionContinuedAsNewEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionContinuedAsNewEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionContinuedAsNewEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionContinuedAsNewEventAttributes"
+workflowExecutionExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionExpirationTime
+  = Data.ProtoLens.Field.field @"workflowExecutionExpirationTime"
+workflowExecutionFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionFailedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionFailedEventAttributes"
+workflowExecutionOptionsUpdatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionOptionsUpdatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionOptionsUpdatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionOptionsUpdatedEventAttributes"
+workflowExecutionSignaledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionSignaledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionSignaledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionSignaledEventAttributes"
+workflowExecutionStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionStartedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionStartedEventAttributes"
+workflowExecutionTerminatedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTerminatedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTerminatedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionTerminatedEventAttributes"
+workflowExecutionTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimedOutEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionTimedOutEventAttributes"
+workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"workflowExecutionTimeout"
+workflowExecutionUpdateAcceptedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionUpdateAcceptedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionUpdateAcceptedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionUpdateAcceptedEventAttributes"
+workflowExecutionUpdateAdmittedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionUpdateAdmittedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionUpdateAdmittedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionUpdateAdmittedEventAttributes"
+workflowExecutionUpdateCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionUpdateCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionUpdateCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionUpdateCompletedEventAttributes"
+workflowExecutionUpdateRejectedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionUpdateRejectedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionUpdateRejectedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowExecutionUpdateRejectedEventAttributes"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowIdReusePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowIdReusePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+workflowIdReusePolicy
+  = Data.ProtoLens.Field.field @"workflowIdReusePolicy"
+workflowPropertiesModifiedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowPropertiesModifiedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowPropertiesModifiedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowPropertiesModifiedEventAttributes"
+workflowPropertiesModifiedExternallyEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowPropertiesModifiedExternallyEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowPropertiesModifiedExternallyEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowPropertiesModifiedExternallyEventAttributes"
+workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowRunTimeout
+  = Data.ProtoLens.Field.field @"workflowRunTimeout"
+workflowTaskCompletedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskCompletedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskCompletedEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowTaskCompletedEventAttributes"
+workflowTaskCompletedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskCompletedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskCompletedEventId
+  = Data.ProtoLens.Field.field @"workflowTaskCompletedEventId"
+workflowTaskFailedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskFailedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskFailedEventAttributes
+  = Data.ProtoLens.Field.field @"workflowTaskFailedEventAttributes"
+workflowTaskScheduledEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskScheduledEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskScheduledEventAttributes
+  = Data.ProtoLens.Field.field
+      @"workflowTaskScheduledEventAttributes"
+workflowTaskStartedEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskStartedEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskStartedEventAttributes
+  = Data.ProtoLens.Field.field @"workflowTaskStartedEventAttributes"
+workflowTaskTimedOutEventAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimedOutEventAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimedOutEventAttributes
+  = Data.ProtoLens.Field.field @"workflowTaskTimedOutEventAttributes"
+workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"workflowTaskTimeout"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Api/Namespace/V1/Message.hs b/src/Proto/Temporal/Api/Namespace/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Namespace/V1/Message.hs
@@ -0,0 +1,2965 @@
+{- This file was auto-generated from temporal/api/namespace/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Namespace.V1.Message (
+        BadBinaries(), BadBinaries'BinariesEntry(), BadBinaryInfo(),
+        NamespaceConfig(),
+        NamespaceConfig'CustomSearchAttributeAliasesEntry(),
+        NamespaceFilter(), NamespaceInfo(), NamespaceInfo'Capabilities(),
+        NamespaceInfo'DataEntry(), UpdateNamespaceInfo(),
+        UpdateNamespaceInfo'DataEntry()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.binaries' @:: Lens' BadBinaries (Data.Map.Map Data.Text.Text BadBinaryInfo)@ -}
+data BadBinaries
+  = BadBinaries'_constructor {_BadBinaries'binaries :: !(Data.Map.Map Data.Text.Text BadBinaryInfo),
+                              _BadBinaries'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BadBinaries where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BadBinaries "binaries" (Data.Map.Map Data.Text.Text BadBinaryInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaries'binaries
+           (\ x__ y__ -> x__ {_BadBinaries'binaries = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BadBinaries where
+  messageName _
+    = Data.Text.pack "temporal.api.namespace.v1.BadBinaries"
+  packedMessageDescriptor _
+    = "\n\
+      \\vBadBinaries\DC2P\n\
+      \\bbinaries\CAN\SOH \ETX(\v24.temporal.api.namespace.v1.BadBinaries.BinariesEntryR\bbinaries\SUBe\n\
+      \\rBinariesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2>\n\
+      \\ENQvalue\CAN\STX \SOH(\v2(.temporal.api.namespace.v1.BadBinaryInfoR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        binaries__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "binaries"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor BadBinaries'BinariesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"binaries")) ::
+              Data.ProtoLens.FieldDescriptor BadBinaries
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, binaries__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BadBinaries'_unknownFields
+        (\ x__ y__ -> x__ {_BadBinaries'_unknownFields = y__})
+  defMessage
+    = BadBinaries'_constructor
+        {_BadBinaries'binaries = Data.Map.empty,
+         _BadBinaries'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BadBinaries -> Data.ProtoLens.Encoding.Bytes.Parser BadBinaries
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: BadBinaries'BinariesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                           (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                               Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                 (Prelude.fromIntegral
+                                                                                    len)
+                                                                                 Data.ProtoLens.parseMessage)
+                                                                           "binaries"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"binaries")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BadBinaries"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage :: BadBinaries'BinariesEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"binaries") _x))))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData BadBinaries where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BadBinaries'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_BadBinaries'binaries x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.key' @:: Lens' BadBinaries'BinariesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.value' @:: Lens' BadBinaries'BinariesEntry BadBinaryInfo@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.maybe'value' @:: Lens' BadBinaries'BinariesEntry (Prelude.Maybe BadBinaryInfo)@ -}
+data BadBinaries'BinariesEntry
+  = BadBinaries'BinariesEntry'_constructor {_BadBinaries'BinariesEntry'key :: !Data.Text.Text,
+                                            _BadBinaries'BinariesEntry'value :: !(Prelude.Maybe BadBinaryInfo),
+                                            _BadBinaries'BinariesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BadBinaries'BinariesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BadBinaries'BinariesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaries'BinariesEntry'key
+           (\ x__ y__ -> x__ {_BadBinaries'BinariesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BadBinaries'BinariesEntry "value" BadBinaryInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaries'BinariesEntry'value
+           (\ x__ y__ -> x__ {_BadBinaries'BinariesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BadBinaries'BinariesEntry "maybe'value" (Prelude.Maybe BadBinaryInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaries'BinariesEntry'value
+           (\ x__ y__ -> x__ {_BadBinaries'BinariesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BadBinaries'BinariesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.namespace.v1.BadBinaries.BinariesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\rBinariesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2>\n\
+      \\ENQvalue\CAN\STX \SOH(\v2(.temporal.api.namespace.v1.BadBinaryInfoR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor BadBinaries'BinariesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor BadBinaryInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor BadBinaries'BinariesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BadBinaries'BinariesEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_BadBinaries'BinariesEntry'_unknownFields = y__})
+  defMessage
+    = BadBinaries'BinariesEntry'_constructor
+        {_BadBinaries'BinariesEntry'key = Data.ProtoLens.fieldDefault,
+         _BadBinaries'BinariesEntry'value = Prelude.Nothing,
+         _BadBinaries'BinariesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BadBinaries'BinariesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser BadBinaries'BinariesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BinariesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData BadBinaries'BinariesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BadBinaries'BinariesEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BadBinaries'BinariesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_BadBinaries'BinariesEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.reason' @:: Lens' BadBinaryInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.operator' @:: Lens' BadBinaryInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.createTime' @:: Lens' BadBinaryInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.maybe'createTime' @:: Lens' BadBinaryInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data BadBinaryInfo
+  = BadBinaryInfo'_constructor {_BadBinaryInfo'reason :: !Data.Text.Text,
+                                _BadBinaryInfo'operator :: !Data.Text.Text,
+                                _BadBinaryInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                _BadBinaryInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BadBinaryInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BadBinaryInfo "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaryInfo'reason
+           (\ x__ y__ -> x__ {_BadBinaryInfo'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BadBinaryInfo "operator" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaryInfo'operator
+           (\ x__ y__ -> x__ {_BadBinaryInfo'operator = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BadBinaryInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaryInfo'createTime
+           (\ x__ y__ -> x__ {_BadBinaryInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BadBinaryInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BadBinaryInfo'createTime
+           (\ x__ y__ -> x__ {_BadBinaryInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BadBinaryInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.namespace.v1.BadBinaryInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\rBadBinaryInfo\DC2\SYN\n\
+      \\ACKreason\CAN\SOH \SOH(\tR\ACKreason\DC2\SUB\n\
+      \\boperator\CAN\STX \SOH(\tR\boperator\DC2;\n\
+      \\vcreate_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor BadBinaryInfo
+        operator__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operator"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operator")) ::
+              Data.ProtoLens.FieldDescriptor BadBinaryInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor BadBinaryInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, reason__field_descriptor),
+           (Data.ProtoLens.Tag 2, operator__field_descriptor),
+           (Data.ProtoLens.Tag 3, createTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BadBinaryInfo'_unknownFields
+        (\ x__ y__ -> x__ {_BadBinaryInfo'_unknownFields = y__})
+  defMessage
+    = BadBinaryInfo'_constructor
+        {_BadBinaryInfo'reason = Data.ProtoLens.fieldDefault,
+         _BadBinaryInfo'operator = Data.ProtoLens.fieldDefault,
+         _BadBinaryInfo'createTime = Prelude.Nothing,
+         _BadBinaryInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BadBinaryInfo -> Data.ProtoLens.Encoding.Bytes.Parser BadBinaryInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operator"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operator") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BadBinaryInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operator") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData BadBinaryInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BadBinaryInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BadBinaryInfo'reason x__)
+                (Control.DeepSeq.deepseq
+                   (_BadBinaryInfo'operator x__)
+                   (Control.DeepSeq.deepseq (_BadBinaryInfo'createTime x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.workflowExecutionRetentionTtl' @:: Lens' NamespaceConfig Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.maybe'workflowExecutionRetentionTtl' @:: Lens' NamespaceConfig (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.badBinaries' @:: Lens' NamespaceConfig BadBinaries@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.maybe'badBinaries' @:: Lens' NamespaceConfig (Prelude.Maybe BadBinaries)@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.historyArchivalState' @:: Lens' NamespaceConfig Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.historyArchivalUri' @:: Lens' NamespaceConfig Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.visibilityArchivalState' @:: Lens' NamespaceConfig Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.visibilityArchivalUri' @:: Lens' NamespaceConfig Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.customSearchAttributeAliases' @:: Lens' NamespaceConfig (Data.Map.Map Data.Text.Text Data.Text.Text)@ -}
+data NamespaceConfig
+  = NamespaceConfig'_constructor {_NamespaceConfig'workflowExecutionRetentionTtl :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                  _NamespaceConfig'badBinaries :: !(Prelude.Maybe BadBinaries),
+                                  _NamespaceConfig'historyArchivalState :: !Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState,
+                                  _NamespaceConfig'historyArchivalUri :: !Data.Text.Text,
+                                  _NamespaceConfig'visibilityArchivalState :: !Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState,
+                                  _NamespaceConfig'visibilityArchivalUri :: !Data.Text.Text,
+                                  _NamespaceConfig'customSearchAttributeAliases :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                  _NamespaceConfig'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceConfig where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceConfig "workflowExecutionRetentionTtl" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'workflowExecutionRetentionTtl
+           (\ x__ y__
+              -> x__ {_NamespaceConfig'workflowExecutionRetentionTtl = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NamespaceConfig "maybe'workflowExecutionRetentionTtl" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'workflowExecutionRetentionTtl
+           (\ x__ y__
+              -> x__ {_NamespaceConfig'workflowExecutionRetentionTtl = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig "badBinaries" BadBinaries where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'badBinaries
+           (\ x__ y__ -> x__ {_NamespaceConfig'badBinaries = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NamespaceConfig "maybe'badBinaries" (Prelude.Maybe BadBinaries) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'badBinaries
+           (\ x__ y__ -> x__ {_NamespaceConfig'badBinaries = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig "historyArchivalState" Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'historyArchivalState
+           (\ x__ y__ -> x__ {_NamespaceConfig'historyArchivalState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig "historyArchivalUri" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'historyArchivalUri
+           (\ x__ y__ -> x__ {_NamespaceConfig'historyArchivalUri = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig "visibilityArchivalState" Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'visibilityArchivalState
+           (\ x__ y__
+              -> x__ {_NamespaceConfig'visibilityArchivalState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig "visibilityArchivalUri" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'visibilityArchivalUri
+           (\ x__ y__ -> x__ {_NamespaceConfig'visibilityArchivalUri = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig "customSearchAttributeAliases" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'customSearchAttributeAliases
+           (\ x__ y__
+              -> x__ {_NamespaceConfig'customSearchAttributeAliases = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceConfig where
+  messageName _
+    = Data.Text.pack "temporal.api.namespace.v1.NamespaceConfig"
+  packedMessageDescriptor _
+    = "\n\
+      \\SINamespaceConfig\DC2b\n\
+      \ workflow_execution_retention_ttl\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\GSworkflowExecutionRetentionTtl\DC2I\n\
+      \\fbad_binaries\CAN\STX \SOH(\v2&.temporal.api.namespace.v1.BadBinariesR\vbadBinaries\DC2Z\n\
+      \\SYNhistory_archival_state\CAN\ETX \SOH(\SO2$.temporal.api.enums.v1.ArchivalStateR\DC4historyArchivalState\DC20\n\
+      \\DC4history_archival_uri\CAN\EOT \SOH(\tR\DC2historyArchivalUri\DC2`\n\
+      \\EMvisibility_archival_state\CAN\ENQ \SOH(\SO2$.temporal.api.enums.v1.ArchivalStateR\ETBvisibilityArchivalState\DC26\n\
+      \\ETBvisibility_archival_uri\CAN\ACK \SOH(\tR\NAKvisibilityArchivalUri\DC2\147\SOH\n\
+      \\UScustom_search_attribute_aliases\CAN\a \ETX(\v2L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntryR\FScustomSearchAttributeAliases\SUBO\n\
+      \!CustomSearchAttributeAliasesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowExecutionRetentionTtl__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_retention_ttl"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionRetentionTtl")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+        badBinaries__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "bad_binaries"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor BadBinaries)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'badBinaries")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+        historyArchivalState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_archival_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historyArchivalState")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+        historyArchivalUri__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_archival_uri"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historyArchivalUri")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+        visibilityArchivalState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "visibility_archival_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.ArchivalState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"visibilityArchivalState")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+        visibilityArchivalUri__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "visibility_archival_uri"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"visibilityArchivalUri")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+        customSearchAttributeAliases__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "custom_search_attribute_aliases"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NamespaceConfig'CustomSearchAttributeAliasesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"customSearchAttributeAliases")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            workflowExecutionRetentionTtl__field_descriptor),
+           (Data.ProtoLens.Tag 2, badBinaries__field_descriptor),
+           (Data.ProtoLens.Tag 3, historyArchivalState__field_descriptor),
+           (Data.ProtoLens.Tag 4, historyArchivalUri__field_descriptor),
+           (Data.ProtoLens.Tag 5, visibilityArchivalState__field_descriptor),
+           (Data.ProtoLens.Tag 6, visibilityArchivalUri__field_descriptor),
+           (Data.ProtoLens.Tag 7, 
+            customSearchAttributeAliases__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceConfig'_unknownFields
+        (\ x__ y__ -> x__ {_NamespaceConfig'_unknownFields = y__})
+  defMessage
+    = NamespaceConfig'_constructor
+        {_NamespaceConfig'workflowExecutionRetentionTtl = Prelude.Nothing,
+         _NamespaceConfig'badBinaries = Prelude.Nothing,
+         _NamespaceConfig'historyArchivalState = Data.ProtoLens.fieldDefault,
+         _NamespaceConfig'historyArchivalUri = Data.ProtoLens.fieldDefault,
+         _NamespaceConfig'visibilityArchivalState = Data.ProtoLens.fieldDefault,
+         _NamespaceConfig'visibilityArchivalUri = Data.ProtoLens.fieldDefault,
+         _NamespaceConfig'customSearchAttributeAliases = Data.Map.empty,
+         _NamespaceConfig'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceConfig
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceConfig
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_retention_ttl"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionRetentionTtl") y
+                                     x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "bad_binaries"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"badBinaries") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "history_archival_state"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historyArchivalState") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "history_archival_uri"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historyArchivalUri") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "visibility_archival_state"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"visibilityArchivalState") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "visibility_archival_uri"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"visibilityArchivalUri") y x)
+                        58
+                          -> do !(entry :: NamespaceConfig'CustomSearchAttributeAliasesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                   (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                       Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                         (Prelude.fromIntegral
+                                                                                                            len)
+                                                                                                         Data.ProtoLens.parseMessage)
+                                                                                                   "custom_search_attribute_aliases"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"customSearchAttributeAliases")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceConfig"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'workflowExecutionRetentionTtl")
+                    _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'badBinaries") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"historyArchivalState") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"historyArchivalUri") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"visibilityArchivalState") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"visibilityArchivalUri") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            ((Data.Monoid.<>)
+                               (Data.Monoid.mconcat
+                                  (Prelude.map
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"key")
+                                                   (Prelude.fst _v)
+                                                   (Lens.Family2.set
+                                                      (Data.ProtoLens.Field.field @"value")
+                                                      (Prelude.snd _v)
+                                                      (Data.ProtoLens.defMessage ::
+                                                         NamespaceConfig'CustomSearchAttributeAliasesEntry)))))
+                                     (Data.Map.toList
+                                        (Lens.Family2.view
+                                           (Data.ProtoLens.Field.field
+                                              @"customSearchAttributeAliases")
+                                           _x))))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData NamespaceConfig where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceConfig'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceConfig'workflowExecutionRetentionTtl x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceConfig'badBinaries x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespaceConfig'historyArchivalState x__)
+                      (Control.DeepSeq.deepseq
+                         (_NamespaceConfig'historyArchivalUri x__)
+                         (Control.DeepSeq.deepseq
+                            (_NamespaceConfig'visibilityArchivalState x__)
+                            (Control.DeepSeq.deepseq
+                               (_NamespaceConfig'visibilityArchivalUri x__)
+                               (Control.DeepSeq.deepseq
+                                  (_NamespaceConfig'customSearchAttributeAliases x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.key' @:: Lens' NamespaceConfig'CustomSearchAttributeAliasesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.value' @:: Lens' NamespaceConfig'CustomSearchAttributeAliasesEntry Data.Text.Text@ -}
+data NamespaceConfig'CustomSearchAttributeAliasesEntry
+  = NamespaceConfig'CustomSearchAttributeAliasesEntry'_constructor {_NamespaceConfig'CustomSearchAttributeAliasesEntry'key :: !Data.Text.Text,
+                                                                    _NamespaceConfig'CustomSearchAttributeAliasesEntry'value :: !Data.Text.Text,
+                                                                    _NamespaceConfig'CustomSearchAttributeAliasesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceConfig'CustomSearchAttributeAliasesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceConfig'CustomSearchAttributeAliasesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'CustomSearchAttributeAliasesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_NamespaceConfig'CustomSearchAttributeAliasesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceConfig'CustomSearchAttributeAliasesEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceConfig'CustomSearchAttributeAliasesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_NamespaceConfig'CustomSearchAttributeAliasesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceConfig'CustomSearchAttributeAliasesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \!CustomSearchAttributeAliasesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig'CustomSearchAttributeAliasesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceConfig'CustomSearchAttributeAliasesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceConfig'CustomSearchAttributeAliasesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_NamespaceConfig'CustomSearchAttributeAliasesEntry'_unknownFields = y__})
+  defMessage
+    = NamespaceConfig'CustomSearchAttributeAliasesEntry'_constructor
+        {_NamespaceConfig'CustomSearchAttributeAliasesEntry'key = Data.ProtoLens.fieldDefault,
+         _NamespaceConfig'CustomSearchAttributeAliasesEntry'value = Data.ProtoLens.fieldDefault,
+         _NamespaceConfig'CustomSearchAttributeAliasesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceConfig'CustomSearchAttributeAliasesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceConfig'CustomSearchAttributeAliasesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "CustomSearchAttributeAliasesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NamespaceConfig'CustomSearchAttributeAliasesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceConfig'CustomSearchAttributeAliasesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceConfig'CustomSearchAttributeAliasesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceConfig'CustomSearchAttributeAliasesEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.includeDeleted' @:: Lens' NamespaceFilter Prelude.Bool@ -}
+data NamespaceFilter
+  = NamespaceFilter'_constructor {_NamespaceFilter'includeDeleted :: !Prelude.Bool,
+                                  _NamespaceFilter'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceFilter where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceFilter "includeDeleted" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceFilter'includeDeleted
+           (\ x__ y__ -> x__ {_NamespaceFilter'includeDeleted = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceFilter where
+  messageName _
+    = Data.Text.pack "temporal.api.namespace.v1.NamespaceFilter"
+  packedMessageDescriptor _
+    = "\n\
+      \\SINamespaceFilter\DC2'\n\
+      \\SIinclude_deleted\CAN\SOH \SOH(\bR\SOincludeDeleted"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        includeDeleted__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "include_deleted"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"includeDeleted")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceFilter
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, includeDeleted__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceFilter'_unknownFields
+        (\ x__ y__ -> x__ {_NamespaceFilter'_unknownFields = y__})
+  defMessage
+    = NamespaceFilter'_constructor
+        {_NamespaceFilter'includeDeleted = Data.ProtoLens.fieldDefault,
+         _NamespaceFilter'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceFilter
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceFilter
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "include_deleted"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"includeDeleted") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceFilter"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"includeDeleted") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                         _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NamespaceFilter where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceFilter'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_NamespaceFilter'includeDeleted x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.name' @:: Lens' NamespaceInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.state' @:: Lens' NamespaceInfo Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.description' @:: Lens' NamespaceInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.ownerEmail' @:: Lens' NamespaceInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.data'' @:: Lens' NamespaceInfo (Data.Map.Map Data.Text.Text Data.Text.Text)@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.id' @:: Lens' NamespaceInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.capabilities' @:: Lens' NamespaceInfo NamespaceInfo'Capabilities@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.maybe'capabilities' @:: Lens' NamespaceInfo (Prelude.Maybe NamespaceInfo'Capabilities)@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.supportsSchedules' @:: Lens' NamespaceInfo Prelude.Bool@ -}
+data NamespaceInfo
+  = NamespaceInfo'_constructor {_NamespaceInfo'name :: !Data.Text.Text,
+                                _NamespaceInfo'state :: !Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState,
+                                _NamespaceInfo'description :: !Data.Text.Text,
+                                _NamespaceInfo'ownerEmail :: !Data.Text.Text,
+                                _NamespaceInfo'data' :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                _NamespaceInfo'id :: !Data.Text.Text,
+                                _NamespaceInfo'capabilities :: !(Prelude.Maybe NamespaceInfo'Capabilities),
+                                _NamespaceInfo'supportsSchedules :: !Prelude.Bool,
+                                _NamespaceInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceInfo "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'name (\ x__ y__ -> x__ {_NamespaceInfo'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "state" Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'state
+           (\ x__ y__ -> x__ {_NamespaceInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "description" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'description
+           (\ x__ y__ -> x__ {_NamespaceInfo'description = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "ownerEmail" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'ownerEmail
+           (\ x__ y__ -> x__ {_NamespaceInfo'ownerEmail = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "data'" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'data'
+           (\ x__ y__ -> x__ {_NamespaceInfo'data' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'id (\ x__ y__ -> x__ {_NamespaceInfo'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "capabilities" NamespaceInfo'Capabilities where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'capabilities
+           (\ x__ y__ -> x__ {_NamespaceInfo'capabilities = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NamespaceInfo "maybe'capabilities" (Prelude.Maybe NamespaceInfo'Capabilities) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'capabilities
+           (\ x__ y__ -> x__ {_NamespaceInfo'capabilities = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo "supportsSchedules" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'supportsSchedules
+           (\ x__ y__ -> x__ {_NamespaceInfo'supportsSchedules = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.namespace.v1.NamespaceInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\rNamespaceInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2;\n\
+      \\ENQstate\CAN\STX \SOH(\SO2%.temporal.api.enums.v1.NamespaceStateR\ENQstate\DC2 \n\
+      \\vdescription\CAN\ETX \SOH(\tR\vdescription\DC2\US\n\
+      \\vowner_email\CAN\EOT \SOH(\tR\n\
+      \ownerEmail\DC2F\n\
+      \\EOTdata\CAN\ENQ \ETX(\v22.temporal.api.namespace.v1.NamespaceInfo.DataEntryR\EOTdata\DC2\SO\n\
+      \\STXid\CAN\ACK \SOH(\tR\STXid\DC2Y\n\
+      \\fcapabilities\CAN\a \SOH(\v25.temporal.api.namespace.v1.NamespaceInfo.CapabilitiesR\fcapabilities\DC2-\n\
+      \\DC2supports_schedules\CANd \SOH(\bR\DC1supportsSchedules\SUB7\n\
+      \\tDataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\SUB\132\SOH\n\
+      \\fCapabilities\DC20\n\
+      \\DC4eager_workflow_start\CAN\SOH \SOH(\bR\DC2eagerWorkflowStart\DC2\US\n\
+      \\vsync_update\CAN\STX \SOH(\bR\n\
+      \syncUpdate\DC2!\n\
+      \\fasync_update\CAN\ETX \SOH(\bR\vasyncUpdate"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        description__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "description"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"description")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        ownerEmail__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "owner_email"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"ownerEmail")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        data'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "data"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NamespaceInfo'DataEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"data'")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        capabilities__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "capabilities"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NamespaceInfo'Capabilities)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'capabilities")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+        supportsSchedules__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "supports_schedules"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"supportsSchedules")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, state__field_descriptor),
+           (Data.ProtoLens.Tag 3, description__field_descriptor),
+           (Data.ProtoLens.Tag 4, ownerEmail__field_descriptor),
+           (Data.ProtoLens.Tag 5, data'__field_descriptor),
+           (Data.ProtoLens.Tag 6, id__field_descriptor),
+           (Data.ProtoLens.Tag 7, capabilities__field_descriptor),
+           (Data.ProtoLens.Tag 100, supportsSchedules__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceInfo'_unknownFields
+        (\ x__ y__ -> x__ {_NamespaceInfo'_unknownFields = y__})
+  defMessage
+    = NamespaceInfo'_constructor
+        {_NamespaceInfo'name = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'state = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'description = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'ownerEmail = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'data' = Data.Map.empty,
+         _NamespaceInfo'id = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'capabilities = Prelude.Nothing,
+         _NamespaceInfo'supportsSchedules = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceInfo -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "description"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"description") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "owner_email"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"ownerEmail") y x)
+                        42
+                          -> do !(entry :: NamespaceInfo'DataEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                         (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                             Data.ProtoLens.Encoding.Bytes.isolate
+                                                                               (Prelude.fromIntegral
+                                                                                  len)
+                                                                               Data.ProtoLens.parseMessage)
+                                                                         "data"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"data'")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "capabilities"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"capabilities") y x)
+                        800
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "supports_schedules"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"supportsSchedules") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespaceInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"description") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"ownerEmail") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (Data.Monoid.mconcat
+                            (Prelude.map
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"value")
+                                                (Prelude.snd _v)
+                                                (Data.ProtoLens.defMessage ::
+                                                   NamespaceInfo'DataEntry)))))
+                               (Data.Map.toList
+                                  (Lens.Family2.view (Data.ProtoLens.Field.field @"data'") _x))))
+                         ((Data.Monoid.<>)
+                            (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'capabilities") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"supportsSchedules") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 800)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (\ b -> if b then 1 else 0) _v))
+                                  (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                     (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))
+instance Control.DeepSeq.NFData NamespaceInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceInfo'name x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceInfo'state x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespaceInfo'description x__)
+                      (Control.DeepSeq.deepseq
+                         (_NamespaceInfo'ownerEmail x__)
+                         (Control.DeepSeq.deepseq
+                            (_NamespaceInfo'data' x__)
+                            (Control.DeepSeq.deepseq
+                               (_NamespaceInfo'id x__)
+                               (Control.DeepSeq.deepseq
+                                  (_NamespaceInfo'capabilities x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_NamespaceInfo'supportsSchedules x__) ()))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.eagerWorkflowStart' @:: Lens' NamespaceInfo'Capabilities Prelude.Bool@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.syncUpdate' @:: Lens' NamespaceInfo'Capabilities Prelude.Bool@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.asyncUpdate' @:: Lens' NamespaceInfo'Capabilities Prelude.Bool@ -}
+data NamespaceInfo'Capabilities
+  = NamespaceInfo'Capabilities'_constructor {_NamespaceInfo'Capabilities'eagerWorkflowStart :: !Prelude.Bool,
+                                             _NamespaceInfo'Capabilities'syncUpdate :: !Prelude.Bool,
+                                             _NamespaceInfo'Capabilities'asyncUpdate :: !Prelude.Bool,
+                                             _NamespaceInfo'Capabilities'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceInfo'Capabilities where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceInfo'Capabilities "eagerWorkflowStart" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'Capabilities'eagerWorkflowStart
+           (\ x__ y__
+              -> x__ {_NamespaceInfo'Capabilities'eagerWorkflowStart = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo'Capabilities "syncUpdate" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'Capabilities'syncUpdate
+           (\ x__ y__ -> x__ {_NamespaceInfo'Capabilities'syncUpdate = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo'Capabilities "asyncUpdate" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'Capabilities'asyncUpdate
+           (\ x__ y__ -> x__ {_NamespaceInfo'Capabilities'asyncUpdate = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceInfo'Capabilities where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.namespace.v1.NamespaceInfo.Capabilities"
+  packedMessageDescriptor _
+    = "\n\
+      \\fCapabilities\DC20\n\
+      \\DC4eager_workflow_start\CAN\SOH \SOH(\bR\DC2eagerWorkflowStart\DC2\US\n\
+      \\vsync_update\CAN\STX \SOH(\bR\n\
+      \syncUpdate\DC2!\n\
+      \\fasync_update\CAN\ETX \SOH(\bR\vasyncUpdate"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        eagerWorkflowStart__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "eager_workflow_start"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"eagerWorkflowStart")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo'Capabilities
+        syncUpdate__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sync_update"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"syncUpdate")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo'Capabilities
+        asyncUpdate__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "async_update"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"asyncUpdate")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo'Capabilities
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, eagerWorkflowStart__field_descriptor),
+           (Data.ProtoLens.Tag 2, syncUpdate__field_descriptor),
+           (Data.ProtoLens.Tag 3, asyncUpdate__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceInfo'Capabilities'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespaceInfo'Capabilities'_unknownFields = y__})
+  defMessage
+    = NamespaceInfo'Capabilities'_constructor
+        {_NamespaceInfo'Capabilities'eagerWorkflowStart = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'Capabilities'syncUpdate = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'Capabilities'asyncUpdate = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'Capabilities'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceInfo'Capabilities
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceInfo'Capabilities
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "eager_workflow_start"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"eagerWorkflowStart") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "sync_update"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"syncUpdate") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "async_update"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"asyncUpdate") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Capabilities"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"eagerWorkflowStart") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                         _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"syncUpdate") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"asyncUpdate") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NamespaceInfo'Capabilities where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceInfo'Capabilities'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceInfo'Capabilities'eagerWorkflowStart x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceInfo'Capabilities'syncUpdate x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespaceInfo'Capabilities'asyncUpdate x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.key' @:: Lens' NamespaceInfo'DataEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.value' @:: Lens' NamespaceInfo'DataEntry Data.Text.Text@ -}
+data NamespaceInfo'DataEntry
+  = NamespaceInfo'DataEntry'_constructor {_NamespaceInfo'DataEntry'key :: !Data.Text.Text,
+                                          _NamespaceInfo'DataEntry'value :: !Data.Text.Text,
+                                          _NamespaceInfo'DataEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceInfo'DataEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceInfo'DataEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'DataEntry'key
+           (\ x__ y__ -> x__ {_NamespaceInfo'DataEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceInfo'DataEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceInfo'DataEntry'value
+           (\ x__ y__ -> x__ {_NamespaceInfo'DataEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceInfo'DataEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.namespace.v1.NamespaceInfo.DataEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\tDataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo'DataEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceInfo'DataEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceInfo'DataEntry'_unknownFields
+        (\ x__ y__ -> x__ {_NamespaceInfo'DataEntry'_unknownFields = y__})
+  defMessage
+    = NamespaceInfo'DataEntry'_constructor
+        {_NamespaceInfo'DataEntry'key = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'DataEntry'value = Data.ProtoLens.fieldDefault,
+         _NamespaceInfo'DataEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceInfo'DataEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceInfo'DataEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DataEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NamespaceInfo'DataEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceInfo'DataEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceInfo'DataEntry'key x__)
+                (Control.DeepSeq.deepseq (_NamespaceInfo'DataEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.description' @:: Lens' UpdateNamespaceInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.ownerEmail' @:: Lens' UpdateNamespaceInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.data'' @:: Lens' UpdateNamespaceInfo (Data.Map.Map Data.Text.Text Data.Text.Text)@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.state' @:: Lens' UpdateNamespaceInfo Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState@ -}
+data UpdateNamespaceInfo
+  = UpdateNamespaceInfo'_constructor {_UpdateNamespaceInfo'description :: !Data.Text.Text,
+                                      _UpdateNamespaceInfo'ownerEmail :: !Data.Text.Text,
+                                      _UpdateNamespaceInfo'data' :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                      _UpdateNamespaceInfo'state :: !Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState,
+                                      _UpdateNamespaceInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateNamespaceInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateNamespaceInfo "description" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNamespaceInfo'description
+           (\ x__ y__ -> x__ {_UpdateNamespaceInfo'description = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateNamespaceInfo "ownerEmail" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNamespaceInfo'ownerEmail
+           (\ x__ y__ -> x__ {_UpdateNamespaceInfo'ownerEmail = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateNamespaceInfo "data'" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNamespaceInfo'data'
+           (\ x__ y__ -> x__ {_UpdateNamespaceInfo'data' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateNamespaceInfo "state" Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNamespaceInfo'state
+           (\ x__ y__ -> x__ {_UpdateNamespaceInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateNamespaceInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.namespace.v1.UpdateNamespaceInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3UpdateNamespaceInfo\DC2 \n\
+      \\vdescription\CAN\SOH \SOH(\tR\vdescription\DC2\US\n\
+      \\vowner_email\CAN\STX \SOH(\tR\n\
+      \ownerEmail\DC2L\n\
+      \\EOTdata\CAN\ETX \ETX(\v28.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntryR\EOTdata\DC2;\n\
+      \\ENQstate\CAN\EOT \SOH(\SO2%.temporal.api.enums.v1.NamespaceStateR\ENQstate\SUB7\n\
+      \\tDataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        description__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "description"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"description")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNamespaceInfo
+        ownerEmail__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "owner_email"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"ownerEmail")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNamespaceInfo
+        data'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "data"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpdateNamespaceInfo'DataEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"data'")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNamespaceInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.NamespaceState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNamespaceInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, description__field_descriptor),
+           (Data.ProtoLens.Tag 2, ownerEmail__field_descriptor),
+           (Data.ProtoLens.Tag 3, data'__field_descriptor),
+           (Data.ProtoLens.Tag 4, state__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateNamespaceInfo'_unknownFields
+        (\ x__ y__ -> x__ {_UpdateNamespaceInfo'_unknownFields = y__})
+  defMessage
+    = UpdateNamespaceInfo'_constructor
+        {_UpdateNamespaceInfo'description = Data.ProtoLens.fieldDefault,
+         _UpdateNamespaceInfo'ownerEmail = Data.ProtoLens.fieldDefault,
+         _UpdateNamespaceInfo'data' = Data.Map.empty,
+         _UpdateNamespaceInfo'state = Data.ProtoLens.fieldDefault,
+         _UpdateNamespaceInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateNamespaceInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateNamespaceInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "description"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"description") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "owner_email"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"ownerEmail") y x)
+                        26
+                          -> do !(entry :: UpdateNamespaceInfo'DataEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                               (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                   Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                     (Prelude.fromIntegral
+                                                                                        len)
+                                                                                     Data.ProtoLens.parseMessage)
+                                                                               "data"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"data'")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpdateNamespaceInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"description") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"ownerEmail") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.Monoid.mconcat
+                      (Prelude.map
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                          (Data.ProtoLens.defMessage ::
+                                             UpdateNamespaceInfo'DataEntry)))))
+                         (Data.Map.toList
+                            (Lens.Family2.view (Data.ProtoLens.Field.field @"data'") _x))))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  Prelude.fromEnum _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData UpdateNamespaceInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateNamespaceInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateNamespaceInfo'description x__)
+                (Control.DeepSeq.deepseq
+                   (_UpdateNamespaceInfo'ownerEmail x__)
+                   (Control.DeepSeq.deepseq
+                      (_UpdateNamespaceInfo'data' x__)
+                      (Control.DeepSeq.deepseq (_UpdateNamespaceInfo'state x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.key' @:: Lens' UpdateNamespaceInfo'DataEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Namespace.V1.Message_Fields.value' @:: Lens' UpdateNamespaceInfo'DataEntry Data.Text.Text@ -}
+data UpdateNamespaceInfo'DataEntry
+  = UpdateNamespaceInfo'DataEntry'_constructor {_UpdateNamespaceInfo'DataEntry'key :: !Data.Text.Text,
+                                                _UpdateNamespaceInfo'DataEntry'value :: !Data.Text.Text,
+                                                _UpdateNamespaceInfo'DataEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateNamespaceInfo'DataEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateNamespaceInfo'DataEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNamespaceInfo'DataEntry'key
+           (\ x__ y__ -> x__ {_UpdateNamespaceInfo'DataEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateNamespaceInfo'DataEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNamespaceInfo'DataEntry'value
+           (\ x__ y__ -> x__ {_UpdateNamespaceInfo'DataEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateNamespaceInfo'DataEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\tDataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNamespaceInfo'DataEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNamespaceInfo'DataEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateNamespaceInfo'DataEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_UpdateNamespaceInfo'DataEntry'_unknownFields = y__})
+  defMessage
+    = UpdateNamespaceInfo'DataEntry'_constructor
+        {_UpdateNamespaceInfo'DataEntry'key = Data.ProtoLens.fieldDefault,
+         _UpdateNamespaceInfo'DataEntry'value = Data.ProtoLens.fieldDefault,
+         _UpdateNamespaceInfo'DataEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateNamespaceInfo'DataEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateNamespaceInfo'DataEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DataEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpdateNamespaceInfo'DataEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateNamespaceInfo'DataEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateNamespaceInfo'DataEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_UpdateNamespaceInfo'DataEntry'value x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \'temporal/api/namespace/v1/message.proto\DC2\EMtemporal.api.namespace.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB%temporal/api/enums/v1/namespace.proto\"\197\EOT\n\
+    \\rNamespaceInfo\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2;\n\
+    \\ENQstate\CAN\STX \SOH(\SO2%.temporal.api.enums.v1.NamespaceStateR\ENQstate\DC2 \n\
+    \\vdescription\CAN\ETX \SOH(\tR\vdescription\DC2\US\n\
+    \\vowner_email\CAN\EOT \SOH(\tR\n\
+    \ownerEmail\DC2F\n\
+    \\EOTdata\CAN\ENQ \ETX(\v22.temporal.api.namespace.v1.NamespaceInfo.DataEntryR\EOTdata\DC2\SO\n\
+    \\STXid\CAN\ACK \SOH(\tR\STXid\DC2Y\n\
+    \\fcapabilities\CAN\a \SOH(\v25.temporal.api.namespace.v1.NamespaceInfo.CapabilitiesR\fcapabilities\DC2-\n\
+    \\DC2supports_schedules\CANd \SOH(\bR\DC1supportsSchedules\SUB7\n\
+    \\tDataEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\SUB\132\SOH\n\
+    \\fCapabilities\DC20\n\
+    \\DC4eager_workflow_start\CAN\SOH \SOH(\bR\DC2eagerWorkflowStart\DC2\US\n\
+    \\vsync_update\CAN\STX \SOH(\bR\n\
+    \syncUpdate\DC2!\n\
+    \\fasync_update\CAN\ETX \SOH(\bR\vasyncUpdate\"\207\ENQ\n\
+    \\SINamespaceConfig\DC2b\n\
+    \ workflow_execution_retention_ttl\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\GSworkflowExecutionRetentionTtl\DC2I\n\
+    \\fbad_binaries\CAN\STX \SOH(\v2&.temporal.api.namespace.v1.BadBinariesR\vbadBinaries\DC2Z\n\
+    \\SYNhistory_archival_state\CAN\ETX \SOH(\SO2$.temporal.api.enums.v1.ArchivalStateR\DC4historyArchivalState\DC20\n\
+    \\DC4history_archival_uri\CAN\EOT \SOH(\tR\DC2historyArchivalUri\DC2`\n\
+    \\EMvisibility_archival_state\CAN\ENQ \SOH(\SO2$.temporal.api.enums.v1.ArchivalStateR\ETBvisibilityArchivalState\DC26\n\
+    \\ETBvisibility_archival_uri\CAN\ACK \SOH(\tR\NAKvisibilityArchivalUri\DC2\147\SOH\n\
+    \\UScustom_search_attribute_aliases\CAN\a \ETX(\v2L.temporal.api.namespace.v1.NamespaceConfig.CustomSearchAttributeAliasesEntryR\FScustomSearchAttributeAliases\SUBO\n\
+    \!CustomSearchAttributeAliasesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"\198\SOH\n\
+    \\vBadBinaries\DC2P\n\
+    \\bbinaries\CAN\SOH \ETX(\v24.temporal.api.namespace.v1.BadBinaries.BinariesEntryR\bbinaries\SUBe\n\
+    \\rBinariesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2>\n\
+    \\ENQvalue\CAN\STX \SOH(\v2(.temporal.api.namespace.v1.BadBinaryInfoR\ENQvalue:\STX8\SOH\"\128\SOH\n\
+    \\rBadBinaryInfo\DC2\SYN\n\
+    \\ACKreason\CAN\SOH \SOH(\tR\ACKreason\DC2\SUB\n\
+    \\boperator\CAN\STX \SOH(\tR\boperator\DC2;\n\
+    \\vcreate_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\"\156\STX\n\
+    \\DC3UpdateNamespaceInfo\DC2 \n\
+    \\vdescription\CAN\SOH \SOH(\tR\vdescription\DC2\US\n\
+    \\vowner_email\CAN\STX \SOH(\tR\n\
+    \ownerEmail\DC2L\n\
+    \\EOTdata\CAN\ETX \ETX(\v28.temporal.api.namespace.v1.UpdateNamespaceInfo.DataEntryR\EOTdata\DC2;\n\
+    \\ENQstate\CAN\EOT \SOH(\SO2%.temporal.api.enums.v1.NamespaceStateR\ENQstate\SUB7\n\
+    \\tDataEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\":\n\
+    \\SINamespaceFilter\DC2'\n\
+    \\SIinclude_deleted\CAN\SOH \SOH(\bR\SOincludeDeletedB\152\SOH\n\
+    \\FSio.temporal.api.namespace.v1B\fMessageProtoP\SOHZ)go.temporal.io/api/namespace/v1;namespace\170\STX\ESCTemporalio.Api.Namespace.V1\234\STX\RSTemporalio::Api::Namespace::V1J\146\"\n\
+    \\ACK\DC2\EOT\SYN\NULl\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL@\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL@\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL5\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL7\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL7\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL8\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL8\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX$\NUL/\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT'\NUL?\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX'\b\NAK\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX(\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX(\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX(\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX(\DC2\DC3\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX)\EOT3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX)\EOT(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX)).\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX)12\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX*\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX*\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX*\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX*\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX+\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX+\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX+\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX+\EM\SUB\n\
+    \:\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX-\EOT!\SUB- A key-value map for any customized purpose.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX-\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX-\CAN\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX-\US \n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETX.\EOT\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ENQ\DC2\ETX.\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX.\v\r\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX.\DLE\DC1\n\
+    \7\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETX0\EOT\"\SUB* All capabilities the namespace supports.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX0\EOT\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX0\DC1\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX0 !\n\
+    \f\n\
+    \\EOT\EOT\NUL\ETX\SOH\DC2\EOT3\EOT:\ENQ\SUBX Namespace capability details. Should contain what features are enabled in a namespace.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\ETX\SOH\SOH\DC2\ETX3\f\CAN\n\
+    \E\n\
+    \\ACK\EOT\NUL\ETX\SOH\STX\NUL\DC2\ETX5\b&\SUB6 True if the namespace supports eager workflow start.\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\NUL\ENQ\DC2\ETX5\b\f\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\NUL\SOH\DC2\ETX5\r!\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\NUL\ETX\DC2\ETX5$%\n\
+    \;\n\
+    \\ACK\EOT\NUL\ETX\SOH\STX\SOH\DC2\ETX7\b\GS\SUB, True if the namespace supports sync update\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\SOH\ENQ\DC2\ETX7\b\f\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\SOH\SOH\DC2\ETX7\r\CAN\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\SOH\ETX\DC2\ETX7\ESC\FS\n\
+    \<\n\
+    \\ACK\EOT\NUL\ETX\SOH\STX\STX\DC2\ETX9\b\RS\SUB- True if the namespace supports async update\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\STX\ENQ\DC2\ETX9\b\f\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\STX\SOH\DC2\ETX9\r\EM\n\
+    \\SO\n\
+    \\a\EOT\NUL\ETX\SOH\STX\STX\ETX\DC2\ETX9\FS\GS\n\
+    \\174\SOH\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETX>\EOT\"\SUB\160\SOH Whether scheduled workflows are supported on this namespace. This is only needed\n\
+    \ temporarily while the feature is experimental, so we can give it a high tag.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ENQ\DC2\ETX>\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETX>\t\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETX>\RS!\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOTA\NULL\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETXA\b\ETB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETXB\EOTB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETXB\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXB\GS=\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXB@A\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETXC\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETXC\EOT\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXC\DLE\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXC\US \n\
+    \e\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETXE\EOTC\SUBX If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXE\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXE(>\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXEAB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETXF\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETXF\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXF\v\US\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXF\"#\n\
+    \e\n\
+    \\EOT\EOT\SOH\STX\EOT\DC2\ETXH\EOTF\SUBX If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\ETXH\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXH(A\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXHDE\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\ENQ\DC2\ETXI\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ENQ\DC2\ETXI\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXI\v\"\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXI%&\n\
+    \,\n\
+    \\EOT\EOT\SOH\STX\ACK\DC2\ETXK\EOT<\SUB\US Map from field name to alias.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXK\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXK\CAN7\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXK:;\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOTN\NULP\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXN\b\DC3\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXO\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXO\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXO\US'\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXO*+\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOTR\NULV\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETXR\b\NAK\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETXS\EOT\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXS\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXS\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXS\DC4\NAK\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETXT\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXT\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXT\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXT\SYN\ETB\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\STX\DC2\ETXU\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ACK\DC2\ETXU\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETXU\RS)\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETXU,-\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOTX\NULe\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXX\b\ESC\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXY\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXY\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXY\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXY\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXZ\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXZ\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXZ\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXZ\EM\SUB\n\
+    \\150\SOH\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\ETX^\EOT!\SUB\136\SOH A key-value map for any customized purpose.\n\
+    \ If data already exists on the namespace, \n\
+    \ this will merge with the existing key values. \n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ACK\DC2\ETX^\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETX^\CAN\FS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETX^\US \n\
+    \\134\STX\n\
+    \\EOT\EOT\EOT\STX\ETX\DC2\ETXd\EOT3\SUB\248\SOH New namespace state, server will reject if transition is not allowed.\n\
+    \ Allowed transitions are:\n\
+    \  Registered -> [ Deleted | Deprecated | Handover ]\n\
+    \  Handover -> [ Registered ]\n\
+    \ Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\ETXd\EOT(\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\ETXd).\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\ETXd12\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOTg\NULl\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXg\b\ETB\n\
+    \\155\STX\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXk\EOT\GS\SUB\141\STX By default namespaces in NAMESPACE_STATE_DELETED state are not included.\n\
+    \ Setting include_deleted to true will include deleted namespaces.\n\
+    \ Note: Namespace is in NAMESPACE_STATE_DELETED state when it was deleted from the system but associated data is not deleted yet.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXk\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXk\t\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXk\ESC\FSb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Namespace/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Namespace/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Namespace/V1/Message_Fields.hs
@@ -0,0 +1,214 @@
+{- This file was auto-generated from temporal/api/namespace/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Namespace.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+asyncUpdate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "asyncUpdate" a) =>
+  Lens.Family2.LensLike' f s a
+asyncUpdate = Data.ProtoLens.Field.field @"asyncUpdate"
+badBinaries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "badBinaries" a) =>
+  Lens.Family2.LensLike' f s a
+badBinaries = Data.ProtoLens.Field.field @"badBinaries"
+binaries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "binaries" a) =>
+  Lens.Family2.LensLike' f s a
+binaries = Data.ProtoLens.Field.field @"binaries"
+capabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "capabilities" a) =>
+  Lens.Family2.LensLike' f s a
+capabilities = Data.ProtoLens.Field.field @"capabilities"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+customSearchAttributeAliases ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "customSearchAttributeAliases" a) =>
+  Lens.Family2.LensLike' f s a
+customSearchAttributeAliases
+  = Data.ProtoLens.Field.field @"customSearchAttributeAliases"
+data' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "data'" a) =>
+  Lens.Family2.LensLike' f s a
+data' = Data.ProtoLens.Field.field @"data'"
+description ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "description" a) =>
+  Lens.Family2.LensLike' f s a
+description = Data.ProtoLens.Field.field @"description"
+eagerWorkflowStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eagerWorkflowStart" a) =>
+  Lens.Family2.LensLike' f s a
+eagerWorkflowStart
+  = Data.ProtoLens.Field.field @"eagerWorkflowStart"
+historyArchivalState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyArchivalState" a) =>
+  Lens.Family2.LensLike' f s a
+historyArchivalState
+  = Data.ProtoLens.Field.field @"historyArchivalState"
+historyArchivalUri ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyArchivalUri" a) =>
+  Lens.Family2.LensLike' f s a
+historyArchivalUri
+  = Data.ProtoLens.Field.field @"historyArchivalUri"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+includeDeleted ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "includeDeleted" a) =>
+  Lens.Family2.LensLike' f s a
+includeDeleted = Data.ProtoLens.Field.field @"includeDeleted"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+maybe'badBinaries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'badBinaries" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'badBinaries = Data.ProtoLens.Field.field @"maybe'badBinaries"
+maybe'capabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'capabilities" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'capabilities
+  = Data.ProtoLens.Field.field @"maybe'capabilities"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'workflowExecutionRetentionTtl ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionRetentionTtl" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionRetentionTtl
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionRetentionTtl"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+operator ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operator" a) =>
+  Lens.Family2.LensLike' f s a
+operator = Data.ProtoLens.Field.field @"operator"
+ownerEmail ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ownerEmail" a) =>
+  Lens.Family2.LensLike' f s a
+ownerEmail = Data.ProtoLens.Field.field @"ownerEmail"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+supportsSchedules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "supportsSchedules" a) =>
+  Lens.Family2.LensLike' f s a
+supportsSchedules = Data.ProtoLens.Field.field @"supportsSchedules"
+syncUpdate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "syncUpdate" a) =>
+  Lens.Family2.LensLike' f s a
+syncUpdate = Data.ProtoLens.Field.field @"syncUpdate"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+visibilityArchivalState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityArchivalState" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityArchivalState
+  = Data.ProtoLens.Field.field @"visibilityArchivalState"
+visibilityArchivalUri ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityArchivalUri" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityArchivalUri
+  = Data.ProtoLens.Field.field @"visibilityArchivalUri"
+workflowExecutionRetentionTtl ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionRetentionTtl" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionRetentionTtl
+  = Data.ProtoLens.Field.field @"workflowExecutionRetentionTtl"
diff --git a/src/Proto/Temporal/Api/Nexus/V1/Message.hs b/src/Proto/Temporal/Api/Nexus/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Nexus/V1/Message.hs
@@ -0,0 +1,5197 @@
+{- This file was auto-generated from temporal/api/nexus/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Nexus.V1.Message (
+        CancelOperationRequest(), CancelOperationResponse(), Endpoint(),
+        EndpointSpec(), EndpointTarget(), EndpointTarget'Variant(..),
+        _EndpointTarget'Worker', _EndpointTarget'External',
+        EndpointTarget'External(), EndpointTarget'Worker(), Failure(),
+        Failure'MetadataEntry(), HandlerError(), Link(), Request(),
+        Request'Variant(..), _Request'StartOperation,
+        _Request'CancelOperation, Request'HeaderEntry(), Response(),
+        Response'Variant(..), _Response'StartOperation,
+        _Response'CancelOperation, StartOperationRequest(),
+        StartOperationRequest'CallbackHeaderEntry(),
+        StartOperationResponse(), StartOperationResponse'Variant(..),
+        _StartOperationResponse'SyncSuccess,
+        _StartOperationResponse'AsyncSuccess,
+        _StartOperationResponse'OperationError,
+        StartOperationResponse'Async(), StartOperationResponse'Sync(),
+        UnsuccessfulOperationError()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Nexus
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.service' @:: Lens' CancelOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operation' @:: Lens' CancelOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operationId' @:: Lens' CancelOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operationToken' @:: Lens' CancelOperationRequest Data.Text.Text@ -}
+data CancelOperationRequest
+  = CancelOperationRequest'_constructor {_CancelOperationRequest'service :: !Data.Text.Text,
+                                         _CancelOperationRequest'operation :: !Data.Text.Text,
+                                         _CancelOperationRequest'operationId :: !Data.Text.Text,
+                                         _CancelOperationRequest'operationToken :: !Data.Text.Text,
+                                         _CancelOperationRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelOperationRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelOperationRequest "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelOperationRequest'service
+           (\ x__ y__ -> x__ {_CancelOperationRequest'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CancelOperationRequest "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelOperationRequest'operation
+           (\ x__ y__ -> x__ {_CancelOperationRequest'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CancelOperationRequest "operationId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelOperationRequest'operationId
+           (\ x__ y__ -> x__ {_CancelOperationRequest'operationId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CancelOperationRequest "operationToken" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelOperationRequest'operationToken
+           (\ x__ y__ -> x__ {_CancelOperationRequest'operationToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelOperationRequest where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.CancelOperationRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNCancelOperationRequest\DC2\CAN\n\
+      \\aservice\CAN\SOH \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\STX \SOH(\tR\toperation\DC2!\n\
+      \\foperation_id\CAN\ETX \SOH(\tR\voperationId\DC2'\n\
+      \\SIoperation_token\CAN\EOT \SOH(\tR\SOoperationToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor CancelOperationRequest
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor CancelOperationRequest
+        operationId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationId")) ::
+              Data.ProtoLens.FieldDescriptor CancelOperationRequest
+        operationToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationToken")) ::
+              Data.ProtoLens.FieldDescriptor CancelOperationRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, service__field_descriptor),
+           (Data.ProtoLens.Tag 2, operation__field_descriptor),
+           (Data.ProtoLens.Tag 3, operationId__field_descriptor),
+           (Data.ProtoLens.Tag 4, operationToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelOperationRequest'_unknownFields
+        (\ x__ y__ -> x__ {_CancelOperationRequest'_unknownFields = y__})
+  defMessage
+    = CancelOperationRequest'_constructor
+        {_CancelOperationRequest'service = Data.ProtoLens.fieldDefault,
+         _CancelOperationRequest'operation = Data.ProtoLens.fieldDefault,
+         _CancelOperationRequest'operationId = Data.ProtoLens.fieldDefault,
+         _CancelOperationRequest'operationToken = Data.ProtoLens.fieldDefault,
+         _CancelOperationRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelOperationRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelOperationRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operationId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationToken") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelOperationRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"operationId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"operationToken") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData CancelOperationRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelOperationRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CancelOperationRequest'service x__)
+                (Control.DeepSeq.deepseq
+                   (_CancelOperationRequest'operation x__)
+                   (Control.DeepSeq.deepseq
+                      (_CancelOperationRequest'operationId x__)
+                      (Control.DeepSeq.deepseq
+                         (_CancelOperationRequest'operationToken x__) ()))))
+{- | Fields :
+      -}
+data CancelOperationResponse
+  = CancelOperationResponse'_constructor {_CancelOperationResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelOperationResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message CancelOperationResponse where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.CancelOperationResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBCancelOperationResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelOperationResponse'_unknownFields
+        (\ x__ y__ -> x__ {_CancelOperationResponse'_unknownFields = y__})
+  defMessage
+    = CancelOperationResponse'_constructor
+        {_CancelOperationResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelOperationResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelOperationResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelOperationResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData CancelOperationResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelOperationResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.version' @:: Lens' Endpoint Data.Int.Int64@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.id' @:: Lens' Endpoint Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.spec' @:: Lens' Endpoint EndpointSpec@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'spec' @:: Lens' Endpoint (Prelude.Maybe EndpointSpec)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.createdTime' @:: Lens' Endpoint Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'createdTime' @:: Lens' Endpoint (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.lastModifiedTime' @:: Lens' Endpoint Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'lastModifiedTime' @:: Lens' Endpoint (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.urlPrefix' @:: Lens' Endpoint Data.Text.Text@ -}
+data Endpoint
+  = Endpoint'_constructor {_Endpoint'version :: !Data.Int.Int64,
+                           _Endpoint'id :: !Data.Text.Text,
+                           _Endpoint'spec :: !(Prelude.Maybe EndpointSpec),
+                           _Endpoint'createdTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                           _Endpoint'lastModifiedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                           _Endpoint'urlPrefix :: !Data.Text.Text,
+                           _Endpoint'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Endpoint where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Endpoint "version" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'version (\ x__ y__ -> x__ {_Endpoint'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Endpoint "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'id (\ x__ y__ -> x__ {_Endpoint'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Endpoint "spec" EndpointSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'spec (\ x__ y__ -> x__ {_Endpoint'spec = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Endpoint "maybe'spec" (Prelude.Maybe EndpointSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'spec (\ x__ y__ -> x__ {_Endpoint'spec = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Endpoint "createdTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'createdTime
+           (\ x__ y__ -> x__ {_Endpoint'createdTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Endpoint "maybe'createdTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'createdTime
+           (\ x__ y__ -> x__ {_Endpoint'createdTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Endpoint "lastModifiedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'lastModifiedTime
+           (\ x__ y__ -> x__ {_Endpoint'lastModifiedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Endpoint "maybe'lastModifiedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'lastModifiedTime
+           (\ x__ y__ -> x__ {_Endpoint'lastModifiedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Endpoint "urlPrefix" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Endpoint'urlPrefix (\ x__ y__ -> x__ {_Endpoint'urlPrefix = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Endpoint where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.Endpoint"
+  packedMessageDescriptor _
+    = "\n\
+      \\bEndpoint\DC2\CAN\n\
+      \\aversion\CAN\SOH \SOH(\ETXR\aversion\DC2\SO\n\
+      \\STXid\CAN\STX \SOH(\tR\STXid\DC27\n\
+      \\EOTspec\CAN\ETX \SOH(\v2#.temporal.api.nexus.v1.EndpointSpecR\EOTspec\DC2=\n\
+      \\fcreated_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\vcreatedTime\DC2H\n\
+      \\DC2last_modified_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DLElastModifiedTime\DC2\GS\n\
+      \\n\
+      \url_prefix\CAN\ACK \SOH(\tR\turlPrefix"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor Endpoint
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor Endpoint
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor EndpointSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor Endpoint
+        createdTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "created_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createdTime")) ::
+              Data.ProtoLens.FieldDescriptor Endpoint
+        lastModifiedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_modified_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastModifiedTime")) ::
+              Data.ProtoLens.FieldDescriptor Endpoint
+        urlPrefix__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "url_prefix"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"urlPrefix")) ::
+              Data.ProtoLens.FieldDescriptor Endpoint
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, version__field_descriptor),
+           (Data.ProtoLens.Tag 2, id__field_descriptor),
+           (Data.ProtoLens.Tag 3, spec__field_descriptor),
+           (Data.ProtoLens.Tag 4, createdTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, lastModifiedTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, urlPrefix__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Endpoint'_unknownFields
+        (\ x__ y__ -> x__ {_Endpoint'_unknownFields = y__})
+  defMessage
+    = Endpoint'_constructor
+        {_Endpoint'version = Data.ProtoLens.fieldDefault,
+         _Endpoint'id = Data.ProtoLens.fieldDefault,
+         _Endpoint'spec = Prelude.Nothing,
+         _Endpoint'createdTime = Prelude.Nothing,
+         _Endpoint'lastModifiedTime = Prelude.Nothing,
+         _Endpoint'urlPrefix = Data.ProtoLens.fieldDefault,
+         _Endpoint'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Endpoint -> Data.ProtoLens.Encoding.Bytes.Parser Endpoint
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "created_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createdTime") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_modified_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastModifiedTime") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "url_prefix"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"urlPrefix") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Endpoint"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'spec") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'createdTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'lastModifiedTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v = Lens.Family2.view (Data.ProtoLens.Field.field @"urlPrefix") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData Endpoint where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Endpoint'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Endpoint'version x__)
+                (Control.DeepSeq.deepseq
+                   (_Endpoint'id x__)
+                   (Control.DeepSeq.deepseq
+                      (_Endpoint'spec x__)
+                      (Control.DeepSeq.deepseq
+                         (_Endpoint'createdTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_Endpoint'lastModifiedTime x__)
+                            (Control.DeepSeq.deepseq (_Endpoint'urlPrefix x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.name' @:: Lens' EndpointSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.description' @:: Lens' EndpointSpec Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'description' @:: Lens' EndpointSpec (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.target' @:: Lens' EndpointSpec EndpointTarget@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'target' @:: Lens' EndpointSpec (Prelude.Maybe EndpointTarget)@ -}
+data EndpointSpec
+  = EndpointSpec'_constructor {_EndpointSpec'name :: !Data.Text.Text,
+                               _EndpointSpec'description :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                               _EndpointSpec'target :: !(Prelude.Maybe EndpointTarget),
+                               _EndpointSpec'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show EndpointSpec where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField EndpointSpec "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointSpec'name (\ x__ y__ -> x__ {_EndpointSpec'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EndpointSpec "description" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointSpec'description
+           (\ x__ y__ -> x__ {_EndpointSpec'description = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField EndpointSpec "maybe'description" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointSpec'description
+           (\ x__ y__ -> x__ {_EndpointSpec'description = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EndpointSpec "target" EndpointTarget where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointSpec'target
+           (\ x__ y__ -> x__ {_EndpointSpec'target = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField EndpointSpec "maybe'target" (Prelude.Maybe EndpointTarget) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointSpec'target
+           (\ x__ y__ -> x__ {_EndpointSpec'target = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message EndpointSpec where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.EndpointSpec"
+  packedMessageDescriptor _
+    = "\n\
+      \\fEndpointSpec\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2A\n\
+      \\vdescription\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\vdescription\DC2=\n\
+      \\ACKtarget\CAN\ETX \SOH(\v2%.temporal.api.nexus.v1.EndpointTargetR\ACKtarget"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor EndpointSpec
+        description__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "description"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'description")) ::
+              Data.ProtoLens.FieldDescriptor EndpointSpec
+        target__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "target"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor EndpointTarget)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'target")) ::
+              Data.ProtoLens.FieldDescriptor EndpointSpec
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, description__field_descriptor),
+           (Data.ProtoLens.Tag 3, target__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _EndpointSpec'_unknownFields
+        (\ x__ y__ -> x__ {_EndpointSpec'_unknownFields = y__})
+  defMessage
+    = EndpointSpec'_constructor
+        {_EndpointSpec'name = Data.ProtoLens.fieldDefault,
+         _EndpointSpec'description = Prelude.Nothing,
+         _EndpointSpec'target = Prelude.Nothing,
+         _EndpointSpec'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          EndpointSpec -> Data.ProtoLens.Encoding.Bytes.Parser EndpointSpec
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "description"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"description") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "target"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"target") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "EndpointSpec"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'description") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'target") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData EndpointSpec where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_EndpointSpec'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_EndpointSpec'name x__)
+                (Control.DeepSeq.deepseq
+                   (_EndpointSpec'description x__)
+                   (Control.DeepSeq.deepseq (_EndpointSpec'target x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'variant' @:: Lens' EndpointTarget (Prelude.Maybe EndpointTarget'Variant)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'worker' @:: Lens' EndpointTarget (Prelude.Maybe EndpointTarget'Worker)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.worker' @:: Lens' EndpointTarget EndpointTarget'Worker@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'external' @:: Lens' EndpointTarget (Prelude.Maybe EndpointTarget'External)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.external' @:: Lens' EndpointTarget EndpointTarget'External@ -}
+data EndpointTarget
+  = EndpointTarget'_constructor {_EndpointTarget'variant :: !(Prelude.Maybe EndpointTarget'Variant),
+                                 _EndpointTarget'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show EndpointTarget where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data EndpointTarget'Variant
+  = EndpointTarget'Worker' !EndpointTarget'Worker |
+    EndpointTarget'External' !EndpointTarget'External
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField EndpointTarget "maybe'variant" (Prelude.Maybe EndpointTarget'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'variant
+           (\ x__ y__ -> x__ {_EndpointTarget'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EndpointTarget "maybe'worker" (Prelude.Maybe EndpointTarget'Worker) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'variant
+           (\ x__ y__ -> x__ {_EndpointTarget'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (EndpointTarget'Worker' x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap EndpointTarget'Worker' y__))
+instance Data.ProtoLens.Field.HasField EndpointTarget "worker" EndpointTarget'Worker where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'variant
+           (\ x__ y__ -> x__ {_EndpointTarget'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (EndpointTarget'Worker' x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap EndpointTarget'Worker' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField EndpointTarget "maybe'external" (Prelude.Maybe EndpointTarget'External) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'variant
+           (\ x__ y__ -> x__ {_EndpointTarget'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (EndpointTarget'External' x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap EndpointTarget'External' y__))
+instance Data.ProtoLens.Field.HasField EndpointTarget "external" EndpointTarget'External where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'variant
+           (\ x__ y__ -> x__ {_EndpointTarget'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (EndpointTarget'External' x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap EndpointTarget'External' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message EndpointTarget where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.EndpointTarget"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOEndpointTarget\DC2F\n\
+      \\ACKworker\CAN\SOH \SOH(\v2,.temporal.api.nexus.v1.EndpointTarget.WorkerH\NULR\ACKworker\DC2L\n\
+      \\bexternal\CAN\STX \SOH(\v2..temporal.api.nexus.v1.EndpointTarget.ExternalH\NULR\bexternal\SUBE\n\
+      \\ACKWorker\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\STX \SOH(\tR\ttaskQueue\SUB\FS\n\
+      \\bExternal\DC2\DLE\n\
+      \\ETXurl\CAN\SOH \SOH(\tR\ETXurlB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        worker__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor EndpointTarget'Worker)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'worker")) ::
+              Data.ProtoLens.FieldDescriptor EndpointTarget
+        external__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "external"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor EndpointTarget'External)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'external")) ::
+              Data.ProtoLens.FieldDescriptor EndpointTarget
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, worker__field_descriptor),
+           (Data.ProtoLens.Tag 2, external__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _EndpointTarget'_unknownFields
+        (\ x__ y__ -> x__ {_EndpointTarget'_unknownFields = y__})
+  defMessage
+    = EndpointTarget'_constructor
+        {_EndpointTarget'variant = Prelude.Nothing,
+         _EndpointTarget'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          EndpointTarget
+          -> Data.ProtoLens.Encoding.Bytes.Parser EndpointTarget
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"worker") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "external"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"external") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "EndpointTarget"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (EndpointTarget'Worker' v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (EndpointTarget'External' v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData EndpointTarget where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_EndpointTarget'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_EndpointTarget'variant x__) ())
+instance Control.DeepSeq.NFData EndpointTarget'Variant where
+  rnf (EndpointTarget'Worker' x__) = Control.DeepSeq.rnf x__
+  rnf (EndpointTarget'External' x__) = Control.DeepSeq.rnf x__
+_EndpointTarget'Worker' ::
+  Data.ProtoLens.Prism.Prism' EndpointTarget'Variant EndpointTarget'Worker
+_EndpointTarget'Worker'
+  = Data.ProtoLens.Prism.prism'
+      EndpointTarget'Worker'
+      (\ p__
+         -> case p__ of
+              (EndpointTarget'Worker' p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_EndpointTarget'External' ::
+  Data.ProtoLens.Prism.Prism' EndpointTarget'Variant EndpointTarget'External
+_EndpointTarget'External'
+  = Data.ProtoLens.Prism.prism'
+      EndpointTarget'External'
+      (\ p__
+         -> case p__ of
+              (EndpointTarget'External' p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.url' @:: Lens' EndpointTarget'External Data.Text.Text@ -}
+data EndpointTarget'External
+  = EndpointTarget'External'_constructor {_EndpointTarget'External'url :: !Data.Text.Text,
+                                          _EndpointTarget'External'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show EndpointTarget'External where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField EndpointTarget'External "url" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'External'url
+           (\ x__ y__ -> x__ {_EndpointTarget'External'url = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message EndpointTarget'External where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.EndpointTarget.External"
+  packedMessageDescriptor _
+    = "\n\
+      \\bExternal\DC2\DLE\n\
+      \\ETXurl\CAN\SOH \SOH(\tR\ETXurl"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        url__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "url"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"url")) ::
+              Data.ProtoLens.FieldDescriptor EndpointTarget'External
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, url__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _EndpointTarget'External'_unknownFields
+        (\ x__ y__ -> x__ {_EndpointTarget'External'_unknownFields = y__})
+  defMessage
+    = EndpointTarget'External'_constructor
+        {_EndpointTarget'External'url = Data.ProtoLens.fieldDefault,
+         _EndpointTarget'External'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          EndpointTarget'External
+          -> Data.ProtoLens.Encoding.Bytes.Parser EndpointTarget'External
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "url"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"url") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "External"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"url") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData EndpointTarget'External where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_EndpointTarget'External'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_EndpointTarget'External'url x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.namespace' @:: Lens' EndpointTarget'Worker Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.taskQueue' @:: Lens' EndpointTarget'Worker Data.Text.Text@ -}
+data EndpointTarget'Worker
+  = EndpointTarget'Worker'_constructor {_EndpointTarget'Worker'namespace :: !Data.Text.Text,
+                                        _EndpointTarget'Worker'taskQueue :: !Data.Text.Text,
+                                        _EndpointTarget'Worker'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show EndpointTarget'Worker where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField EndpointTarget'Worker "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'Worker'namespace
+           (\ x__ y__ -> x__ {_EndpointTarget'Worker'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EndpointTarget'Worker "taskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EndpointTarget'Worker'taskQueue
+           (\ x__ y__ -> x__ {_EndpointTarget'Worker'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message EndpointTarget'Worker where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.EndpointTarget.Worker"
+  packedMessageDescriptor _
+    = "\n\
+      \\ACKWorker\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\STX \SOH(\tR\ttaskQueue"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor EndpointTarget'Worker
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor EndpointTarget'Worker
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, taskQueue__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _EndpointTarget'Worker'_unknownFields
+        (\ x__ y__ -> x__ {_EndpointTarget'Worker'_unknownFields = y__})
+  defMessage
+    = EndpointTarget'Worker'_constructor
+        {_EndpointTarget'Worker'namespace = Data.ProtoLens.fieldDefault,
+         _EndpointTarget'Worker'taskQueue = Data.ProtoLens.fieldDefault,
+         _EndpointTarget'Worker'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          EndpointTarget'Worker
+          -> Data.ProtoLens.Encoding.Bytes.Parser EndpointTarget'Worker
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Worker"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskQueue") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData EndpointTarget'Worker where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_EndpointTarget'Worker'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_EndpointTarget'Worker'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_EndpointTarget'Worker'taskQueue x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.message' @:: Lens' Failure Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.metadata' @:: Lens' Failure (Data.Map.Map Data.Text.Text Data.Text.Text)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.details' @:: Lens' Failure Data.ByteString.ByteString@ -}
+data Failure
+  = Failure'_constructor {_Failure'message :: !Data.Text.Text,
+                          _Failure'metadata :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                          _Failure'details :: !Data.ByteString.ByteString,
+                          _Failure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Failure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Failure "message" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'message (\ x__ y__ -> x__ {_Failure'message = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "metadata" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'metadata (\ x__ y__ -> x__ {_Failure'metadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "details" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'details (\ x__ y__ -> x__ {_Failure'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Failure where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.Failure"
+  packedMessageDescriptor _
+    = "\n\
+      \\aFailure\DC2\CAN\n\
+      \\amessage\CAN\SOH \SOH(\tR\amessage\DC2H\n\
+      \\bmetadata\CAN\STX \ETX(\v2,.temporal.api.nexus.v1.Failure.MetadataEntryR\bmetadata\DC2\CAN\n\
+      \\adetails\CAN\ETX \SOH(\fR\adetails\SUB;\n\
+      \\rMetadataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        message__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        metadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure'MetadataEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"metadata")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"details")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, message__field_descriptor),
+           (Data.ProtoLens.Tag 2, metadata__field_descriptor),
+           (Data.ProtoLens.Tag 3, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Failure'_unknownFields
+        (\ x__ y__ -> x__ {_Failure'_unknownFields = y__})
+  defMessage
+    = Failure'_constructor
+        {_Failure'message = Data.ProtoLens.fieldDefault,
+         _Failure'metadata = Data.Map.empty,
+         _Failure'details = Data.ProtoLens.fieldDefault,
+         _Failure'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Failure -> Data.ProtoLens.Encoding.Bytes.Parser Failure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)
+                        18
+                          -> do !(entry :: Failure'MetadataEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                                                             (Prelude.fromIntegral
+                                                                                len)
+                                                                             Data.ProtoLens.parseMessage)
+                                                                       "metadata"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"metadata")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Failure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.Monoid.mconcat
+                   (Prelude.map
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                       (Data.ProtoLens.defMessage :: Failure'MetadataEntry)))))
+                      (Data.Map.toList
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"metadata") _x))))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"details") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Failure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Failure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Failure'message x__)
+                (Control.DeepSeq.deepseq
+                   (_Failure'metadata x__)
+                   (Control.DeepSeq.deepseq (_Failure'details x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.key' @:: Lens' Failure'MetadataEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.value' @:: Lens' Failure'MetadataEntry Data.Text.Text@ -}
+data Failure'MetadataEntry
+  = Failure'MetadataEntry'_constructor {_Failure'MetadataEntry'key :: !Data.Text.Text,
+                                        _Failure'MetadataEntry'value :: !Data.Text.Text,
+                                        _Failure'MetadataEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Failure'MetadataEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Failure'MetadataEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'MetadataEntry'key
+           (\ x__ y__ -> x__ {_Failure'MetadataEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure'MetadataEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'MetadataEntry'value
+           (\ x__ y__ -> x__ {_Failure'MetadataEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Failure'MetadataEntry where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.Failure.MetadataEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\rMetadataEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Failure'MetadataEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor Failure'MetadataEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Failure'MetadataEntry'_unknownFields
+        (\ x__ y__ -> x__ {_Failure'MetadataEntry'_unknownFields = y__})
+  defMessage
+    = Failure'MetadataEntry'_constructor
+        {_Failure'MetadataEntry'key = Data.ProtoLens.fieldDefault,
+         _Failure'MetadataEntry'value = Data.ProtoLens.fieldDefault,
+         _Failure'MetadataEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Failure'MetadataEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Failure'MetadataEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MetadataEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Failure'MetadataEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Failure'MetadataEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Failure'MetadataEntry'key x__)
+                (Control.DeepSeq.deepseq (_Failure'MetadataEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.errorType' @:: Lens' HandlerError Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.failure' @:: Lens' HandlerError Failure@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'failure' @:: Lens' HandlerError (Prelude.Maybe Failure)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.retryBehavior' @:: Lens' HandlerError Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior@ -}
+data HandlerError
+  = HandlerError'_constructor {_HandlerError'errorType :: !Data.Text.Text,
+                               _HandlerError'failure :: !(Prelude.Maybe Failure),
+                               _HandlerError'retryBehavior :: !Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior,
+                               _HandlerError'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show HandlerError where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField HandlerError "errorType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HandlerError'errorType
+           (\ x__ y__ -> x__ {_HandlerError'errorType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HandlerError "failure" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HandlerError'failure
+           (\ x__ y__ -> x__ {_HandlerError'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField HandlerError "maybe'failure" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HandlerError'failure
+           (\ x__ y__ -> x__ {_HandlerError'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField HandlerError "retryBehavior" Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _HandlerError'retryBehavior
+           (\ x__ y__ -> x__ {_HandlerError'retryBehavior = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message HandlerError where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.HandlerError"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHandlerError\DC2\GS\n\
+      \\n\
+      \error_type\CAN\SOH \SOH(\tR\terrorType\DC28\n\
+      \\afailure\CAN\STX \SOH(\v2\RS.temporal.api.nexus.v1.FailureR\afailure\DC2\\\n\
+      \\SOretry_behavior\CAN\ETX \SOH(\SO25.temporal.api.enums.v1.NexusHandlerErrorRetryBehaviorR\rretryBehavior"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        errorType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "error_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"errorType")) ::
+              Data.ProtoLens.FieldDescriptor HandlerError
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor HandlerError
+        retryBehavior__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_behavior"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Nexus.NexusHandlerErrorRetryBehavior)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"retryBehavior")) ::
+              Data.ProtoLens.FieldDescriptor HandlerError
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, errorType__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor),
+           (Data.ProtoLens.Tag 3, retryBehavior__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _HandlerError'_unknownFields
+        (\ x__ y__ -> x__ {_HandlerError'_unknownFields = y__})
+  defMessage
+    = HandlerError'_constructor
+        {_HandlerError'errorType = Data.ProtoLens.fieldDefault,
+         _HandlerError'failure = Prelude.Nothing,
+         _HandlerError'retryBehavior = Data.ProtoLens.fieldDefault,
+         _HandlerError'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          HandlerError -> Data.ProtoLens.Encoding.Bytes.Parser HandlerError
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "error_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"errorType") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "retry_behavior"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"retryBehavior") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HandlerError"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"errorType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"retryBehavior") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData HandlerError where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_HandlerError'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_HandlerError'errorType x__)
+                (Control.DeepSeq.deepseq
+                   (_HandlerError'failure x__)
+                   (Control.DeepSeq.deepseq (_HandlerError'retryBehavior x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.url' @:: Lens' Link Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.type'' @:: Lens' Link Data.Text.Text@ -}
+data Link
+  = Link'_constructor {_Link'url :: !Data.Text.Text,
+                       _Link'type' :: !Data.Text.Text,
+                       _Link'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Link where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Link "url" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'url (\ x__ y__ -> x__ {_Link'url = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Link "type'" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Link'type' (\ x__ y__ -> x__ {_Link'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Link where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.Link"
+  packedMessageDescriptor _
+    = "\n\
+      \\EOTLink\DC2\DLE\n\
+      \\ETXurl\CAN\SOH \SOH(\tR\ETXurl\DC2\DC2\n\
+      \\EOTtype\CAN\STX \SOH(\tR\EOTtype"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        url__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "url"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"url")) ::
+              Data.ProtoLens.FieldDescriptor Link
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"type'")) ::
+              Data.ProtoLens.FieldDescriptor Link
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, url__field_descriptor),
+           (Data.ProtoLens.Tag 2, type'__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Link'_unknownFields
+        (\ x__ y__ -> x__ {_Link'_unknownFields = y__})
+  defMessage
+    = Link'_constructor
+        {_Link'url = Data.ProtoLens.fieldDefault,
+         _Link'type' = Data.ProtoLens.fieldDefault,
+         _Link'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Link -> Data.ProtoLens.Encoding.Bytes.Parser Link
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "url"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"url") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Link"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"url") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"type'") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Link where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Link'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Link'url x__) (Control.DeepSeq.deepseq (_Link'type' x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.header' @:: Lens' Request (Data.Map.Map Data.Text.Text Data.Text.Text)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.scheduledTime' @:: Lens' Request Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'scheduledTime' @:: Lens' Request (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'variant' @:: Lens' Request (Prelude.Maybe Request'Variant)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'startOperation' @:: Lens' Request (Prelude.Maybe StartOperationRequest)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.startOperation' @:: Lens' Request StartOperationRequest@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'cancelOperation' @:: Lens' Request (Prelude.Maybe CancelOperationRequest)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.cancelOperation' @:: Lens' Request CancelOperationRequest@ -}
+data Request
+  = Request'_constructor {_Request'header :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                          _Request'scheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                          _Request'variant :: !(Prelude.Maybe Request'Variant),
+                          _Request'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Request where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Request'Variant
+  = Request'StartOperation !StartOperationRequest |
+    Request'CancelOperation !CancelOperationRequest
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Request "header" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'header (\ x__ y__ -> x__ {_Request'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Request "scheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'scheduledTime
+           (\ x__ y__ -> x__ {_Request'scheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Request "maybe'scheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'scheduledTime
+           (\ x__ y__ -> x__ {_Request'scheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Request "maybe'variant" (Prelude.Maybe Request'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'variant (\ x__ y__ -> x__ {_Request'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Request "maybe'startOperation" (Prelude.Maybe StartOperationRequest) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'variant (\ x__ y__ -> x__ {_Request'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Request'StartOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Request'StartOperation y__))
+instance Data.ProtoLens.Field.HasField Request "startOperation" StartOperationRequest where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'variant (\ x__ y__ -> x__ {_Request'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Request'StartOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Request'StartOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Request "maybe'cancelOperation" (Prelude.Maybe CancelOperationRequest) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'variant (\ x__ y__ -> x__ {_Request'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Request'CancelOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Request'CancelOperation y__))
+instance Data.ProtoLens.Field.HasField Request "cancelOperation" CancelOperationRequest where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'variant (\ x__ y__ -> x__ {_Request'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Request'CancelOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Request'CancelOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Request where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.Request"
+  packedMessageDescriptor _
+    = "\n\
+      \\aRequest\DC2B\n\
+      \\ACKheader\CAN\SOH \ETX(\v2*.temporal.api.nexus.v1.Request.HeaderEntryR\ACKheader\DC2A\n\
+      \\SOscheduled_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2W\n\
+      \\SIstart_operation\CAN\ETX \SOH(\v2,.temporal.api.nexus.v1.StartOperationRequestH\NULR\SOstartOperation\DC2Z\n\
+      \\DLEcancel_operation\CAN\EOT \SOH(\v2-.temporal.api.nexus.v1.CancelOperationRequestH\NULR\SIcancelOperation\SUB9\n\
+      \\vHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOHB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Request'HeaderEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"header")) ::
+              Data.ProtoLens.FieldDescriptor Request
+        scheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor Request
+        startOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartOperationRequest)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startOperation")) ::
+              Data.ProtoLens.FieldDescriptor Request
+        cancelOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelOperationRequest)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelOperation")) ::
+              Data.ProtoLens.FieldDescriptor Request
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, header__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, startOperation__field_descriptor),
+           (Data.ProtoLens.Tag 4, cancelOperation__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Request'_unknownFields
+        (\ x__ y__ -> x__ {_Request'_unknownFields = y__})
+  defMessage
+    = Request'_constructor
+        {_Request'header = Data.Map.empty,
+         _Request'scheduledTime = Prelude.Nothing,
+         _Request'variant = Prelude.Nothing, _Request'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Request -> Data.ProtoLens.Encoding.Bytes.Parser Request
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: Request'HeaderEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                     (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                         Data.ProtoLens.Encoding.Bytes.isolate
+                                                                           (Prelude.fromIntegral
+                                                                              len)
+                                                                           Data.ProtoLens.parseMessage)
+                                                                     "header"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"header")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledTime") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startOperation") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelOperation") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Request"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage :: Request'HeaderEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"header") _x))))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'scheduledTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just (Request'StartOperation v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v)
+                      (Prelude.Just (Request'CancelOperation v))
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Request where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Request'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Request'header x__)
+                (Control.DeepSeq.deepseq
+                   (_Request'scheduledTime x__)
+                   (Control.DeepSeq.deepseq (_Request'variant x__) ())))
+instance Control.DeepSeq.NFData Request'Variant where
+  rnf (Request'StartOperation x__) = Control.DeepSeq.rnf x__
+  rnf (Request'CancelOperation x__) = Control.DeepSeq.rnf x__
+_Request'StartOperation ::
+  Data.ProtoLens.Prism.Prism' Request'Variant StartOperationRequest
+_Request'StartOperation
+  = Data.ProtoLens.Prism.prism'
+      Request'StartOperation
+      (\ p__
+         -> case p__ of
+              (Request'StartOperation p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Request'CancelOperation ::
+  Data.ProtoLens.Prism.Prism' Request'Variant CancelOperationRequest
+_Request'CancelOperation
+  = Data.ProtoLens.Prism.prism'
+      Request'CancelOperation
+      (\ p__
+         -> case p__ of
+              (Request'CancelOperation p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.key' @:: Lens' Request'HeaderEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.value' @:: Lens' Request'HeaderEntry Data.Text.Text@ -}
+data Request'HeaderEntry
+  = Request'HeaderEntry'_constructor {_Request'HeaderEntry'key :: !Data.Text.Text,
+                                      _Request'HeaderEntry'value :: !Data.Text.Text,
+                                      _Request'HeaderEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Request'HeaderEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Request'HeaderEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'HeaderEntry'key
+           (\ x__ y__ -> x__ {_Request'HeaderEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Request'HeaderEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'HeaderEntry'value
+           (\ x__ y__ -> x__ {_Request'HeaderEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Request'HeaderEntry where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.Request.HeaderEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\vHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Request'HeaderEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor Request'HeaderEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Request'HeaderEntry'_unknownFields
+        (\ x__ y__ -> x__ {_Request'HeaderEntry'_unknownFields = y__})
+  defMessage
+    = Request'HeaderEntry'_constructor
+        {_Request'HeaderEntry'key = Data.ProtoLens.fieldDefault,
+         _Request'HeaderEntry'value = Data.ProtoLens.fieldDefault,
+         _Request'HeaderEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Request'HeaderEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Request'HeaderEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeaderEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Request'HeaderEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Request'HeaderEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Request'HeaderEntry'key x__)
+                (Control.DeepSeq.deepseq (_Request'HeaderEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'variant' @:: Lens' Response (Prelude.Maybe Response'Variant)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'startOperation' @:: Lens' Response (Prelude.Maybe StartOperationResponse)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.startOperation' @:: Lens' Response StartOperationResponse@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'cancelOperation' @:: Lens' Response (Prelude.Maybe CancelOperationResponse)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.cancelOperation' @:: Lens' Response CancelOperationResponse@ -}
+data Response
+  = Response'_constructor {_Response'variant :: !(Prelude.Maybe Response'Variant),
+                           _Response'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Response where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Response'Variant
+  = Response'StartOperation !StartOperationResponse |
+    Response'CancelOperation !CancelOperationResponse
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Response "maybe'variant" (Prelude.Maybe Response'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'variant (\ x__ y__ -> x__ {_Response'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Response "maybe'startOperation" (Prelude.Maybe StartOperationResponse) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'variant (\ x__ y__ -> x__ {_Response'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Response'StartOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Response'StartOperation y__))
+instance Data.ProtoLens.Field.HasField Response "startOperation" StartOperationResponse where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'variant (\ x__ y__ -> x__ {_Response'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Response'StartOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Response'StartOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Response "maybe'cancelOperation" (Prelude.Maybe CancelOperationResponse) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'variant (\ x__ y__ -> x__ {_Response'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Response'CancelOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Response'CancelOperation y__))
+instance Data.ProtoLens.Field.HasField Response "cancelOperation" CancelOperationResponse where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'variant (\ x__ y__ -> x__ {_Response'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Response'CancelOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Response'CancelOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Response where
+  messageName _ = Data.Text.pack "temporal.api.nexus.v1.Response"
+  packedMessageDescriptor _
+    = "\n\
+      \\bResponse\DC2X\n\
+      \\SIstart_operation\CAN\SOH \SOH(\v2-.temporal.api.nexus.v1.StartOperationResponseH\NULR\SOstartOperation\DC2[\n\
+      \\DLEcancel_operation\CAN\STX \SOH(\v2..temporal.api.nexus.v1.CancelOperationResponseH\NULR\SIcancelOperationB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        startOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartOperationResponse)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startOperation")) ::
+              Data.ProtoLens.FieldDescriptor Response
+        cancelOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelOperationResponse)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelOperation")) ::
+              Data.ProtoLens.FieldDescriptor Response
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, startOperation__field_descriptor),
+           (Data.ProtoLens.Tag 2, cancelOperation__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Response'_unknownFields
+        (\ x__ y__ -> x__ {_Response'_unknownFields = y__})
+  defMessage
+    = Response'_constructor
+        {_Response'variant = Prelude.Nothing,
+         _Response'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Response -> Data.ProtoLens.Encoding.Bytes.Parser Response
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startOperation") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelOperation") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Response"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (Response'StartOperation v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (Response'CancelOperation v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Response where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Response'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Response'variant x__) ())
+instance Control.DeepSeq.NFData Response'Variant where
+  rnf (Response'StartOperation x__) = Control.DeepSeq.rnf x__
+  rnf (Response'CancelOperation x__) = Control.DeepSeq.rnf x__
+_Response'StartOperation ::
+  Data.ProtoLens.Prism.Prism' Response'Variant StartOperationResponse
+_Response'StartOperation
+  = Data.ProtoLens.Prism.prism'
+      Response'StartOperation
+      (\ p__
+         -> case p__ of
+              (Response'StartOperation p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Response'CancelOperation ::
+  Data.ProtoLens.Prism.Prism' Response'Variant CancelOperationResponse
+_Response'CancelOperation
+  = Data.ProtoLens.Prism.prism'
+      Response'CancelOperation
+      (\ p__
+         -> case p__ of
+              (Response'CancelOperation p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.service' @:: Lens' StartOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operation' @:: Lens' StartOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.requestId' @:: Lens' StartOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.callback' @:: Lens' StartOperationRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.payload' @:: Lens' StartOperationRequest Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'payload' @:: Lens' StartOperationRequest (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.callbackHeader' @:: Lens' StartOperationRequest (Data.Map.Map Data.Text.Text Data.Text.Text)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.links' @:: Lens' StartOperationRequest [Link]@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.vec'links' @:: Lens' StartOperationRequest (Data.Vector.Vector Link)@ -}
+data StartOperationRequest
+  = StartOperationRequest'_constructor {_StartOperationRequest'service :: !Data.Text.Text,
+                                        _StartOperationRequest'operation :: !Data.Text.Text,
+                                        _StartOperationRequest'requestId :: !Data.Text.Text,
+                                        _StartOperationRequest'callback :: !Data.Text.Text,
+                                        _StartOperationRequest'payload :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                        _StartOperationRequest'callbackHeader :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                        _StartOperationRequest'links :: !(Data.Vector.Vector Link),
+                                        _StartOperationRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartOperationRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartOperationRequest "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'service
+           (\ x__ y__ -> x__ {_StartOperationRequest'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'operation
+           (\ x__ y__ -> x__ {_StartOperationRequest'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest "requestId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'requestId
+           (\ x__ y__ -> x__ {_StartOperationRequest'requestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest "callback" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'callback
+           (\ x__ y__ -> x__ {_StartOperationRequest'callback = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest "payload" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'payload
+           (\ x__ y__ -> x__ {_StartOperationRequest'payload = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartOperationRequest "maybe'payload" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'payload
+           (\ x__ y__ -> x__ {_StartOperationRequest'payload = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest "callbackHeader" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'callbackHeader
+           (\ x__ y__ -> x__ {_StartOperationRequest'callbackHeader = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest "links" [Link] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'links
+           (\ x__ y__ -> x__ {_StartOperationRequest'links = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StartOperationRequest "vec'links" (Data.Vector.Vector Link) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'links
+           (\ x__ y__ -> x__ {_StartOperationRequest'links = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartOperationRequest where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.StartOperationRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKStartOperationRequest\DC2\CAN\n\
+      \\aservice\CAN\SOH \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\STX \SOH(\tR\toperation\DC2\GS\n\
+      \\n\
+      \request_id\CAN\ETX \SOH(\tR\trequestId\DC2\SUB\n\
+      \\bcallback\CAN\EOT \SOH(\tR\bcallback\DC29\n\
+      \\apayload\CAN\ENQ \SOH(\v2\US.temporal.api.common.v1.PayloadR\apayload\DC2i\n\
+      \\SIcallback_header\CAN\ACK \ETX(\v2@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntryR\SOcallbackHeader\DC21\n\
+      \\ENQlinks\CAN\a \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\SUBA\n\
+      \\DC3CallbackHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+        requestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"requestId")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+        callback__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "callback"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"callback")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+        payload__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "payload"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'payload")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+        callbackHeader__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "callback_header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartOperationRequest'CallbackHeaderEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"callbackHeader")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+        links__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "links"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Link)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"links")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, service__field_descriptor),
+           (Data.ProtoLens.Tag 2, operation__field_descriptor),
+           (Data.ProtoLens.Tag 3, requestId__field_descriptor),
+           (Data.ProtoLens.Tag 4, callback__field_descriptor),
+           (Data.ProtoLens.Tag 5, payload__field_descriptor),
+           (Data.ProtoLens.Tag 6, callbackHeader__field_descriptor),
+           (Data.ProtoLens.Tag 7, links__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartOperationRequest'_unknownFields
+        (\ x__ y__ -> x__ {_StartOperationRequest'_unknownFields = y__})
+  defMessage
+    = StartOperationRequest'_constructor
+        {_StartOperationRequest'service = Data.ProtoLens.fieldDefault,
+         _StartOperationRequest'operation = Data.ProtoLens.fieldDefault,
+         _StartOperationRequest'requestId = Data.ProtoLens.fieldDefault,
+         _StartOperationRequest'callback = Data.ProtoLens.fieldDefault,
+         _StartOperationRequest'payload = Prelude.Nothing,
+         _StartOperationRequest'callbackHeader = Data.Map.empty,
+         _StartOperationRequest'links = Data.Vector.Generic.empty,
+         _StartOperationRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartOperationRequest
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Link
+             -> Data.ProtoLens.Encoding.Bytes.Parser StartOperationRequest
+        loop x mutable'links
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'links)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'links") frozen'links x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                                  mutable'links
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                                  mutable'links
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "request_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"requestId") y x)
+                                  mutable'links
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "callback"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"callback") y x)
+                                  mutable'links
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "payload"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"payload") y x)
+                                  mutable'links
+                        50
+                          -> do !(entry :: StartOperationRequest'CallbackHeaderEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                           (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                               Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                 (Prelude.fromIntegral
+                                                                                                    len)
+                                                                                                 Data.ProtoLens.parseMessage)
+                                                                                           "callback_header"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"callbackHeader")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'links)
+                        58
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "links"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'links y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'links
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'links)
+          "StartOperationRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"requestId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"callback") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'payload") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (Data.Monoid.mconcat
+                               (Prelude.map
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"value")
+                                                   (Prelude.snd _v)
+                                                   (Data.ProtoLens.defMessage ::
+                                                      StartOperationRequest'CallbackHeaderEntry)))))
+                                  (Data.Map.toList
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"callbackHeader") _x))))
+                            ((Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage _v))
+                                  (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'links") _x))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData StartOperationRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartOperationRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartOperationRequest'service x__)
+                (Control.DeepSeq.deepseq
+                   (_StartOperationRequest'operation x__)
+                   (Control.DeepSeq.deepseq
+                      (_StartOperationRequest'requestId x__)
+                      (Control.DeepSeq.deepseq
+                         (_StartOperationRequest'callback x__)
+                         (Control.DeepSeq.deepseq
+                            (_StartOperationRequest'payload x__)
+                            (Control.DeepSeq.deepseq
+                               (_StartOperationRequest'callbackHeader x__)
+                               (Control.DeepSeq.deepseq
+                                  (_StartOperationRequest'links x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.key' @:: Lens' StartOperationRequest'CallbackHeaderEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.value' @:: Lens' StartOperationRequest'CallbackHeaderEntry Data.Text.Text@ -}
+data StartOperationRequest'CallbackHeaderEntry
+  = StartOperationRequest'CallbackHeaderEntry'_constructor {_StartOperationRequest'CallbackHeaderEntry'key :: !Data.Text.Text,
+                                                            _StartOperationRequest'CallbackHeaderEntry'value :: !Data.Text.Text,
+                                                            _StartOperationRequest'CallbackHeaderEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartOperationRequest'CallbackHeaderEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartOperationRequest'CallbackHeaderEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'CallbackHeaderEntry'key
+           (\ x__ y__
+              -> x__ {_StartOperationRequest'CallbackHeaderEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationRequest'CallbackHeaderEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationRequest'CallbackHeaderEntry'value
+           (\ x__ y__
+              -> x__ {_StartOperationRequest'CallbackHeaderEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartOperationRequest'CallbackHeaderEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3CallbackHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest'CallbackHeaderEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationRequest'CallbackHeaderEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartOperationRequest'CallbackHeaderEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartOperationRequest'CallbackHeaderEntry'_unknownFields = y__})
+  defMessage
+    = StartOperationRequest'CallbackHeaderEntry'_constructor
+        {_StartOperationRequest'CallbackHeaderEntry'key = Data.ProtoLens.fieldDefault,
+         _StartOperationRequest'CallbackHeaderEntry'value = Data.ProtoLens.fieldDefault,
+         _StartOperationRequest'CallbackHeaderEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartOperationRequest'CallbackHeaderEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartOperationRequest'CallbackHeaderEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CallbackHeaderEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartOperationRequest'CallbackHeaderEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartOperationRequest'CallbackHeaderEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartOperationRequest'CallbackHeaderEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_StartOperationRequest'CallbackHeaderEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'variant' @:: Lens' StartOperationResponse (Prelude.Maybe StartOperationResponse'Variant)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'syncSuccess' @:: Lens' StartOperationResponse (Prelude.Maybe StartOperationResponse'Sync)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.syncSuccess' @:: Lens' StartOperationResponse StartOperationResponse'Sync@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'asyncSuccess' @:: Lens' StartOperationResponse (Prelude.Maybe StartOperationResponse'Async)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.asyncSuccess' @:: Lens' StartOperationResponse StartOperationResponse'Async@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'operationError' @:: Lens' StartOperationResponse (Prelude.Maybe UnsuccessfulOperationError)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operationError' @:: Lens' StartOperationResponse UnsuccessfulOperationError@ -}
+data StartOperationResponse
+  = StartOperationResponse'_constructor {_StartOperationResponse'variant :: !(Prelude.Maybe StartOperationResponse'Variant),
+                                         _StartOperationResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartOperationResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data StartOperationResponse'Variant
+  = StartOperationResponse'SyncSuccess !StartOperationResponse'Sync |
+    StartOperationResponse'AsyncSuccess !StartOperationResponse'Async |
+    StartOperationResponse'OperationError !UnsuccessfulOperationError
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField StartOperationResponse "maybe'variant" (Prelude.Maybe StartOperationResponse'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationResponse "maybe'syncSuccess" (Prelude.Maybe StartOperationResponse'Sync) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (StartOperationResponse'SyncSuccess x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap StartOperationResponse'SyncSuccess y__))
+instance Data.ProtoLens.Field.HasField StartOperationResponse "syncSuccess" StartOperationResponse'Sync where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (StartOperationResponse'SyncSuccess x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap StartOperationResponse'SyncSuccess y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField StartOperationResponse "maybe'asyncSuccess" (Prelude.Maybe StartOperationResponse'Async) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (StartOperationResponse'AsyncSuccess x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap StartOperationResponse'AsyncSuccess y__))
+instance Data.ProtoLens.Field.HasField StartOperationResponse "asyncSuccess" StartOperationResponse'Async where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (StartOperationResponse'AsyncSuccess x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap StartOperationResponse'AsyncSuccess y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField StartOperationResponse "maybe'operationError" (Prelude.Maybe UnsuccessfulOperationError) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (StartOperationResponse'OperationError x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap StartOperationResponse'OperationError y__))
+instance Data.ProtoLens.Field.HasField StartOperationResponse "operationError" UnsuccessfulOperationError where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'variant
+           (\ x__ y__ -> x__ {_StartOperationResponse'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (StartOperationResponse'OperationError x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap StartOperationResponse'OperationError y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message StartOperationResponse where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.StartOperationResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNStartOperationResponse\DC2W\n\
+      \\fsync_success\CAN\SOH \SOH(\v22.temporal.api.nexus.v1.StartOperationResponse.SyncH\NULR\vsyncSuccess\DC2Z\n\
+      \\rasync_success\CAN\STX \SOH(\v23.temporal.api.nexus.v1.StartOperationResponse.AsyncH\NULR\fasyncSuccess\DC2\\\n\
+      \\SIoperation_error\CAN\ETX \SOH(\v21.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\NULR\SOoperationError\SUBt\n\
+      \\EOTSync\DC29\n\
+      \\apayload\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\apayload\DC21\n\
+      \\ENQlinks\CAN\STX \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\SUB\134\SOH\n\
+      \\ENQAsync\DC2!\n\
+      \\foperation_id\CAN\SOH \SOH(\tR\voperationId\DC21\n\
+      \\ENQlinks\CAN\STX \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\DC2'\n\
+      \\SIoperation_token\CAN\ETX \SOH(\tR\SOoperationTokenB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        syncSuccess__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sync_success"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartOperationResponse'Sync)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'syncSuccess")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse
+        asyncSuccess__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "async_success"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartOperationResponse'Async)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'asyncSuccess")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse
+        operationError__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_error"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UnsuccessfulOperationError)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'operationError")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, syncSuccess__field_descriptor),
+           (Data.ProtoLens.Tag 2, asyncSuccess__field_descriptor),
+           (Data.ProtoLens.Tag 3, operationError__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartOperationResponse'_unknownFields
+        (\ x__ y__ -> x__ {_StartOperationResponse'_unknownFields = y__})
+  defMessage
+    = StartOperationResponse'_constructor
+        {_StartOperationResponse'variant = Prelude.Nothing,
+         _StartOperationResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartOperationResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartOperationResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "sync_success"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"syncSuccess") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "async_success"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"asyncSuccess") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "operation_error"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationError") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StartOperationResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (StartOperationResponse'SyncSuccess v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (StartOperationResponse'AsyncSuccess v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (StartOperationResponse'OperationError v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData StartOperationResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartOperationResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_StartOperationResponse'variant x__) ())
+instance Control.DeepSeq.NFData StartOperationResponse'Variant where
+  rnf (StartOperationResponse'SyncSuccess x__)
+    = Control.DeepSeq.rnf x__
+  rnf (StartOperationResponse'AsyncSuccess x__)
+    = Control.DeepSeq.rnf x__
+  rnf (StartOperationResponse'OperationError x__)
+    = Control.DeepSeq.rnf x__
+_StartOperationResponse'SyncSuccess ::
+  Data.ProtoLens.Prism.Prism' StartOperationResponse'Variant StartOperationResponse'Sync
+_StartOperationResponse'SyncSuccess
+  = Data.ProtoLens.Prism.prism'
+      StartOperationResponse'SyncSuccess
+      (\ p__
+         -> case p__ of
+              (StartOperationResponse'SyncSuccess p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_StartOperationResponse'AsyncSuccess ::
+  Data.ProtoLens.Prism.Prism' StartOperationResponse'Variant StartOperationResponse'Async
+_StartOperationResponse'AsyncSuccess
+  = Data.ProtoLens.Prism.prism'
+      StartOperationResponse'AsyncSuccess
+      (\ p__
+         -> case p__ of
+              (StartOperationResponse'AsyncSuccess p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_StartOperationResponse'OperationError ::
+  Data.ProtoLens.Prism.Prism' StartOperationResponse'Variant UnsuccessfulOperationError
+_StartOperationResponse'OperationError
+  = Data.ProtoLens.Prism.prism'
+      StartOperationResponse'OperationError
+      (\ p__
+         -> case p__ of
+              (StartOperationResponse'OperationError p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operationId' @:: Lens' StartOperationResponse'Async Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.links' @:: Lens' StartOperationResponse'Async [Link]@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.vec'links' @:: Lens' StartOperationResponse'Async (Data.Vector.Vector Link)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operationToken' @:: Lens' StartOperationResponse'Async Data.Text.Text@ -}
+data StartOperationResponse'Async
+  = StartOperationResponse'Async'_constructor {_StartOperationResponse'Async'operationId :: !Data.Text.Text,
+                                               _StartOperationResponse'Async'links :: !(Data.Vector.Vector Link),
+                                               _StartOperationResponse'Async'operationToken :: !Data.Text.Text,
+                                               _StartOperationResponse'Async'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartOperationResponse'Async where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Async "operationId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Async'operationId
+           (\ x__ y__
+              -> x__ {_StartOperationResponse'Async'operationId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Async "links" [Link] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Async'links
+           (\ x__ y__ -> x__ {_StartOperationResponse'Async'links = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Async "vec'links" (Data.Vector.Vector Link) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Async'links
+           (\ x__ y__ -> x__ {_StartOperationResponse'Async'links = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Async "operationToken" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Async'operationToken
+           (\ x__ y__
+              -> x__ {_StartOperationResponse'Async'operationToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartOperationResponse'Async where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.nexus.v1.StartOperationResponse.Async"
+  packedMessageDescriptor _
+    = "\n\
+      \\ENQAsync\DC2!\n\
+      \\foperation_id\CAN\SOH \SOH(\tR\voperationId\DC21\n\
+      \\ENQlinks\CAN\STX \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\DC2'\n\
+      \\SIoperation_token\CAN\ETX \SOH(\tR\SOoperationToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        operationId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationId")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse'Async
+        links__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "links"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Link)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"links")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse'Async
+        operationToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationToken")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse'Async
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, operationId__field_descriptor),
+           (Data.ProtoLens.Tag 2, links__field_descriptor),
+           (Data.ProtoLens.Tag 3, operationToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartOperationResponse'Async'_unknownFields
+        (\ x__ y__
+           -> x__ {_StartOperationResponse'Async'_unknownFields = y__})
+  defMessage
+    = StartOperationResponse'Async'_constructor
+        {_StartOperationResponse'Async'operationId = Data.ProtoLens.fieldDefault,
+         _StartOperationResponse'Async'links = Data.Vector.Generic.empty,
+         _StartOperationResponse'Async'operationToken = Data.ProtoLens.fieldDefault,
+         _StartOperationResponse'Async'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartOperationResponse'Async
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Link
+             -> Data.ProtoLens.Encoding.Bytes.Parser StartOperationResponse'Async
+        loop x mutable'links
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'links)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'links") frozen'links x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operationId") y x)
+                                  mutable'links
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "links"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'links y)
+                                loop x v
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationToken") y x)
+                                  mutable'links
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'links
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'links)
+          "Async"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"operationId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'links") _x))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"operationToken") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData StartOperationResponse'Async where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartOperationResponse'Async'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartOperationResponse'Async'operationId x__)
+                (Control.DeepSeq.deepseq
+                   (_StartOperationResponse'Async'links x__)
+                   (Control.DeepSeq.deepseq
+                      (_StartOperationResponse'Async'operationToken x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.payload' @:: Lens' StartOperationResponse'Sync Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'payload' @:: Lens' StartOperationResponse'Sync (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.links' @:: Lens' StartOperationResponse'Sync [Link]@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.vec'links' @:: Lens' StartOperationResponse'Sync (Data.Vector.Vector Link)@ -}
+data StartOperationResponse'Sync
+  = StartOperationResponse'Sync'_constructor {_StartOperationResponse'Sync'payload :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                              _StartOperationResponse'Sync'links :: !(Data.Vector.Vector Link),
+                                              _StartOperationResponse'Sync'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartOperationResponse'Sync where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Sync "payload" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Sync'payload
+           (\ x__ y__ -> x__ {_StartOperationResponse'Sync'payload = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Sync "maybe'payload" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Sync'payload
+           (\ x__ y__ -> x__ {_StartOperationResponse'Sync'payload = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Sync "links" [Link] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Sync'links
+           (\ x__ y__ -> x__ {_StartOperationResponse'Sync'links = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StartOperationResponse'Sync "vec'links" (Data.Vector.Vector Link) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartOperationResponse'Sync'links
+           (\ x__ y__ -> x__ {_StartOperationResponse'Sync'links = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartOperationResponse'Sync where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.nexus.v1.StartOperationResponse.Sync"
+  packedMessageDescriptor _
+    = "\n\
+      \\EOTSync\DC29\n\
+      \\apayload\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\apayload\DC21\n\
+      \\ENQlinks\CAN\STX \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        payload__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "payload"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'payload")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse'Sync
+        links__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "links"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Link)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"links")) ::
+              Data.ProtoLens.FieldDescriptor StartOperationResponse'Sync
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, payload__field_descriptor),
+           (Data.ProtoLens.Tag 2, links__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartOperationResponse'Sync'_unknownFields
+        (\ x__ y__
+           -> x__ {_StartOperationResponse'Sync'_unknownFields = y__})
+  defMessage
+    = StartOperationResponse'Sync'_constructor
+        {_StartOperationResponse'Sync'payload = Prelude.Nothing,
+         _StartOperationResponse'Sync'links = Data.Vector.Generic.empty,
+         _StartOperationResponse'Sync'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartOperationResponse'Sync
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Link
+             -> Data.ProtoLens.Encoding.Bytes.Parser StartOperationResponse'Sync
+        loop x mutable'links
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'links)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'links") frozen'links x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "payload"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"payload") y x)
+                                  mutable'links
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "links"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'links y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'links
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'links <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'links)
+          "Sync"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'payload") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'links") _x))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartOperationResponse'Sync where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartOperationResponse'Sync'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartOperationResponse'Sync'payload x__)
+                (Control.DeepSeq.deepseq
+                   (_StartOperationResponse'Sync'links x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.operationState' @:: Lens' UnsuccessfulOperationError Data.Text.Text@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.failure' @:: Lens' UnsuccessfulOperationError Failure@
+         * 'Proto.Temporal.Api.Nexus.V1.Message_Fields.maybe'failure' @:: Lens' UnsuccessfulOperationError (Prelude.Maybe Failure)@ -}
+data UnsuccessfulOperationError
+  = UnsuccessfulOperationError'_constructor {_UnsuccessfulOperationError'operationState :: !Data.Text.Text,
+                                             _UnsuccessfulOperationError'failure :: !(Prelude.Maybe Failure),
+                                             _UnsuccessfulOperationError'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UnsuccessfulOperationError where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UnsuccessfulOperationError "operationState" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UnsuccessfulOperationError'operationState
+           (\ x__ y__
+              -> x__ {_UnsuccessfulOperationError'operationState = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UnsuccessfulOperationError "failure" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UnsuccessfulOperationError'failure
+           (\ x__ y__ -> x__ {_UnsuccessfulOperationError'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UnsuccessfulOperationError "maybe'failure" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UnsuccessfulOperationError'failure
+           (\ x__ y__ -> x__ {_UnsuccessfulOperationError'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UnsuccessfulOperationError where
+  messageName _
+    = Data.Text.pack "temporal.api.nexus.v1.UnsuccessfulOperationError"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBUnsuccessfulOperationError\DC2'\n\
+      \\SIoperation_state\CAN\SOH \SOH(\tR\SOoperationState\DC28\n\
+      \\afailure\CAN\STX \SOH(\v2\RS.temporal.api.nexus.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        operationState__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationState")) ::
+              Data.ProtoLens.FieldDescriptor UnsuccessfulOperationError
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor UnsuccessfulOperationError
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, operationState__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UnsuccessfulOperationError'_unknownFields
+        (\ x__ y__
+           -> x__ {_UnsuccessfulOperationError'_unknownFields = y__})
+  defMessage
+    = UnsuccessfulOperationError'_constructor
+        {_UnsuccessfulOperationError'operationState = Data.ProtoLens.fieldDefault,
+         _UnsuccessfulOperationError'failure = Prelude.Nothing,
+         _UnsuccessfulOperationError'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UnsuccessfulOperationError
+          -> Data.ProtoLens.Encoding.Bytes.Parser UnsuccessfulOperationError
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_state"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationState") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UnsuccessfulOperationError"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"operationState") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UnsuccessfulOperationError where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UnsuccessfulOperationError'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UnsuccessfulOperationError'operationState x__)
+                (Control.DeepSeq.deepseq
+                   (_UnsuccessfulOperationError'failure x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \#temporal/api/nexus/v1/message.proto\DC2\NAKtemporal.api.nexus.v1\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/common/v1/message.proto\SUB!temporal/api/enums/v1/nexus.proto\"\196\SOH\n\
+    \\aFailure\DC2\CAN\n\
+    \\amessage\CAN\SOH \SOH(\tR\amessage\DC2H\n\
+    \\bmetadata\CAN\STX \ETX(\v2,.temporal.api.nexus.v1.Failure.MetadataEntryR\bmetadata\DC2\CAN\n\
+    \\adetails\CAN\ETX \SOH(\fR\adetails\SUB;\n\
+    \\rMetadataEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"\197\SOH\n\
+    \\fHandlerError\DC2\GS\n\
+    \\n\
+    \error_type\CAN\SOH \SOH(\tR\terrorType\DC28\n\
+    \\afailure\CAN\STX \SOH(\v2\RS.temporal.api.nexus.v1.FailureR\afailure\DC2\\\n\
+    \\SOretry_behavior\CAN\ETX \SOH(\SO25.temporal.api.enums.v1.NexusHandlerErrorRetryBehaviorR\rretryBehavior\"\DEL\n\
+    \\SUBUnsuccessfulOperationError\DC2'\n\
+    \\SIoperation_state\CAN\SOH \SOH(\tR\SOoperationState\DC28\n\
+    \\afailure\CAN\STX \SOH(\v2\RS.temporal.api.nexus.v1.FailureR\afailure\",\n\
+    \\EOTLink\DC2\DLE\n\
+    \\ETXurl\CAN\SOH \SOH(\tR\ETXurl\DC2\DC2\n\
+    \\EOTtype\CAN\STX \SOH(\tR\EOTtype\"\166\ETX\n\
+    \\NAKStartOperationRequest\DC2\CAN\n\
+    \\aservice\CAN\SOH \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\STX \SOH(\tR\toperation\DC2\GS\n\
+    \\n\
+    \request_id\CAN\ETX \SOH(\tR\trequestId\DC2\SUB\n\
+    \\bcallback\CAN\EOT \SOH(\tR\bcallback\DC29\n\
+    \\apayload\CAN\ENQ \SOH(\v2\US.temporal.api.common.v1.PayloadR\apayload\DC2i\n\
+    \\SIcallback_header\CAN\ACK \ETX(\v2@.temporal.api.nexus.v1.StartOperationRequest.CallbackHeaderEntryR\SOcallbackHeader\DC21\n\
+    \\ENQlinks\CAN\a \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\SUBA\n\
+    \\DC3CallbackHeaderEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"\156\SOH\n\
+    \\SYNCancelOperationRequest\DC2\CAN\n\
+    \\aservice\CAN\SOH \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\STX \SOH(\tR\toperation\DC2!\n\
+    \\foperation_id\CAN\ETX \SOH(\tR\voperationId\DC2'\n\
+    \\SIoperation_token\CAN\EOT \SOH(\tR\SOoperationToken\"\139\ETX\n\
+    \\aRequest\DC2B\n\
+    \\ACKheader\CAN\SOH \ETX(\v2*.temporal.api.nexus.v1.Request.HeaderEntryR\ACKheader\DC2A\n\
+    \\SOscheduled_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2W\n\
+    \\SIstart_operation\CAN\ETX \SOH(\v2,.temporal.api.nexus.v1.StartOperationRequestH\NULR\SOstartOperation\DC2Z\n\
+    \\DLEcancel_operation\CAN\EOT \SOH(\v2-.temporal.api.nexus.v1.CancelOperationRequestH\NULR\SIcancelOperation\SUB9\n\
+    \\vHeaderEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOHB\t\n\
+    \\avariant\"\181\EOT\n\
+    \\SYNStartOperationResponse\DC2W\n\
+    \\fsync_success\CAN\SOH \SOH(\v22.temporal.api.nexus.v1.StartOperationResponse.SyncH\NULR\vsyncSuccess\DC2Z\n\
+    \\rasync_success\CAN\STX \SOH(\v23.temporal.api.nexus.v1.StartOperationResponse.AsyncH\NULR\fasyncSuccess\DC2\\\n\
+    \\SIoperation_error\CAN\ETX \SOH(\v21.temporal.api.nexus.v1.UnsuccessfulOperationErrorH\NULR\SOoperationError\SUBt\n\
+    \\EOTSync\DC29\n\
+    \\apayload\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\apayload\DC21\n\
+    \\ENQlinks\CAN\STX \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\SUB\134\SOH\n\
+    \\ENQAsync\DC2!\n\
+    \\foperation_id\CAN\SOH \SOH(\tR\voperationId\DC21\n\
+    \\ENQlinks\CAN\STX \ETX(\v2\ESC.temporal.api.nexus.v1.LinkR\ENQlinks\DC2'\n\
+    \\SIoperation_token\CAN\ETX \SOH(\tR\SOoperationTokenB\t\n\
+    \\avariant\"\EM\n\
+    \\ETBCancelOperationResponse\"\204\SOH\n\
+    \\bResponse\DC2X\n\
+    \\SIstart_operation\CAN\SOH \SOH(\v2-.temporal.api.nexus.v1.StartOperationResponseH\NULR\SOstartOperation\DC2[\n\
+    \\DLEcancel_operation\CAN\STX \SOH(\v2..temporal.api.nexus.v1.CancelOperationResponseH\NULR\SIcancelOperationB\t\n\
+    \\avariant\"\149\STX\n\
+    \\bEndpoint\DC2\CAN\n\
+    \\aversion\CAN\SOH \SOH(\ETXR\aversion\DC2\SO\n\
+    \\STXid\CAN\STX \SOH(\tR\STXid\DC27\n\
+    \\EOTspec\CAN\ETX \SOH(\v2#.temporal.api.nexus.v1.EndpointSpecR\EOTspec\DC2=\n\
+    \\fcreated_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\vcreatedTime\DC2H\n\
+    \\DC2last_modified_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DLElastModifiedTime\DC2\GS\n\
+    \\n\
+    \url_prefix\CAN\ACK \SOH(\tR\turlPrefix\"\164\SOH\n\
+    \\fEndpointSpec\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2A\n\
+    \\vdescription\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\vdescription\DC2=\n\
+    \\ACKtarget\CAN\ETX \SOH(\v2%.temporal.api.nexus.v1.EndpointTargetR\ACKtarget\"\150\STX\n\
+    \\SOEndpointTarget\DC2F\n\
+    \\ACKworker\CAN\SOH \SOH(\v2,.temporal.api.nexus.v1.EndpointTarget.WorkerH\NULR\ACKworker\DC2L\n\
+    \\bexternal\CAN\STX \SOH(\v2..temporal.api.nexus.v1.EndpointTarget.ExternalH\NULR\bexternal\SUBE\n\
+    \\ACKWorker\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\GS\n\
+    \\n\
+    \task_queue\CAN\STX \SOH(\tR\ttaskQueue\SUB\FS\n\
+    \\bExternal\DC2\DLE\n\
+    \\ETXurl\CAN\SOH \SOH(\tR\ETXurlB\t\n\
+    \\avariantB\132\SOH\n\
+    \\CANio.temporal.api.nexus.v1B\fMessageProtoP\SOHZ!go.temporal.io/api/nexus/v1;nexus\170\STX\ETBTemporalio.Api.Nexus.V1\234\STX\SUBTemporalio::Api::Nexus::V1J\176B\n\
+    \\a\DC2\ENQ\DC4\NUL\215\SOH\SOH\n\
+    \\211\a\n\
+    \\SOH\f\DC2\ETX\DC4\NUL\DC22\200\a The MIT License\n\
+    \\n\
+    \ Copyright (c) 2023 Temporal Technologies Inc. All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\SYN\NUL\RS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\CAN\NUL8\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\CAN\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\EM\NUL1\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\EM\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\SUB\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\ESC\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL3\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\FS\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL4\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\GS\NUL4\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\US\NUL)\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX \NUL.\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX!\NUL+\n\
+    \q\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL*\SOH\SUBe A general purpose failure message.\n\
+    \ See: https://github.com/nexus-rpc/api/blob/main/SPEC.md#failure\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX&\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX&\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX&\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX&\NAK\SYN\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX'\EOT%\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX'\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX'\CAN \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX'#$\n\
+    \7\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX)\EOT\SYN\SUB* UTF-8 encoded JSON serializable details.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX)\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX)\n\
+    \\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX)\DC4\NAK\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT,\NUL2\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX,\b\DC4\n\
+    \`\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX.\EOT\SUB\SUBS See https://github.com/nexus-rpc/api/blob/main/SPEC.md#predefined-handler-errors.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX.\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX.\v\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX.\CAN\EM\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX/\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX/\EOT\v\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX/\f\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX/\SYN\ETB\n\
+    \g\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX1\EOTL\SUBZ Retry behavior, defaults to the retry behavior of the error type as defined in the spec.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX1\EOT8\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX19G\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX1JK\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT4\NUL8\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX4\b\"\n\
+    \T\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX6\EOT\US\SUBG See https://github.com/nexus-rpc/api/blob/main/SPEC.md#operationinfo.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX6\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX6\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX6\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX7\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX7\EOT\v\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX7\f\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX7\SYN\ETB\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT:\NUL>\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX:\b\f\n\
+    \L\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX<\EOT\DC3\SUB? See https://github.com/nexus-rpc/api/blob/main/SPEC.md#links.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX<\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX<\v\SO\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX<\DC1\DC2\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETX=\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETX=\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETX=\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETX=\DC2\DC3\n\
+    \.\n\
+    \\STX\EOT\EOT\DC2\EOTA\NULP\SOH\SUB\" A request to start an operation.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXA\b\GS\n\
+    \9\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXC\EOT\ETB\SUB, Name of service to start the operation in.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXC\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXC\NAK\SYN\n\
+    \*\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXE\EOT\EM\SUB\GS Type of operation to start.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXE\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXE\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXE\ETB\CAN\n\
+    \F\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\ETXG\EOT\SUB\SUB9 A request ID that can be used as an idempotentency key.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ENQ\DC2\ETXG\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETXG\v\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETXG\CAN\EM\n\
+    \V\n\
+    \\EOT\EOT\EOT\STX\ETX\DC2\ETXI\EOT\CAN\SUBI Callback URL to call upon completion if the started operation is async.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\ENQ\DC2\ETXI\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\ETXI\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\ETXI\SYN\ETB\n\
+    \@\n\
+    \\EOT\EOT\EOT\STX\EOT\DC2\ETXK\EOT/\SUB3 Full request body from the incoming HTTP request.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\EOT\ACK\DC2\ETXK\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\ETXK#*\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\ETXK-.\n\
+    \k\n\
+    \\EOT\EOT\EOT\STX\ENQ\DC2\ETXM\EOT,\SUB^ Header that is expected to be attached to the callback request when the operation completes.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ACK\DC2\ETXM\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\ETXM\CAN'\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\ETXM*+\n\
+    \m\n\
+    \\EOT\EOT\EOT\STX\ACK\DC2\ETXO\EOT\FS\SUB` Links contain caller information and can be attached to the operations started by the handler.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\ETXO\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\ACK\DC2\ETXO\r\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\ETXO\DC2\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\ETXO\SUB\ESC\n\
+    \/\n\
+    \\STX\EOT\ENQ\DC2\EOTS\NUL_\SOH\SUB# A request to cancel an operation.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXS\b\RS\n\
+    \\FS\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXU\EOT\ETB\SUB\SI Service name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETXU\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXU\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXU\NAK\SYN\n\
+    \+\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETXW\EOT\EM\SUB\RS Type of operation to cancel.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ENQ\DC2\ETXW\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXW\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXW\ETB\CAN\n\
+    \k\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\ETX[\EOT\FS\SUB^ Operation ID as originally generated by a Handler.\n\
+    \\n\
+    \ Deprecated: Renamed to operation_token.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ENQ\DC2\ETX[\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\ETX[\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\ETX[\SUB\ESC\n\
+    \D\n\
+    \\EOT\EOT\ENQ\STX\ETX\DC2\ETX^\EOT\US\SUB7 Operation token as originally generated by a Handler.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ENQ\DC2\ETX^\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\SOH\DC2\ETX^\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ETX\DC2\ETX^\GS\RS\n\
+    \\RS\n\
+    \\STX\EOT\ACK\DC2\EOTb\NULp\SOH\SUB\DC2 A Nexus request.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXb\b\SI\n\
+    \\181\SOH\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXe\EOT#\SUB\167\SOH Headers extracted from the original request in the Temporal frontend.\n\
+    \ When using Nexus over HTTP, this includes the request's HTTP headers ignoring multiple values.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ACK\DC2\ETXe\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXe\CAN\RS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXe!\"\n\
+    \\192\SOH\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETXj\EOT1\SUB\178\SOH The timestamp when the request was scheduled in the frontend.\n\
+    \ (-- api-linter: core::0142::time-field-names=disabled\n\
+    \     aip.dev/not-precedent: Not following linter rules. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\ETXj\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETXj\RS,\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETXj/0\n\
+    \\f\n\
+    \\EOT\EOT\ACK\b\NUL\DC2\EOTl\EOTo\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\b\NUL\SOH\DC2\ETXl\n\
+    \\DC1\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\ETXm\b2\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\ETXm\b\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\ETXm\RS-\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\ETXm01\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\ETX\DC2\ETXn\b4\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\ETXn\b\RS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\ETXn\US/\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\ETXn23\n\
+    \:\n\
+    \\STX\EOT\a\DC2\ENQs\NUL\137\SOH\SOH\SUB- Response variant for StartOperationRequest.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETXs\b\RS\n\
+    \4\n\
+    \\EOT\EOT\a\ETX\NUL\DC2\EOTu\EOTx\ENQ\SUB& An operation completed successfully.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\ETX\NUL\SOH\DC2\ETXu\f\DLE\n\
+    \\r\n\
+    \\ACK\EOT\a\ETX\NUL\STX\NUL\DC2\ETXv\b3\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\NUL\ACK\DC2\ETXv\b&\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\NUL\SOH\DC2\ETXv'.\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\NUL\ETX\DC2\ETXv12\n\
+    \\r\n\
+    \\ACK\EOT\a\ETX\NUL\STX\SOH\DC2\ETXw\b \n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\EOT\DC2\ETXw\b\DLE\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\ACK\DC2\ETXw\DC1\NAK\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\SOH\DC2\ETXw\SYN\ESC\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\NUL\STX\SOH\ETX\DC2\ETXw\RS\US\n\
+    \v\n\
+    \\EOT\EOT\a\ETX\SOH\DC2\ENQ|\EOT\129\SOH\ENQ\SUBg The operation will complete asynchronously.\n\
+    \ The returned ID can be used to reference this operation.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\ETX\SOH\SOH\DC2\ETX|\f\DC1\n\
+    \8\n\
+    \\ACK\EOT\a\ETX\SOH\STX\NUL\DC2\ETX~\b \SUB) Deprecated: Renamed to operation_token.\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\NUL\ENQ\DC2\ETX~\b\SO\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\NUL\SOH\DC2\ETX~\SI\ESC\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\NUL\ETX\DC2\ETX~\RS\US\n\
+    \\r\n\
+    \\ACK\EOT\a\ETX\SOH\STX\SOH\DC2\ETX\DEL\b \n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\SOH\EOT\DC2\ETX\DEL\b\DLE\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\SOH\ACK\DC2\ETX\DEL\DC1\NAK\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\SOH\SOH\DC2\ETX\DEL\SYN\ESC\n\
+    \\SO\n\
+    \\a\EOT\a\ETX\SOH\STX\SOH\ETX\DC2\ETX\DEL\RS\US\n\
+    \\SO\n\
+    \\ACK\EOT\a\ETX\SOH\STX\STX\DC2\EOT\128\SOH\b#\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\SOH\STX\STX\ENQ\DC2\EOT\128\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\SOH\STX\STX\SOH\DC2\EOT\128\SOH\SI\RS\n\
+    \\SI\n\
+    \\a\EOT\a\ETX\SOH\STX\STX\ETX\DC2\EOT\128\SOH!\"\n\
+    \\SO\n\
+    \\EOT\EOT\a\b\NUL\DC2\ACK\131\SOH\EOT\136\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\a\b\NUL\SOH\DC2\EOT\131\SOH\n\
+    \\DC1\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\132\SOH\b\RS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ACK\DC2\EOT\132\SOH\b\f\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\132\SOH\r\EM\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\132\SOH\FS\GS\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\133\SOH\b \n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ACK\DC2\EOT\133\SOH\b\r\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\133\SOH\SO\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\133\SOH\RS\US\n\
+    \L\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\135\SOH\b7\SUB> The operation completed unsuccessfully (failed or canceled).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\135\SOH\b\"\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\135\SOH#2\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\135\SOH56\n\
+    \<\n\
+    \\STX\EOT\b\DC2\ACK\140\SOH\NUL\141\SOH\SOH\SUB. Response variant for CancelOperationRequest.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\140\SOH\b\US\n\
+    \\\\n\
+    \\STX\EOT\t\DC2\ACK\144\SOH\NUL\150\SOH\SOH\SUBN A response indicating that the handler has successfully processed a request.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\144\SOH\b\DLE\n\
+    \P\n\
+    \\EOT\EOT\t\b\NUL\DC2\ACK\146\SOH\EOT\149\SOH\ENQ\SUB@ Variant must correlate to the corresponding Request's variant.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\b\NUL\SOH\DC2\EOT\146\SOH\n\
+    \\DC1\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\147\SOH\b3\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\147\SOH\b\RS\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\147\SOH\US.\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\147\SOH12\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\SOH\DC2\EOT\148\SOH\b5\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ACK\DC2\EOT\148\SOH\b\US\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\148\SOH 0\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\148\SOH34\n\
+    \q\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\153\SOH\NUL\176\SOH\SOH\SUBc A cluster-global binding from an endpoint ID to a target for dispatching incoming Nexus requests.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\153\SOH\b\DLE\n\
+    \t\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\155\SOH\EOT\SYN\SUBf Data version for this endpoint, incremented for every update issued via the UpdateNexusEndpoint API.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\EOT\155\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\155\SOH\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\155\SOH\DC4\NAK\n\
+    \4\n\
+    \\EOT\EOT\n\
+    \\STX\SOH\DC2\EOT\157\SOH\EOT\DC2\SUB& Unique server-generated endpoint ID.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ENQ\DC2\EOT\157\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\SOH\DC2\EOT\157\SOH\v\r\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ETX\DC2\EOT\157\SOH\DLE\DC1\n\
+    \&\n\
+    \\EOT\EOT\n\
+    \\STX\STX\DC2\EOT\159\SOH\EOT\SUB\SUB\CAN Spec for the endpoint.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ACK\DC2\EOT\159\SOH\EOT\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\SOH\DC2\EOT\159\SOH\DC1\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ETX\DC2\EOT\159\SOH\CAN\EM\n\
+    \\180\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\ETX\DC2\EOT\164\SOH\EOT/\SUB\165\SOH The date and time when the endpoint was created.\n\
+    \ (-- api-linter: core::0142::time-field-names=disabled\n\
+    \     aip.dev/not-precedent: Not following linter rules. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ACK\DC2\EOT\164\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\SOH\DC2\EOT\164\SOH\RS*\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ETX\DC2\EOT\164\SOH-.\n\
+    \\244\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\EOT\DC2\EOT\170\SOH\EOT5\SUB\229\SOH The date and time when the endpoint was last modified.\n\
+    \ Will not be set if the endpoint has never been modified.\n\
+    \ (-- api-linter: core::0142::time-field-names=disabled\n\
+    \     aip.dev/not-precedent: Not following linter rules. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ACK\DC2\EOT\170\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\SOH\DC2\EOT\170\SOH\RS0\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ETX\DC2\EOT\170\SOH34\n\
+    \\130\STX\n\
+    \\EOT\EOT\n\
+    \\STX\ENQ\DC2\EOT\175\SOH\EOT\SUB\SUB\243\SOH Server exposed URL prefix for invocation of operations on this endpoint.\n\
+    \ This doesn't include the protocol, hostname or port as the server does not know how it should be accessed\n\
+    \ publicly. The URL is stable in the face of endpoint renames.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ENQ\DC2\EOT\175\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\SOH\DC2\EOT\175\SOH\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ETX\DC2\EOT\175\SOH\CAN\EM\n\
+    \8\n\
+    \\STX\EOT\v\DC2\ACK\179\SOH\NUL\191\SOH\SOH\SUB* Contains mutable fields for an Endpoint.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\179\SOH\b\DC4\n\
+    \\201\SOH\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\182\SOH\EOT\DC4\SUB\186\SOH Endpoint name, unique for this cluster. Must match `[a-zA-Z_][a-zA-Z0-9_]*`.\n\
+    \ Renaming an endpoint breaks all workflow callers that reference this endpoint, causing operations to fail.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\182\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\182\SOH\v\SI\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\182\SOH\DC2\DC3\n\
+    \\255\SOH\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\187\SOH\EOT3\SUB\240\SOH Markdown description serialized as a single JSON string.\n\
+    \ If the Payload is encrypted, the UI and CLI may decrypt with the configured codec server endpoint.\n\
+    \ By default, the server enforces a limit of 20,000 bytes for this entire payload.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ACK\DC2\EOT\187\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\187\SOH#.\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\187\SOH12\n\
+    \,\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\190\SOH\EOT\RS\SUB\RS Target to route requests to.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ACK\DC2\EOT\190\SOH\EOT\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\190\SOH\DC3\EM\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\190\SOH\FS\GS\n\
+    \,\n\
+    \\STX\EOT\f\DC2\ACK\194\SOH\NUL\215\SOH\SOH\SUB\RS Target to route requests to.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\194\SOH\b\SYN\n\
+    \X\n\
+    \\EOT\EOT\f\ETX\NUL\DC2\ACK\196\SOH\EOT\201\SOH\ENQ\SUBH Target a worker polling on a Nexus task queue in a specific namespace.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\ETX\NUL\SOH\DC2\EOT\196\SOH\f\DC2\n\
+    \1\n\
+    \\ACK\EOT\f\ETX\NUL\STX\NUL\DC2\EOT\198\SOH\b\GS\SUB! Namespace to route requests to.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\NUL\STX\NUL\ENQ\DC2\EOT\198\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\NUL\STX\NUL\SOH\DC2\EOT\198\SOH\SI\CAN\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\NUL\STX\NUL\ETX\DC2\EOT\198\SOH\ESC\FS\n\
+    \8\n\
+    \\ACK\EOT\f\ETX\NUL\STX\SOH\DC2\EOT\200\SOH\b\RS\SUB( Nexus task queue to route requests to.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\NUL\STX\SOH\ENQ\DC2\EOT\200\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\NUL\STX\SOH\SOH\DC2\EOT\200\SOH\SI\EM\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\NUL\STX\SOH\ETX\DC2\EOT\200\SOH\FS\GS\n\
+    \\206\SOH\n\
+    \\EOT\EOT\f\ETX\SOH\DC2\ACK\206\SOH\EOT\209\SOH\ENQ\SUB\189\SOH Target an external server by URL.\n\
+    \ At a later point, this will support providing credentials, in the meantime, an http.RoundTripper can be injected\n\
+    \ into the server to modify the request.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\ETX\SOH\SOH\DC2\EOT\206\SOH\f\DC4\n\
+    \\RS\n\
+    \\ACK\EOT\f\ETX\SOH\STX\NUL\DC2\EOT\208\SOH\b\ETB\SUB\SO URL to call.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\STX\NUL\ENQ\DC2\EOT\208\SOH\b\SO\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\STX\NUL\SOH\DC2\EOT\208\SOH\SI\DC2\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\STX\NUL\ETX\DC2\EOT\208\SOH\NAK\SYN\n\
+    \\SO\n\
+    \\EOT\EOT\f\b\NUL\DC2\ACK\211\SOH\EOT\214\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\f\b\NUL\SOH\DC2\EOT\211\SOH\n\
+    \\DC1\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\212\SOH\b\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\212\SOH\b\SO\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\212\SOH\SI\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\212\SOH\CAN\EM\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\SOH\DC2\EOT\213\SOH\b\RS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ACK\DC2\EOT\213\SOH\b\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\213\SOH\DC1\EM\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\213\SOH\FS\GSb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Nexus/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Nexus/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Nexus/V1/Message_Fields.hs
@@ -0,0 +1,363 @@
+{- This file was auto-generated from temporal/api/nexus/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Nexus.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Nexus
+asyncSuccess ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "asyncSuccess" a) =>
+  Lens.Family2.LensLike' f s a
+asyncSuccess = Data.ProtoLens.Field.field @"asyncSuccess"
+callback ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "callback" a) =>
+  Lens.Family2.LensLike' f s a
+callback = Data.ProtoLens.Field.field @"callback"
+callbackHeader ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "callbackHeader" a) =>
+  Lens.Family2.LensLike' f s a
+callbackHeader = Data.ProtoLens.Field.field @"callbackHeader"
+cancelOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelOperation" a) =>
+  Lens.Family2.LensLike' f s a
+cancelOperation = Data.ProtoLens.Field.field @"cancelOperation"
+createdTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createdTime" a) =>
+  Lens.Family2.LensLike' f s a
+createdTime = Data.ProtoLens.Field.field @"createdTime"
+description ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "description" a) =>
+  Lens.Family2.LensLike' f s a
+description = Data.ProtoLens.Field.field @"description"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+errorType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "errorType" a) =>
+  Lens.Family2.LensLike' f s a
+errorType = Data.ProtoLens.Field.field @"errorType"
+external ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "external" a) =>
+  Lens.Family2.LensLike' f s a
+external = Data.ProtoLens.Field.field @"external"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+lastModifiedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastModifiedTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastModifiedTime = Data.ProtoLens.Field.field @"lastModifiedTime"
+links ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "links" a) =>
+  Lens.Family2.LensLike' f s a
+links = Data.ProtoLens.Field.field @"links"
+maybe'asyncSuccess ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'asyncSuccess" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'asyncSuccess
+  = Data.ProtoLens.Field.field @"maybe'asyncSuccess"
+maybe'cancelOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelOperation
+  = Data.ProtoLens.Field.field @"maybe'cancelOperation"
+maybe'createdTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createdTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createdTime = Data.ProtoLens.Field.field @"maybe'createdTime"
+maybe'description ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'description" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'description = Data.ProtoLens.Field.field @"maybe'description"
+maybe'external ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'external" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'external = Data.ProtoLens.Field.field @"maybe'external"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'lastModifiedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastModifiedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastModifiedTime
+  = Data.ProtoLens.Field.field @"maybe'lastModifiedTime"
+maybe'operationError ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'operationError" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'operationError
+  = Data.ProtoLens.Field.field @"maybe'operationError"
+maybe'payload ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'payload" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'payload = Data.ProtoLens.Field.field @"maybe'payload"
+maybe'scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduledTime
+  = Data.ProtoLens.Field.field @"maybe'scheduledTime"
+maybe'spec ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'spec" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'spec = Data.ProtoLens.Field.field @"maybe'spec"
+maybe'startOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startOperation
+  = Data.ProtoLens.Field.field @"maybe'startOperation"
+maybe'syncSuccess ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'syncSuccess" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'syncSuccess = Data.ProtoLens.Field.field @"maybe'syncSuccess"
+maybe'target ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'target" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'target = Data.ProtoLens.Field.field @"maybe'target"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+maybe'worker ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'worker" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'worker = Data.ProtoLens.Field.field @"maybe'worker"
+message ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>
+  Lens.Family2.LensLike' f s a
+message = Data.ProtoLens.Field.field @"message"
+metadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "metadata" a) =>
+  Lens.Family2.LensLike' f s a
+metadata = Data.ProtoLens.Field.field @"metadata"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+operationError ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationError" a) =>
+  Lens.Family2.LensLike' f s a
+operationError = Data.ProtoLens.Field.field @"operationError"
+operationId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationId" a) =>
+  Lens.Family2.LensLike' f s a
+operationId = Data.ProtoLens.Field.field @"operationId"
+operationState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationState" a) =>
+  Lens.Family2.LensLike' f s a
+operationState = Data.ProtoLens.Field.field @"operationState"
+operationToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationToken" a) =>
+  Lens.Family2.LensLike' f s a
+operationToken = Data.ProtoLens.Field.field @"operationToken"
+payload ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "payload" a) =>
+  Lens.Family2.LensLike' f s a
+payload = Data.ProtoLens.Field.field @"payload"
+requestId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestId" a) =>
+  Lens.Family2.LensLike' f s a
+requestId = Data.ProtoLens.Field.field @"requestId"
+retryBehavior ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryBehavior" a) =>
+  Lens.Family2.LensLike' f s a
+retryBehavior = Data.ProtoLens.Field.field @"retryBehavior"
+scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledTime = Data.ProtoLens.Field.field @"scheduledTime"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+spec ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spec" a) =>
+  Lens.Family2.LensLike' f s a
+spec = Data.ProtoLens.Field.field @"spec"
+startOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startOperation" a) =>
+  Lens.Family2.LensLike' f s a
+startOperation = Data.ProtoLens.Field.field @"startOperation"
+syncSuccess ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "syncSuccess" a) =>
+  Lens.Family2.LensLike' f s a
+syncSuccess = Data.ProtoLens.Field.field @"syncSuccess"
+target ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "target" a) =>
+  Lens.Family2.LensLike' f s a
+target = Data.ProtoLens.Field.field @"target"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+url ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "url" a) =>
+  Lens.Family2.LensLike' f s a
+url = Data.ProtoLens.Field.field @"url"
+urlPrefix ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "urlPrefix" a) =>
+  Lens.Family2.LensLike' f s a
+urlPrefix = Data.ProtoLens.Field.field @"urlPrefix"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'links ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'links" a) =>
+  Lens.Family2.LensLike' f s a
+vec'links = Data.ProtoLens.Field.field @"vec'links"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
+worker ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "worker" a) =>
+  Lens.Family2.LensLike' f s a
+worker = Data.ProtoLens.Field.field @"worker"
diff --git a/src/Proto/Temporal/Api/Operatorservice/V1/RequestResponse.hs b/src/Proto/Temporal/Api/Operatorservice/V1/RequestResponse.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Operatorservice/V1/RequestResponse.hs
@@ -0,0 +1,5323 @@
+{- This file was auto-generated from temporal/api/operatorservice/v1/request_response.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Operatorservice.V1.RequestResponse (
+        AddOrUpdateRemoteClusterRequest(),
+        AddOrUpdateRemoteClusterResponse(), AddSearchAttributesRequest(),
+        AddSearchAttributesRequest'SearchAttributesEntry(),
+        AddSearchAttributesResponse(), ClusterMetadata(),
+        CreateNexusEndpointRequest(), CreateNexusEndpointResponse(),
+        DeleteNamespaceRequest(), DeleteNamespaceResponse(),
+        DeleteNexusEndpointRequest(), DeleteNexusEndpointResponse(),
+        GetNexusEndpointRequest(), GetNexusEndpointResponse(),
+        ListClustersRequest(), ListClustersResponse(),
+        ListNexusEndpointsRequest(), ListNexusEndpointsResponse(),
+        ListSearchAttributesRequest(), ListSearchAttributesResponse(),
+        ListSearchAttributesResponse'CustomAttributesEntry(),
+        ListSearchAttributesResponse'StorageSchemaEntry(),
+        ListSearchAttributesResponse'SystemAttributesEntry(),
+        RemoveRemoteClusterRequest(), RemoveRemoteClusterResponse(),
+        RemoveSearchAttributesRequest(), RemoveSearchAttributesResponse(),
+        UpdateNexusEndpointRequest(), UpdateNexusEndpointResponse()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Nexus.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.frontendAddress' @:: Lens' AddOrUpdateRemoteClusterRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.enableRemoteClusterConnection' @:: Lens' AddOrUpdateRemoteClusterRequest Prelude.Bool@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.frontendHttpAddress' @:: Lens' AddOrUpdateRemoteClusterRequest Data.Text.Text@ -}
+data AddOrUpdateRemoteClusterRequest
+  = AddOrUpdateRemoteClusterRequest'_constructor {_AddOrUpdateRemoteClusterRequest'frontendAddress :: !Data.Text.Text,
+                                                  _AddOrUpdateRemoteClusterRequest'enableRemoteClusterConnection :: !Prelude.Bool,
+                                                  _AddOrUpdateRemoteClusterRequest'frontendHttpAddress :: !Data.Text.Text,
+                                                  _AddOrUpdateRemoteClusterRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show AddOrUpdateRemoteClusterRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField AddOrUpdateRemoteClusterRequest "frontendAddress" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddOrUpdateRemoteClusterRequest'frontendAddress
+           (\ x__ y__
+              -> x__ {_AddOrUpdateRemoteClusterRequest'frontendAddress = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField AddOrUpdateRemoteClusterRequest "enableRemoteClusterConnection" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddOrUpdateRemoteClusterRequest'enableRemoteClusterConnection
+           (\ x__ y__
+              -> x__
+                   {_AddOrUpdateRemoteClusterRequest'enableRemoteClusterConnection = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField AddOrUpdateRemoteClusterRequest "frontendHttpAddress" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddOrUpdateRemoteClusterRequest'frontendHttpAddress
+           (\ x__ y__
+              -> x__
+                   {_AddOrUpdateRemoteClusterRequest'frontendHttpAddress = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message AddOrUpdateRemoteClusterRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\USAddOrUpdateRemoteClusterRequest\DC2)\n\
+      \\DLEfrontend_address\CAN\SOH \SOH(\tR\SIfrontendAddress\DC2G\n\
+      \ enable_remote_cluster_connection\CAN\STX \SOH(\bR\GSenableRemoteClusterConnection\DC22\n\
+      \\NAKfrontend_http_address\CAN\ETX \SOH(\tR\DC3frontendHttpAddress"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        frontendAddress__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "frontend_address"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"frontendAddress")) ::
+              Data.ProtoLens.FieldDescriptor AddOrUpdateRemoteClusterRequest
+        enableRemoteClusterConnection__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "enable_remote_cluster_connection"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"enableRemoteClusterConnection")) ::
+              Data.ProtoLens.FieldDescriptor AddOrUpdateRemoteClusterRequest
+        frontendHttpAddress__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "frontend_http_address"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"frontendHttpAddress")) ::
+              Data.ProtoLens.FieldDescriptor AddOrUpdateRemoteClusterRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, frontendAddress__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            enableRemoteClusterConnection__field_descriptor),
+           (Data.ProtoLens.Tag 3, frontendHttpAddress__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _AddOrUpdateRemoteClusterRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_AddOrUpdateRemoteClusterRequest'_unknownFields = y__})
+  defMessage
+    = AddOrUpdateRemoteClusterRequest'_constructor
+        {_AddOrUpdateRemoteClusterRequest'frontendAddress = Data.ProtoLens.fieldDefault,
+         _AddOrUpdateRemoteClusterRequest'enableRemoteClusterConnection = Data.ProtoLens.fieldDefault,
+         _AddOrUpdateRemoteClusterRequest'frontendHttpAddress = Data.ProtoLens.fieldDefault,
+         _AddOrUpdateRemoteClusterRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          AddOrUpdateRemoteClusterRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser AddOrUpdateRemoteClusterRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "frontend_address"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"frontendAddress") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "enable_remote_cluster_connection"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"enableRemoteClusterConnection") y
+                                     x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "frontend_http_address"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"frontendHttpAddress") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "AddOrUpdateRemoteClusterRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"frontendAddress") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"enableRemoteClusterConnection") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"frontendHttpAddress") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData AddOrUpdateRemoteClusterRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_AddOrUpdateRemoteClusterRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_AddOrUpdateRemoteClusterRequest'frontendAddress x__)
+                (Control.DeepSeq.deepseq
+                   (_AddOrUpdateRemoteClusterRequest'enableRemoteClusterConnection
+                      x__)
+                   (Control.DeepSeq.deepseq
+                      (_AddOrUpdateRemoteClusterRequest'frontendHttpAddress x__) ())))
+{- | Fields :
+      -}
+data AddOrUpdateRemoteClusterResponse
+  = AddOrUpdateRemoteClusterResponse'_constructor {_AddOrUpdateRemoteClusterResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show AddOrUpdateRemoteClusterResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message AddOrUpdateRemoteClusterResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \ AddOrUpdateRemoteClusterResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _AddOrUpdateRemoteClusterResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_AddOrUpdateRemoteClusterResponse'_unknownFields = y__})
+  defMessage
+    = AddOrUpdateRemoteClusterResponse'_constructor
+        {_AddOrUpdateRemoteClusterResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          AddOrUpdateRemoteClusterResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser AddOrUpdateRemoteClusterResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "AddOrUpdateRemoteClusterResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData AddOrUpdateRemoteClusterResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_AddOrUpdateRemoteClusterResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.searchAttributes' @:: Lens' AddSearchAttributesRequest (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType)@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.namespace' @:: Lens' AddSearchAttributesRequest Data.Text.Text@ -}
+data AddSearchAttributesRequest
+  = AddSearchAttributesRequest'_constructor {_AddSearchAttributesRequest'searchAttributes :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType),
+                                             _AddSearchAttributesRequest'namespace :: !Data.Text.Text,
+                                             _AddSearchAttributesRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show AddSearchAttributesRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField AddSearchAttributesRequest "searchAttributes" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddSearchAttributesRequest'searchAttributes
+           (\ x__ y__
+              -> x__ {_AddSearchAttributesRequest'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField AddSearchAttributesRequest "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddSearchAttributesRequest'namespace
+           (\ x__ y__ -> x__ {_AddSearchAttributesRequest'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message AddSearchAttributesRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.AddSearchAttributesRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBAddSearchAttributesRequest\DC2~\n\
+      \\DC1search_attributes\CAN\SOH \ETX(\v2Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntryR\DLEsearchAttributes\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\SUBl\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+      \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor AddSearchAttributesRequest'SearchAttributesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor AddSearchAttributesRequest
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor AddSearchAttributesRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _AddSearchAttributesRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_AddSearchAttributesRequest'_unknownFields = y__})
+  defMessage
+    = AddSearchAttributesRequest'_constructor
+        {_AddSearchAttributesRequest'searchAttributes = Data.Map.empty,
+         _AddSearchAttributesRequest'namespace = Data.ProtoLens.fieldDefault,
+         _AddSearchAttributesRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          AddSearchAttributesRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser AddSearchAttributesRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: AddSearchAttributesRequest'SearchAttributesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                  (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                      Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                        (Prelude.fromIntegral
+                                                                                                           len)
+                                                                                                        Data.ProtoLens.parseMessage)
+                                                                                                  "search_attributes"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"searchAttributes")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "AddSearchAttributesRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage ::
+                                       AddSearchAttributesRequest'SearchAttributesEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"searchAttributes") _x))))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData AddSearchAttributesRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_AddSearchAttributesRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_AddSearchAttributesRequest'searchAttributes x__)
+                (Control.DeepSeq.deepseq
+                   (_AddSearchAttributesRequest'namespace x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.key' @:: Lens' AddSearchAttributesRequest'SearchAttributesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.value' @:: Lens' AddSearchAttributesRequest'SearchAttributesEntry Proto.Temporal.Api.Enums.V1.Common.IndexedValueType@ -}
+data AddSearchAttributesRequest'SearchAttributesEntry
+  = AddSearchAttributesRequest'SearchAttributesEntry'_constructor {_AddSearchAttributesRequest'SearchAttributesEntry'key :: !Data.Text.Text,
+                                                                   _AddSearchAttributesRequest'SearchAttributesEntry'value :: !Proto.Temporal.Api.Enums.V1.Common.IndexedValueType,
+                                                                   _AddSearchAttributesRequest'SearchAttributesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show AddSearchAttributesRequest'SearchAttributesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField AddSearchAttributesRequest'SearchAttributesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddSearchAttributesRequest'SearchAttributesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_AddSearchAttributesRequest'SearchAttributesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField AddSearchAttributesRequest'SearchAttributesEntry "value" Proto.Temporal.Api.Enums.V1.Common.IndexedValueType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _AddSearchAttributesRequest'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_AddSearchAttributesRequest'SearchAttributesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message AddSearchAttributesRequest'SearchAttributesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+      \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor AddSearchAttributesRequest'SearchAttributesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.IndexedValueType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor AddSearchAttributesRequest'SearchAttributesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _AddSearchAttributesRequest'SearchAttributesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_AddSearchAttributesRequest'SearchAttributesEntry'_unknownFields = y__})
+  defMessage
+    = AddSearchAttributesRequest'SearchAttributesEntry'_constructor
+        {_AddSearchAttributesRequest'SearchAttributesEntry'key = Data.ProtoLens.fieldDefault,
+         _AddSearchAttributesRequest'SearchAttributesEntry'value = Data.ProtoLens.fieldDefault,
+         _AddSearchAttributesRequest'SearchAttributesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          AddSearchAttributesRequest'SearchAttributesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser AddSearchAttributesRequest'SearchAttributesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SearchAttributesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData AddSearchAttributesRequest'SearchAttributesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_AddSearchAttributesRequest'SearchAttributesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_AddSearchAttributesRequest'SearchAttributesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_AddSearchAttributesRequest'SearchAttributesEntry'value x__) ()))
+{- | Fields :
+      -}
+data AddSearchAttributesResponse
+  = AddSearchAttributesResponse'_constructor {_AddSearchAttributesResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show AddSearchAttributesResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message AddSearchAttributesResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.AddSearchAttributesResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCAddSearchAttributesResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _AddSearchAttributesResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_AddSearchAttributesResponse'_unknownFields = y__})
+  defMessage
+    = AddSearchAttributesResponse'_constructor
+        {_AddSearchAttributesResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          AddSearchAttributesResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser AddSearchAttributesResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "AddSearchAttributesResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData AddSearchAttributesResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_AddSearchAttributesResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.clusterName' @:: Lens' ClusterMetadata Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.clusterId' @:: Lens' ClusterMetadata Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.address' @:: Lens' ClusterMetadata Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.httpAddress' @:: Lens' ClusterMetadata Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.initialFailoverVersion' @:: Lens' ClusterMetadata Data.Int.Int64@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.historyShardCount' @:: Lens' ClusterMetadata Data.Int.Int32@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.isConnectionEnabled' @:: Lens' ClusterMetadata Prelude.Bool@ -}
+data ClusterMetadata
+  = ClusterMetadata'_constructor {_ClusterMetadata'clusterName :: !Data.Text.Text,
+                                  _ClusterMetadata'clusterId :: !Data.Text.Text,
+                                  _ClusterMetadata'address :: !Data.Text.Text,
+                                  _ClusterMetadata'httpAddress :: !Data.Text.Text,
+                                  _ClusterMetadata'initialFailoverVersion :: !Data.Int.Int64,
+                                  _ClusterMetadata'historyShardCount :: !Data.Int.Int32,
+                                  _ClusterMetadata'isConnectionEnabled :: !Prelude.Bool,
+                                  _ClusterMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ClusterMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ClusterMetadata "clusterName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'clusterName
+           (\ x__ y__ -> x__ {_ClusterMetadata'clusterName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClusterMetadata "clusterId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'clusterId
+           (\ x__ y__ -> x__ {_ClusterMetadata'clusterId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClusterMetadata "address" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'address
+           (\ x__ y__ -> x__ {_ClusterMetadata'address = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClusterMetadata "httpAddress" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'httpAddress
+           (\ x__ y__ -> x__ {_ClusterMetadata'httpAddress = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClusterMetadata "initialFailoverVersion" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'initialFailoverVersion
+           (\ x__ y__ -> x__ {_ClusterMetadata'initialFailoverVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClusterMetadata "historyShardCount" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'historyShardCount
+           (\ x__ y__ -> x__ {_ClusterMetadata'historyShardCount = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ClusterMetadata "isConnectionEnabled" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterMetadata'isConnectionEnabled
+           (\ x__ y__ -> x__ {_ClusterMetadata'isConnectionEnabled = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ClusterMetadata where
+  messageName _
+    = Data.Text.pack "temporal.api.operatorservice.v1.ClusterMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIClusterMetadata\DC2!\n\
+      \\fcluster_name\CAN\SOH \SOH(\tR\vclusterName\DC2\GS\n\
+      \\n\
+      \cluster_id\CAN\STX \SOH(\tR\tclusterId\DC2\CAN\n\
+      \\aaddress\CAN\ETX \SOH(\tR\aaddress\DC2!\n\
+      \\fhttp_address\CAN\a \SOH(\tR\vhttpAddress\DC28\n\
+      \\CANinitial_failover_version\CAN\EOT \SOH(\ETXR\SYNinitialFailoverVersion\DC2.\n\
+      \\DC3history_shard_count\CAN\ENQ \SOH(\ENQR\DC1historyShardCount\DC22\n\
+      \\NAKis_connection_enabled\CAN\ACK \SOH(\bR\DC3isConnectionEnabled"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        clusterName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cluster_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clusterName")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+        clusterId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cluster_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clusterId")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+        address__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "address"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"address")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+        httpAddress__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "http_address"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"httpAddress")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+        initialFailoverVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initial_failover_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initialFailoverVersion")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+        historyShardCount__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_shard_count"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historyShardCount")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+        isConnectionEnabled__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_connection_enabled"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"isConnectionEnabled")) ::
+              Data.ProtoLens.FieldDescriptor ClusterMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, clusterName__field_descriptor),
+           (Data.ProtoLens.Tag 2, clusterId__field_descriptor),
+           (Data.ProtoLens.Tag 3, address__field_descriptor),
+           (Data.ProtoLens.Tag 7, httpAddress__field_descriptor),
+           (Data.ProtoLens.Tag 4, initialFailoverVersion__field_descriptor),
+           (Data.ProtoLens.Tag 5, historyShardCount__field_descriptor),
+           (Data.ProtoLens.Tag 6, isConnectionEnabled__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ClusterMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_ClusterMetadata'_unknownFields = y__})
+  defMessage
+    = ClusterMetadata'_constructor
+        {_ClusterMetadata'clusterName = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'clusterId = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'address = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'httpAddress = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'initialFailoverVersion = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'historyShardCount = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'isConnectionEnabled = Data.ProtoLens.fieldDefault,
+         _ClusterMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ClusterMetadata
+          -> Data.ProtoLens.Encoding.Bytes.Parser ClusterMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cluster_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"clusterName") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cluster_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"clusterId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "address"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"address") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "http_address"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"httpAddress") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initial_failover_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initialFailoverVersion") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "history_shard_count"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historyShardCount") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_connection_enabled"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"isConnectionEnabled") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ClusterMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"clusterName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"clusterId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"address") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"httpAddress") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"initialFailoverVersion") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"historyShardCount") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"isConnectionEnabled") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (\ b -> if b then 1 else 0) _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ClusterMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ClusterMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ClusterMetadata'clusterName x__)
+                (Control.DeepSeq.deepseq
+                   (_ClusterMetadata'clusterId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ClusterMetadata'address x__)
+                      (Control.DeepSeq.deepseq
+                         (_ClusterMetadata'httpAddress x__)
+                         (Control.DeepSeq.deepseq
+                            (_ClusterMetadata'initialFailoverVersion x__)
+                            (Control.DeepSeq.deepseq
+                               (_ClusterMetadata'historyShardCount x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ClusterMetadata'isConnectionEnabled x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.spec' @:: Lens' CreateNexusEndpointRequest Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.maybe'spec' @:: Lens' CreateNexusEndpointRequest (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec)@ -}
+data CreateNexusEndpointRequest
+  = CreateNexusEndpointRequest'_constructor {_CreateNexusEndpointRequest'spec :: !(Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec),
+                                             _CreateNexusEndpointRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CreateNexusEndpointRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CreateNexusEndpointRequest "spec" Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CreateNexusEndpointRequest'spec
+           (\ x__ y__ -> x__ {_CreateNexusEndpointRequest'spec = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CreateNexusEndpointRequest "maybe'spec" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CreateNexusEndpointRequest'spec
+           (\ x__ y__ -> x__ {_CreateNexusEndpointRequest'spec = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CreateNexusEndpointRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.CreateNexusEndpointRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBCreateNexusEndpointRequest\DC27\n\
+      \\EOTspec\CAN\SOH \SOH(\v2#.temporal.api.nexus.v1.EndpointSpecR\EOTspec"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor CreateNexusEndpointRequest
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, spec__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CreateNexusEndpointRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_CreateNexusEndpointRequest'_unknownFields = y__})
+  defMessage
+    = CreateNexusEndpointRequest'_constructor
+        {_CreateNexusEndpointRequest'spec = Prelude.Nothing,
+         _CreateNexusEndpointRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CreateNexusEndpointRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser CreateNexusEndpointRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CreateNexusEndpointRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'spec") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CreateNexusEndpointRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CreateNexusEndpointRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CreateNexusEndpointRequest'spec x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.endpoint' @:: Lens' CreateNexusEndpointResponse Proto.Temporal.Api.Nexus.V1.Message.Endpoint@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.maybe'endpoint' @:: Lens' CreateNexusEndpointResponse (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint)@ -}
+data CreateNexusEndpointResponse
+  = CreateNexusEndpointResponse'_constructor {_CreateNexusEndpointResponse'endpoint :: !(Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint),
+                                              _CreateNexusEndpointResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CreateNexusEndpointResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CreateNexusEndpointResponse "endpoint" Proto.Temporal.Api.Nexus.V1.Message.Endpoint where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CreateNexusEndpointResponse'endpoint
+           (\ x__ y__ -> x__ {_CreateNexusEndpointResponse'endpoint = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CreateNexusEndpointResponse "maybe'endpoint" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CreateNexusEndpointResponse'endpoint
+           (\ x__ y__ -> x__ {_CreateNexusEndpointResponse'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CreateNexusEndpointResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.CreateNexusEndpointResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCCreateNexusEndpointResponse\DC2;\n\
+      \\bendpoint\CAN\SOH \SOH(\v2\US.temporal.api.nexus.v1.EndpointR\bendpoint"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.Endpoint)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'endpoint")) ::
+              Data.ProtoLens.FieldDescriptor CreateNexusEndpointResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, endpoint__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CreateNexusEndpointResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_CreateNexusEndpointResponse'_unknownFields = y__})
+  defMessage
+    = CreateNexusEndpointResponse'_constructor
+        {_CreateNexusEndpointResponse'endpoint = Prelude.Nothing,
+         _CreateNexusEndpointResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CreateNexusEndpointResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser CreateNexusEndpointResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CreateNexusEndpointResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'endpoint") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CreateNexusEndpointResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CreateNexusEndpointResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CreateNexusEndpointResponse'endpoint x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.namespace' @:: Lens' DeleteNamespaceRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.namespaceId' @:: Lens' DeleteNamespaceRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.namespaceDeleteDelay' @:: Lens' DeleteNamespaceRequest Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.maybe'namespaceDeleteDelay' @:: Lens' DeleteNamespaceRequest (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@ -}
+data DeleteNamespaceRequest
+  = DeleteNamespaceRequest'_constructor {_DeleteNamespaceRequest'namespace :: !Data.Text.Text,
+                                         _DeleteNamespaceRequest'namespaceId :: !Data.Text.Text,
+                                         _DeleteNamespaceRequest'namespaceDeleteDelay :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                         _DeleteNamespaceRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeleteNamespaceRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeleteNamespaceRequest "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNamespaceRequest'namespace
+           (\ x__ y__ -> x__ {_DeleteNamespaceRequest'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeleteNamespaceRequest "namespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNamespaceRequest'namespaceId
+           (\ x__ y__ -> x__ {_DeleteNamespaceRequest'namespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeleteNamespaceRequest "namespaceDeleteDelay" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNamespaceRequest'namespaceDeleteDelay
+           (\ x__ y__
+              -> x__ {_DeleteNamespaceRequest'namespaceDeleteDelay = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeleteNamespaceRequest "maybe'namespaceDeleteDelay" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNamespaceRequest'namespaceDeleteDelay
+           (\ x__ y__
+              -> x__ {_DeleteNamespaceRequest'namespaceDeleteDelay = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeleteNamespaceRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.DeleteNamespaceRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNDeleteNamespaceRequest\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+      \\fnamespace_id\CAN\STX \SOH(\tR\vnamespaceId\DC2O\n\
+      \\SYNnamespace_delete_delay\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\DC4namespaceDeleteDelay"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor DeleteNamespaceRequest
+        namespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespaceId")) ::
+              Data.ProtoLens.FieldDescriptor DeleteNamespaceRequest
+        namespaceDeleteDelay__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace_delete_delay"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'namespaceDeleteDelay")) ::
+              Data.ProtoLens.FieldDescriptor DeleteNamespaceRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, namespaceDeleteDelay__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeleteNamespaceRequest'_unknownFields
+        (\ x__ y__ -> x__ {_DeleteNamespaceRequest'_unknownFields = y__})
+  defMessage
+    = DeleteNamespaceRequest'_constructor
+        {_DeleteNamespaceRequest'namespace = Data.ProtoLens.fieldDefault,
+         _DeleteNamespaceRequest'namespaceId = Data.ProtoLens.fieldDefault,
+         _DeleteNamespaceRequest'namespaceDeleteDelay = Prelude.Nothing,
+         _DeleteNamespaceRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeleteNamespaceRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeleteNamespaceRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespaceId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "namespace_delete_delay"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"namespaceDeleteDelay") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeleteNamespaceRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"namespaceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'namespaceDeleteDelay") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData DeleteNamespaceRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeleteNamespaceRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeleteNamespaceRequest'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_DeleteNamespaceRequest'namespaceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_DeleteNamespaceRequest'namespaceDeleteDelay x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.deletedNamespace' @:: Lens' DeleteNamespaceResponse Data.Text.Text@ -}
+data DeleteNamespaceResponse
+  = DeleteNamespaceResponse'_constructor {_DeleteNamespaceResponse'deletedNamespace :: !Data.Text.Text,
+                                          _DeleteNamespaceResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeleteNamespaceResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeleteNamespaceResponse "deletedNamespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNamespaceResponse'deletedNamespace
+           (\ x__ y__
+              -> x__ {_DeleteNamespaceResponse'deletedNamespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeleteNamespaceResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.DeleteNamespaceResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBDeleteNamespaceResponse\DC2+\n\
+      \\DC1deleted_namespace\CAN\SOH \SOH(\tR\DLEdeletedNamespace"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        deletedNamespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deleted_namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deletedNamespace")) ::
+              Data.ProtoLens.FieldDescriptor DeleteNamespaceResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, deletedNamespace__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeleteNamespaceResponse'_unknownFields
+        (\ x__ y__ -> x__ {_DeleteNamespaceResponse'_unknownFields = y__})
+  defMessage
+    = DeleteNamespaceResponse'_constructor
+        {_DeleteNamespaceResponse'deletedNamespace = Data.ProtoLens.fieldDefault,
+         _DeleteNamespaceResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeleteNamespaceResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeleteNamespaceResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "deleted_namespace"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deletedNamespace") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeleteNamespaceResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"deletedNamespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData DeleteNamespaceResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeleteNamespaceResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeleteNamespaceResponse'deletedNamespace x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.id' @:: Lens' DeleteNexusEndpointRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.version' @:: Lens' DeleteNexusEndpointRequest Data.Int.Int64@ -}
+data DeleteNexusEndpointRequest
+  = DeleteNexusEndpointRequest'_constructor {_DeleteNexusEndpointRequest'id :: !Data.Text.Text,
+                                             _DeleteNexusEndpointRequest'version :: !Data.Int.Int64,
+                                             _DeleteNexusEndpointRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeleteNexusEndpointRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeleteNexusEndpointRequest "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNexusEndpointRequest'id
+           (\ x__ y__ -> x__ {_DeleteNexusEndpointRequest'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DeleteNexusEndpointRequest "version" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeleteNexusEndpointRequest'version
+           (\ x__ y__ -> x__ {_DeleteNexusEndpointRequest'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeleteNexusEndpointRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.DeleteNexusEndpointRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBDeleteNexusEndpointRequest\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid\DC2\CAN\n\
+      \\aversion\CAN\STX \SOH(\ETXR\aversion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor DeleteNexusEndpointRequest
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor DeleteNexusEndpointRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, id__field_descriptor),
+           (Data.ProtoLens.Tag 2, version__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeleteNexusEndpointRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_DeleteNexusEndpointRequest'_unknownFields = y__})
+  defMessage
+    = DeleteNexusEndpointRequest'_constructor
+        {_DeleteNexusEndpointRequest'id = Data.ProtoLens.fieldDefault,
+         _DeleteNexusEndpointRequest'version = Data.ProtoLens.fieldDefault,
+         _DeleteNexusEndpointRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeleteNexusEndpointRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeleteNexusEndpointRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeleteNexusEndpointRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData DeleteNexusEndpointRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeleteNexusEndpointRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeleteNexusEndpointRequest'id x__)
+                (Control.DeepSeq.deepseq
+                   (_DeleteNexusEndpointRequest'version x__) ()))
+{- | Fields :
+      -}
+data DeleteNexusEndpointResponse
+  = DeleteNexusEndpointResponse'_constructor {_DeleteNexusEndpointResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeleteNexusEndpointResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message DeleteNexusEndpointResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.DeleteNexusEndpointResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCDeleteNexusEndpointResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeleteNexusEndpointResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_DeleteNexusEndpointResponse'_unknownFields = y__})
+  defMessage
+    = DeleteNexusEndpointResponse'_constructor
+        {_DeleteNexusEndpointResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeleteNexusEndpointResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeleteNexusEndpointResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeleteNexusEndpointResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData DeleteNexusEndpointResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeleteNexusEndpointResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.id' @:: Lens' GetNexusEndpointRequest Data.Text.Text@ -}
+data GetNexusEndpointRequest
+  = GetNexusEndpointRequest'_constructor {_GetNexusEndpointRequest'id :: !Data.Text.Text,
+                                          _GetNexusEndpointRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show GetNexusEndpointRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField GetNexusEndpointRequest "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _GetNexusEndpointRequest'id
+           (\ x__ y__ -> x__ {_GetNexusEndpointRequest'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message GetNexusEndpointRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.GetNexusEndpointRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBGetNexusEndpointRequest\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor GetNexusEndpointRequest
+      in Data.Map.fromList [(Data.ProtoLens.Tag 1, id__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _GetNexusEndpointRequest'_unknownFields
+        (\ x__ y__ -> x__ {_GetNexusEndpointRequest'_unknownFields = y__})
+  defMessage
+    = GetNexusEndpointRequest'_constructor
+        {_GetNexusEndpointRequest'id = Data.ProtoLens.fieldDefault,
+         _GetNexusEndpointRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          GetNexusEndpointRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser GetNexusEndpointRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "GetNexusEndpointRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData GetNexusEndpointRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_GetNexusEndpointRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_GetNexusEndpointRequest'id x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.endpoint' @:: Lens' GetNexusEndpointResponse Proto.Temporal.Api.Nexus.V1.Message.Endpoint@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.maybe'endpoint' @:: Lens' GetNexusEndpointResponse (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint)@ -}
+data GetNexusEndpointResponse
+  = GetNexusEndpointResponse'_constructor {_GetNexusEndpointResponse'endpoint :: !(Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint),
+                                           _GetNexusEndpointResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show GetNexusEndpointResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField GetNexusEndpointResponse "endpoint" Proto.Temporal.Api.Nexus.V1.Message.Endpoint where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _GetNexusEndpointResponse'endpoint
+           (\ x__ y__ -> x__ {_GetNexusEndpointResponse'endpoint = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField GetNexusEndpointResponse "maybe'endpoint" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _GetNexusEndpointResponse'endpoint
+           (\ x__ y__ -> x__ {_GetNexusEndpointResponse'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message GetNexusEndpointResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.GetNexusEndpointResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANGetNexusEndpointResponse\DC2;\n\
+      \\bendpoint\CAN\SOH \SOH(\v2\US.temporal.api.nexus.v1.EndpointR\bendpoint"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.Endpoint)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'endpoint")) ::
+              Data.ProtoLens.FieldDescriptor GetNexusEndpointResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, endpoint__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _GetNexusEndpointResponse'_unknownFields
+        (\ x__ y__ -> x__ {_GetNexusEndpointResponse'_unknownFields = y__})
+  defMessage
+    = GetNexusEndpointResponse'_constructor
+        {_GetNexusEndpointResponse'endpoint = Prelude.Nothing,
+         _GetNexusEndpointResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          GetNexusEndpointResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser GetNexusEndpointResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "GetNexusEndpointResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'endpoint") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData GetNexusEndpointResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_GetNexusEndpointResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_GetNexusEndpointResponse'endpoint x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.pageSize' @:: Lens' ListClustersRequest Data.Int.Int32@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.nextPageToken' @:: Lens' ListClustersRequest Data.ByteString.ByteString@ -}
+data ListClustersRequest
+  = ListClustersRequest'_constructor {_ListClustersRequest'pageSize :: !Data.Int.Int32,
+                                      _ListClustersRequest'nextPageToken :: !Data.ByteString.ByteString,
+                                      _ListClustersRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListClustersRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListClustersRequest "pageSize" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListClustersRequest'pageSize
+           (\ x__ y__ -> x__ {_ListClustersRequest'pageSize = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListClustersRequest "nextPageToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListClustersRequest'nextPageToken
+           (\ x__ y__ -> x__ {_ListClustersRequest'nextPageToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListClustersRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListClustersRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3ListClustersRequest\DC2\ESC\n\
+      \\tpage_size\CAN\SOH \SOH(\ENQR\bpageSize\DC2&\n\
+      \\SInext_page_token\CAN\STX \SOH(\fR\rnextPageToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        pageSize__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "page_size"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"pageSize")) ::
+              Data.ProtoLens.FieldDescriptor ListClustersRequest
+        nextPageToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_page_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"nextPageToken")) ::
+              Data.ProtoLens.FieldDescriptor ListClustersRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, pageSize__field_descriptor),
+           (Data.ProtoLens.Tag 2, nextPageToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListClustersRequest'_unknownFields
+        (\ x__ y__ -> x__ {_ListClustersRequest'_unknownFields = y__})
+  defMessage
+    = ListClustersRequest'_constructor
+        {_ListClustersRequest'pageSize = Data.ProtoLens.fieldDefault,
+         _ListClustersRequest'nextPageToken = Data.ProtoLens.fieldDefault,
+         _ListClustersRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListClustersRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListClustersRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "page_size"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"pageSize") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "next_page_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextPageToken") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ListClustersRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"pageSize") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"nextPageToken") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ListClustersRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListClustersRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ListClustersRequest'pageSize x__)
+                (Control.DeepSeq.deepseq
+                   (_ListClustersRequest'nextPageToken x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.clusters' @:: Lens' ListClustersResponse [ClusterMetadata]@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.vec'clusters' @:: Lens' ListClustersResponse (Data.Vector.Vector ClusterMetadata)@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.nextPageToken' @:: Lens' ListClustersResponse Data.ByteString.ByteString@ -}
+data ListClustersResponse
+  = ListClustersResponse'_constructor {_ListClustersResponse'clusters :: !(Data.Vector.Vector ClusterMetadata),
+                                       _ListClustersResponse'nextPageToken :: !Data.ByteString.ByteString,
+                                       _ListClustersResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListClustersResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListClustersResponse "clusters" [ClusterMetadata] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListClustersResponse'clusters
+           (\ x__ y__ -> x__ {_ListClustersResponse'clusters = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ListClustersResponse "vec'clusters" (Data.Vector.Vector ClusterMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListClustersResponse'clusters
+           (\ x__ y__ -> x__ {_ListClustersResponse'clusters = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListClustersResponse "nextPageToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListClustersResponse'nextPageToken
+           (\ x__ y__ -> x__ {_ListClustersResponse'nextPageToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListClustersResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListClustersResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4ListClustersResponse\DC2L\n\
+      \\bclusters\CAN\SOH \ETX(\v20.temporal.api.operatorservice.v1.ClusterMetadataR\bclusters\DC2&\n\
+      \\SInext_page_token\CAN\EOT \SOH(\fR\rnextPageToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        clusters__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "clusters"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ClusterMetadata)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"clusters")) ::
+              Data.ProtoLens.FieldDescriptor ListClustersResponse
+        nextPageToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_page_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"nextPageToken")) ::
+              Data.ProtoLens.FieldDescriptor ListClustersResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, clusters__field_descriptor),
+           (Data.ProtoLens.Tag 4, nextPageToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListClustersResponse'_unknownFields
+        (\ x__ y__ -> x__ {_ListClustersResponse'_unknownFields = y__})
+  defMessage
+    = ListClustersResponse'_constructor
+        {_ListClustersResponse'clusters = Data.Vector.Generic.empty,
+         _ListClustersResponse'nextPageToken = Data.ProtoLens.fieldDefault,
+         _ListClustersResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListClustersResponse
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ClusterMetadata
+             -> Data.ProtoLens.Encoding.Bytes.Parser ListClustersResponse
+        loop x mutable'clusters
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'clusters <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'clusters)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'clusters") frozen'clusters x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "clusters"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'clusters y)
+                                loop x v
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "next_page_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextPageToken") y x)
+                                  mutable'clusters
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'clusters
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'clusters <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'clusters)
+          "ListClustersResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'clusters") _x))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"nextPageToken") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ListClustersResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListClustersResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ListClustersResponse'clusters x__)
+                (Control.DeepSeq.deepseq
+                   (_ListClustersResponse'nextPageToken x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.pageSize' @:: Lens' ListNexusEndpointsRequest Data.Int.Int32@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.nextPageToken' @:: Lens' ListNexusEndpointsRequest Data.ByteString.ByteString@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.name' @:: Lens' ListNexusEndpointsRequest Data.Text.Text@ -}
+data ListNexusEndpointsRequest
+  = ListNexusEndpointsRequest'_constructor {_ListNexusEndpointsRequest'pageSize :: !Data.Int.Int32,
+                                            _ListNexusEndpointsRequest'nextPageToken :: !Data.ByteString.ByteString,
+                                            _ListNexusEndpointsRequest'name :: !Data.Text.Text,
+                                            _ListNexusEndpointsRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListNexusEndpointsRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListNexusEndpointsRequest "pageSize" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListNexusEndpointsRequest'pageSize
+           (\ x__ y__ -> x__ {_ListNexusEndpointsRequest'pageSize = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListNexusEndpointsRequest "nextPageToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListNexusEndpointsRequest'nextPageToken
+           (\ x__ y__
+              -> x__ {_ListNexusEndpointsRequest'nextPageToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListNexusEndpointsRequest "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListNexusEndpointsRequest'name
+           (\ x__ y__ -> x__ {_ListNexusEndpointsRequest'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListNexusEndpointsRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListNexusEndpointsRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMListNexusEndpointsRequest\DC2\ESC\n\
+      \\tpage_size\CAN\SOH \SOH(\ENQR\bpageSize\DC2&\n\
+      \\SInext_page_token\CAN\STX \SOH(\fR\rnextPageToken\DC2\DC2\n\
+      \\EOTname\CAN\ETX \SOH(\tR\EOTname"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        pageSize__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "page_size"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"pageSize")) ::
+              Data.ProtoLens.FieldDescriptor ListNexusEndpointsRequest
+        nextPageToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_page_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"nextPageToken")) ::
+              Data.ProtoLens.FieldDescriptor ListNexusEndpointsRequest
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor ListNexusEndpointsRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, pageSize__field_descriptor),
+           (Data.ProtoLens.Tag 2, nextPageToken__field_descriptor),
+           (Data.ProtoLens.Tag 3, name__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListNexusEndpointsRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_ListNexusEndpointsRequest'_unknownFields = y__})
+  defMessage
+    = ListNexusEndpointsRequest'_constructor
+        {_ListNexusEndpointsRequest'pageSize = Data.ProtoLens.fieldDefault,
+         _ListNexusEndpointsRequest'nextPageToken = Data.ProtoLens.fieldDefault,
+         _ListNexusEndpointsRequest'name = Data.ProtoLens.fieldDefault,
+         _ListNexusEndpointsRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListNexusEndpointsRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListNexusEndpointsRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "page_size"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"pageSize") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "next_page_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextPageToken") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ListNexusEndpointsRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"pageSize") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"nextPageToken") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            _v))
+                ((Data.Monoid.<>)
+                   (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData ListNexusEndpointsRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListNexusEndpointsRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ListNexusEndpointsRequest'pageSize x__)
+                (Control.DeepSeq.deepseq
+                   (_ListNexusEndpointsRequest'nextPageToken x__)
+                   (Control.DeepSeq.deepseq
+                      (_ListNexusEndpointsRequest'name x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.nextPageToken' @:: Lens' ListNexusEndpointsResponse Data.ByteString.ByteString@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.endpoints' @:: Lens' ListNexusEndpointsResponse [Proto.Temporal.Api.Nexus.V1.Message.Endpoint]@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.vec'endpoints' @:: Lens' ListNexusEndpointsResponse (Data.Vector.Vector Proto.Temporal.Api.Nexus.V1.Message.Endpoint)@ -}
+data ListNexusEndpointsResponse
+  = ListNexusEndpointsResponse'_constructor {_ListNexusEndpointsResponse'nextPageToken :: !Data.ByteString.ByteString,
+                                             _ListNexusEndpointsResponse'endpoints :: !(Data.Vector.Vector Proto.Temporal.Api.Nexus.V1.Message.Endpoint),
+                                             _ListNexusEndpointsResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListNexusEndpointsResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListNexusEndpointsResponse "nextPageToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListNexusEndpointsResponse'nextPageToken
+           (\ x__ y__
+              -> x__ {_ListNexusEndpointsResponse'nextPageToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListNexusEndpointsResponse "endpoints" [Proto.Temporal.Api.Nexus.V1.Message.Endpoint] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListNexusEndpointsResponse'endpoints
+           (\ x__ y__ -> x__ {_ListNexusEndpointsResponse'endpoints = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ListNexusEndpointsResponse "vec'endpoints" (Data.Vector.Vector Proto.Temporal.Api.Nexus.V1.Message.Endpoint) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListNexusEndpointsResponse'endpoints
+           (\ x__ y__ -> x__ {_ListNexusEndpointsResponse'endpoints = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListNexusEndpointsResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListNexusEndpointsResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBListNexusEndpointsResponse\DC2&\n\
+      \\SInext_page_token\CAN\SOH \SOH(\fR\rnextPageToken\DC2=\n\
+      \\tendpoints\CAN\STX \ETX(\v2\US.temporal.api.nexus.v1.EndpointR\tendpoints"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        nextPageToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_page_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"nextPageToken")) ::
+              Data.ProtoLens.FieldDescriptor ListNexusEndpointsResponse
+        endpoints__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoints"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.Endpoint)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"endpoints")) ::
+              Data.ProtoLens.FieldDescriptor ListNexusEndpointsResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, nextPageToken__field_descriptor),
+           (Data.ProtoLens.Tag 2, endpoints__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListNexusEndpointsResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_ListNexusEndpointsResponse'_unknownFields = y__})
+  defMessage
+    = ListNexusEndpointsResponse'_constructor
+        {_ListNexusEndpointsResponse'nextPageToken = Data.ProtoLens.fieldDefault,
+         _ListNexusEndpointsResponse'endpoints = Data.Vector.Generic.empty,
+         _ListNexusEndpointsResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListNexusEndpointsResponse
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Nexus.V1.Message.Endpoint
+             -> Data.ProtoLens.Encoding.Bytes.Parser ListNexusEndpointsResponse
+        loop x mutable'endpoints
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'endpoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'endpoints)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'endpoints") frozen'endpoints x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "next_page_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextPageToken") y x)
+                                  mutable'endpoints
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "endpoints"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'endpoints y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'endpoints
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'endpoints <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'endpoints)
+          "ListNexusEndpointsResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"nextPageToken") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'endpoints") _x))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ListNexusEndpointsResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListNexusEndpointsResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ListNexusEndpointsResponse'nextPageToken x__)
+                (Control.DeepSeq.deepseq
+                   (_ListNexusEndpointsResponse'endpoints x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.namespace' @:: Lens' ListSearchAttributesRequest Data.Text.Text@ -}
+data ListSearchAttributesRequest
+  = ListSearchAttributesRequest'_constructor {_ListSearchAttributesRequest'namespace :: !Data.Text.Text,
+                                              _ListSearchAttributesRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListSearchAttributesRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListSearchAttributesRequest "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesRequest'namespace
+           (\ x__ y__ -> x__ {_ListSearchAttributesRequest'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListSearchAttributesRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListSearchAttributesRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCListSearchAttributesRequest\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListSearchAttributesRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_ListSearchAttributesRequest'_unknownFields = y__})
+  defMessage
+    = ListSearchAttributesRequest'_constructor
+        {_ListSearchAttributesRequest'namespace = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListSearchAttributesRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListSearchAttributesRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ListSearchAttributesRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ListSearchAttributesRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListSearchAttributesRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ListSearchAttributesRequest'namespace x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.customAttributes' @:: Lens' ListSearchAttributesResponse (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType)@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.systemAttributes' @:: Lens' ListSearchAttributesResponse (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType)@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.storageSchema' @:: Lens' ListSearchAttributesResponse (Data.Map.Map Data.Text.Text Data.Text.Text)@ -}
+data ListSearchAttributesResponse
+  = ListSearchAttributesResponse'_constructor {_ListSearchAttributesResponse'customAttributes :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType),
+                                               _ListSearchAttributesResponse'systemAttributes :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType),
+                                               _ListSearchAttributesResponse'storageSchema :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                               _ListSearchAttributesResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListSearchAttributesResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse "customAttributes" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'customAttributes
+           (\ x__ y__
+              -> x__ {_ListSearchAttributesResponse'customAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse "systemAttributes" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Enums.V1.Common.IndexedValueType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'systemAttributes
+           (\ x__ y__
+              -> x__ {_ListSearchAttributesResponse'systemAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse "storageSchema" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'storageSchema
+           (\ x__ y__
+              -> x__ {_ListSearchAttributesResponse'storageSchema = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListSearchAttributesResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListSearchAttributesResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\FSListSearchAttributesResponse\DC2\128\SOH\n\
+      \\DC1custom_attributes\CAN\SOH \ETX(\v2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntryR\DLEcustomAttributes\DC2\128\SOH\n\
+      \\DC1system_attributes\CAN\STX \ETX(\v2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntryR\DLEsystemAttributes\DC2w\n\
+      \\SOstorage_schema\CAN\ETX \ETX(\v2P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntryR\rstorageSchema\SUBl\n\
+      \\NAKCustomAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+      \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH\SUBl\n\
+      \\NAKSystemAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+      \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH\SUB@\n\
+      \\DC2StorageSchemaEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        customAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "custom_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ListSearchAttributesResponse'CustomAttributesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"customAttributes")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse
+        systemAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "system_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ListSearchAttributesResponse'SystemAttributesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"systemAttributes")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse
+        storageSchema__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "storage_schema"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ListSearchAttributesResponse'StorageSchemaEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"storageSchema")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, customAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 2, systemAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 3, storageSchema__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListSearchAttributesResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_ListSearchAttributesResponse'_unknownFields = y__})
+  defMessage
+    = ListSearchAttributesResponse'_constructor
+        {_ListSearchAttributesResponse'customAttributes = Data.Map.empty,
+         _ListSearchAttributesResponse'systemAttributes = Data.Map.empty,
+         _ListSearchAttributesResponse'storageSchema = Data.Map.empty,
+         _ListSearchAttributesResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListSearchAttributesResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListSearchAttributesResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: ListSearchAttributesResponse'CustomAttributesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                    (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                          (Prelude.fromIntegral
+                                                                                                             len)
+                                                                                                          Data.ProtoLens.parseMessage)
+                                                                                                    "custom_attributes"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"customAttributes")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        18
+                          -> do !(entry :: ListSearchAttributesResponse'SystemAttributesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                    (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                          (Prelude.fromIntegral
+                                                                                                             len)
+                                                                                                          Data.ProtoLens.parseMessage)
+                                                                                                    "system_attributes"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"systemAttributes")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        26
+                          -> do !(entry :: ListSearchAttributesResponse'StorageSchemaEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                 (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                     Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                       (Prelude.fromIntegral
+                                                                                                          len)
+                                                                                                       Data.ProtoLens.parseMessage)
+                                                                                                 "storage_schema"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"storageSchema")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ListSearchAttributesResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage ::
+                                       ListSearchAttributesResponse'CustomAttributesEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"customAttributes") _x))))
+             ((Data.Monoid.<>)
+                (Data.Monoid.mconcat
+                   (Prelude.map
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                       (Data.ProtoLens.defMessage ::
+                                          ListSearchAttributesResponse'SystemAttributesEntry)))))
+                      (Data.Map.toList
+                         (Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"systemAttributes") _x))))
+                ((Data.Monoid.<>)
+                   (Data.Monoid.mconcat
+                      (Prelude.map
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                          (Data.ProtoLens.defMessage ::
+                                             ListSearchAttributesResponse'StorageSchemaEntry)))))
+                         (Data.Map.toList
+                            (Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"storageSchema") _x))))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData ListSearchAttributesResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListSearchAttributesResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ListSearchAttributesResponse'customAttributes x__)
+                (Control.DeepSeq.deepseq
+                   (_ListSearchAttributesResponse'systemAttributes x__)
+                   (Control.DeepSeq.deepseq
+                      (_ListSearchAttributesResponse'storageSchema x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.key' @:: Lens' ListSearchAttributesResponse'CustomAttributesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.value' @:: Lens' ListSearchAttributesResponse'CustomAttributesEntry Proto.Temporal.Api.Enums.V1.Common.IndexedValueType@ -}
+data ListSearchAttributesResponse'CustomAttributesEntry
+  = ListSearchAttributesResponse'CustomAttributesEntry'_constructor {_ListSearchAttributesResponse'CustomAttributesEntry'key :: !Data.Text.Text,
+                                                                     _ListSearchAttributesResponse'CustomAttributesEntry'value :: !Proto.Temporal.Api.Enums.V1.Common.IndexedValueType,
+                                                                     _ListSearchAttributesResponse'CustomAttributesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListSearchAttributesResponse'CustomAttributesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse'CustomAttributesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'CustomAttributesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_ListSearchAttributesResponse'CustomAttributesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse'CustomAttributesEntry "value" Proto.Temporal.Api.Enums.V1.Common.IndexedValueType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'CustomAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_ListSearchAttributesResponse'CustomAttributesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListSearchAttributesResponse'CustomAttributesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKCustomAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+      \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse'CustomAttributesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.IndexedValueType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse'CustomAttributesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListSearchAttributesResponse'CustomAttributesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ListSearchAttributesResponse'CustomAttributesEntry'_unknownFields = y__})
+  defMessage
+    = ListSearchAttributesResponse'CustomAttributesEntry'_constructor
+        {_ListSearchAttributesResponse'CustomAttributesEntry'key = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesResponse'CustomAttributesEntry'value = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesResponse'CustomAttributesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListSearchAttributesResponse'CustomAttributesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListSearchAttributesResponse'CustomAttributesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CustomAttributesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ListSearchAttributesResponse'CustomAttributesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListSearchAttributesResponse'CustomAttributesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ListSearchAttributesResponse'CustomAttributesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ListSearchAttributesResponse'CustomAttributesEntry'value x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.key' @:: Lens' ListSearchAttributesResponse'StorageSchemaEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.value' @:: Lens' ListSearchAttributesResponse'StorageSchemaEntry Data.Text.Text@ -}
+data ListSearchAttributesResponse'StorageSchemaEntry
+  = ListSearchAttributesResponse'StorageSchemaEntry'_constructor {_ListSearchAttributesResponse'StorageSchemaEntry'key :: !Data.Text.Text,
+                                                                  _ListSearchAttributesResponse'StorageSchemaEntry'value :: !Data.Text.Text,
+                                                                  _ListSearchAttributesResponse'StorageSchemaEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListSearchAttributesResponse'StorageSchemaEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse'StorageSchemaEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'StorageSchemaEntry'key
+           (\ x__ y__
+              -> x__
+                   {_ListSearchAttributesResponse'StorageSchemaEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse'StorageSchemaEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'StorageSchemaEntry'value
+           (\ x__ y__
+              -> x__
+                   {_ListSearchAttributesResponse'StorageSchemaEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListSearchAttributesResponse'StorageSchemaEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2StorageSchemaEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse'StorageSchemaEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse'StorageSchemaEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListSearchAttributesResponse'StorageSchemaEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ListSearchAttributesResponse'StorageSchemaEntry'_unknownFields = y__})
+  defMessage
+    = ListSearchAttributesResponse'StorageSchemaEntry'_constructor
+        {_ListSearchAttributesResponse'StorageSchemaEntry'key = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesResponse'StorageSchemaEntry'value = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesResponse'StorageSchemaEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListSearchAttributesResponse'StorageSchemaEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListSearchAttributesResponse'StorageSchemaEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StorageSchemaEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ListSearchAttributesResponse'StorageSchemaEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListSearchAttributesResponse'StorageSchemaEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ListSearchAttributesResponse'StorageSchemaEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ListSearchAttributesResponse'StorageSchemaEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.key' @:: Lens' ListSearchAttributesResponse'SystemAttributesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.value' @:: Lens' ListSearchAttributesResponse'SystemAttributesEntry Proto.Temporal.Api.Enums.V1.Common.IndexedValueType@ -}
+data ListSearchAttributesResponse'SystemAttributesEntry
+  = ListSearchAttributesResponse'SystemAttributesEntry'_constructor {_ListSearchAttributesResponse'SystemAttributesEntry'key :: !Data.Text.Text,
+                                                                     _ListSearchAttributesResponse'SystemAttributesEntry'value :: !Proto.Temporal.Api.Enums.V1.Common.IndexedValueType,
+                                                                     _ListSearchAttributesResponse'SystemAttributesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ListSearchAttributesResponse'SystemAttributesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse'SystemAttributesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'SystemAttributesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_ListSearchAttributesResponse'SystemAttributesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ListSearchAttributesResponse'SystemAttributesEntry "value" Proto.Temporal.Api.Enums.V1.Common.IndexedValueType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ListSearchAttributesResponse'SystemAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_ListSearchAttributesResponse'SystemAttributesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ListSearchAttributesResponse'SystemAttributesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKSystemAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+      \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse'SystemAttributesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.IndexedValueType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor ListSearchAttributesResponse'SystemAttributesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ListSearchAttributesResponse'SystemAttributesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ListSearchAttributesResponse'SystemAttributesEntry'_unknownFields = y__})
+  defMessage
+    = ListSearchAttributesResponse'SystemAttributesEntry'_constructor
+        {_ListSearchAttributesResponse'SystemAttributesEntry'key = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesResponse'SystemAttributesEntry'value = Data.ProtoLens.fieldDefault,
+         _ListSearchAttributesResponse'SystemAttributesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ListSearchAttributesResponse'SystemAttributesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ListSearchAttributesResponse'SystemAttributesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SystemAttributesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ListSearchAttributesResponse'SystemAttributesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ListSearchAttributesResponse'SystemAttributesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ListSearchAttributesResponse'SystemAttributesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ListSearchAttributesResponse'SystemAttributesEntry'value x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.clusterName' @:: Lens' RemoveRemoteClusterRequest Data.Text.Text@ -}
+data RemoveRemoteClusterRequest
+  = RemoveRemoteClusterRequest'_constructor {_RemoveRemoteClusterRequest'clusterName :: !Data.Text.Text,
+                                             _RemoveRemoteClusterRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RemoveRemoteClusterRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RemoveRemoteClusterRequest "clusterName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RemoveRemoteClusterRequest'clusterName
+           (\ x__ y__ -> x__ {_RemoveRemoteClusterRequest'clusterName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RemoveRemoteClusterRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.RemoveRemoteClusterRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBRemoveRemoteClusterRequest\DC2!\n\
+      \\fcluster_name\CAN\SOH \SOH(\tR\vclusterName"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        clusterName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cluster_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clusterName")) ::
+              Data.ProtoLens.FieldDescriptor RemoveRemoteClusterRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, clusterName__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RemoveRemoteClusterRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_RemoveRemoteClusterRequest'_unknownFields = y__})
+  defMessage
+    = RemoveRemoteClusterRequest'_constructor
+        {_RemoveRemoteClusterRequest'clusterName = Data.ProtoLens.fieldDefault,
+         _RemoveRemoteClusterRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RemoveRemoteClusterRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser RemoveRemoteClusterRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cluster_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"clusterName") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RemoveRemoteClusterRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"clusterName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RemoveRemoteClusterRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RemoveRemoteClusterRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RemoveRemoteClusterRequest'clusterName x__) ())
+{- | Fields :
+      -}
+data RemoveRemoteClusterResponse
+  = RemoveRemoteClusterResponse'_constructor {_RemoveRemoteClusterResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RemoveRemoteClusterResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message RemoveRemoteClusterResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.RemoveRemoteClusterResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCRemoveRemoteClusterResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RemoveRemoteClusterResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_RemoveRemoteClusterResponse'_unknownFields = y__})
+  defMessage
+    = RemoveRemoteClusterResponse'_constructor
+        {_RemoveRemoteClusterResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RemoveRemoteClusterResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser RemoveRemoteClusterResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RemoveRemoteClusterResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData RemoveRemoteClusterResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RemoveRemoteClusterResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.searchAttributes' @:: Lens' RemoveSearchAttributesRequest [Data.Text.Text]@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.vec'searchAttributes' @:: Lens' RemoveSearchAttributesRequest (Data.Vector.Vector Data.Text.Text)@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.namespace' @:: Lens' RemoveSearchAttributesRequest Data.Text.Text@ -}
+data RemoveSearchAttributesRequest
+  = RemoveSearchAttributesRequest'_constructor {_RemoveSearchAttributesRequest'searchAttributes :: !(Data.Vector.Vector Data.Text.Text),
+                                                _RemoveSearchAttributesRequest'namespace :: !Data.Text.Text,
+                                                _RemoveSearchAttributesRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RemoveSearchAttributesRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RemoveSearchAttributesRequest "searchAttributes" [Data.Text.Text] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RemoveSearchAttributesRequest'searchAttributes
+           (\ x__ y__
+              -> x__ {_RemoveSearchAttributesRequest'searchAttributes = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField RemoveSearchAttributesRequest "vec'searchAttributes" (Data.Vector.Vector Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RemoveSearchAttributesRequest'searchAttributes
+           (\ x__ y__
+              -> x__ {_RemoveSearchAttributesRequest'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RemoveSearchAttributesRequest "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RemoveSearchAttributesRequest'namespace
+           (\ x__ y__
+              -> x__ {_RemoveSearchAttributesRequest'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RemoveSearchAttributesRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.RemoveSearchAttributesRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSRemoveSearchAttributesRequest\DC2+\n\
+      \\DC1search_attributes\CAN\SOH \ETX(\tR\DLEsearchAttributes\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor RemoveSearchAttributesRequest
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor RemoveSearchAttributesRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RemoveSearchAttributesRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_RemoveSearchAttributesRequest'_unknownFields = y__})
+  defMessage
+    = RemoveSearchAttributesRequest'_constructor
+        {_RemoveSearchAttributesRequest'searchAttributes = Data.Vector.Generic.empty,
+         _RemoveSearchAttributesRequest'namespace = Data.ProtoLens.fieldDefault,
+         _RemoveSearchAttributesRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RemoveSearchAttributesRequest
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text
+             -> Data.ProtoLens.Encoding.Bytes.Parser RemoveSearchAttributesRequest
+        loop x mutable'searchAttributes
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'searchAttributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                   (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                      mutable'searchAttributes)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'searchAttributes")
+                              frozen'searchAttributes x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.getText
+                                              (Prelude.fromIntegral len))
+                                        "search_attributes"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'searchAttributes y)
+                                loop x v
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                                  mutable'searchAttributes
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'searchAttributes
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'searchAttributes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'searchAttributes)
+          "RemoveSearchAttributesRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.Text.Encoding.encodeUtf8 _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'searchAttributes") _x))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData RemoveSearchAttributesRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RemoveSearchAttributesRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RemoveSearchAttributesRequest'searchAttributes x__)
+                (Control.DeepSeq.deepseq
+                   (_RemoveSearchAttributesRequest'namespace x__) ()))
+{- | Fields :
+      -}
+data RemoveSearchAttributesResponse
+  = RemoveSearchAttributesResponse'_constructor {_RemoveSearchAttributesResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RemoveSearchAttributesResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message RemoveSearchAttributesResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.RemoveSearchAttributesResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSRemoveSearchAttributesResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RemoveSearchAttributesResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_RemoveSearchAttributesResponse'_unknownFields = y__})
+  defMessage
+    = RemoveSearchAttributesResponse'_constructor
+        {_RemoveSearchAttributesResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RemoveSearchAttributesResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser RemoveSearchAttributesResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RemoveSearchAttributesResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData RemoveSearchAttributesResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RemoveSearchAttributesResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.id' @:: Lens' UpdateNexusEndpointRequest Data.Text.Text@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.version' @:: Lens' UpdateNexusEndpointRequest Data.Int.Int64@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.spec' @:: Lens' UpdateNexusEndpointRequest Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.maybe'spec' @:: Lens' UpdateNexusEndpointRequest (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec)@ -}
+data UpdateNexusEndpointRequest
+  = UpdateNexusEndpointRequest'_constructor {_UpdateNexusEndpointRequest'id :: !Data.Text.Text,
+                                             _UpdateNexusEndpointRequest'version :: !Data.Int.Int64,
+                                             _UpdateNexusEndpointRequest'spec :: !(Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec),
+                                             _UpdateNexusEndpointRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateNexusEndpointRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateNexusEndpointRequest "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNexusEndpointRequest'id
+           (\ x__ y__ -> x__ {_UpdateNexusEndpointRequest'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateNexusEndpointRequest "version" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNexusEndpointRequest'version
+           (\ x__ y__ -> x__ {_UpdateNexusEndpointRequest'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateNexusEndpointRequest "spec" Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNexusEndpointRequest'spec
+           (\ x__ y__ -> x__ {_UpdateNexusEndpointRequest'spec = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpdateNexusEndpointRequest "maybe'spec" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNexusEndpointRequest'spec
+           (\ x__ y__ -> x__ {_UpdateNexusEndpointRequest'spec = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateNexusEndpointRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.UpdateNexusEndpointRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBUpdateNexusEndpointRequest\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid\DC2\CAN\n\
+      \\aversion\CAN\STX \SOH(\ETXR\aversion\DC27\n\
+      \\EOTspec\CAN\ETX \SOH(\v2#.temporal.api.nexus.v1.EndpointSpecR\EOTspec"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNexusEndpointRequest
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNexusEndpointRequest
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.EndpointSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNexusEndpointRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, id__field_descriptor),
+           (Data.ProtoLens.Tag 2, version__field_descriptor),
+           (Data.ProtoLens.Tag 3, spec__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateNexusEndpointRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_UpdateNexusEndpointRequest'_unknownFields = y__})
+  defMessage
+    = UpdateNexusEndpointRequest'_constructor
+        {_UpdateNexusEndpointRequest'id = Data.ProtoLens.fieldDefault,
+         _UpdateNexusEndpointRequest'version = Data.ProtoLens.fieldDefault,
+         _UpdateNexusEndpointRequest'spec = Prelude.Nothing,
+         _UpdateNexusEndpointRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateNexusEndpointRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateNexusEndpointRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpdateNexusEndpointRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'spec") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData UpdateNexusEndpointRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateNexusEndpointRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateNexusEndpointRequest'id x__)
+                (Control.DeepSeq.deepseq
+                   (_UpdateNexusEndpointRequest'version x__)
+                   (Control.DeepSeq.deepseq
+                      (_UpdateNexusEndpointRequest'spec x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.endpoint' @:: Lens' UpdateNexusEndpointResponse Proto.Temporal.Api.Nexus.V1.Message.Endpoint@
+         * 'Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields.maybe'endpoint' @:: Lens' UpdateNexusEndpointResponse (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint)@ -}
+data UpdateNexusEndpointResponse
+  = UpdateNexusEndpointResponse'_constructor {_UpdateNexusEndpointResponse'endpoint :: !(Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint),
+                                              _UpdateNexusEndpointResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateNexusEndpointResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateNexusEndpointResponse "endpoint" Proto.Temporal.Api.Nexus.V1.Message.Endpoint where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNexusEndpointResponse'endpoint
+           (\ x__ y__ -> x__ {_UpdateNexusEndpointResponse'endpoint = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpdateNexusEndpointResponse "maybe'endpoint" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Endpoint) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateNexusEndpointResponse'endpoint
+           (\ x__ y__ -> x__ {_UpdateNexusEndpointResponse'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateNexusEndpointResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.operatorservice.v1.UpdateNexusEndpointResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCUpdateNexusEndpointResponse\DC2;\n\
+      \\bendpoint\CAN\SOH \SOH(\v2\US.temporal.api.nexus.v1.EndpointR\bendpoint"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.Endpoint)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'endpoint")) ::
+              Data.ProtoLens.FieldDescriptor UpdateNexusEndpointResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, endpoint__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateNexusEndpointResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_UpdateNexusEndpointResponse'_unknownFields = y__})
+  defMessage
+    = UpdateNexusEndpointResponse'_constructor
+        {_UpdateNexusEndpointResponse'endpoint = Prelude.Nothing,
+         _UpdateNexusEndpointResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateNexusEndpointResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateNexusEndpointResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpdateNexusEndpointResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'endpoint") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData UpdateNexusEndpointResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateNexusEndpointResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateNexusEndpointResponse'endpoint x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \6temporal/api/operatorservice/v1/request_response.proto\DC2\UStemporal.api.operatorservice.v1\SUB\"temporal/api/enums/v1/common.proto\SUB#temporal/api/nexus/v1/message.proto\SUB\RSgoogle/protobuf/duration.proto\"\168\STX\n\
+    \\SUBAddSearchAttributesRequest\DC2~\n\
+    \\DC1search_attributes\CAN\SOH \ETX(\v2Q.temporal.api.operatorservice.v1.AddSearchAttributesRequest.SearchAttributesEntryR\DLEsearchAttributes\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\SUBl\n\
+    \\NAKSearchAttributesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+    \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH\"\GS\n\
+    \\ESCAddSearchAttributesResponse\"j\n\
+    \\GSRemoveSearchAttributesRequest\DC2+\n\
+    \\DC1search_attributes\CAN\SOH \ETX(\tR\DLEsearchAttributes\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\" \n\
+    \\RSRemoveSearchAttributesResponse\";\n\
+    \\ESCListSearchAttributesRequest\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\"\187\ENQ\n\
+    \\FSListSearchAttributesResponse\DC2\128\SOH\n\
+    \\DC1custom_attributes\CAN\SOH \ETX(\v2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.CustomAttributesEntryR\DLEcustomAttributes\DC2\128\SOH\n\
+    \\DC1system_attributes\CAN\STX \ETX(\v2S.temporal.api.operatorservice.v1.ListSearchAttributesResponse.SystemAttributesEntryR\DLEsystemAttributes\DC2w\n\
+    \\SOstorage_schema\CAN\ETX \ETX(\v2P.temporal.api.operatorservice.v1.ListSearchAttributesResponse.StorageSchemaEntryR\rstorageSchema\SUBl\n\
+    \\NAKCustomAttributesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+    \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH\SUBl\n\
+    \\NAKSystemAttributesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2=\n\
+    \\ENQvalue\CAN\STX \SOH(\SO2'.temporal.api.enums.v1.IndexedValueTypeR\ENQvalue:\STX8\SOH\SUB@\n\
+    \\DC2StorageSchemaEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"\170\SOH\n\
+    \\SYNDeleteNamespaceRequest\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2!\n\
+    \\fnamespace_id\CAN\STX \SOH(\tR\vnamespaceId\DC2O\n\
+    \\SYNnamespace_delete_delay\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\DC4namespaceDeleteDelay\"F\n\
+    \\ETBDeleteNamespaceResponse\DC2+\n\
+    \\DC1deleted_namespace\CAN\SOH \SOH(\tR\DLEdeletedNamespace\"\201\SOH\n\
+    \\USAddOrUpdateRemoteClusterRequest\DC2)\n\
+    \\DLEfrontend_address\CAN\SOH \SOH(\tR\SIfrontendAddress\DC2G\n\
+    \ enable_remote_cluster_connection\CAN\STX \SOH(\bR\GSenableRemoteClusterConnection\DC22\n\
+    \\NAKfrontend_http_address\CAN\ETX \SOH(\tR\DC3frontendHttpAddress\"\"\n\
+    \ AddOrUpdateRemoteClusterResponse\"?\n\
+    \\SUBRemoveRemoteClusterRequest\DC2!\n\
+    \\fcluster_name\CAN\SOH \SOH(\tR\vclusterName\"\GS\n\
+    \\ESCRemoveRemoteClusterResponse\"Z\n\
+    \\DC3ListClustersRequest\DC2\ESC\n\
+    \\tpage_size\CAN\SOH \SOH(\ENQR\bpageSize\DC2&\n\
+    \\SInext_page_token\CAN\STX \SOH(\fR\rnextPageToken\"\140\SOH\n\
+    \\DC4ListClustersResponse\DC2L\n\
+    \\bclusters\CAN\SOH \ETX(\v20.temporal.api.operatorservice.v1.ClusterMetadataR\bclusters\DC2&\n\
+    \\SInext_page_token\CAN\EOT \SOH(\fR\rnextPageToken\"\174\STX\n\
+    \\SIClusterMetadata\DC2!\n\
+    \\fcluster_name\CAN\SOH \SOH(\tR\vclusterName\DC2\GS\n\
+    \\n\
+    \cluster_id\CAN\STX \SOH(\tR\tclusterId\DC2\CAN\n\
+    \\aaddress\CAN\ETX \SOH(\tR\aaddress\DC2!\n\
+    \\fhttp_address\CAN\a \SOH(\tR\vhttpAddress\DC28\n\
+    \\CANinitial_failover_version\CAN\EOT \SOH(\ETXR\SYNinitialFailoverVersion\DC2.\n\
+    \\DC3history_shard_count\CAN\ENQ \SOH(\ENQR\DC1historyShardCount\DC22\n\
+    \\NAKis_connection_enabled\CAN\ACK \SOH(\bR\DC3isConnectionEnabled\")\n\
+    \\ETBGetNexusEndpointRequest\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\"W\n\
+    \\CANGetNexusEndpointResponse\DC2;\n\
+    \\bendpoint\CAN\SOH \SOH(\v2\US.temporal.api.nexus.v1.EndpointR\bendpoint\"U\n\
+    \\SUBCreateNexusEndpointRequest\DC27\n\
+    \\EOTspec\CAN\SOH \SOH(\v2#.temporal.api.nexus.v1.EndpointSpecR\EOTspec\"Z\n\
+    \\ESCCreateNexusEndpointResponse\DC2;\n\
+    \\bendpoint\CAN\SOH \SOH(\v2\US.temporal.api.nexus.v1.EndpointR\bendpoint\"\DEL\n\
+    \\SUBUpdateNexusEndpointRequest\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\DC2\CAN\n\
+    \\aversion\CAN\STX \SOH(\ETXR\aversion\DC27\n\
+    \\EOTspec\CAN\ETX \SOH(\v2#.temporal.api.nexus.v1.EndpointSpecR\EOTspec\"Z\n\
+    \\ESCUpdateNexusEndpointResponse\DC2;\n\
+    \\bendpoint\CAN\SOH \SOH(\v2\US.temporal.api.nexus.v1.EndpointR\bendpoint\"F\n\
+    \\SUBDeleteNexusEndpointRequest\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\DC2\CAN\n\
+    \\aversion\CAN\STX \SOH(\ETXR\aversion\"\GS\n\
+    \\ESCDeleteNexusEndpointResponse\"t\n\
+    \\EMListNexusEndpointsRequest\DC2\ESC\n\
+    \\tpage_size\CAN\SOH \SOH(\ENQR\bpageSize\DC2&\n\
+    \\SInext_page_token\CAN\STX \SOH(\fR\rnextPageToken\DC2\DC2\n\
+    \\EOTname\CAN\ETX \SOH(\tR\EOTname\"\131\SOH\n\
+    \\SUBListNexusEndpointsResponse\DC2&\n\
+    \\SInext_page_token\CAN\SOH \SOH(\fR\rnextPageToken\DC2=\n\
+    \\tendpoints\CAN\STX \ETX(\v2\US.temporal.api.nexus.v1.EndpointR\tendpointsB\190\SOH\n\
+    \\"io.temporal.api.operatorservice.v1B\DC4RequestResponseProtoP\SOHZ5go.temporal.io/api/operatorservice/v1;operatorservice\170\STX!Temporalio.Api.OperatorService.V1\234\STX$Temporalio::Api::OperatorService::V1J\202\&4\n\
+    \\a\DC2\ENQ\SYN\NUL\192\SOH\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL(\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NULL\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NULL\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL;\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL;\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL5\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL=\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL=\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL>\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL>\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL,\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL-\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL(\n\
+    \&\n\
+    \\STX\EOT\NUL\DC2\EOT'\NUL+\SOH2\SUB (-- Search Attribute --)\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX'\b\"\n\
+    \N\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\EOTN\SUBA Mapping between search attribute name and its IndexedValueType.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX)\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX)8I\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)LM\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX*\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX*\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX*\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX*\ETB\CAN\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT-\NUL.\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX-\b#\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT0\NUL4\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX0\b%\n\
+    \0\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX2\EOT*\SUB# Search attribute names to delete.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETX2\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX2\r\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX2\DC4%\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX2()\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX3\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX3\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX3\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX3\ETB\CAN\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT6\NUL7\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX6\b&\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOT9\NUL;\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX9\b#\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETX:\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETX:\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETX:\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETX:\ETB\CAN\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOT=\NULD\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETX=\b$\n\
+    \f\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETX?\EOTN\SUBY Mapping between custom (user-registered) search attribute name to its IndexedValueType.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\ETX?\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETX?8I\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETX?LM\n\
+    \a\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETXA\EOTN\SUBT Mapping between system (predefined) search attribute name to its IndexedValueType.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\ETXA\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXA8I\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXALM\n\
+    \U\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\ETXC\EOT+\SUBH Mapping from the attribute name to the visibility storage native type.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ACK\DC2\ETXC\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\ETXC\CAN&\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\ETXC)*\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ACK\DC2\EOTF\NULM\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXF\b\RS\n\
+    \]\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXH\EOT\EM\SUBP Only one of namespace or namespace_id must be specified to identify namespace.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXH\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXH\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXH\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETXI\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ENQ\DC2\ETXI\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETXI\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETXI\SUB\ESC\n\
+    \\194\SOH\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\ETXL\EOT8\SUB\180\SOH If provided, the deletion of namespace info will be delayed for the given duration (0 means no delay).\n\
+    \ If not provided, the default delay configured in the cluster will be used.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\ETXL\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\ETXL\GS3\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\ETXL67\n\
+    \\n\
+    \\n\
+    \\STX\EOT\a\DC2\EOTO\NULR\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETXO\b\US\n\
+    \S\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETXQ\EOT!\SUBF Temporary namespace name that is used during reclaim resources step.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETXQ\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETXQ\v\FS\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETXQ\US \n\
+    \\n\
+    \\n\
+    \\STX\EOT\b\DC2\EOTT\NUL\\\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\b\SOH\DC2\ETXT\b'\n\
+    \o\n\
+    \\EOT\EOT\b\STX\NUL\DC2\ETXV\EOT \SUBb Frontend Address is a cross cluster accessible address for gRPC traffic. This field is required.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\ETXV\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\ETXV\v\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\ETXV\RS\US\n\
+    \E\n\
+    \\EOT\EOT\b\STX\SOH\DC2\ETXX\EOT.\SUB8 Flag to enable / disable the cross cluster connection.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\ETXX\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\ETXX\t)\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\ETXX,-\n\
+    \\189\SOH\n\
+    \\EOT\EOT\b\STX\STX\DC2\ETX[\EOT%\SUB\175\SOH Frontend HTTP Address is a cross cluster accessible address for HTTP traffic. This field is optional. If not provided\n\
+    \  on update, the existing HTTP address will be removed.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\STX\ENQ\DC2\ETX[\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\ETX[\v \n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\ETX[#$\n\
+    \\n\
+    \\n\
+    \\STX\EOT\t\DC2\EOT^\NUL_\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\t\SOH\DC2\ETX^\b(\n\
+    \\n\
+    \\n\
+    \\STX\EOT\n\
+    \\DC2\EOTa\NULd\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\ETXa\b\"\n\
+    \1\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\ETXc\EOT\FS\SUB$ Remote cluster name to be removed.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\ETXc\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\ETXc\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\ETXc\SUB\ESC\n\
+    \\n\
+    \\n\
+    \\STX\EOT\v\DC2\EOTf\NULg\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\v\SOH\DC2\ETXf\b#\n\
+    \\n\
+    \\n\
+    \\STX\EOT\f\DC2\EOTi\NULl\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\f\SOH\DC2\ETXi\b\ESC\n\
+    \\v\n\
+    \\EOT\EOT\f\STX\NUL\DC2\ETXj\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\NUL\ENQ\DC2\ETXj\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\ETXj\n\
+    \\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\ETXj\SYN\ETB\n\
+    \\v\n\
+    \\EOT\EOT\f\STX\SOH\DC2\ETXk\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\SOH\ENQ\DC2\ETXk\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\ETXk\n\
+    \\EM\n\
+    \\f\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\ETXk\FS\GS\n\
+    \\n\
+    \\n\
+    \\STX\EOT\r\DC2\EOTn\NULr\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\r\SOH\DC2\ETXn\b\FS\n\
+    \.\n\
+    \\EOT\EOT\r\STX\NUL\DC2\ETXp\EOT*\SUB! List of all cluster information\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\EOT\DC2\ETXp\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\ACK\DC2\ETXp\r\FS\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\ETXp\GS%\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\ETXp()\n\
+    \\v\n\
+    \\EOT\EOT\r\STX\SOH\DC2\ETXq\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\SOH\ENQ\DC2\ETXq\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\ETXq\n\
+    \\EM\n\
+    \\f\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\ETXq\FS\GS\n\
+    \\v\n\
+    \\STX\EOT\SO\DC2\ENQt\NUL\131\SOH\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SO\SOH\DC2\ETXt\b\ETB\n\
+    \(\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\ETXv\EOT\FS\SUB\ESC Name of the cluster name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\NUL\ENQ\DC2\ETXv\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\ETXv\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\ETXv\SUB\ESC\n\
+    \!\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\ETXx\EOT\SUB\SUB\DC4 Id of the cluster.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\SOH\ENQ\DC2\ETXx\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\ETXx\v\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\ETXx\CAN\EM\n\
+    \\FS\n\
+    \\EOT\EOT\SO\STX\STX\DC2\ETXz\EOT\ETB\SUB\SI gRPC address.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\STX\ENQ\DC2\ETXz\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\STX\SOH\DC2\ETXz\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\STX\ETX\DC2\ETXz\NAK\SYN\n\
+    \+\n\
+    \\EOT\EOT\SO\STX\ETX\DC2\ETX|\EOT\FS\SUB\RS HTTP address, if one exists.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\ETX\ENQ\DC2\ETX|\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\ETX\SOH\DC2\ETX|\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\ETX\ETX\DC2\ETX|\SUB\ESC\n\
+    \G\n\
+    \\EOT\EOT\SO\STX\EOT\DC2\ETX~\EOT'\SUB: A unique failover version across all connected clusters.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\EOT\ENQ\DC2\ETX~\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\EOT\SOH\DC2\ETX~\n\
+    \\"\n\
+    \\f\n\
+    \\ENQ\EOT\SO\STX\EOT\ETX\DC2\ETX~%&\n\
+    \-\n\
+    \\EOT\EOT\SO\STX\ENQ\DC2\EOT\128\SOH\EOT\"\SUB\US History service shard number.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ENQ\DC2\EOT\128\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\SOH\DC2\EOT\128\SOH\n\
+    \\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ETX\DC2\EOT\128\SOH !\n\
+    \=\n\
+    \\EOT\EOT\SO\STX\ACK\DC2\EOT\130\SOH\EOT#\SUB/ A flag to indicate if a connection is active.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\ENQ\DC2\EOT\130\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\SOH\DC2\EOT\130\SOH\t\RS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\ETX\DC2\EOT\130\SOH!\"\n\
+    \\f\n\
+    \\STX\EOT\SI\DC2\ACK\133\SOH\NUL\136\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\133\SOH\b\US\n\
+    \4\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\135\SOH\EOT\DC2\SUB& Server-generated unique endpoint ID.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\135\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\135\SOH\v\r\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\135\SOH\DLE\DC1\n\
+    \\f\n\
+    \\STX\EOT\DLE\DC2\ACK\138\SOH\NUL\140\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\138\SOH\b \n\
+    \\f\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\139\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ACK\DC2\EOT\139\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\139\SOH#+\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\139\SOH./\n\
+    \\f\n\
+    \\STX\EOT\DC1\DC2\ACK\142\SOH\NUL\145\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\142\SOH\b\"\n\
+    \.\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\144\SOH\EOT0\SUB  Endpoint definition to create.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ACK\DC2\EOT\144\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\144\SOH'+\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\144\SOH./\n\
+    \\f\n\
+    \\STX\EOT\DC2\DC2\ACK\147\SOH\NUL\150\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC2\SOH\DC2\EOT\147\SOH\b#\n\
+    \]\n\
+    \\EOT\EOT\DC2\STX\NUL\DC2\EOT\149\SOH\EOT0\SUBO Data post acceptance. Can be used to issue additional updates to this record.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ACK\DC2\EOT\149\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\149\SOH#+\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\149\SOH./\n\
+    \\f\n\
+    \\STX\EOT\DC3\DC2\ACK\152\SOH\NUL\159\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC3\SOH\DC2\EOT\152\SOH\b\"\n\
+    \4\n\
+    \\EOT\EOT\DC3\STX\NUL\DC2\EOT\154\SOH\EOT\DC2\SUB& Server-generated unique endpoint ID.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ENQ\DC2\EOT\154\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\154\SOH\v\r\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\154\SOH\DLE\DC1\n\
+    \K\n\
+    \\EOT\EOT\DC3\STX\SOH\DC2\EOT\156\SOH\EOT\SYN\SUB= Data version for this endpoint. Must match current version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ENQ\DC2\EOT\156\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\SOH\DC2\EOT\156\SOH\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ETX\DC2\EOT\156\SOH\DC4\NAK\n\
+    \\f\n\
+    \\EOT\EOT\DC3\STX\STX\DC2\EOT\158\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\STX\ACK\DC2\EOT\158\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\STX\SOH\DC2\EOT\158\SOH'+\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\STX\ETX\DC2\EOT\158\SOH./\n\
+    \\f\n\
+    \\STX\EOT\DC4\DC2\ACK\161\SOH\NUL\164\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC4\SOH\DC2\EOT\161\SOH\b#\n\
+    \]\n\
+    \\EOT\EOT\DC4\STX\NUL\DC2\EOT\163\SOH\EOT0\SUBO Data post acceptance. Can be used to issue additional updates to this record.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ACK\DC2\EOT\163\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\SOH\DC2\EOT\163\SOH#+\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ETX\DC2\EOT\163\SOH./\n\
+    \\f\n\
+    \\STX\EOT\NAK\DC2\ACK\166\SOH\NUL\171\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\NAK\SOH\DC2\EOT\166\SOH\b\"\n\
+    \4\n\
+    \\EOT\EOT\NAK\STX\NUL\DC2\EOT\168\SOH\EOT\DC2\SUB& Server-generated unique endpoint ID.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\ENQ\DC2\EOT\168\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\SOH\DC2\EOT\168\SOH\v\r\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\ETX\DC2\EOT\168\SOH\DLE\DC1\n\
+    \K\n\
+    \\EOT\EOT\NAK\STX\SOH\DC2\EOT\170\SOH\EOT\SYN\SUB= Data version for this endpoint. Must match current version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\ENQ\DC2\EOT\170\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\SOH\DC2\EOT\170\SOH\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\ETX\DC2\EOT\170\SOH\DC4\NAK\n\
+    \\f\n\
+    \\STX\EOT\SYN\DC2\ACK\173\SOH\NUL\174\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SYN\SOH\DC2\EOT\173\SOH\b#\n\
+    \\f\n\
+    \\STX\EOT\ETB\DC2\ACK\176\SOH\NUL\186\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ETB\SOH\DC2\EOT\176\SOH\b!\n\
+    \\f\n\
+    \\EOT\EOT\ETB\STX\NUL\DC2\EOT\177\SOH\EOT\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\ENQ\DC2\EOT\177\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\SOH\DC2\EOT\177\SOH\n\
+    \\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\ETX\DC2\EOT\177\SOH\SYN\ETB\n\
+    \\159\STX\n\
+    \\EOT\EOT\ETB\STX\SOH\DC2\EOT\181\SOH\EOT\RS\SUB\144\STX To get the next page, pass in `ListNexusEndpointsResponse.next_page_token` from the previous page's\n\
+    \ response, the token will be empty if there's no other page.\n\
+    \ Note: the last page may be empty if the total number of endpoints registered is a multiple of the page size.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\SOH\ENQ\DC2\EOT\181\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\SOH\SOH\DC2\EOT\181\SOH\n\
+    \\EM\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\SOH\ETX\DC2\EOT\181\SOH\FS\GS\n\
+    \\244\SOH\n\
+    \\EOT\EOT\ETB\STX\STX\DC2\EOT\185\SOH\EOT\DC4\SUB\229\SOH Name of the incoming endpoint to filter on - optional. Specifying this will result in zero or one results.\n\
+    \ (-- api-linter: core::203::field-behavior-required=disabled\n\
+    \     aip.dev/not-precedent: Not following linter rules. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\STX\ENQ\DC2\EOT\185\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\STX\SOH\DC2\EOT\185\SOH\v\SI\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\STX\ETX\DC2\EOT\185\SOH\DC2\DC3\n\
+    \\f\n\
+    \\STX\EOT\CAN\DC2\ACK\188\SOH\NUL\192\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\CAN\SOH\DC2\EOT\188\SOH\b\"\n\
+    \0\n\
+    \\EOT\EOT\CAN\STX\NUL\DC2\EOT\190\SOH\EOT\RS\SUB\" Token for getting the next page.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\NUL\ENQ\DC2\EOT\190\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\NUL\SOH\DC2\EOT\190\SOH\n\
+    \\EM\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\NUL\ETX\DC2\EOT\190\SOH\FS\GS\n\
+    \\f\n\
+    \\EOT\EOT\CAN\STX\SOH\DC2\EOT\191\SOH\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\EOT\DC2\EOT\191\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\ACK\DC2\EOT\191\SOH\r+\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\SOH\DC2\EOT\191\SOH,5\n\
+    \\r\n\
+    \\ENQ\EOT\CAN\STX\SOH\ETX\DC2\EOT\191\SOH89b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Operatorservice/V1/RequestResponse_Fields.hs b/src/Proto/Temporal/Api/Operatorservice/V1/RequestResponse_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Operatorservice/V1/RequestResponse_Fields.hs
@@ -0,0 +1,242 @@
+{- This file was auto-generated from temporal/api/operatorservice/v1/request_response.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Nexus.V1.Message
+address ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "address" a) =>
+  Lens.Family2.LensLike' f s a
+address = Data.ProtoLens.Field.field @"address"
+clusterId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusterId" a) =>
+  Lens.Family2.LensLike' f s a
+clusterId = Data.ProtoLens.Field.field @"clusterId"
+clusterName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusterName" a) =>
+  Lens.Family2.LensLike' f s a
+clusterName = Data.ProtoLens.Field.field @"clusterName"
+clusters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusters" a) =>
+  Lens.Family2.LensLike' f s a
+clusters = Data.ProtoLens.Field.field @"clusters"
+customAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "customAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+customAttributes = Data.ProtoLens.Field.field @"customAttributes"
+deletedNamespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deletedNamespace" a) =>
+  Lens.Family2.LensLike' f s a
+deletedNamespace = Data.ProtoLens.Field.field @"deletedNamespace"
+enableRemoteClusterConnection ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "enableRemoteClusterConnection" a) =>
+  Lens.Family2.LensLike' f s a
+enableRemoteClusterConnection
+  = Data.ProtoLens.Field.field @"enableRemoteClusterConnection"
+endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+endpoint = Data.ProtoLens.Field.field @"endpoint"
+endpoints ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoints" a) =>
+  Lens.Family2.LensLike' f s a
+endpoints = Data.ProtoLens.Field.field @"endpoints"
+frontendAddress ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "frontendAddress" a) =>
+  Lens.Family2.LensLike' f s a
+frontendAddress = Data.ProtoLens.Field.field @"frontendAddress"
+frontendHttpAddress ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "frontendHttpAddress" a) =>
+  Lens.Family2.LensLike' f s a
+frontendHttpAddress
+  = Data.ProtoLens.Field.field @"frontendHttpAddress"
+historyShardCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyShardCount" a) =>
+  Lens.Family2.LensLike' f s a
+historyShardCount = Data.ProtoLens.Field.field @"historyShardCount"
+httpAddress ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "httpAddress" a) =>
+  Lens.Family2.LensLike' f s a
+httpAddress = Data.ProtoLens.Field.field @"httpAddress"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+initialFailoverVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initialFailoverVersion" a) =>
+  Lens.Family2.LensLike' f s a
+initialFailoverVersion
+  = Data.ProtoLens.Field.field @"initialFailoverVersion"
+isConnectionEnabled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "isConnectionEnabled" a) =>
+  Lens.Family2.LensLike' f s a
+isConnectionEnabled
+  = Data.ProtoLens.Field.field @"isConnectionEnabled"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+maybe'endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'endpoint = Data.ProtoLens.Field.field @"maybe'endpoint"
+maybe'namespaceDeleteDelay ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'namespaceDeleteDelay" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'namespaceDeleteDelay
+  = Data.ProtoLens.Field.field @"maybe'namespaceDeleteDelay"
+maybe'spec ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'spec" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'spec = Data.ProtoLens.Field.field @"maybe'spec"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+namespaceDeleteDelay ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespaceDeleteDelay" a) =>
+  Lens.Family2.LensLike' f s a
+namespaceDeleteDelay
+  = Data.ProtoLens.Field.field @"namespaceDeleteDelay"
+namespaceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespaceId" a) =>
+  Lens.Family2.LensLike' f s a
+namespaceId = Data.ProtoLens.Field.field @"namespaceId"
+nextPageToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nextPageToken" a) =>
+  Lens.Family2.LensLike' f s a
+nextPageToken = Data.ProtoLens.Field.field @"nextPageToken"
+pageSize ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pageSize" a) =>
+  Lens.Family2.LensLike' f s a
+pageSize = Data.ProtoLens.Field.field @"pageSize"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+spec ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spec" a) =>
+  Lens.Family2.LensLike' f s a
+spec = Data.ProtoLens.Field.field @"spec"
+storageSchema ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "storageSchema" a) =>
+  Lens.Family2.LensLike' f s a
+storageSchema = Data.ProtoLens.Field.field @"storageSchema"
+systemAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "systemAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+systemAttributes = Data.ProtoLens.Field.field @"systemAttributes"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'clusters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'clusters" a) =>
+  Lens.Family2.LensLike' f s a
+vec'clusters = Data.ProtoLens.Field.field @"vec'clusters"
+vec'endpoints ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'endpoints" a) =>
+  Lens.Family2.LensLike' f s a
+vec'endpoints = Data.ProtoLens.Field.field @"vec'endpoints"
+vec'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+vec'searchAttributes
+  = Data.ProtoLens.Field.field @"vec'searchAttributes"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
diff --git a/src/Proto/Temporal/Api/Operatorservice/V1/Service.hs b/src/Proto/Temporal/Api/Operatorservice/V1/Service.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Operatorservice/V1/Service.hs
@@ -0,0 +1,126 @@
+{- This file was auto-generated from temporal/api/operatorservice/v1/service.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Operatorservice.V1.Service (
+        OperatorService(..)
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Api.Annotations
+import qualified Proto.Temporal.Api.Operatorservice.V1.RequestResponse
+data OperatorService = OperatorService {}
+instance Data.ProtoLens.Service.Types.Service OperatorService where
+  type ServiceName OperatorService = "OperatorService"
+  type ServicePackage OperatorService = "temporal.api.operatorservice.v1"
+  type ServiceMethods OperatorService = '["addOrUpdateRemoteCluster",
+                                          "addSearchAttributes",
+                                          "createNexusEndpoint",
+                                          "deleteNamespace",
+                                          "deleteNexusEndpoint",
+                                          "getNexusEndpoint",
+                                          "listClusters",
+                                          "listNexusEndpoints",
+                                          "listSearchAttributes",
+                                          "removeRemoteCluster",
+                                          "removeSearchAttributes",
+                                          "updateNexusEndpoint"]
+  packedServiceDescriptor _
+    = "\n\
+      \\SIOperatorService\DC2\146\SOH\n\
+      \\DC3AddSearchAttributes\DC2;.temporal.api.operatorservice.v1.AddSearchAttributesRequest\SUB<.temporal.api.operatorservice.v1.AddSearchAttributesResponse\"\NUL\DC2\155\SOH\n\
+      \\SYNRemoveSearchAttributes\DC2>.temporal.api.operatorservice.v1.RemoveSearchAttributesRequest\SUB?.temporal.api.operatorservice.v1.RemoveSearchAttributesResponse\"\NUL\DC2\130\STX\n\
+      \\DC4ListSearchAttributes\DC2<.temporal.api.operatorservice.v1.ListSearchAttributesRequest\SUB=.temporal.api.operatorservice.v1.ListSearchAttributesResponse\"m\130\211\228\147\STXg\DC21/cluster/namespaces/{namespace}/search-attributesZ2\DC20/api/v1/namespaces/{namespace}/search-attributes\DC2\134\SOH\n\
+      \\SIDeleteNamespace\DC27.temporal.api.operatorservice.v1.DeleteNamespaceRequest\SUB8.temporal.api.operatorservice.v1.DeleteNamespaceResponse\"\NUL\DC2\161\SOH\n\
+      \\CANAddOrUpdateRemoteCluster\DC2@.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterRequest\SUBA.temporal.api.operatorservice.v1.AddOrUpdateRemoteClusterResponse\"\NUL\DC2\146\SOH\n\
+      \\DC3RemoveRemoteCluster\DC2;.temporal.api.operatorservice.v1.RemoveRemoteClusterRequest\SUB<.temporal.api.operatorservice.v1.RemoveRemoteClusterResponse\"\NUL\DC2}\n\
+      \\fListClusters\DC24.temporal.api.operatorservice.v1.ListClustersRequest\SUB5.temporal.api.operatorservice.v1.ListClustersResponse\"\NUL\DC2\206\SOH\n\
+      \\DLEGetNexusEndpoint\DC28.temporal.api.operatorservice.v1.GetNexusEndpointRequest\SUB9.temporal.api.operatorservice.v1.GetNexusEndpointResponse\"E\130\211\228\147\STX?\DC2\GS/cluster/nexus/endpoints/{id}Z\RS\DC2\FS/api/v1/nexus/endpoints/{id}\DC2\211\SOH\n\
+      \\DC3CreateNexusEndpoint\DC2;.temporal.api.operatorservice.v1.CreateNexusEndpointRequest\SUB<.temporal.api.operatorservice.v1.CreateNexusEndpointResponse\"A\130\211\228\147\STX;\"\CAN/cluster/nexus/endpoints:\SOH*Z\FS\"\ETB/api/v1/nexus/endpoints:\SOH*\DC2\235\SOH\n\
+      \\DC3UpdateNexusEndpoint\DC2;.temporal.api.operatorservice.v1.UpdateNexusEndpointRequest\SUB<.temporal.api.operatorservice.v1.UpdateNexusEndpointResponse\"Y\130\211\228\147\STXS\"$/cluster/nexus/endpoints/{id}/update:\SOH*Z(\"#/api/v1/nexus/endpoints/{id}/update:\SOH*\DC2\215\SOH\n\
+      \\DC3DeleteNexusEndpoint\DC2;.temporal.api.operatorservice.v1.DeleteNexusEndpointRequest\SUB<.temporal.api.operatorservice.v1.DeleteNexusEndpointResponse\"E\130\211\228\147\STX?*\GS/cluster/nexus/endpoints/{id}Z\RS*\FS/api/v1/nexus/endpoints/{id}\DC2\202\SOH\n\
+      \\DC2ListNexusEndpoints\DC2:.temporal.api.operatorservice.v1.ListNexusEndpointsRequest\SUB;.temporal.api.operatorservice.v1.ListNexusEndpointsResponse\";\130\211\228\147\STX5\DC2\CAN/cluster/nexus/endpointsZ\EM\DC2\ETB/api/v1/nexus/endpoints"
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "addSearchAttributes" where
+  type MethodName OperatorService "addSearchAttributes" = "AddSearchAttributes"
+  type MethodInput OperatorService "addSearchAttributes" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.AddSearchAttributesRequest
+  type MethodOutput OperatorService "addSearchAttributes" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.AddSearchAttributesResponse
+  type MethodStreamingType OperatorService "addSearchAttributes" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "removeSearchAttributes" where
+  type MethodName OperatorService "removeSearchAttributes" = "RemoveSearchAttributes"
+  type MethodInput OperatorService "removeSearchAttributes" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.RemoveSearchAttributesRequest
+  type MethodOutput OperatorService "removeSearchAttributes" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.RemoveSearchAttributesResponse
+  type MethodStreamingType OperatorService "removeSearchAttributes" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "listSearchAttributes" where
+  type MethodName OperatorService "listSearchAttributes" = "ListSearchAttributes"
+  type MethodInput OperatorService "listSearchAttributes" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.ListSearchAttributesRequest
+  type MethodOutput OperatorService "listSearchAttributes" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.ListSearchAttributesResponse
+  type MethodStreamingType OperatorService "listSearchAttributes" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "deleteNamespace" where
+  type MethodName OperatorService "deleteNamespace" = "DeleteNamespace"
+  type MethodInput OperatorService "deleteNamespace" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.DeleteNamespaceRequest
+  type MethodOutput OperatorService "deleteNamespace" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.DeleteNamespaceResponse
+  type MethodStreamingType OperatorService "deleteNamespace" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "addOrUpdateRemoteCluster" where
+  type MethodName OperatorService "addOrUpdateRemoteCluster" = "AddOrUpdateRemoteCluster"
+  type MethodInput OperatorService "addOrUpdateRemoteCluster" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.AddOrUpdateRemoteClusterRequest
+  type MethodOutput OperatorService "addOrUpdateRemoteCluster" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.AddOrUpdateRemoteClusterResponse
+  type MethodStreamingType OperatorService "addOrUpdateRemoteCluster" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "removeRemoteCluster" where
+  type MethodName OperatorService "removeRemoteCluster" = "RemoveRemoteCluster"
+  type MethodInput OperatorService "removeRemoteCluster" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.RemoveRemoteClusterRequest
+  type MethodOutput OperatorService "removeRemoteCluster" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.RemoveRemoteClusterResponse
+  type MethodStreamingType OperatorService "removeRemoteCluster" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "listClusters" where
+  type MethodName OperatorService "listClusters" = "ListClusters"
+  type MethodInput OperatorService "listClusters" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.ListClustersRequest
+  type MethodOutput OperatorService "listClusters" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.ListClustersResponse
+  type MethodStreamingType OperatorService "listClusters" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "getNexusEndpoint" where
+  type MethodName OperatorService "getNexusEndpoint" = "GetNexusEndpoint"
+  type MethodInput OperatorService "getNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.GetNexusEndpointRequest
+  type MethodOutput OperatorService "getNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.GetNexusEndpointResponse
+  type MethodStreamingType OperatorService "getNexusEndpoint" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "createNexusEndpoint" where
+  type MethodName OperatorService "createNexusEndpoint" = "CreateNexusEndpoint"
+  type MethodInput OperatorService "createNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.CreateNexusEndpointRequest
+  type MethodOutput OperatorService "createNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.CreateNexusEndpointResponse
+  type MethodStreamingType OperatorService "createNexusEndpoint" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "updateNexusEndpoint" where
+  type MethodName OperatorService "updateNexusEndpoint" = "UpdateNexusEndpoint"
+  type MethodInput OperatorService "updateNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.UpdateNexusEndpointRequest
+  type MethodOutput OperatorService "updateNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.UpdateNexusEndpointResponse
+  type MethodStreamingType OperatorService "updateNexusEndpoint" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "deleteNexusEndpoint" where
+  type MethodName OperatorService "deleteNexusEndpoint" = "DeleteNexusEndpoint"
+  type MethodInput OperatorService "deleteNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.DeleteNexusEndpointRequest
+  type MethodOutput OperatorService "deleteNexusEndpoint" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.DeleteNexusEndpointResponse
+  type MethodStreamingType OperatorService "deleteNexusEndpoint" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl OperatorService "listNexusEndpoints" where
+  type MethodName OperatorService "listNexusEndpoints" = "ListNexusEndpoints"
+  type MethodInput OperatorService "listNexusEndpoints" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.ListNexusEndpointsRequest
+  type MethodOutput OperatorService "listNexusEndpoints" = Proto.Temporal.Api.Operatorservice.V1.RequestResponse.ListNexusEndpointsResponse
+  type MethodStreamingType OperatorService "listNexusEndpoints" = 'Data.ProtoLens.Service.Types.NonStreaming
diff --git a/src/Proto/Temporal/Api/Operatorservice/V1/Service_Fields.hs b/src/Proto/Temporal/Api/Operatorservice/V1/Service_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Operatorservice/V1/Service_Fields.hs
@@ -0,0 +1,31 @@
+{- This file was auto-generated from temporal/api/operatorservice/v1/service.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Operatorservice.V1.Service_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Api.Annotations
+import qualified Proto.Temporal.Api.Operatorservice.V1.RequestResponse
diff --git a/src/Proto/Temporal/Api/Protocol/V1/Message.hs b/src/Proto/Temporal/Api/Protocol/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Protocol/V1/Message.hs
@@ -0,0 +1,517 @@
+{- This file was auto-generated from temporal/api/protocol/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Protocol.V1.Message (
+        Message(), Message'SequencingId(..), _Message'EventId,
+        _Message'CommandIndex
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Any
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.id' @:: Lens' Message Data.Text.Text@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.protocolInstanceId' @:: Lens' Message Data.Text.Text@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.body' @:: Lens' Message Proto.Google.Protobuf.Any.Any@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.maybe'body' @:: Lens' Message (Prelude.Maybe Proto.Google.Protobuf.Any.Any)@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.maybe'sequencingId' @:: Lens' Message (Prelude.Maybe Message'SequencingId)@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.maybe'eventId' @:: Lens' Message (Prelude.Maybe Data.Int.Int64)@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.eventId' @:: Lens' Message Data.Int.Int64@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.maybe'commandIndex' @:: Lens' Message (Prelude.Maybe Data.Int.Int64)@
+         * 'Proto.Temporal.Api.Protocol.V1.Message_Fields.commandIndex' @:: Lens' Message Data.Int.Int64@ -}
+data Message
+  = Message'_constructor {_Message'id :: !Data.Text.Text,
+                          _Message'protocolInstanceId :: !Data.Text.Text,
+                          _Message'body :: !(Prelude.Maybe Proto.Google.Protobuf.Any.Any),
+                          _Message'sequencingId :: !(Prelude.Maybe Message'SequencingId),
+                          _Message'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Message where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Message'SequencingId
+  = Message'EventId !Data.Int.Int64 |
+    Message'CommandIndex !Data.Int.Int64
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Message "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'id (\ x__ y__ -> x__ {_Message'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Message "protocolInstanceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'protocolInstanceId
+           (\ x__ y__ -> x__ {_Message'protocolInstanceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Message "body" Proto.Google.Protobuf.Any.Any where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'body (\ x__ y__ -> x__ {_Message'body = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Message "maybe'body" (Prelude.Maybe Proto.Google.Protobuf.Any.Any) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'body (\ x__ y__ -> x__ {_Message'body = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Message "maybe'sequencingId" (Prelude.Maybe Message'SequencingId) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'sequencingId
+           (\ x__ y__ -> x__ {_Message'sequencingId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Message "maybe'eventId" (Prelude.Maybe Data.Int.Int64) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'sequencingId
+           (\ x__ y__ -> x__ {_Message'sequencingId = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Message'EventId x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Message'EventId y__))
+instance Data.ProtoLens.Field.HasField Message "eventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'sequencingId
+           (\ x__ y__ -> x__ {_Message'sequencingId = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Message'EventId x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Message'EventId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField Message "maybe'commandIndex" (Prelude.Maybe Data.Int.Int64) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'sequencingId
+           (\ x__ y__ -> x__ {_Message'sequencingId = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Message'CommandIndex x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Message'CommandIndex y__))
+instance Data.ProtoLens.Field.HasField Message "commandIndex" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Message'sequencingId
+           (\ x__ y__ -> x__ {_Message'sequencingId = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Message'CommandIndex x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Message'CommandIndex y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message Message where
+  messageName _ = Data.Text.pack "temporal.api.protocol.v1.Message"
+  packedMessageDescriptor _
+    = "\n\
+      \\aMessage\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid\DC20\n\
+      \\DC4protocol_instance_id\CAN\STX \SOH(\tR\DC2protocolInstanceId\DC2\ESC\n\
+      \\bevent_id\CAN\ETX \SOH(\ETXH\NULR\aeventId\DC2%\n\
+      \\rcommand_index\CAN\EOT \SOH(\ETXH\NULR\fcommandIndex\DC2(\n\
+      \\EOTbody\CAN\ENQ \SOH(\v2\DC4.google.protobuf.AnyR\EOTbodyB\SI\n\
+      \\rsequencing_id"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor Message
+        protocolInstanceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "protocol_instance_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"protocolInstanceId")) ::
+              Data.ProtoLens.FieldDescriptor Message
+        body__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "body"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Any.Any)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'body")) ::
+              Data.ProtoLens.FieldDescriptor Message
+        eventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'eventId")) ::
+              Data.ProtoLens.FieldDescriptor Message
+        commandIndex__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "command_index"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'commandIndex")) ::
+              Data.ProtoLens.FieldDescriptor Message
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, id__field_descriptor),
+           (Data.ProtoLens.Tag 2, protocolInstanceId__field_descriptor),
+           (Data.ProtoLens.Tag 5, body__field_descriptor),
+           (Data.ProtoLens.Tag 3, eventId__field_descriptor),
+           (Data.ProtoLens.Tag 4, commandIndex__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Message'_unknownFields
+        (\ x__ y__ -> x__ {_Message'_unknownFields = y__})
+  defMessage
+    = Message'_constructor
+        {_Message'id = Data.ProtoLens.fieldDefault,
+         _Message'protocolInstanceId = Data.ProtoLens.fieldDefault,
+         _Message'body = Prelude.Nothing,
+         _Message'sequencingId = Prelude.Nothing,
+         _Message'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Message -> Data.ProtoLens.Encoding.Bytes.Parser Message
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "protocol_instance_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"protocolInstanceId") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "body"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"body") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "event_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"eventId") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "command_index"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"commandIndex") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Message"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"protocolInstanceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'body") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'sequencingId") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just (Message'EventId v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                                ((Prelude..)
+                                   Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral v)
+                         (Prelude.Just (Message'CommandIndex v))
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                                ((Prelude..)
+                                   Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData Message where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Message'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Message'id x__)
+                (Control.DeepSeq.deepseq
+                   (_Message'protocolInstanceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_Message'body x__)
+                      (Control.DeepSeq.deepseq (_Message'sequencingId x__) ()))))
+instance Control.DeepSeq.NFData Message'SequencingId where
+  rnf (Message'EventId x__) = Control.DeepSeq.rnf x__
+  rnf (Message'CommandIndex x__) = Control.DeepSeq.rnf x__
+_Message'EventId ::
+  Data.ProtoLens.Prism.Prism' Message'SequencingId Data.Int.Int64
+_Message'EventId
+  = Data.ProtoLens.Prism.prism'
+      Message'EventId
+      (\ p__
+         -> case p__ of
+              (Message'EventId p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Message'CommandIndex ::
+  Data.ProtoLens.Prism.Prism' Message'SequencingId Data.Int.Int64
+_Message'CommandIndex
+  = Data.ProtoLens.Prism.prism'
+      Message'CommandIndex
+      (\ p__
+         -> case p__ of
+              (Message'CommandIndex p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \&temporal/api/protocol/v1/message.proto\DC2\CANtemporal.api.protocol.v1\SUB\EMgoogle/protobuf/any.proto\"\202\SOH\n\
+    \\aMessage\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\DC20\n\
+    \\DC4protocol_instance_id\CAN\STX \SOH(\tR\DC2protocolInstanceId\DC2\ESC\n\
+    \\bevent_id\CAN\ETX \SOH(\ETXH\NULR\aeventId\DC2%\n\
+    \\rcommand_index\CAN\EOT \SOH(\ETXH\NULR\fcommandIndex\DC2(\n\
+    \\EOTbody\CAN\ENQ \SOH(\v2\DC4.google.protobuf.AnyR\EOTbodyB\SI\n\
+    \\rsequencing_idB\147\SOH\n\
+    \\ESCio.temporal.api.protocol.v1B\fMessageProtoP\SOHZ'go.temporal.io/api/protocol/v1;protocol\170\STX\SUBTemporalio.Api.Protocol.V1\234\STX\GSTemporalio::Api::Protocol::V1J\183\DC1\n\
+    \\ACK\DC2\EOT\SYN\NUL8\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL!\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL>\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL>\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL4\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL6\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL6\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL7\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL7\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL#\n\
+    \\135\SOH\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL8\SOH\SUB{ (-- api-linter: core::0146::any=disabled\n\
+    \     aip.dev/not-precedent: We want runtime extensibility for the body field --)\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b\SI\n\
+    \/\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX'\EOT\DC2\SUB\" An ID for this specific message.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX'\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX'\v\r\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX'\DLE\DC1\n\
+    \]\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX+\EOT$\SUBP Identifies the specific instance of a protocol to which this message\n\
+    \ belongs.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX+\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX+\v\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX+\"#\n\
+    \\233\SOH\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT0\EOT3\ENQ\SUB\218\SOH The event ID or command ID after which this message can be delivered. The\n\
+    \ effects of history up to and including this event ID should be visible to\n\
+    \ the code that handles this message. Omit to opt out of sequencing.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX0\n\
+    \\ETB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX1\b\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX1\b\r\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX1\SO\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX1\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX2\b \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX2\b\r\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX2\SO\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX2\RS\US\n\
+    \\153\SOH\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX7\EOT!\SUB\139\SOH The opaque data carried by this message. The protocol type can be\n\
+    \ extracted from the package name of the message carried inside the Any.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX7\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX7\CAN\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX7\US b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Protocol/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Protocol/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Protocol/V1/Message_Fields.hs
@@ -0,0 +1,84 @@
+{- This file was auto-generated from temporal/api/protocol/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Protocol.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Any
+body ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "body" a) =>
+  Lens.Family2.LensLike' f s a
+body = Data.ProtoLens.Field.field @"body"
+commandIndex ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "commandIndex" a) =>
+  Lens.Family2.LensLike' f s a
+commandIndex = Data.ProtoLens.Field.field @"commandIndex"
+eventId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "eventId" a) =>
+  Lens.Family2.LensLike' f s a
+eventId = Data.ProtoLens.Field.field @"eventId"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+maybe'body ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'body" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'body = Data.ProtoLens.Field.field @"maybe'body"
+maybe'commandIndex ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'commandIndex" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'commandIndex
+  = Data.ProtoLens.Field.field @"maybe'commandIndex"
+maybe'eventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'eventId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'eventId = Data.ProtoLens.Field.field @"maybe'eventId"
+maybe'sequencingId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'sequencingId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'sequencingId
+  = Data.ProtoLens.Field.field @"maybe'sequencingId"
+protocolInstanceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "protocolInstanceId" a) =>
+  Lens.Family2.LensLike' f s a
+protocolInstanceId
+  = Data.ProtoLens.Field.field @"protocolInstanceId"
diff --git a/src/Proto/Temporal/Api/Query/V1/Message.hs b/src/Proto/Temporal/Api/Query/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Query/V1/Message.hs
@@ -0,0 +1,814 @@
+{- This file was auto-generated from temporal/api/query/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Query.V1.Message (
+        QueryRejected(), WorkflowQuery(), WorkflowQueryResult()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Query
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.status' @:: Lens' QueryRejected Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus@ -}
+data QueryRejected
+  = QueryRejected'_constructor {_QueryRejected'status :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus,
+                                _QueryRejected'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show QueryRejected where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField QueryRejected "status" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryRejected'status
+           (\ x__ y__ -> x__ {_QueryRejected'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message QueryRejected where
+  messageName _
+    = Data.Text.pack "temporal.api.query.v1.QueryRejected"
+  packedMessageDescriptor _
+    = "\n\
+      \\rQueryRejected\DC2F\n\
+      \\ACKstatus\CAN\SOH \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        status__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"status")) ::
+              Data.ProtoLens.FieldDescriptor QueryRejected
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, status__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _QueryRejected'_unknownFields
+        (\ x__ y__ -> x__ {_QueryRejected'_unknownFields = y__})
+  defMessage
+    = QueryRejected'_constructor
+        {_QueryRejected'status = Data.ProtoLens.fieldDefault,
+         _QueryRejected'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          QueryRejected -> Data.ProtoLens.Encoding.Bytes.Parser QueryRejected
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "status"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "QueryRejected"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"status") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData QueryRejected where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_QueryRejected'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_QueryRejected'status x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.queryType' @:: Lens' WorkflowQuery Data.Text.Text@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.queryArgs' @:: Lens' WorkflowQuery Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.maybe'queryArgs' @:: Lens' WorkflowQuery (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.header' @:: Lens' WorkflowQuery Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.maybe'header' @:: Lens' WorkflowQuery (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@ -}
+data WorkflowQuery
+  = WorkflowQuery'_constructor {_WorkflowQuery'queryType :: !Data.Text.Text,
+                                _WorkflowQuery'queryArgs :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                _WorkflowQuery'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                _WorkflowQuery'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowQuery where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowQuery "queryType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQuery'queryType
+           (\ x__ y__ -> x__ {_WorkflowQuery'queryType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowQuery "queryArgs" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQuery'queryArgs
+           (\ x__ y__ -> x__ {_WorkflowQuery'queryArgs = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowQuery "maybe'queryArgs" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQuery'queryArgs
+           (\ x__ y__ -> x__ {_WorkflowQuery'queryArgs = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowQuery "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQuery'header
+           (\ x__ y__ -> x__ {_WorkflowQuery'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowQuery "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQuery'header
+           (\ x__ y__ -> x__ {_WorkflowQuery'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowQuery where
+  messageName _
+    = Data.Text.pack "temporal.api.query.v1.WorkflowQuery"
+  packedMessageDescriptor _
+    = "\n\
+      \\rWorkflowQuery\DC2\GS\n\
+      \\n\
+      \query_type\CAN\SOH \SOH(\tR\tqueryType\DC2?\n\
+      \\n\
+      \query_args\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\tqueryArgs\DC26\n\
+      \\ACKheader\CAN\ETX \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        queryType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"queryType")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQuery
+        queryArgs__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_args"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'queryArgs")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQuery
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQuery
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, queryType__field_descriptor),
+           (Data.ProtoLens.Tag 2, queryArgs__field_descriptor),
+           (Data.ProtoLens.Tag 3, header__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowQuery'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowQuery'_unknownFields = y__})
+  defMessage
+    = WorkflowQuery'_constructor
+        {_WorkflowQuery'queryType = Data.ProtoLens.fieldDefault,
+         _WorkflowQuery'queryArgs = Prelude.Nothing,
+         _WorkflowQuery'header = Prelude.Nothing,
+         _WorkflowQuery'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowQuery -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowQuery
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "query_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"queryType") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "query_args"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"queryArgs") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowQuery"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"queryType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'queryArgs") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData WorkflowQuery where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowQuery'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowQuery'queryType x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowQuery'queryArgs x__)
+                   (Control.DeepSeq.deepseq (_WorkflowQuery'header x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.resultType' @:: Lens' WorkflowQueryResult Proto.Temporal.Api.Enums.V1.Query.QueryResultType@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.answer' @:: Lens' WorkflowQueryResult Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.maybe'answer' @:: Lens' WorkflowQueryResult (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.errorMessage' @:: Lens' WorkflowQueryResult Data.Text.Text@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.failure' @:: Lens' WorkflowQueryResult Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Query.V1.Message_Fields.maybe'failure' @:: Lens' WorkflowQueryResult (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data WorkflowQueryResult
+  = WorkflowQueryResult'_constructor {_WorkflowQueryResult'resultType :: !Proto.Temporal.Api.Enums.V1.Query.QueryResultType,
+                                      _WorkflowQueryResult'answer :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                      _WorkflowQueryResult'errorMessage :: !Data.Text.Text,
+                                      _WorkflowQueryResult'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                      _WorkflowQueryResult'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowQueryResult where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowQueryResult "resultType" Proto.Temporal.Api.Enums.V1.Query.QueryResultType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQueryResult'resultType
+           (\ x__ y__ -> x__ {_WorkflowQueryResult'resultType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowQueryResult "answer" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQueryResult'answer
+           (\ x__ y__ -> x__ {_WorkflowQueryResult'answer = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowQueryResult "maybe'answer" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQueryResult'answer
+           (\ x__ y__ -> x__ {_WorkflowQueryResult'answer = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowQueryResult "errorMessage" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQueryResult'errorMessage
+           (\ x__ y__ -> x__ {_WorkflowQueryResult'errorMessage = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowQueryResult "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQueryResult'failure
+           (\ x__ y__ -> x__ {_WorkflowQueryResult'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowQueryResult "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowQueryResult'failure
+           (\ x__ y__ -> x__ {_WorkflowQueryResult'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowQueryResult where
+  messageName _
+    = Data.Text.pack "temporal.api.query.v1.WorkflowQueryResult"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3WorkflowQueryResult\DC2G\n\
+      \\vresult_type\CAN\SOH \SOH(\SO2&.temporal.api.enums.v1.QueryResultTypeR\n\
+      \resultType\DC28\n\
+      \\ACKanswer\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKanswer\DC2#\n\
+      \\rerror_message\CAN\ETX \SOH(\tR\ferrorMessage\DC2:\n\
+      \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        resultType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Query.QueryResultType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resultType")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQueryResult
+        answer__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "answer"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'answer")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQueryResult
+        errorMessage__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "error_message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"errorMessage")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQueryResult
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowQueryResult
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, resultType__field_descriptor),
+           (Data.ProtoLens.Tag 2, answer__field_descriptor),
+           (Data.ProtoLens.Tag 3, errorMessage__field_descriptor),
+           (Data.ProtoLens.Tag 4, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowQueryResult'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowQueryResult'_unknownFields = y__})
+  defMessage
+    = WorkflowQueryResult'_constructor
+        {_WorkflowQueryResult'resultType = Data.ProtoLens.fieldDefault,
+         _WorkflowQueryResult'answer = Prelude.Nothing,
+         _WorkflowQueryResult'errorMessage = Data.ProtoLens.fieldDefault,
+         _WorkflowQueryResult'failure = Prelude.Nothing,
+         _WorkflowQueryResult'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowQueryResult
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowQueryResult
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "result_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"resultType") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "answer"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"answer") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "error_message"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"errorMessage") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowQueryResult"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"resultType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'answer") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"errorMessage") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowQueryResult where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowQueryResult'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowQueryResult'resultType x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowQueryResult'answer x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowQueryResult'errorMessage x__)
+                      (Control.DeepSeq.deepseq (_WorkflowQueryResult'failure x__) ()))))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \#temporal/api/query/v1/message.proto\DC2\NAKtemporal.api.query.v1\SUB!temporal/api/enums/v1/query.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB$temporal/api/common/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\"\167\SOH\n\
+    \\rWorkflowQuery\DC2\GS\n\
+    \\n\
+    \query_type\CAN\SOH \SOH(\tR\tqueryType\DC2?\n\
+    \\n\
+    \query_args\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\tqueryArgs\DC26\n\
+    \\ACKheader\CAN\ETX \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\"\249\SOH\n\
+    \\DC3WorkflowQueryResult\DC2G\n\
+    \\vresult_type\CAN\SOH \SOH(\SO2&.temporal.api.enums.v1.QueryResultTypeR\n\
+    \resultType\DC28\n\
+    \\ACKanswer\CAN\STX \SOH(\v2 .temporal.api.common.v1.PayloadsR\ACKanswer\DC2#\n\
+    \\rerror_message\CAN\ETX \SOH(\tR\ferrorMessage\DC2:\n\
+    \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"W\n\
+    \\rQueryRejected\DC2F\n\
+    \\ACKstatus\CAN\SOH \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\ACKstatusB\132\SOH\n\
+    \\CANio.temporal.api.query.v1B\fMessageProtoP\SOHZ!go.temporal.io/api/query/v1;query\170\STX\ETBTemporalio.Api.Query.V1\234\STX\SUBTemporalio::Api::Query::V1J\248\DC4\n\
+    \\ACK\DC2\EOT\SYN\NULC\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\RS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL8\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL1\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL3\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL4\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL4\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL+\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL.\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX$\NUL/\n\
+    \A\n\
+    \\STX\EOT\NUL\DC2\EOT'\NUL/\SOH\SUB5 See https://docs.temporal.io/docs/concepts/queries/\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX'\b\NAK\n\
+    \^\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX)\EOT\SUB\SUBQ The workflow-author-defined identifier of the query. Typically a function name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX)\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX)\v\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX)\CAN\EM\n\
+    \O\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX+\EOT3\SUBB Serialized arguments that will be provided to the query handler.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX+\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX+$.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX+12\n\
+    \y\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX.\EOT-\SUBl Headers that were passed by the caller of the query and copied by temporal\n\
+    \ server into the workflow task.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX.\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX.\"(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX.+,\n\
+    \)\n\
+    \\STX\EOT\SOH\DC2\EOT2\NUL?\SOH\SUB\GS Answer to a `WorkflowQuery`\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX2\b\ESC\n\
+    \-\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX4\EOT:\SUB  Did the query succeed or fail?\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX4\EOT)\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX4*5\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX489\n\
+    \t\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX7\EOT/\SUBg Set when the query succeeds with the results.\n\
+    \ Mutually exclusive with `error_message` and `failure`.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX7\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX7$*\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX7-.\n\
+    \o\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX:\EOT\GS\SUBb Mutually exclusive with `answer`. Set when the query fails.\n\
+    \ See also the newer `failure` field.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX:\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX:\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX:\ESC\FS\n\
+    \\136\STX\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETX>\EOT0\SUB\250\SOH The full reason for this query failure. This field is newer than `error_message` and can be encoded by the SDK's\n\
+    \ failure converter to support E2E encryption of messages and stack traces.\n\
+    \ Mutually exclusive with `answer`. Set when the query fails.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETX>\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX>$+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX>./\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOTA\NULC\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXA\b\NAK\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXB\EOT=\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXB\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXB28\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXB;<b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Query/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Query/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Query/V1/Message_Fields.hs
@@ -0,0 +1,101 @@
+{- This file was auto-generated from temporal/api/query/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Query.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Query
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+answer ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "answer" a) =>
+  Lens.Family2.LensLike' f s a
+answer = Data.ProtoLens.Field.field @"answer"
+errorMessage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "errorMessage" a) =>
+  Lens.Family2.LensLike' f s a
+errorMessage = Data.ProtoLens.Field.field @"errorMessage"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+maybe'answer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'answer" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'answer = Data.ProtoLens.Field.field @"maybe'answer"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'queryArgs ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'queryArgs" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'queryArgs = Data.ProtoLens.Field.field @"maybe'queryArgs"
+queryArgs ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryArgs" a) =>
+  Lens.Family2.LensLike' f s a
+queryArgs = Data.ProtoLens.Field.field @"queryArgs"
+queryType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryType" a) =>
+  Lens.Family2.LensLike' f s a
+queryType = Data.ProtoLens.Field.field @"queryType"
+resultType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resultType" a) =>
+  Lens.Family2.LensLike' f s a
+resultType = Data.ProtoLens.Field.field @"resultType"
+status ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "status" a) =>
+  Lens.Family2.LensLike' f s a
+status = Data.ProtoLens.Field.field @"status"
diff --git a/src/Proto/Temporal/Api/Replication/V1/Message.hs b/src/Proto/Temporal/Api/Replication/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Replication/V1/Message.hs
@@ -0,0 +1,702 @@
+{- This file was auto-generated from temporal/api/replication/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Replication.V1.Message (
+        ClusterReplicationConfig(), FailoverStatus(),
+        NamespaceReplicationConfig()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.clusterName' @:: Lens' ClusterReplicationConfig Data.Text.Text@ -}
+data ClusterReplicationConfig
+  = ClusterReplicationConfig'_constructor {_ClusterReplicationConfig'clusterName :: !Data.Text.Text,
+                                           _ClusterReplicationConfig'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ClusterReplicationConfig where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ClusterReplicationConfig "clusterName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ClusterReplicationConfig'clusterName
+           (\ x__ y__ -> x__ {_ClusterReplicationConfig'clusterName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ClusterReplicationConfig where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.replication.v1.ClusterReplicationConfig"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANClusterReplicationConfig\DC2!\n\
+      \\fcluster_name\CAN\SOH \SOH(\tR\vclusterName"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        clusterName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cluster_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"clusterName")) ::
+              Data.ProtoLens.FieldDescriptor ClusterReplicationConfig
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, clusterName__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ClusterReplicationConfig'_unknownFields
+        (\ x__ y__ -> x__ {_ClusterReplicationConfig'_unknownFields = y__})
+  defMessage
+    = ClusterReplicationConfig'_constructor
+        {_ClusterReplicationConfig'clusterName = Data.ProtoLens.fieldDefault,
+         _ClusterReplicationConfig'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ClusterReplicationConfig
+          -> Data.ProtoLens.Encoding.Bytes.Parser ClusterReplicationConfig
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cluster_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"clusterName") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ClusterReplicationConfig"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"clusterName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ClusterReplicationConfig where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ClusterReplicationConfig'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ClusterReplicationConfig'clusterName x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.failoverTime' @:: Lens' FailoverStatus Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.maybe'failoverTime' @:: Lens' FailoverStatus (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.failoverVersion' @:: Lens' FailoverStatus Data.Int.Int64@ -}
+data FailoverStatus
+  = FailoverStatus'_constructor {_FailoverStatus'failoverTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                 _FailoverStatus'failoverVersion :: !Data.Int.Int64,
+                                 _FailoverStatus'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show FailoverStatus where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField FailoverStatus "failoverTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailoverStatus'failoverTime
+           (\ x__ y__ -> x__ {_FailoverStatus'failoverTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField FailoverStatus "maybe'failoverTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailoverStatus'failoverTime
+           (\ x__ y__ -> x__ {_FailoverStatus'failoverTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField FailoverStatus "failoverVersion" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailoverStatus'failoverVersion
+           (\ x__ y__ -> x__ {_FailoverStatus'failoverVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message FailoverStatus where
+  messageName _
+    = Data.Text.pack "temporal.api.replication.v1.FailoverStatus"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOFailoverStatus\DC2?\n\
+      \\rfailover_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\ffailoverTime\DC2)\n\
+      \\DLEfailover_version\CAN\STX \SOH(\ETXR\SIfailoverVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failoverTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failover_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failoverTime")) ::
+              Data.ProtoLens.FieldDescriptor FailoverStatus
+        failoverVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failover_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"failoverVersion")) ::
+              Data.ProtoLens.FieldDescriptor FailoverStatus
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failoverTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, failoverVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _FailoverStatus'_unknownFields
+        (\ x__ y__ -> x__ {_FailoverStatus'_unknownFields = y__})
+  defMessage
+    = FailoverStatus'_constructor
+        {_FailoverStatus'failoverTime = Prelude.Nothing,
+         _FailoverStatus'failoverVersion = Data.ProtoLens.fieldDefault,
+         _FailoverStatus'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          FailoverStatus
+          -> Data.ProtoLens.Encoding.Bytes.Parser FailoverStatus
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failover_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"failoverTime") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "failover_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"failoverVersion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "FailoverStatus"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'failoverTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"failoverVersion") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData FailoverStatus where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_FailoverStatus'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_FailoverStatus'failoverTime x__)
+                (Control.DeepSeq.deepseq (_FailoverStatus'failoverVersion x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.activeClusterName' @:: Lens' NamespaceReplicationConfig Data.Text.Text@
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.clusters' @:: Lens' NamespaceReplicationConfig [ClusterReplicationConfig]@
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.vec'clusters' @:: Lens' NamespaceReplicationConfig (Data.Vector.Vector ClusterReplicationConfig)@
+         * 'Proto.Temporal.Api.Replication.V1.Message_Fields.state' @:: Lens' NamespaceReplicationConfig Proto.Temporal.Api.Enums.V1.Namespace.ReplicationState@ -}
+data NamespaceReplicationConfig
+  = NamespaceReplicationConfig'_constructor {_NamespaceReplicationConfig'activeClusterName :: !Data.Text.Text,
+                                             _NamespaceReplicationConfig'clusters :: !(Data.Vector.Vector ClusterReplicationConfig),
+                                             _NamespaceReplicationConfig'state :: !Proto.Temporal.Api.Enums.V1.Namespace.ReplicationState,
+                                             _NamespaceReplicationConfig'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespaceReplicationConfig where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespaceReplicationConfig "activeClusterName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceReplicationConfig'activeClusterName
+           (\ x__ y__
+              -> x__ {_NamespaceReplicationConfig'activeClusterName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceReplicationConfig "clusters" [ClusterReplicationConfig] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceReplicationConfig'clusters
+           (\ x__ y__ -> x__ {_NamespaceReplicationConfig'clusters = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField NamespaceReplicationConfig "vec'clusters" (Data.Vector.Vector ClusterReplicationConfig) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceReplicationConfig'clusters
+           (\ x__ y__ -> x__ {_NamespaceReplicationConfig'clusters = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespaceReplicationConfig "state" Proto.Temporal.Api.Enums.V1.Namespace.ReplicationState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespaceReplicationConfig'state
+           (\ x__ y__ -> x__ {_NamespaceReplicationConfig'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespaceReplicationConfig where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.replication.v1.NamespaceReplicationConfig"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBNamespaceReplicationConfig\DC2.\n\
+      \\DC3active_cluster_name\CAN\SOH \SOH(\tR\DC1activeClusterName\DC2Q\n\
+      \\bclusters\CAN\STX \ETX(\v25.temporal.api.replication.v1.ClusterReplicationConfigR\bclusters\DC2=\n\
+      \\ENQstate\CAN\ETX \SOH(\SO2'.temporal.api.enums.v1.ReplicationStateR\ENQstate"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activeClusterName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "active_cluster_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activeClusterName")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceReplicationConfig
+        clusters__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "clusters"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ClusterReplicationConfig)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"clusters")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceReplicationConfig
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Namespace.ReplicationState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor NamespaceReplicationConfig
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activeClusterName__field_descriptor),
+           (Data.ProtoLens.Tag 2, clusters__field_descriptor),
+           (Data.ProtoLens.Tag 3, state__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespaceReplicationConfig'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespaceReplicationConfig'_unknownFields = y__})
+  defMessage
+    = NamespaceReplicationConfig'_constructor
+        {_NamespaceReplicationConfig'activeClusterName = Data.ProtoLens.fieldDefault,
+         _NamespaceReplicationConfig'clusters = Data.Vector.Generic.empty,
+         _NamespaceReplicationConfig'state = Data.ProtoLens.fieldDefault,
+         _NamespaceReplicationConfig'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespaceReplicationConfig
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ClusterReplicationConfig
+             -> Data.ProtoLens.Encoding.Bytes.Parser NamespaceReplicationConfig
+        loop x mutable'clusters
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'clusters <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'clusters)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'clusters") frozen'clusters x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "active_cluster_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activeClusterName") y x)
+                                  mutable'clusters
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "clusters"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'clusters y)
+                                loop x v
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                                  mutable'clusters
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'clusters
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'clusters <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'clusters)
+          "NamespaceReplicationConfig"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"activeClusterName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'clusters") _x))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NamespaceReplicationConfig where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespaceReplicationConfig'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespaceReplicationConfig'activeClusterName x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespaceReplicationConfig'clusters x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespaceReplicationConfig'state x__) ())))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \)temporal/api/replication/v1/message.proto\DC2\ESCtemporal.api.replication.v1\SUB\USgoogle/protobuf/timestamp.proto\SUB%temporal/api/enums/v1/namespace.proto\"=\n\
+    \\CANClusterReplicationConfig\DC2!\n\
+    \\fcluster_name\CAN\SOH \SOH(\tR\vclusterName\"\222\SOH\n\
+    \\SUBNamespaceReplicationConfig\DC2.\n\
+    \\DC3active_cluster_name\CAN\SOH \SOH(\tR\DC1activeClusterName\DC2Q\n\
+    \\bclusters\CAN\STX \ETX(\v25.temporal.api.replication.v1.ClusterReplicationConfigR\bclusters\DC2=\n\
+    \\ENQstate\CAN\ETX \SOH(\SO2'.temporal.api.enums.v1.ReplicationStateR\ENQstate\"|\n\
+    \\SOFailoverStatus\DC2?\n\
+    \\rfailover_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\ffailoverTime\DC2)\n\
+    \\DLEfailover_version\CAN\STX \SOH(\ETXR\SIfailoverVersionB\162\SOH\n\
+    \\RSio.temporal.api.replication.v1B\fMessageProtoP\SOHZ-go.temporal.io/api/replication/v1;replication\170\STX\GSTemporalio.Api.Replication.V1\234\STX Temporalio::Api::Replication::V1J\192\SO\n\
+    \\ACK\DC2\EOT\SYN\NUL4\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL$\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NULD\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NULD\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL7\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL7\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL9\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL9\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL:\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL:\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL)\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX#\NUL/\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL'\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b \n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX&\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX&\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX&\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX&\SUB\ESC\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT)\NUL-\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX)\b\"\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX*\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX*\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX*\v\RS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX*!\"\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX+\EOT3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX+\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX+\r%\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX+&.\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX+12\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX,\EOT5\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX,\EOT*\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX,+0\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX,34\n\
+    \G\n\
+    \\STX\EOT\STX\DC2\EOT0\NUL4\SOH\SUB; Represents a historical replication status of a Namespace\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX0\b\SYN\n\
+    \T\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX2\EOT0\SUBG Timestamp when the Cluster switched to the following failover_version\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX2\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX2\RS+\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX2./\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX3\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX3\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX3\n\
+    \\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX3\GS\RSb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Replication/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Replication/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Replication/V1/Message_Fields.hs
@@ -0,0 +1,79 @@
+{- This file was auto-generated from temporal/api/replication/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Replication.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+activeClusterName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activeClusterName" a) =>
+  Lens.Family2.LensLike' f s a
+activeClusterName = Data.ProtoLens.Field.field @"activeClusterName"
+clusterName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusterName" a) =>
+  Lens.Family2.LensLike' f s a
+clusterName = Data.ProtoLens.Field.field @"clusterName"
+clusters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusters" a) =>
+  Lens.Family2.LensLike' f s a
+clusters = Data.ProtoLens.Field.field @"clusters"
+failoverTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failoverTime" a) =>
+  Lens.Family2.LensLike' f s a
+failoverTime = Data.ProtoLens.Field.field @"failoverTime"
+failoverVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failoverVersion" a) =>
+  Lens.Family2.LensLike' f s a
+failoverVersion = Data.ProtoLens.Field.field @"failoverVersion"
+maybe'failoverTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failoverTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failoverTime
+  = Data.ProtoLens.Field.field @"maybe'failoverTime"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+vec'clusters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'clusters" a) =>
+  Lens.Family2.LensLike' f s a
+vec'clusters = Data.ProtoLens.Field.field @"vec'clusters"
diff --git a/src/Proto/Temporal/Api/Rules/V1/Message.hs b/src/Proto/Temporal/Api/Rules/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Rules/V1/Message.hs
@@ -0,0 +1,1163 @@
+{- This file was auto-generated from temporal/api/rules/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Rules.V1.Message (
+        WorkflowRule(), WorkflowRuleAction(),
+        WorkflowRuleAction'Variant(..), _WorkflowRuleAction'ActivityPause,
+        WorkflowRuleAction'ActionActivityPause(), WorkflowRuleSpec(),
+        WorkflowRuleSpec'Trigger(..), _WorkflowRuleSpec'ActivityStart,
+        WorkflowRuleSpec'ActivityStartingTrigger()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.createTime' @:: Lens' WorkflowRule Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'createTime' @:: Lens' WorkflowRule (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.spec' @:: Lens' WorkflowRule WorkflowRuleSpec@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'spec' @:: Lens' WorkflowRule (Prelude.Maybe WorkflowRuleSpec)@ -}
+data WorkflowRule
+  = WorkflowRule'_constructor {_WorkflowRule'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _WorkflowRule'spec :: !(Prelude.Maybe WorkflowRuleSpec),
+                               _WorkflowRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowRule "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRule'createTime
+           (\ x__ y__ -> x__ {_WorkflowRule'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowRule "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRule'createTime
+           (\ x__ y__ -> x__ {_WorkflowRule'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRule "spec" WorkflowRuleSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRule'spec (\ x__ y__ -> x__ {_WorkflowRule'spec = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowRule "maybe'spec" (Prelude.Maybe WorkflowRuleSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRule'spec (\ x__ y__ -> x__ {_WorkflowRule'spec = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowRule where
+  messageName _ = Data.Text.pack "temporal.api.rules.v1.WorkflowRule"
+  packedMessageDescriptor _
+    = "\n\
+      \\fWorkflowRule\DC2;\n\
+      \\vcreate_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2;\n\
+      \\EOTspec\CAN\STX \SOH(\v2'.temporal.api.rules.v1.WorkflowRuleSpecR\EOTspec"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRule
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowRuleSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, spec__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowRule'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowRule'_unknownFields = y__})
+  defMessage
+    = WorkflowRule'_constructor
+        {_WorkflowRule'createTime = Prelude.Nothing,
+         _WorkflowRule'spec = Prelude.Nothing,
+         _WorkflowRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowRule -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowRule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'createTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'spec") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowRule'createTime x__)
+                (Control.DeepSeq.deepseq (_WorkflowRule'spec x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'variant' @:: Lens' WorkflowRuleAction (Prelude.Maybe WorkflowRuleAction'Variant)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'activityPause' @:: Lens' WorkflowRuleAction (Prelude.Maybe WorkflowRuleAction'ActionActivityPause)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.activityPause' @:: Lens' WorkflowRuleAction WorkflowRuleAction'ActionActivityPause@ -}
+data WorkflowRuleAction
+  = WorkflowRuleAction'_constructor {_WorkflowRuleAction'variant :: !(Prelude.Maybe WorkflowRuleAction'Variant),
+                                     _WorkflowRuleAction'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowRuleAction where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data WorkflowRuleAction'Variant
+  = WorkflowRuleAction'ActivityPause !WorkflowRuleAction'ActionActivityPause
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField WorkflowRuleAction "maybe'variant" (Prelude.Maybe WorkflowRuleAction'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleAction'variant
+           (\ x__ y__ -> x__ {_WorkflowRuleAction'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRuleAction "maybe'activityPause" (Prelude.Maybe WorkflowRuleAction'ActionActivityPause) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleAction'variant
+           (\ x__ y__ -> x__ {_WorkflowRuleAction'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowRuleAction'ActivityPause x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowRuleAction'ActivityPause y__))
+instance Data.ProtoLens.Field.HasField WorkflowRuleAction "activityPause" WorkflowRuleAction'ActionActivityPause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleAction'variant
+           (\ x__ y__ -> x__ {_WorkflowRuleAction'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowRuleAction'ActivityPause x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowRuleAction'ActivityPause y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message WorkflowRuleAction where
+  messageName _
+    = Data.Text.pack "temporal.api.rules.v1.WorkflowRuleAction"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2WorkflowRuleAction\DC2f\n\
+      \\SOactivity_pause\CAN\SOH \SOH(\v2=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\NULR\ractivityPause\SUB\NAK\n\
+      \\DC3ActionActivityPauseB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activityPause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_pause"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowRuleAction'ActionActivityPause)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityPause")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleAction
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activityPause__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowRuleAction'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowRuleAction'_unknownFields = y__})
+  defMessage
+    = WorkflowRuleAction'_constructor
+        {_WorkflowRuleAction'variant = Prelude.Nothing,
+         _WorkflowRuleAction'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowRuleAction
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowRuleAction
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_pause"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityPause") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowRuleAction"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (WorkflowRuleAction'ActivityPause v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowRuleAction where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowRuleAction'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WorkflowRuleAction'variant x__) ())
+instance Control.DeepSeq.NFData WorkflowRuleAction'Variant where
+  rnf (WorkflowRuleAction'ActivityPause x__)
+    = Control.DeepSeq.rnf x__
+_WorkflowRuleAction'ActivityPause ::
+  Data.ProtoLens.Prism.Prism' WorkflowRuleAction'Variant WorkflowRuleAction'ActionActivityPause
+_WorkflowRuleAction'ActivityPause
+  = Data.ProtoLens.Prism.prism'
+      WorkflowRuleAction'ActivityPause
+      (\ p__
+         -> case p__ of
+              (WorkflowRuleAction'ActivityPause p__val) -> Prelude.Just p__val)
+{- | Fields :
+      -}
+data WorkflowRuleAction'ActionActivityPause
+  = WorkflowRuleAction'ActionActivityPause'_constructor {_WorkflowRuleAction'ActionActivityPause'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowRuleAction'ActionActivityPause where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message WorkflowRuleAction'ActionActivityPause where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPause"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3ActionActivityPause"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowRuleAction'ActionActivityPause'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowRuleAction'ActionActivityPause'_unknownFields = y__})
+  defMessage
+    = WorkflowRuleAction'ActionActivityPause'_constructor
+        {_WorkflowRuleAction'ActionActivityPause'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowRuleAction'ActionActivityPause
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowRuleAction'ActionActivityPause
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActionActivityPause"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData WorkflowRuleAction'ActionActivityPause where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowRuleAction'ActionActivityPause'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.id' @:: Lens' WorkflowRuleSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.visibilityQuery' @:: Lens' WorkflowRuleSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.actions' @:: Lens' WorkflowRuleSpec [WorkflowRuleAction]@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.vec'actions' @:: Lens' WorkflowRuleSpec (Data.Vector.Vector WorkflowRuleAction)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.expirationTime' @:: Lens' WorkflowRuleSpec Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'expirationTime' @:: Lens' WorkflowRuleSpec (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'trigger' @:: Lens' WorkflowRuleSpec (Prelude.Maybe WorkflowRuleSpec'Trigger)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.maybe'activityStart' @:: Lens' WorkflowRuleSpec (Prelude.Maybe WorkflowRuleSpec'ActivityStartingTrigger)@
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.activityStart' @:: Lens' WorkflowRuleSpec WorkflowRuleSpec'ActivityStartingTrigger@ -}
+data WorkflowRuleSpec
+  = WorkflowRuleSpec'_constructor {_WorkflowRuleSpec'id :: !Data.Text.Text,
+                                   _WorkflowRuleSpec'visibilityQuery :: !Data.Text.Text,
+                                   _WorkflowRuleSpec'actions :: !(Data.Vector.Vector WorkflowRuleAction),
+                                   _WorkflowRuleSpec'expirationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                   _WorkflowRuleSpec'trigger :: !(Prelude.Maybe WorkflowRuleSpec'Trigger),
+                                   _WorkflowRuleSpec'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowRuleSpec where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data WorkflowRuleSpec'Trigger
+  = WorkflowRuleSpec'ActivityStart !WorkflowRuleSpec'ActivityStartingTrigger
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'id
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "visibilityQuery" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'visibilityQuery
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'visibilityQuery = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "actions" [WorkflowRuleAction] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'actions
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'actions = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "vec'actions" (Data.Vector.Vector WorkflowRuleAction) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'actions
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'actions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "expirationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'expirationTime
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'expirationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "maybe'expirationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'expirationTime
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'expirationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "maybe'trigger" (Prelude.Maybe WorkflowRuleSpec'Trigger) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'trigger
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'trigger = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "maybe'activityStart" (Prelude.Maybe WorkflowRuleSpec'ActivityStartingTrigger) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'trigger
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'trigger = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowRuleSpec'ActivityStart x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowRuleSpec'ActivityStart y__))
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec "activityStart" WorkflowRuleSpec'ActivityStartingTrigger where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'trigger
+           (\ x__ y__ -> x__ {_WorkflowRuleSpec'trigger = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowRuleSpec'ActivityStart x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowRuleSpec'ActivityStart y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message WorkflowRuleSpec where
+  messageName _
+    = Data.Text.pack "temporal.api.rules.v1.WorkflowRuleSpec"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEWorkflowRuleSpec\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid\DC2h\n\
+      \\SOactivity_start\CAN\STX \SOH(\v2?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\NULR\ractivityStart\DC2)\n\
+      \\DLEvisibility_query\CAN\ETX \SOH(\tR\SIvisibilityQuery\DC2C\n\
+      \\aactions\CAN\EOT \ETX(\v2).temporal.api.rules.v1.WorkflowRuleActionR\aactions\DC2C\n\
+      \\SIexpiration_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\SOexpirationTime\SUB7\n\
+      \\ETBActivityStartingTrigger\DC2\FS\n\
+      \\tpredicate\CAN\SOH \SOH(\tR\tpredicateB\t\n\
+      \\atrigger"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleSpec
+        visibilityQuery__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "visibility_query"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"visibilityQuery")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleSpec
+        actions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "actions"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowRuleAction)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"actions")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleSpec
+        expirationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "expiration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'expirationTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleSpec
+        activityStart__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_start"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowRuleSpec'ActivityStartingTrigger)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityStart")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleSpec
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, id__field_descriptor),
+           (Data.ProtoLens.Tag 3, visibilityQuery__field_descriptor),
+           (Data.ProtoLens.Tag 4, actions__field_descriptor),
+           (Data.ProtoLens.Tag 5, expirationTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, activityStart__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowRuleSpec'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowRuleSpec'_unknownFields = y__})
+  defMessage
+    = WorkflowRuleSpec'_constructor
+        {_WorkflowRuleSpec'id = Data.ProtoLens.fieldDefault,
+         _WorkflowRuleSpec'visibilityQuery = Data.ProtoLens.fieldDefault,
+         _WorkflowRuleSpec'actions = Data.Vector.Generic.empty,
+         _WorkflowRuleSpec'expirationTime = Prelude.Nothing,
+         _WorkflowRuleSpec'trigger = Prelude.Nothing,
+         _WorkflowRuleSpec'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowRuleSpec
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkflowRuleAction
+             -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowRuleSpec
+        loop x mutable'actions
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'actions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                             mutable'actions)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'actions") frozen'actions x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                                  mutable'actions
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "visibility_query"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"visibilityQuery") y x)
+                                  mutable'actions
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "actions"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'actions y)
+                                loop x v
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "expiration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"expirationTime") y x)
+                                  mutable'actions
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_start"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityStart") y x)
+                                  mutable'actions
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'actions
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'actions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                   Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'actions)
+          "WorkflowRuleSpec"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"visibilityQuery") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'actions") _x))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'expirationTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'trigger") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just (WorkflowRuleSpec'ActivityStart v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData WorkflowRuleSpec where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowRuleSpec'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowRuleSpec'id x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowRuleSpec'visibilityQuery x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowRuleSpec'actions x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowRuleSpec'expirationTime x__)
+                         (Control.DeepSeq.deepseq (_WorkflowRuleSpec'trigger x__) ())))))
+instance Control.DeepSeq.NFData WorkflowRuleSpec'Trigger where
+  rnf (WorkflowRuleSpec'ActivityStart x__) = Control.DeepSeq.rnf x__
+_WorkflowRuleSpec'ActivityStart ::
+  Data.ProtoLens.Prism.Prism' WorkflowRuleSpec'Trigger WorkflowRuleSpec'ActivityStartingTrigger
+_WorkflowRuleSpec'ActivityStart
+  = Data.ProtoLens.Prism.prism'
+      WorkflowRuleSpec'ActivityStart
+      (\ p__
+         -> case p__ of
+              (WorkflowRuleSpec'ActivityStart p__val) -> Prelude.Just p__val)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Rules.V1.Message_Fields.predicate' @:: Lens' WorkflowRuleSpec'ActivityStartingTrigger Data.Text.Text@ -}
+data WorkflowRuleSpec'ActivityStartingTrigger
+  = WorkflowRuleSpec'ActivityStartingTrigger'_constructor {_WorkflowRuleSpec'ActivityStartingTrigger'predicate :: !Data.Text.Text,
+                                                           _WorkflowRuleSpec'ActivityStartingTrigger'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowRuleSpec'ActivityStartingTrigger where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowRuleSpec'ActivityStartingTrigger "predicate" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowRuleSpec'ActivityStartingTrigger'predicate
+           (\ x__ y__
+              -> x__
+                   {_WorkflowRuleSpec'ActivityStartingTrigger'predicate = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowRuleSpec'ActivityStartingTrigger where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTrigger"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBActivityStartingTrigger\DC2\FS\n\
+      \\tpredicate\CAN\SOH \SOH(\tR\tpredicate"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        predicate__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "predicate"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"predicate")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowRuleSpec'ActivityStartingTrigger
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, predicate__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowRuleSpec'ActivityStartingTrigger'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_WorkflowRuleSpec'ActivityStartingTrigger'_unknownFields = y__})
+  defMessage
+    = WorkflowRuleSpec'ActivityStartingTrigger'_constructor
+        {_WorkflowRuleSpec'ActivityStartingTrigger'predicate = Data.ProtoLens.fieldDefault,
+         _WorkflowRuleSpec'ActivityStartingTrigger'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowRuleSpec'ActivityStartingTrigger
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowRuleSpec'ActivityStartingTrigger
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "predicate"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"predicate") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityStartingTrigger"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"predicate") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowRuleSpec'ActivityStartingTrigger where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowRuleSpec'ActivityStartingTrigger'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowRuleSpec'ActivityStartingTrigger'predicate x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \#temporal/api/rules/v1/message.proto\DC2\NAKtemporal.api.rules.v1\SUB\USgoogle/protobuf/timestamp.proto\"\158\SOH\n\
+    \\DC2WorkflowRuleAction\DC2f\n\
+    \\SOactivity_pause\CAN\SOH \SOH(\v2=.temporal.api.rules.v1.WorkflowRuleAction.ActionActivityPauseH\NULR\ractivityPause\SUB\NAK\n\
+    \\DC3ActionActivityPauseB\t\n\
+    \\avariant\"\133\ETX\n\
+    \\DLEWorkflowRuleSpec\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\DC2h\n\
+    \\SOactivity_start\CAN\STX \SOH(\v2?.temporal.api.rules.v1.WorkflowRuleSpec.ActivityStartingTriggerH\NULR\ractivityStart\DC2)\n\
+    \\DLEvisibility_query\CAN\ETX \SOH(\tR\SIvisibilityQuery\DC2C\n\
+    \\aactions\CAN\EOT \ETX(\v2).temporal.api.rules.v1.WorkflowRuleActionR\aactions\DC2C\n\
+    \\SIexpiration_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\SOexpirationTime\SUB7\n\
+    \\ETBActivityStartingTrigger\DC2\FS\n\
+    \\tpredicate\CAN\SOH \SOH(\tR\tpredicateB\t\n\
+    \\atrigger\"\136\SOH\n\
+    \\fWorkflowRule\DC2;\n\
+    \\vcreate_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2;\n\
+    \\EOTspec\CAN\STX \SOH(\v2'.temporal.api.rules.v1.WorkflowRuleSpecR\EOTspecB\132\SOH\n\
+    \\CANio.temporal.api.rules.v1B\fMessageProtoP\SOHZ!go.temporal.io/api/rules/v1;rules\170\STX\ETBTemporalio.Api.Rules.V1\234\STX\SUBTemporalio::Api::Rules::V1J\228\GS\n\
+    \\ACK\DC2\EOT\SYN\NULe\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2025 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\RS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL8\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL1\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL3\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL4\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL4\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\"\NUL)\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT$\NUL,\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX$\b\SUB\n\
+    \\f\n\
+    \\EOT\EOT\NUL\ETX\NUL\DC2\EOT%\STX&\ETX\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\ETX\NUL\SOH\DC2\ETX%\n\
+    \\GS\n\
+    \\"\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT)\STX+\ETX\SUB\DC4 Supported actions.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX)\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX*\EOT+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX*\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX*\CAN&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX*)*\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT.\NUL\\\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX.\b\CAN\n\
+    \\140\SOH\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX1\STX\DLE\SUB\DEL The id of the new workflow rule. Must be unique within the namespace.\n\
+    \ Can be set by the user, and can have business meaning.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX1\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX1\t\v\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX1\SO\SI\n\
+    \V\n\
+    \\EOT\EOT\SOH\ETX\NUL\DC2\EOT4\STXD\ETX\SUBH Activity trigger will be triggered when an activity is about to start.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\ETX\NUL\SOH\DC2\ETX4\n\
+    \!\n\
+    \\149\ACK\n\
+    \\ACK\EOT\SOH\ETX\NUL\STX\NUL\DC2\ETXC\EOT\EM\SUB\133\ACK Activity predicate is a SQL-like string filter parameter.\n\
+    \ It is used to match against workflow data.\n\
+    \ The following activity attributes are supported as part of the predicate:\n\
+    \ - ActivityType: An Activity Type is the mapping of a name to an Activity Definition..\n\
+    \ - ActivityId: The ID of the activity.\n\
+    \ - ActivityAttempt: The number attempts of the activity.\n\
+    \ - BackoffInterval: The current amount of time between scheduled attempts of the activity.\n\
+    \ - ActivityStatus: The status of the activity. Can be one of \"Scheduled\", \"Started\", \"Paused\".\n\
+    \ - TaskQueue: The name of the task queue the workflow specified that the activity should run on.\n\
+    \ Activity predicate support the following operators:\n\
+    \  * =, !=, >, >=, <, <=\n\
+    \  * AND, OR, ()\n\
+    \  * BETWEEN ... AND\n\
+    \    STARTS_WITH\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\SOH\ETX\NUL\STX\NUL\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\SO\n\
+    \\a\EOT\SOH\ETX\NUL\STX\NUL\SOH\DC2\ETXC\v\DC4\n\
+    \\SO\n\
+    \\a\EOT\SOH\ETX\NUL\STX\NUL\ETX\DC2\ETXC\ETB\CAN\n\
+    \~\n\
+    \\EOT\EOT\SOH\b\NUL\DC2\EOTH\STXJ\ETX\SUBp Specifies how the rule should be triggered and evaluated.\n\
+    \ Currently, only \"activity start\" type is supported.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\b\NUL\SOH\DC2\ETXH\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETXI\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETXI\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXI\FS*\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXI-.\n\
+    \\238\STX\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETXT\STX\RS\SUB\224\STX Restricted Visibility query.\n\
+    \ This query is used to filter workflows in this namespace to which this rule should apply.\n\
+    \ It is applied to any running workflow each time a triggering event occurs, before the trigger predicate is evaluated.\n\
+    \ The following workflow attributes are supported:\n\
+    \ - WorkflowType\n\
+    \ - WorkflowId\n\
+    \ - StartTime\n\
+    \ - ExecutionStatus\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETXT\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXT\t\EM\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXT\FS\GS\n\
+    \b\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETXW\STX*\SUBU WorkflowRuleAction to be taken when the rule is triggered and predicate is matched.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETXW\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETXW\v\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXW\RS%\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXW()\n\
+    \\133\SOH\n\
+    \\EOT\EOT\SOH\STX\EOT\DC2\ETX[\STX0\SUBx Expiration time of the rule. After this time, the rule will be deleted.\n\
+    \ Can be empty if the rule should never expire.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\ETX[\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETX[\FS+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETX[./\n\
+    \b\n\
+    \\STX\EOT\STX\DC2\EOT_\NULe\SOH\SUBV WorkflowRule describes a rule that can be applied to any workflow in this namespace.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX_\b\DC4\n\
+    \\"\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXa\STX,\SUB\NAK Rule creation time.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXa\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXa\FS'\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXa*+\n\
+    \!\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXd\STX\FS\SUB\DC4 Rule specification\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXd\STX\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXd\DC3\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXd\SUB\ESCb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Rules/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Rules/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Rules/V1/Message_Fields.hs
@@ -0,0 +1,132 @@
+{- This file was auto-generated from temporal/api/rules/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Rules.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+actions ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "actions" a) =>
+  Lens.Family2.LensLike' f s a
+actions = Data.ProtoLens.Field.field @"actions"
+activityPause ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityPause" a) =>
+  Lens.Family2.LensLike' f s a
+activityPause = Data.ProtoLens.Field.field @"activityPause"
+activityStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityStart" a) =>
+  Lens.Family2.LensLike' f s a
+activityStart = Data.ProtoLens.Field.field @"activityStart"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+expirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "expirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+expirationTime = Data.ProtoLens.Field.field @"expirationTime"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+maybe'activityPause ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityPause" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityPause
+  = Data.ProtoLens.Field.field @"maybe'activityPause"
+maybe'activityStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityStart" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityStart
+  = Data.ProtoLens.Field.field @"maybe'activityStart"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'expirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'expirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'expirationTime
+  = Data.ProtoLens.Field.field @"maybe'expirationTime"
+maybe'spec ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'spec" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'spec = Data.ProtoLens.Field.field @"maybe'spec"
+maybe'trigger ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'trigger" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'trigger = Data.ProtoLens.Field.field @"maybe'trigger"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+predicate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "predicate" a) =>
+  Lens.Family2.LensLike' f s a
+predicate = Data.ProtoLens.Field.field @"predicate"
+spec ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spec" a) =>
+  Lens.Family2.LensLike' f s a
+spec = Data.ProtoLens.Field.field @"spec"
+vec'actions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'actions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'actions = Data.ProtoLens.Field.field @"vec'actions"
+visibilityQuery ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityQuery" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityQuery = Data.ProtoLens.Field.field @"visibilityQuery"
diff --git a/src/Proto/Temporal/Api/Schedule/V1/Message.hs b/src/Proto/Temporal/Api/Schedule/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Schedule/V1/Message.hs
@@ -0,0 +1,6624 @@
+{- This file was auto-generated from temporal/api/schedule/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Schedule.V1.Message (
+        BackfillRequest(), CalendarSpec(), IntervalSpec(), Range(),
+        Schedule(), ScheduleAction(), ScheduleAction'Action(..),
+        _ScheduleAction'StartWorkflow, ScheduleActionResult(),
+        ScheduleInfo(), ScheduleListEntry(), ScheduleListInfo(),
+        SchedulePatch(), SchedulePolicies(), ScheduleSpec(),
+        ScheduleState(), StructuredCalendarSpec(),
+        TriggerImmediatelyRequest()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Schedule
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.startTime' @:: Lens' BackfillRequest Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'startTime' @:: Lens' BackfillRequest (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.endTime' @:: Lens' BackfillRequest Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'endTime' @:: Lens' BackfillRequest (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.overlapPolicy' @:: Lens' BackfillRequest Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy@ -}
+data BackfillRequest
+  = BackfillRequest'_constructor {_BackfillRequest'startTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                  _BackfillRequest'endTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                  _BackfillRequest'overlapPolicy :: !Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy,
+                                  _BackfillRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BackfillRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BackfillRequest "startTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BackfillRequest'startTime
+           (\ x__ y__ -> x__ {_BackfillRequest'startTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BackfillRequest "maybe'startTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BackfillRequest'startTime
+           (\ x__ y__ -> x__ {_BackfillRequest'startTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BackfillRequest "endTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BackfillRequest'endTime
+           (\ x__ y__ -> x__ {_BackfillRequest'endTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField BackfillRequest "maybe'endTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BackfillRequest'endTime
+           (\ x__ y__ -> x__ {_BackfillRequest'endTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BackfillRequest "overlapPolicy" Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BackfillRequest'overlapPolicy
+           (\ x__ y__ -> x__ {_BackfillRequest'overlapPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BackfillRequest where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.BackfillRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIBackfillRequest\DC29\n\
+      \\n\
+      \start_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC25\n\
+      \\bend_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\aendTime\DC2S\n\
+      \\SOoverlap_policy\CAN\ETX \SOH(\SO2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        startTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startTime")) ::
+              Data.ProtoLens.FieldDescriptor BackfillRequest
+        endTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "end_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'endTime")) ::
+              Data.ProtoLens.FieldDescriptor BackfillRequest
+        overlapPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "overlap_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"overlapPolicy")) ::
+              Data.ProtoLens.FieldDescriptor BackfillRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, startTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, endTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, overlapPolicy__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BackfillRequest'_unknownFields
+        (\ x__ y__ -> x__ {_BackfillRequest'_unknownFields = y__})
+  defMessage
+    = BackfillRequest'_constructor
+        {_BackfillRequest'startTime = Prelude.Nothing,
+         _BackfillRequest'endTime = Prelude.Nothing,
+         _BackfillRequest'overlapPolicy = Data.ProtoLens.fieldDefault,
+         _BackfillRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BackfillRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser BackfillRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "end_time"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"endTime") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "overlap_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"overlapPolicy") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BackfillRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'startTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'endTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"overlapPolicy") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData BackfillRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BackfillRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BackfillRequest'startTime x__)
+                (Control.DeepSeq.deepseq
+                   (_BackfillRequest'endTime x__)
+                   (Control.DeepSeq.deepseq (_BackfillRequest'overlapPolicy x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.second' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.minute' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.hour' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.dayOfMonth' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.month' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.year' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.dayOfWeek' @:: Lens' CalendarSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.comment' @:: Lens' CalendarSpec Data.Text.Text@ -}
+data CalendarSpec
+  = CalendarSpec'_constructor {_CalendarSpec'second :: !Data.Text.Text,
+                               _CalendarSpec'minute :: !Data.Text.Text,
+                               _CalendarSpec'hour :: !Data.Text.Text,
+                               _CalendarSpec'dayOfMonth :: !Data.Text.Text,
+                               _CalendarSpec'month :: !Data.Text.Text,
+                               _CalendarSpec'year :: !Data.Text.Text,
+                               _CalendarSpec'dayOfWeek :: !Data.Text.Text,
+                               _CalendarSpec'comment :: !Data.Text.Text,
+                               _CalendarSpec'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CalendarSpec where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CalendarSpec "second" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'second
+           (\ x__ y__ -> x__ {_CalendarSpec'second = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "minute" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'minute
+           (\ x__ y__ -> x__ {_CalendarSpec'minute = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "hour" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'hour (\ x__ y__ -> x__ {_CalendarSpec'hour = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "dayOfMonth" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'dayOfMonth
+           (\ x__ y__ -> x__ {_CalendarSpec'dayOfMonth = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "month" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'month (\ x__ y__ -> x__ {_CalendarSpec'month = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "year" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'year (\ x__ y__ -> x__ {_CalendarSpec'year = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "dayOfWeek" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'dayOfWeek
+           (\ x__ y__ -> x__ {_CalendarSpec'dayOfWeek = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CalendarSpec "comment" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CalendarSpec'comment
+           (\ x__ y__ -> x__ {_CalendarSpec'comment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CalendarSpec where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.CalendarSpec"
+  packedMessageDescriptor _
+    = "\n\
+      \\fCalendarSpec\DC2\SYN\n\
+      \\ACKsecond\CAN\SOH \SOH(\tR\ACKsecond\DC2\SYN\n\
+      \\ACKminute\CAN\STX \SOH(\tR\ACKminute\DC2\DC2\n\
+      \\EOThour\CAN\ETX \SOH(\tR\EOThour\DC2 \n\
+      \\fday_of_month\CAN\EOT \SOH(\tR\n\
+      \dayOfMonth\DC2\DC4\n\
+      \\ENQmonth\CAN\ENQ \SOH(\tR\ENQmonth\DC2\DC2\n\
+      \\EOTyear\CAN\ACK \SOH(\tR\EOTyear\DC2\RS\n\
+      \\vday_of_week\CAN\a \SOH(\tR\tdayOfWeek\DC2\CAN\n\
+      \\acomment\CAN\b \SOH(\tR\acomment"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        second__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "second"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"second")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        minute__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "minute"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"minute")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        hour__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "hour"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"hour")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        dayOfMonth__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "day_of_month"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"dayOfMonth")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        month__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "month"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"month")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        year__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "year"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"year")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        dayOfWeek__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "day_of_week"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"dayOfWeek")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+        comment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "comment"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"comment")) ::
+              Data.ProtoLens.FieldDescriptor CalendarSpec
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, second__field_descriptor),
+           (Data.ProtoLens.Tag 2, minute__field_descriptor),
+           (Data.ProtoLens.Tag 3, hour__field_descriptor),
+           (Data.ProtoLens.Tag 4, dayOfMonth__field_descriptor),
+           (Data.ProtoLens.Tag 5, month__field_descriptor),
+           (Data.ProtoLens.Tag 6, year__field_descriptor),
+           (Data.ProtoLens.Tag 7, dayOfWeek__field_descriptor),
+           (Data.ProtoLens.Tag 8, comment__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CalendarSpec'_unknownFields
+        (\ x__ y__ -> x__ {_CalendarSpec'_unknownFields = y__})
+  defMessage
+    = CalendarSpec'_constructor
+        {_CalendarSpec'second = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'minute = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'hour = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'dayOfMonth = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'month = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'year = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'dayOfWeek = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'comment = Data.ProtoLens.fieldDefault,
+         _CalendarSpec'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CalendarSpec -> Data.ProtoLens.Encoding.Bytes.Parser CalendarSpec
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "second"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"second") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "minute"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"minute") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "hour"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"hour") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "day_of_month"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"dayOfMonth") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "month"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"month") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "year"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"year") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "day_of_week"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"dayOfWeek") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "comment"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"comment") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CalendarSpec"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"second") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"minute") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"hour") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"dayOfMonth") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"month") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"year") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view (Data.ProtoLens.Field.field @"dayOfWeek") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"comment") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                           ((Prelude..)
+                                              (\ bs
+                                                 -> (Data.Monoid.<>)
+                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                         (Prelude.fromIntegral
+                                                            (Data.ByteString.length bs)))
+                                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                              Data.Text.Encoding.encodeUtf8 _v))
+                                  (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                     (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))
+instance Control.DeepSeq.NFData CalendarSpec where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CalendarSpec'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CalendarSpec'second x__)
+                (Control.DeepSeq.deepseq
+                   (_CalendarSpec'minute x__)
+                   (Control.DeepSeq.deepseq
+                      (_CalendarSpec'hour x__)
+                      (Control.DeepSeq.deepseq
+                         (_CalendarSpec'dayOfMonth x__)
+                         (Control.DeepSeq.deepseq
+                            (_CalendarSpec'month x__)
+                            (Control.DeepSeq.deepseq
+                               (_CalendarSpec'year x__)
+                               (Control.DeepSeq.deepseq
+                                  (_CalendarSpec'dayOfWeek x__)
+                                  (Control.DeepSeq.deepseq (_CalendarSpec'comment x__) ()))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.interval' @:: Lens' IntervalSpec Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'interval' @:: Lens' IntervalSpec (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.phase' @:: Lens' IntervalSpec Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'phase' @:: Lens' IntervalSpec (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@ -}
+data IntervalSpec
+  = IntervalSpec'_constructor {_IntervalSpec'interval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                               _IntervalSpec'phase :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                               _IntervalSpec'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show IntervalSpec where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField IntervalSpec "interval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _IntervalSpec'interval
+           (\ x__ y__ -> x__ {_IntervalSpec'interval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField IntervalSpec "maybe'interval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _IntervalSpec'interval
+           (\ x__ y__ -> x__ {_IntervalSpec'interval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField IntervalSpec "phase" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _IntervalSpec'phase (\ x__ y__ -> x__ {_IntervalSpec'phase = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField IntervalSpec "maybe'phase" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _IntervalSpec'phase (\ x__ y__ -> x__ {_IntervalSpec'phase = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message IntervalSpec where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.IntervalSpec"
+  packedMessageDescriptor _
+    = "\n\
+      \\fIntervalSpec\DC25\n\
+      \\binterval\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\binterval\DC2/\n\
+      \\ENQphase\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\ENQphase"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        interval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'interval")) ::
+              Data.ProtoLens.FieldDescriptor IntervalSpec
+        phase__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "phase"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'phase")) ::
+              Data.ProtoLens.FieldDescriptor IntervalSpec
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, interval__field_descriptor),
+           (Data.ProtoLens.Tag 2, phase__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _IntervalSpec'_unknownFields
+        (\ x__ y__ -> x__ {_IntervalSpec'_unknownFields = y__})
+  defMessage
+    = IntervalSpec'_constructor
+        {_IntervalSpec'interval = Prelude.Nothing,
+         _IntervalSpec'phase = Prelude.Nothing,
+         _IntervalSpec'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          IntervalSpec -> Data.ProtoLens.Encoding.Bytes.Parser IntervalSpec
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "interval"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"interval") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "phase"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"phase") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "IntervalSpec"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'interval") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'phase") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData IntervalSpec where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_IntervalSpec'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_IntervalSpec'interval x__)
+                (Control.DeepSeq.deepseq (_IntervalSpec'phase x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.start' @:: Lens' Range Data.Int.Int32@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.end' @:: Lens' Range Data.Int.Int32@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.step' @:: Lens' Range Data.Int.Int32@ -}
+data Range
+  = Range'_constructor {_Range'start :: !Data.Int.Int32,
+                        _Range'end :: !Data.Int.Int32,
+                        _Range'step :: !Data.Int.Int32,
+                        _Range'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Range where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Range "start" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Range'start (\ x__ y__ -> x__ {_Range'start = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Range "end" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Range'end (\ x__ y__ -> x__ {_Range'end = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Range "step" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Range'step (\ x__ y__ -> x__ {_Range'step = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Range where
+  messageName _ = Data.Text.pack "temporal.api.schedule.v1.Range"
+  packedMessageDescriptor _
+    = "\n\
+      \\ENQRange\DC2\DC4\n\
+      \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\
+      \\ETXend\CAN\STX \SOH(\ENQR\ETXend\DC2\DC2\n\
+      \\EOTstep\CAN\ETX \SOH(\ENQR\EOTstep"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        start__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"start")) ::
+              Data.ProtoLens.FieldDescriptor Range
+        end__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "end"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"end")) ::
+              Data.ProtoLens.FieldDescriptor Range
+        step__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "step"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"step")) ::
+              Data.ProtoLens.FieldDescriptor Range
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, start__field_descriptor),
+           (Data.ProtoLens.Tag 2, end__field_descriptor),
+           (Data.ProtoLens.Tag 3, step__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Range'_unknownFields
+        (\ x__ y__ -> x__ {_Range'_unknownFields = y__})
+  defMessage
+    = Range'_constructor
+        {_Range'start = Data.ProtoLens.fieldDefault,
+         _Range'end = Data.ProtoLens.fieldDefault,
+         _Range'step = Data.ProtoLens.fieldDefault,
+         _Range'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Range -> Data.ProtoLens.Encoding.Bytes.Parser Range
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "start"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"start") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "end"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"end") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "step"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"step") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Range"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"start") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"end") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"step") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Range where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Range'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Range'start x__)
+                (Control.DeepSeq.deepseq
+                   (_Range'end x__) (Control.DeepSeq.deepseq (_Range'step x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.spec' @:: Lens' Schedule ScheduleSpec@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'spec' @:: Lens' Schedule (Prelude.Maybe ScheduleSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.action' @:: Lens' Schedule ScheduleAction@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'action' @:: Lens' Schedule (Prelude.Maybe ScheduleAction)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.policies' @:: Lens' Schedule SchedulePolicies@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'policies' @:: Lens' Schedule (Prelude.Maybe SchedulePolicies)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.state' @:: Lens' Schedule ScheduleState@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'state' @:: Lens' Schedule (Prelude.Maybe ScheduleState)@ -}
+data Schedule
+  = Schedule'_constructor {_Schedule'spec :: !(Prelude.Maybe ScheduleSpec),
+                           _Schedule'action :: !(Prelude.Maybe ScheduleAction),
+                           _Schedule'policies :: !(Prelude.Maybe SchedulePolicies),
+                           _Schedule'state :: !(Prelude.Maybe ScheduleState),
+                           _Schedule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Schedule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Schedule "spec" ScheduleSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'spec (\ x__ y__ -> x__ {_Schedule'spec = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Schedule "maybe'spec" (Prelude.Maybe ScheduleSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'spec (\ x__ y__ -> x__ {_Schedule'spec = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Schedule "action" ScheduleAction where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'action (\ x__ y__ -> x__ {_Schedule'action = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Schedule "maybe'action" (Prelude.Maybe ScheduleAction) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'action (\ x__ y__ -> x__ {_Schedule'action = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Schedule "policies" SchedulePolicies where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'policies (\ x__ y__ -> x__ {_Schedule'policies = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Schedule "maybe'policies" (Prelude.Maybe SchedulePolicies) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'policies (\ x__ y__ -> x__ {_Schedule'policies = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Schedule "state" ScheduleState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'state (\ x__ y__ -> x__ {_Schedule'state = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Schedule "maybe'state" (Prelude.Maybe ScheduleState) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Schedule'state (\ x__ y__ -> x__ {_Schedule'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Schedule where
+  messageName _ = Data.Text.pack "temporal.api.schedule.v1.Schedule"
+  packedMessageDescriptor _
+    = "\n\
+      \\bSchedule\DC2:\n\
+      \\EOTspec\CAN\SOH \SOH(\v2&.temporal.api.schedule.v1.ScheduleSpecR\EOTspec\DC2@\n\
+      \\ACKaction\CAN\STX \SOH(\v2(.temporal.api.schedule.v1.ScheduleActionR\ACKaction\DC2F\n\
+      \\bpolicies\CAN\ETX \SOH(\v2*.temporal.api.schedule.v1.SchedulePoliciesR\bpolicies\DC2=\n\
+      \\ENQstate\CAN\EOT \SOH(\v2'.temporal.api.schedule.v1.ScheduleStateR\ENQstate"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor Schedule
+        action__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "action"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleAction)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'action")) ::
+              Data.ProtoLens.FieldDescriptor Schedule
+        policies__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "policies"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SchedulePolicies)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'policies")) ::
+              Data.ProtoLens.FieldDescriptor Schedule
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleState)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'state")) ::
+              Data.ProtoLens.FieldDescriptor Schedule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, spec__field_descriptor),
+           (Data.ProtoLens.Tag 2, action__field_descriptor),
+           (Data.ProtoLens.Tag 3, policies__field_descriptor),
+           (Data.ProtoLens.Tag 4, state__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Schedule'_unknownFields
+        (\ x__ y__ -> x__ {_Schedule'_unknownFields = y__})
+  defMessage
+    = Schedule'_constructor
+        {_Schedule'spec = Prelude.Nothing,
+         _Schedule'action = Prelude.Nothing,
+         _Schedule'policies = Prelude.Nothing,
+         _Schedule'state = Prelude.Nothing, _Schedule'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Schedule -> Data.ProtoLens.Encoding.Bytes.Parser Schedule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "action"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"action") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "policies"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"policies") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Schedule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'spec") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'action") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'policies") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'state") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData Schedule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Schedule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Schedule'spec x__)
+                (Control.DeepSeq.deepseq
+                   (_Schedule'action x__)
+                   (Control.DeepSeq.deepseq
+                      (_Schedule'policies x__)
+                      (Control.DeepSeq.deepseq (_Schedule'state x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'action' @:: Lens' ScheduleAction (Prelude.Maybe ScheduleAction'Action)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'startWorkflow' @:: Lens' ScheduleAction (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.startWorkflow' @:: Lens' ScheduleAction Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo@ -}
+data ScheduleAction
+  = ScheduleAction'_constructor {_ScheduleAction'action :: !(Prelude.Maybe ScheduleAction'Action),
+                                 _ScheduleAction'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleAction where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ScheduleAction'Action
+  = ScheduleAction'StartWorkflow !Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ScheduleAction "maybe'action" (Prelude.Maybe ScheduleAction'Action) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleAction'action
+           (\ x__ y__ -> x__ {_ScheduleAction'action = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleAction "maybe'startWorkflow" (Prelude.Maybe Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleAction'action
+           (\ x__ y__ -> x__ {_ScheduleAction'action = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ScheduleAction'StartWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ScheduleAction'StartWorkflow y__))
+instance Data.ProtoLens.Field.HasField ScheduleAction "startWorkflow" Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleAction'action
+           (\ x__ y__ -> x__ {_ScheduleAction'action = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ScheduleAction'StartWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ScheduleAction'StartWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ScheduleAction where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleAction"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOScheduleAction\DC2[\n\
+      \\SOstart_workflow\CAN\SOH \SOH(\v22.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\NULR\rstartWorkflowB\b\n\
+      \\ACKaction"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        startWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleAction
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, startWorkflow__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleAction'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleAction'_unknownFields = y__})
+  defMessage
+    = ScheduleAction'_constructor
+        {_ScheduleAction'action = Prelude.Nothing,
+         _ScheduleAction'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleAction
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleAction
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startWorkflow") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ScheduleAction"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'action") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (ScheduleAction'StartWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ScheduleAction where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleAction'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ScheduleAction'action x__) ())
+instance Control.DeepSeq.NFData ScheduleAction'Action where
+  rnf (ScheduleAction'StartWorkflow x__) = Control.DeepSeq.rnf x__
+_ScheduleAction'StartWorkflow ::
+  Data.ProtoLens.Prism.Prism' ScheduleAction'Action Proto.Temporal.Api.Workflow.V1.Message.NewWorkflowExecutionInfo
+_ScheduleAction'StartWorkflow
+  = Data.ProtoLens.Prism.prism'
+      ScheduleAction'StartWorkflow
+      (\ p__
+         -> case p__ of
+              (ScheduleAction'StartWorkflow p__val) -> Prelude.Just p__val)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.scheduleTime' @:: Lens' ScheduleActionResult Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'scheduleTime' @:: Lens' ScheduleActionResult (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.actualTime' @:: Lens' ScheduleActionResult Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'actualTime' @:: Lens' ScheduleActionResult (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.startWorkflowResult' @:: Lens' ScheduleActionResult Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'startWorkflowResult' @:: Lens' ScheduleActionResult (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.startWorkflowStatus' @:: Lens' ScheduleActionResult Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus@ -}
+data ScheduleActionResult
+  = ScheduleActionResult'_constructor {_ScheduleActionResult'scheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                       _ScheduleActionResult'actualTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                       _ScheduleActionResult'startWorkflowResult :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                       _ScheduleActionResult'startWorkflowStatus :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus,
+                                       _ScheduleActionResult'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleActionResult where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "scheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'scheduleTime
+           (\ x__ y__ -> x__ {_ScheduleActionResult'scheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "maybe'scheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'scheduleTime
+           (\ x__ y__ -> x__ {_ScheduleActionResult'scheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "actualTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'actualTime
+           (\ x__ y__ -> x__ {_ScheduleActionResult'actualTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "maybe'actualTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'actualTime
+           (\ x__ y__ -> x__ {_ScheduleActionResult'actualTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "startWorkflowResult" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'startWorkflowResult
+           (\ x__ y__
+              -> x__ {_ScheduleActionResult'startWorkflowResult = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "maybe'startWorkflowResult" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'startWorkflowResult
+           (\ x__ y__
+              -> x__ {_ScheduleActionResult'startWorkflowResult = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActionResult "startWorkflowStatus" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActionResult'startWorkflowStatus
+           (\ x__ y__
+              -> x__ {_ScheduleActionResult'startWorkflowStatus = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleActionResult where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleActionResult"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4ScheduleActionResult\DC2?\n\
+      \\rschedule_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\fscheduleTime\DC2;\n\
+      \\vactual_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \actualTime\DC2]\n\
+      \\NAKstart_workflow_result\CAN\v \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC3startWorkflowResult\DC2b\n\
+      \\NAKstart_workflow_status\CAN\f \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\DC3startWorkflowStatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActionResult
+        actualTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "actual_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'actualTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActionResult
+        startWorkflowResult__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_workflow_result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startWorkflowResult")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActionResult
+        startWorkflowStatus__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_workflow_status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"startWorkflowStatus")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActionResult
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduleTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, actualTime__field_descriptor),
+           (Data.ProtoLens.Tag 11, startWorkflowResult__field_descriptor),
+           (Data.ProtoLens.Tag 12, startWorkflowStatus__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleActionResult'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleActionResult'_unknownFields = y__})
+  defMessage
+    = ScheduleActionResult'_constructor
+        {_ScheduleActionResult'scheduleTime = Prelude.Nothing,
+         _ScheduleActionResult'actualTime = Prelude.Nothing,
+         _ScheduleActionResult'startWorkflowResult = Prelude.Nothing,
+         _ScheduleActionResult'startWorkflowStatus = Data.ProtoLens.fieldDefault,
+         _ScheduleActionResult'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleActionResult
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleActionResult
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "actual_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"actualTime") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_workflow_result"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startWorkflowResult") y x)
+                        96
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "start_workflow_status"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startWorkflowStatus") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ScheduleActionResult"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'scheduleTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'actualTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'startWorkflowResult") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"startWorkflowStatus") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 96)
+                               ((Prelude..)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  Prelude.fromEnum _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData ScheduleActionResult where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleActionResult'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleActionResult'scheduleTime x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleActionResult'actualTime x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleActionResult'startWorkflowResult x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleActionResult'startWorkflowStatus x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.actionCount' @:: Lens' ScheduleInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.missedCatchupWindow' @:: Lens' ScheduleInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.overlapSkipped' @:: Lens' ScheduleInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.bufferDropped' @:: Lens' ScheduleInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.bufferSize' @:: Lens' ScheduleInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.runningWorkflows' @:: Lens' ScheduleInfo [Proto.Temporal.Api.Common.V1.Message.WorkflowExecution]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'runningWorkflows' @:: Lens' ScheduleInfo (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.recentActions' @:: Lens' ScheduleInfo [ScheduleActionResult]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'recentActions' @:: Lens' ScheduleInfo (Data.Vector.Vector ScheduleActionResult)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.futureActionTimes' @:: Lens' ScheduleInfo [Proto.Google.Protobuf.Timestamp.Timestamp]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'futureActionTimes' @:: Lens' ScheduleInfo (Data.Vector.Vector Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.createTime' @:: Lens' ScheduleInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'createTime' @:: Lens' ScheduleInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.updateTime' @:: Lens' ScheduleInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'updateTime' @:: Lens' ScheduleInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.invalidScheduleError' @:: Lens' ScheduleInfo Data.Text.Text@ -}
+data ScheduleInfo
+  = ScheduleInfo'_constructor {_ScheduleInfo'actionCount :: !Data.Int.Int64,
+                               _ScheduleInfo'missedCatchupWindow :: !Data.Int.Int64,
+                               _ScheduleInfo'overlapSkipped :: !Data.Int.Int64,
+                               _ScheduleInfo'bufferDropped :: !Data.Int.Int64,
+                               _ScheduleInfo'bufferSize :: !Data.Int.Int64,
+                               _ScheduleInfo'runningWorkflows :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                               _ScheduleInfo'recentActions :: !(Data.Vector.Vector ScheduleActionResult),
+                               _ScheduleInfo'futureActionTimes :: !(Data.Vector.Vector Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _ScheduleInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _ScheduleInfo'updateTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _ScheduleInfo'invalidScheduleError :: !Data.Text.Text,
+                               _ScheduleInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleInfo "actionCount" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'actionCount
+           (\ x__ y__ -> x__ {_ScheduleInfo'actionCount = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "missedCatchupWindow" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'missedCatchupWindow
+           (\ x__ y__ -> x__ {_ScheduleInfo'missedCatchupWindow = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "overlapSkipped" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'overlapSkipped
+           (\ x__ y__ -> x__ {_ScheduleInfo'overlapSkipped = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "bufferDropped" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'bufferDropped
+           (\ x__ y__ -> x__ {_ScheduleInfo'bufferDropped = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "bufferSize" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'bufferSize
+           (\ x__ y__ -> x__ {_ScheduleInfo'bufferSize = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "runningWorkflows" [Proto.Temporal.Api.Common.V1.Message.WorkflowExecution] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'runningWorkflows
+           (\ x__ y__ -> x__ {_ScheduleInfo'runningWorkflows = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleInfo "vec'runningWorkflows" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'runningWorkflows
+           (\ x__ y__ -> x__ {_ScheduleInfo'runningWorkflows = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "recentActions" [ScheduleActionResult] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'recentActions
+           (\ x__ y__ -> x__ {_ScheduleInfo'recentActions = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleInfo "vec'recentActions" (Data.Vector.Vector ScheduleActionResult) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'recentActions
+           (\ x__ y__ -> x__ {_ScheduleInfo'recentActions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "futureActionTimes" [Proto.Google.Protobuf.Timestamp.Timestamp] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'futureActionTimes
+           (\ x__ y__ -> x__ {_ScheduleInfo'futureActionTimes = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleInfo "vec'futureActionTimes" (Data.Vector.Vector Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'futureActionTimes
+           (\ x__ y__ -> x__ {_ScheduleInfo'futureActionTimes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'createTime
+           (\ x__ y__ -> x__ {_ScheduleInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'createTime
+           (\ x__ y__ -> x__ {_ScheduleInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "updateTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'updateTime
+           (\ x__ y__ -> x__ {_ScheduleInfo'updateTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleInfo "maybe'updateTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'updateTime
+           (\ x__ y__ -> x__ {_ScheduleInfo'updateTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleInfo "invalidScheduleError" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleInfo'invalidScheduleError
+           (\ x__ y__ -> x__ {_ScheduleInfo'invalidScheduleError = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\fScheduleInfo\DC2!\n\
+      \\faction_count\CAN\SOH \SOH(\ETXR\vactionCount\DC22\n\
+      \\NAKmissed_catchup_window\CAN\STX \SOH(\ETXR\DC3missedCatchupWindow\DC2'\n\
+      \\SIoverlap_skipped\CAN\ETX \SOH(\ETXR\SOoverlapSkipped\DC2%\n\
+      \\SObuffer_dropped\CAN\n\
+      \ \SOH(\ETXR\rbufferDropped\DC2\US\n\
+      \\vbuffer_size\CAN\v \SOH(\ETXR\n\
+      \bufferSize\DC2V\n\
+      \\DC1running_workflows\CAN\t \ETX(\v2).temporal.api.common.v1.WorkflowExecutionR\DLErunningWorkflows\DC2U\n\
+      \\SOrecent_actions\CAN\EOT \ETX(\v2..temporal.api.schedule.v1.ScheduleActionResultR\rrecentActions\DC2J\n\
+      \\DC3future_action_times\CAN\ENQ \ETX(\v2\SUB.google.protobuf.TimestampR\DC1futureActionTimes\DC2;\n\
+      \\vcreate_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2;\n\
+      \\vupdate_time\CAN\a \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \updateTime\DC28\n\
+      \\SYNinvalid_schedule_error\CAN\b \SOH(\tR\DC4invalidScheduleErrorB\STX\CAN\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        actionCount__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "action_count"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"actionCount")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        missedCatchupWindow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "missed_catchup_window"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"missedCatchupWindow")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        overlapSkipped__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "overlap_skipped"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"overlapSkipped")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        bufferDropped__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "buffer_dropped"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"bufferDropped")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        bufferSize__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "buffer_size"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"bufferSize")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        runningWorkflows__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "running_workflows"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"runningWorkflows")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        recentActions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "recent_actions"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleActionResult)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"recentActions")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        futureActionTimes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "future_action_times"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"futureActionTimes")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        updateTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'updateTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+        invalidScheduleError__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "invalid_schedule_error"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"invalidScheduleError")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, actionCount__field_descriptor),
+           (Data.ProtoLens.Tag 2, missedCatchupWindow__field_descriptor),
+           (Data.ProtoLens.Tag 3, overlapSkipped__field_descriptor),
+           (Data.ProtoLens.Tag 10, bufferDropped__field_descriptor),
+           (Data.ProtoLens.Tag 11, bufferSize__field_descriptor),
+           (Data.ProtoLens.Tag 9, runningWorkflows__field_descriptor),
+           (Data.ProtoLens.Tag 4, recentActions__field_descriptor),
+           (Data.ProtoLens.Tag 5, futureActionTimes__field_descriptor),
+           (Data.ProtoLens.Tag 6, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 7, updateTime__field_descriptor),
+           (Data.ProtoLens.Tag 8, invalidScheduleError__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleInfo'_unknownFields = y__})
+  defMessage
+    = ScheduleInfo'_constructor
+        {_ScheduleInfo'actionCount = Data.ProtoLens.fieldDefault,
+         _ScheduleInfo'missedCatchupWindow = Data.ProtoLens.fieldDefault,
+         _ScheduleInfo'overlapSkipped = Data.ProtoLens.fieldDefault,
+         _ScheduleInfo'bufferDropped = Data.ProtoLens.fieldDefault,
+         _ScheduleInfo'bufferSize = Data.ProtoLens.fieldDefault,
+         _ScheduleInfo'runningWorkflows = Data.Vector.Generic.empty,
+         _ScheduleInfo'recentActions = Data.Vector.Generic.empty,
+         _ScheduleInfo'futureActionTimes = Data.Vector.Generic.empty,
+         _ScheduleInfo'createTime = Prelude.Nothing,
+         _ScheduleInfo'updateTime = Prelude.Nothing,
+         _ScheduleInfo'invalidScheduleError = Data.ProtoLens.fieldDefault,
+         _ScheduleInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Timestamp.Timestamp
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ScheduleActionResult
+                -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.WorkflowExecution
+                   -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleInfo
+        loop
+          x
+          mutable'futureActionTimes
+          mutable'recentActions
+          mutable'runningWorkflows
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'futureActionTimes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                    (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                       mutable'futureActionTimes)
+                      frozen'recentActions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                   mutable'recentActions)
+                      frozen'runningWorkflows <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                   (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                      mutable'runningWorkflows)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'futureActionTimes")
+                              frozen'futureActionTimes
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'recentActions")
+                                 frozen'recentActions
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"vec'runningWorkflows")
+                                    frozen'runningWorkflows x))))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "action_count"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"actionCount") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "missed_catchup_window"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"missedCatchupWindow") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "overlap_skipped"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"overlapSkipped") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        80
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "buffer_dropped"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"bufferDropped") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        88
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "buffer_size"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"bufferSize") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        74
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "running_workflows"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'runningWorkflows y)
+                                loop x mutable'futureActionTimes mutable'recentActions v
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "recent_actions"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'recentActions y)
+                                loop x mutable'futureActionTimes v mutable'runningWorkflows
+                        42
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "future_action_times"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'futureActionTimes y)
+                                loop x v mutable'recentActions mutable'runningWorkflows
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "update_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"updateTime") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "invalid_schedule_error"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"invalidScheduleError") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'futureActionTimes mutable'recentActions
+                                  mutable'runningWorkflows
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'futureActionTimes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             Data.ProtoLens.Encoding.Growing.new
+              mutable'recentActions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         Data.ProtoLens.Encoding.Growing.new
+              mutable'runningWorkflows <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'futureActionTimes
+                mutable'recentActions mutable'runningWorkflows)
+          "ScheduleInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"actionCount") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"missedCatchupWindow") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"overlapSkipped") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"bufferDropped") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 80)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"bufferSize") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 88)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage _v))
+                               (Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"vec'runningWorkflows") _x))
+                            ((Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage _v))
+                                  (Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"vec'recentActions") _x))
+                               ((Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage _v))
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"vec'futureActionTimes") _x))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'updateTime") _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"invalidScheduleError")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                                    ((Prelude..)
+                                                       (\ bs
+                                                          -> (Data.Monoid.<>)
+                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                  (Prelude.fromIntegral
+                                                                     (Data.ByteString.length bs)))
+                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                  bs))
+                                                       Data.Text.Encoding.encodeUtf8 _v))
+                                           (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                              (Lens.Family2.view
+                                                 Data.ProtoLens.unknownFields _x))))))))))))
+instance Control.DeepSeq.NFData ScheduleInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleInfo'actionCount x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleInfo'missedCatchupWindow x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleInfo'overlapSkipped x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleInfo'bufferDropped x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleInfo'bufferSize x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleInfo'runningWorkflows x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ScheduleInfo'recentActions x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ScheduleInfo'futureActionTimes x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ScheduleInfo'createTime x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ScheduleInfo'updateTime x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ScheduleInfo'invalidScheduleError x__) ())))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.scheduleId' @:: Lens' ScheduleListEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.memo' @:: Lens' ScheduleListEntry Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'memo' @:: Lens' ScheduleListEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.searchAttributes' @:: Lens' ScheduleListEntry Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'searchAttributes' @:: Lens' ScheduleListEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.info' @:: Lens' ScheduleListEntry ScheduleListInfo@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'info' @:: Lens' ScheduleListEntry (Prelude.Maybe ScheduleListInfo)@ -}
+data ScheduleListEntry
+  = ScheduleListEntry'_constructor {_ScheduleListEntry'scheduleId :: !Data.Text.Text,
+                                    _ScheduleListEntry'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                    _ScheduleListEntry'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                    _ScheduleListEntry'info :: !(Prelude.Maybe ScheduleListInfo),
+                                    _ScheduleListEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleListEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "scheduleId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'scheduleId
+           (\ x__ y__ -> x__ {_ScheduleListEntry'scheduleId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'memo
+           (\ x__ y__ -> x__ {_ScheduleListEntry'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'memo
+           (\ x__ y__ -> x__ {_ScheduleListEntry'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'searchAttributes
+           (\ x__ y__ -> x__ {_ScheduleListEntry'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'searchAttributes
+           (\ x__ y__ -> x__ {_ScheduleListEntry'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "info" ScheduleListInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'info
+           (\ x__ y__ -> x__ {_ScheduleListEntry'info = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleListEntry "maybe'info" (Prelude.Maybe ScheduleListInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListEntry'info
+           (\ x__ y__ -> x__ {_ScheduleListEntry'info = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleListEntry where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleListEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1ScheduleListEntry\DC2\US\n\
+      \\vschedule_id\CAN\SOH \SOH(\tR\n\
+      \scheduleId\DC20\n\
+      \\EOTmemo\CAN\STX \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\ETX \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2>\n\
+      \\EOTinfo\CAN\EOT \SOH(\v2*.temporal.api.schedule.v1.ScheduleListInfoR\EOTinfo"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        scheduleId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduleId")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListEntry
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListEntry
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListEntry
+        info__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleListInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'info")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, scheduleId__field_descriptor),
+           (Data.ProtoLens.Tag 2, memo__field_descriptor),
+           (Data.ProtoLens.Tag 3, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 4, info__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleListEntry'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleListEntry'_unknownFields = y__})
+  defMessage
+    = ScheduleListEntry'_constructor
+        {_ScheduleListEntry'scheduleId = Data.ProtoLens.fieldDefault,
+         _ScheduleListEntry'memo = Prelude.Nothing,
+         _ScheduleListEntry'searchAttributes = Prelude.Nothing,
+         _ScheduleListEntry'info = Prelude.Nothing,
+         _ScheduleListEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleListEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleListEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "schedule_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"scheduleId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "info"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"info") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ScheduleListEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"scheduleId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'memo") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'searchAttributes") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'info") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData ScheduleListEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleListEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleListEntry'scheduleId x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleListEntry'memo x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleListEntry'searchAttributes x__)
+                      (Control.DeepSeq.deepseq (_ScheduleListEntry'info x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.spec' @:: Lens' ScheduleListInfo ScheduleSpec@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'spec' @:: Lens' ScheduleListInfo (Prelude.Maybe ScheduleSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.workflowType' @:: Lens' ScheduleListInfo Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'workflowType' @:: Lens' ScheduleListInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.notes' @:: Lens' ScheduleListInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.paused' @:: Lens' ScheduleListInfo Prelude.Bool@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.recentActions' @:: Lens' ScheduleListInfo [ScheduleActionResult]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'recentActions' @:: Lens' ScheduleListInfo (Data.Vector.Vector ScheduleActionResult)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.futureActionTimes' @:: Lens' ScheduleListInfo [Proto.Google.Protobuf.Timestamp.Timestamp]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'futureActionTimes' @:: Lens' ScheduleListInfo (Data.Vector.Vector Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data ScheduleListInfo
+  = ScheduleListInfo'_constructor {_ScheduleListInfo'spec :: !(Prelude.Maybe ScheduleSpec),
+                                   _ScheduleListInfo'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                   _ScheduleListInfo'notes :: !Data.Text.Text,
+                                   _ScheduleListInfo'paused :: !Prelude.Bool,
+                                   _ScheduleListInfo'recentActions :: !(Data.Vector.Vector ScheduleActionResult),
+                                   _ScheduleListInfo'futureActionTimes :: !(Data.Vector.Vector Proto.Google.Protobuf.Timestamp.Timestamp),
+                                   _ScheduleListInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleListInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "spec" ScheduleSpec where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'spec
+           (\ x__ y__ -> x__ {_ScheduleListInfo'spec = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "maybe'spec" (Prelude.Maybe ScheduleSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'spec
+           (\ x__ y__ -> x__ {_ScheduleListInfo'spec = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'workflowType
+           (\ x__ y__ -> x__ {_ScheduleListInfo'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'workflowType
+           (\ x__ y__ -> x__ {_ScheduleListInfo'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "notes" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'notes
+           (\ x__ y__ -> x__ {_ScheduleListInfo'notes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "paused" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'paused
+           (\ x__ y__ -> x__ {_ScheduleListInfo'paused = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "recentActions" [ScheduleActionResult] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'recentActions
+           (\ x__ y__ -> x__ {_ScheduleListInfo'recentActions = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "vec'recentActions" (Data.Vector.Vector ScheduleActionResult) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'recentActions
+           (\ x__ y__ -> x__ {_ScheduleListInfo'recentActions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "futureActionTimes" [Proto.Google.Protobuf.Timestamp.Timestamp] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'futureActionTimes
+           (\ x__ y__ -> x__ {_ScheduleListInfo'futureActionTimes = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleListInfo "vec'futureActionTimes" (Data.Vector.Vector Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleListInfo'futureActionTimes
+           (\ x__ y__ -> x__ {_ScheduleListInfo'futureActionTimes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleListInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleListInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEScheduleListInfo\DC2:\n\
+      \\EOTspec\CAN\SOH \SOH(\v2&.temporal.api.schedule.v1.ScheduleSpecR\EOTspec\DC2I\n\
+      \\rworkflow_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2\DC4\n\
+      \\ENQnotes\CAN\ETX \SOH(\tR\ENQnotes\DC2\SYN\n\
+      \\ACKpaused\CAN\EOT \SOH(\bR\ACKpaused\DC2U\n\
+      \\SOrecent_actions\CAN\ENQ \ETX(\v2..temporal.api.schedule.v1.ScheduleActionResultR\rrecentActions\DC2J\n\
+      \\DC3future_action_times\CAN\ACK \ETX(\v2\SUB.google.protobuf.TimestampR\DC1futureActionTimes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        spec__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "spec"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleSpec)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'spec")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListInfo
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListInfo
+        notes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "notes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"notes")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListInfo
+        paused__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "paused"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"paused")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListInfo
+        recentActions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "recent_actions"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleActionResult)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"recentActions")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListInfo
+        futureActionTimes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "future_action_times"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"futureActionTimes")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleListInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, spec__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 3, notes__field_descriptor),
+           (Data.ProtoLens.Tag 4, paused__field_descriptor),
+           (Data.ProtoLens.Tag 5, recentActions__field_descriptor),
+           (Data.ProtoLens.Tag 6, futureActionTimes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleListInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleListInfo'_unknownFields = y__})
+  defMessage
+    = ScheduleListInfo'_constructor
+        {_ScheduleListInfo'spec = Prelude.Nothing,
+         _ScheduleListInfo'workflowType = Prelude.Nothing,
+         _ScheduleListInfo'notes = Data.ProtoLens.fieldDefault,
+         _ScheduleListInfo'paused = Data.ProtoLens.fieldDefault,
+         _ScheduleListInfo'recentActions = Data.Vector.Generic.empty,
+         _ScheduleListInfo'futureActionTimes = Data.Vector.Generic.empty,
+         _ScheduleListInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleListInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Google.Protobuf.Timestamp.Timestamp
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ScheduleActionResult
+                -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleListInfo
+        loop x mutable'futureActionTimes mutable'recentActions
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'futureActionTimes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                    (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                       mutable'futureActionTimes)
+                      frozen'recentActions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                   mutable'recentActions)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'futureActionTimes")
+                              frozen'futureActionTimes
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'recentActions")
+                                 frozen'recentActions x)))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "spec"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"spec") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "notes"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"notes") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "paused"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"paused") y x)
+                                  mutable'futureActionTimes mutable'recentActions
+                        42
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "recent_actions"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'recentActions y)
+                                loop x mutable'futureActionTimes v
+                        50
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "future_action_times"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'futureActionTimes y)
+                                loop x v mutable'recentActions
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'futureActionTimes mutable'recentActions
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'futureActionTimes <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             Data.ProtoLens.Encoding.Growing.new
+              mutable'recentActions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'futureActionTimes
+                mutable'recentActions)
+          "ScheduleListInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'spec") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"notes") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"paused") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (\ b -> if b then 1 else 0) _v))
+                      ((Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage _v))
+                            (Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"vec'recentActions") _x))
+                         ((Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage _v))
+                               (Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"vec'futureActionTimes") _x))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData ScheduleListInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleListInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleListInfo'spec x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleListInfo'workflowType x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleListInfo'notes x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleListInfo'paused x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleListInfo'recentActions x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleListInfo'futureActionTimes x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.triggerImmediately' @:: Lens' SchedulePatch TriggerImmediatelyRequest@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'triggerImmediately' @:: Lens' SchedulePatch (Prelude.Maybe TriggerImmediatelyRequest)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.backfillRequest' @:: Lens' SchedulePatch [BackfillRequest]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'backfillRequest' @:: Lens' SchedulePatch (Data.Vector.Vector BackfillRequest)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.pause' @:: Lens' SchedulePatch Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.unpause' @:: Lens' SchedulePatch Data.Text.Text@ -}
+data SchedulePatch
+  = SchedulePatch'_constructor {_SchedulePatch'triggerImmediately :: !(Prelude.Maybe TriggerImmediatelyRequest),
+                                _SchedulePatch'backfillRequest :: !(Data.Vector.Vector BackfillRequest),
+                                _SchedulePatch'pause :: !Data.Text.Text,
+                                _SchedulePatch'unpause :: !Data.Text.Text,
+                                _SchedulePatch'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SchedulePatch where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SchedulePatch "triggerImmediately" TriggerImmediatelyRequest where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePatch'triggerImmediately
+           (\ x__ y__ -> x__ {_SchedulePatch'triggerImmediately = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SchedulePatch "maybe'triggerImmediately" (Prelude.Maybe TriggerImmediatelyRequest) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePatch'triggerImmediately
+           (\ x__ y__ -> x__ {_SchedulePatch'triggerImmediately = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SchedulePatch "backfillRequest" [BackfillRequest] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePatch'backfillRequest
+           (\ x__ y__ -> x__ {_SchedulePatch'backfillRequest = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField SchedulePatch "vec'backfillRequest" (Data.Vector.Vector BackfillRequest) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePatch'backfillRequest
+           (\ x__ y__ -> x__ {_SchedulePatch'backfillRequest = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SchedulePatch "pause" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePatch'pause
+           (\ x__ y__ -> x__ {_SchedulePatch'pause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SchedulePatch "unpause" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePatch'unpause
+           (\ x__ y__ -> x__ {_SchedulePatch'unpause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SchedulePatch where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.SchedulePatch"
+  packedMessageDescriptor _
+    = "\n\
+      \\rSchedulePatch\DC2d\n\
+      \\DC3trigger_immediately\CAN\SOH \SOH(\v23.temporal.api.schedule.v1.TriggerImmediatelyRequestR\DC2triggerImmediately\DC2T\n\
+      \\DLEbackfill_request\CAN\STX \ETX(\v2).temporal.api.schedule.v1.BackfillRequestR\SIbackfillRequest\DC2\DC4\n\
+      \\ENQpause\CAN\ETX \SOH(\tR\ENQpause\DC2\CAN\n\
+      \\aunpause\CAN\EOT \SOH(\tR\aunpause"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        triggerImmediately__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "trigger_immediately"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TriggerImmediatelyRequest)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'triggerImmediately")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePatch
+        backfillRequest__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backfill_request"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor BackfillRequest)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"backfillRequest")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePatch
+        pause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "pause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"pause")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePatch
+        unpause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "unpause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"unpause")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePatch
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, triggerImmediately__field_descriptor),
+           (Data.ProtoLens.Tag 2, backfillRequest__field_descriptor),
+           (Data.ProtoLens.Tag 3, pause__field_descriptor),
+           (Data.ProtoLens.Tag 4, unpause__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SchedulePatch'_unknownFields
+        (\ x__ y__ -> x__ {_SchedulePatch'_unknownFields = y__})
+  defMessage
+    = SchedulePatch'_constructor
+        {_SchedulePatch'triggerImmediately = Prelude.Nothing,
+         _SchedulePatch'backfillRequest = Data.Vector.Generic.empty,
+         _SchedulePatch'pause = Data.ProtoLens.fieldDefault,
+         _SchedulePatch'unpause = Data.ProtoLens.fieldDefault,
+         _SchedulePatch'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SchedulePatch
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld BackfillRequest
+             -> Data.ProtoLens.Encoding.Bytes.Parser SchedulePatch
+        loop x mutable'backfillRequest
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'backfillRequest <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                  (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                     mutable'backfillRequest)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'backfillRequest")
+                              frozen'backfillRequest x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "trigger_immediately"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"triggerImmediately") y x)
+                                  mutable'backfillRequest
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "backfill_request"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'backfillRequest y)
+                                loop x v
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "pause"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"pause") y x)
+                                  mutable'backfillRequest
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "unpause"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"unpause") y x)
+                                  mutable'backfillRequest
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'backfillRequest
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'backfillRequest <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'backfillRequest)
+          "SchedulePatch"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'triggerImmediately") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'backfillRequest") _x))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"pause") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"unpause") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData SchedulePatch where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SchedulePatch'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SchedulePatch'triggerImmediately x__)
+                (Control.DeepSeq.deepseq
+                   (_SchedulePatch'backfillRequest x__)
+                   (Control.DeepSeq.deepseq
+                      (_SchedulePatch'pause x__)
+                      (Control.DeepSeq.deepseq (_SchedulePatch'unpause x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.overlapPolicy' @:: Lens' SchedulePolicies Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.catchupWindow' @:: Lens' SchedulePolicies Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'catchupWindow' @:: Lens' SchedulePolicies (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.pauseOnFailure' @:: Lens' SchedulePolicies Prelude.Bool@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.keepOriginalWorkflowId' @:: Lens' SchedulePolicies Prelude.Bool@ -}
+data SchedulePolicies
+  = SchedulePolicies'_constructor {_SchedulePolicies'overlapPolicy :: !Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy,
+                                   _SchedulePolicies'catchupWindow :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                   _SchedulePolicies'pauseOnFailure :: !Prelude.Bool,
+                                   _SchedulePolicies'keepOriginalWorkflowId :: !Prelude.Bool,
+                                   _SchedulePolicies'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SchedulePolicies where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SchedulePolicies "overlapPolicy" Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePolicies'overlapPolicy
+           (\ x__ y__ -> x__ {_SchedulePolicies'overlapPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SchedulePolicies "catchupWindow" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePolicies'catchupWindow
+           (\ x__ y__ -> x__ {_SchedulePolicies'catchupWindow = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SchedulePolicies "maybe'catchupWindow" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePolicies'catchupWindow
+           (\ x__ y__ -> x__ {_SchedulePolicies'catchupWindow = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SchedulePolicies "pauseOnFailure" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePolicies'pauseOnFailure
+           (\ x__ y__ -> x__ {_SchedulePolicies'pauseOnFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SchedulePolicies "keepOriginalWorkflowId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SchedulePolicies'keepOriginalWorkflowId
+           (\ x__ y__
+              -> x__ {_SchedulePolicies'keepOriginalWorkflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SchedulePolicies where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.SchedulePolicies"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLESchedulePolicies\DC2S\n\
+      \\SOoverlap_policy\CAN\SOH \SOH(\SO2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\DC2@\n\
+      \\SOcatchup_window\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\rcatchupWindow\DC2(\n\
+      \\DLEpause_on_failure\CAN\ETX \SOH(\bR\SOpauseOnFailure\DC29\n\
+      \\EMkeep_original_workflow_id\CAN\EOT \SOH(\bR\SYNkeepOriginalWorkflowId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        overlapPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "overlap_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"overlapPolicy")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePolicies
+        catchupWindow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "catchup_window"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'catchupWindow")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePolicies
+        pauseOnFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "pause_on_failure"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"pauseOnFailure")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePolicies
+        keepOriginalWorkflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "keep_original_workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"keepOriginalWorkflowId")) ::
+              Data.ProtoLens.FieldDescriptor SchedulePolicies
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, overlapPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 2, catchupWindow__field_descriptor),
+           (Data.ProtoLens.Tag 3, pauseOnFailure__field_descriptor),
+           (Data.ProtoLens.Tag 4, keepOriginalWorkflowId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SchedulePolicies'_unknownFields
+        (\ x__ y__ -> x__ {_SchedulePolicies'_unknownFields = y__})
+  defMessage
+    = SchedulePolicies'_constructor
+        {_SchedulePolicies'overlapPolicy = Data.ProtoLens.fieldDefault,
+         _SchedulePolicies'catchupWindow = Prelude.Nothing,
+         _SchedulePolicies'pauseOnFailure = Data.ProtoLens.fieldDefault,
+         _SchedulePolicies'keepOriginalWorkflowId = Data.ProtoLens.fieldDefault,
+         _SchedulePolicies'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SchedulePolicies
+          -> Data.ProtoLens.Encoding.Bytes.Parser SchedulePolicies
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "overlap_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"overlapPolicy") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "catchup_window"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"catchupWindow") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "pause_on_failure"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"pauseOnFailure") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "keep_original_workflow_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"keepOriginalWorkflowId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SchedulePolicies"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"overlapPolicy") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'catchupWindow") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"pauseOnFailure") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"keepOriginalWorkflowId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (\ b -> if b then 1 else 0) _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData SchedulePolicies where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SchedulePolicies'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SchedulePolicies'overlapPolicy x__)
+                (Control.DeepSeq.deepseq
+                   (_SchedulePolicies'catchupWindow x__)
+                   (Control.DeepSeq.deepseq
+                      (_SchedulePolicies'pauseOnFailure x__)
+                      (Control.DeepSeq.deepseq
+                         (_SchedulePolicies'keepOriginalWorkflowId x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.structuredCalendar' @:: Lens' ScheduleSpec [StructuredCalendarSpec]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'structuredCalendar' @:: Lens' ScheduleSpec (Data.Vector.Vector StructuredCalendarSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.cronString' @:: Lens' ScheduleSpec [Data.Text.Text]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'cronString' @:: Lens' ScheduleSpec (Data.Vector.Vector Data.Text.Text)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.calendar' @:: Lens' ScheduleSpec [CalendarSpec]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'calendar' @:: Lens' ScheduleSpec (Data.Vector.Vector CalendarSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.interval' @:: Lens' ScheduleSpec [IntervalSpec]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'interval' @:: Lens' ScheduleSpec (Data.Vector.Vector IntervalSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.excludeCalendar' @:: Lens' ScheduleSpec [CalendarSpec]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'excludeCalendar' @:: Lens' ScheduleSpec (Data.Vector.Vector CalendarSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.excludeStructuredCalendar' @:: Lens' ScheduleSpec [StructuredCalendarSpec]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'excludeStructuredCalendar' @:: Lens' ScheduleSpec (Data.Vector.Vector StructuredCalendarSpec)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.startTime' @:: Lens' ScheduleSpec Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'startTime' @:: Lens' ScheduleSpec (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.endTime' @:: Lens' ScheduleSpec Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'endTime' @:: Lens' ScheduleSpec (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.jitter' @:: Lens' ScheduleSpec Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.maybe'jitter' @:: Lens' ScheduleSpec (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.timezoneName' @:: Lens' ScheduleSpec Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.timezoneData' @:: Lens' ScheduleSpec Data.ByteString.ByteString@ -}
+data ScheduleSpec
+  = ScheduleSpec'_constructor {_ScheduleSpec'structuredCalendar :: !(Data.Vector.Vector StructuredCalendarSpec),
+                               _ScheduleSpec'cronString :: !(Data.Vector.Vector Data.Text.Text),
+                               _ScheduleSpec'calendar :: !(Data.Vector.Vector CalendarSpec),
+                               _ScheduleSpec'interval :: !(Data.Vector.Vector IntervalSpec),
+                               _ScheduleSpec'excludeCalendar :: !(Data.Vector.Vector CalendarSpec),
+                               _ScheduleSpec'excludeStructuredCalendar :: !(Data.Vector.Vector StructuredCalendarSpec),
+                               _ScheduleSpec'startTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _ScheduleSpec'endTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _ScheduleSpec'jitter :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                               _ScheduleSpec'timezoneName :: !Data.Text.Text,
+                               _ScheduleSpec'timezoneData :: !Data.ByteString.ByteString,
+                               _ScheduleSpec'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleSpec where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "structuredCalendar" [StructuredCalendarSpec] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'structuredCalendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'structuredCalendar = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "vec'structuredCalendar" (Data.Vector.Vector StructuredCalendarSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'structuredCalendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'structuredCalendar = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "cronString" [Data.Text.Text] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'cronString
+           (\ x__ y__ -> x__ {_ScheduleSpec'cronString = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "vec'cronString" (Data.Vector.Vector Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'cronString
+           (\ x__ y__ -> x__ {_ScheduleSpec'cronString = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "calendar" [CalendarSpec] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'calendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'calendar = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "vec'calendar" (Data.Vector.Vector CalendarSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'calendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'calendar = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "interval" [IntervalSpec] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'interval
+           (\ x__ y__ -> x__ {_ScheduleSpec'interval = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "vec'interval" (Data.Vector.Vector IntervalSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'interval
+           (\ x__ y__ -> x__ {_ScheduleSpec'interval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "excludeCalendar" [CalendarSpec] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'excludeCalendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'excludeCalendar = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "vec'excludeCalendar" (Data.Vector.Vector CalendarSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'excludeCalendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'excludeCalendar = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "excludeStructuredCalendar" [StructuredCalendarSpec] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'excludeStructuredCalendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'excludeStructuredCalendar = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleSpec "vec'excludeStructuredCalendar" (Data.Vector.Vector StructuredCalendarSpec) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'excludeStructuredCalendar
+           (\ x__ y__ -> x__ {_ScheduleSpec'excludeStructuredCalendar = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "startTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'startTime
+           (\ x__ y__ -> x__ {_ScheduleSpec'startTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleSpec "maybe'startTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'startTime
+           (\ x__ y__ -> x__ {_ScheduleSpec'startTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "endTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'endTime
+           (\ x__ y__ -> x__ {_ScheduleSpec'endTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleSpec "maybe'endTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'endTime
+           (\ x__ y__ -> x__ {_ScheduleSpec'endTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "jitter" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'jitter
+           (\ x__ y__ -> x__ {_ScheduleSpec'jitter = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleSpec "maybe'jitter" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'jitter
+           (\ x__ y__ -> x__ {_ScheduleSpec'jitter = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "timezoneName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'timezoneName
+           (\ x__ y__ -> x__ {_ScheduleSpec'timezoneName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleSpec "timezoneData" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleSpec'timezoneData
+           (\ x__ y__ -> x__ {_ScheduleSpec'timezoneData = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleSpec where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleSpec"
+  packedMessageDescriptor _
+    = "\n\
+      \\fScheduleSpec\DC2a\n\
+      \\DC3structured_calendar\CAN\a \ETX(\v20.temporal.api.schedule.v1.StructuredCalendarSpecR\DC2structuredCalendar\DC2\US\n\
+      \\vcron_string\CAN\b \ETX(\tR\n\
+      \cronString\DC2B\n\
+      \\bcalendar\CAN\SOH \ETX(\v2&.temporal.api.schedule.v1.CalendarSpecR\bcalendar\DC2B\n\
+      \\binterval\CAN\STX \ETX(\v2&.temporal.api.schedule.v1.IntervalSpecR\binterval\DC2U\n\
+      \\DLEexclude_calendar\CAN\ETX \ETX(\v2&.temporal.api.schedule.v1.CalendarSpecR\SIexcludeCalendarB\STX\CAN\SOH\DC2p\n\
+      \\ESCexclude_structured_calendar\CAN\t \ETX(\v20.temporal.api.schedule.v1.StructuredCalendarSpecR\EMexcludeStructuredCalendar\DC29\n\
+      \\n\
+      \start_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC25\n\
+      \\bend_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\aendTime\DC21\n\
+      \\ACKjitter\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\ACKjitter\DC2#\n\
+      \\rtimezone_name\CAN\n\
+      \ \SOH(\tR\ftimezoneName\DC2#\n\
+      \\rtimezone_data\CAN\v \SOH(\fR\ftimezoneData"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        structuredCalendar__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "structured_calendar"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StructuredCalendarSpec)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"structuredCalendar")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        cronString__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_string"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"cronString")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        calendar__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "calendar"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CalendarSpec)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"calendar")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        interval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor IntervalSpec)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"interval")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        excludeCalendar__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "exclude_calendar"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CalendarSpec)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"excludeCalendar")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        excludeStructuredCalendar__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "exclude_structured_calendar"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StructuredCalendarSpec)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"excludeStructuredCalendar")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        startTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        endTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "end_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'endTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        jitter__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "jitter"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'jitter")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        timezoneName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timezone_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"timezoneName")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+        timezoneData__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timezone_data"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"timezoneData")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleSpec
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 7, structuredCalendar__field_descriptor),
+           (Data.ProtoLens.Tag 8, cronString__field_descriptor),
+           (Data.ProtoLens.Tag 1, calendar__field_descriptor),
+           (Data.ProtoLens.Tag 2, interval__field_descriptor),
+           (Data.ProtoLens.Tag 3, excludeCalendar__field_descriptor),
+           (Data.ProtoLens.Tag 9, 
+            excludeStructuredCalendar__field_descriptor),
+           (Data.ProtoLens.Tag 4, startTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, endTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, jitter__field_descriptor),
+           (Data.ProtoLens.Tag 10, timezoneName__field_descriptor),
+           (Data.ProtoLens.Tag 11, timezoneData__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleSpec'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleSpec'_unknownFields = y__})
+  defMessage
+    = ScheduleSpec'_constructor
+        {_ScheduleSpec'structuredCalendar = Data.Vector.Generic.empty,
+         _ScheduleSpec'cronString = Data.Vector.Generic.empty,
+         _ScheduleSpec'calendar = Data.Vector.Generic.empty,
+         _ScheduleSpec'interval = Data.Vector.Generic.empty,
+         _ScheduleSpec'excludeCalendar = Data.Vector.Generic.empty,
+         _ScheduleSpec'excludeStructuredCalendar = Data.Vector.Generic.empty,
+         _ScheduleSpec'startTime = Prelude.Nothing,
+         _ScheduleSpec'endTime = Prelude.Nothing,
+         _ScheduleSpec'jitter = Prelude.Nothing,
+         _ScheduleSpec'timezoneName = Data.ProtoLens.fieldDefault,
+         _ScheduleSpec'timezoneData = Data.ProtoLens.fieldDefault,
+         _ScheduleSpec'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleSpec
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld CalendarSpec
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text
+                -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld CalendarSpec
+                   -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld StructuredCalendarSpec
+                      -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld IntervalSpec
+                         -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld StructuredCalendarSpec
+                            -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleSpec
+        loop
+          x
+          mutable'calendar
+          mutable'cronString
+          mutable'excludeCalendar
+          mutable'excludeStructuredCalendar
+          mutable'interval
+          mutable'structuredCalendar
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'calendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'calendar)
+                      frozen'cronString <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                mutable'cronString)
+                      frozen'excludeCalendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                  (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                     mutable'excludeCalendar)
+                      frozen'excludeStructuredCalendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                               mutable'excludeStructuredCalendar)
+                      frozen'interval <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'interval)
+                      frozen'structuredCalendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                     (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                        mutable'structuredCalendar)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'calendar") frozen'calendar
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'cronString") frozen'cronString
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"vec'excludeCalendar")
+                                    frozen'excludeCalendar
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"vec'excludeStructuredCalendar")
+                                       frozen'excludeStructuredCalendar
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"vec'interval")
+                                          frozen'interval
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"vec'structuredCalendar")
+                                             frozen'structuredCalendar x)))))))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        58
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "structured_calendar"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'structuredCalendar y)
+                                loop
+                                  x mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval v
+                        66
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.getText
+                                              (Prelude.fromIntegral len))
+                                        "cron_string"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'cronString y)
+                                loop
+                                  x mutable'calendar v mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "calendar"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'calendar y)
+                                loop
+                                  x v mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "interval"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'interval y)
+                                loop
+                                  x mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar v mutable'structuredCalendar
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "exclude_calendar"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'excludeCalendar y)
+                                loop
+                                  x mutable'calendar mutable'cronString v
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        74
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "exclude_structured_calendar"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'excludeStructuredCalendar y)
+                                loop
+                                  x mutable'calendar mutable'cronString mutable'excludeCalendar v
+                                  mutable'interval mutable'structuredCalendar
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startTime") y x)
+                                  mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "end_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endTime") y x)
+                                  mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "jitter"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"jitter") y x)
+                                  mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "timezone_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"timezoneName") y x)
+                                  mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "timezone_data"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"timezoneData") y x)
+                                  mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'calendar mutable'cronString mutable'excludeCalendar
+                                  mutable'excludeStructuredCalendar mutable'interval
+                                  mutable'structuredCalendar
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'calendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              mutable'cronString <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                      Data.ProtoLens.Encoding.Growing.new
+              mutable'excludeCalendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           Data.ProtoLens.Encoding.Growing.new
+              mutable'excludeStructuredCalendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                     Data.ProtoLens.Encoding.Growing.new
+              mutable'interval <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              mutable'structuredCalendar <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                              Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'calendar mutable'cronString
+                mutable'excludeCalendar mutable'excludeStructuredCalendar
+                mutable'interval mutable'structuredCalendar)
+          "ScheduleSpec"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'structuredCalendar") _x))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.Text.Encoding.encodeUtf8 _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'cronString") _x))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'calendar") _x))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'interval") _x))
+                      ((Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage _v))
+                            (Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"vec'excludeCalendar") _x))
+                         ((Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage _v))
+                               (Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"vec'excludeStructuredCalendar") _x))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'startTime") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'endTime") _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'jitter") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field @"timezoneName") _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                 ((Prelude..)
+                                                    (\ bs
+                                                       -> (Data.Monoid.<>)
+                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                               (Prelude.fromIntegral
+                                                                  (Data.ByteString.length bs)))
+                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                               bs))
+                                                    Data.Text.Encoding.encodeUtf8 _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field @"timezoneData") _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                    ((\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                       _v))
+                                           (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                              (Lens.Family2.view
+                                                 Data.ProtoLens.unknownFields _x))))))))))))
+instance Control.DeepSeq.NFData ScheduleSpec where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleSpec'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleSpec'structuredCalendar x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleSpec'cronString x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleSpec'calendar x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleSpec'interval x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleSpec'excludeCalendar x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleSpec'excludeStructuredCalendar x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ScheduleSpec'startTime x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ScheduleSpec'endTime x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ScheduleSpec'jitter x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ScheduleSpec'timezoneName x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ScheduleSpec'timezoneData x__) ())))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.notes' @:: Lens' ScheduleState Data.Text.Text@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.paused' @:: Lens' ScheduleState Prelude.Bool@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.limitedActions' @:: Lens' ScheduleState Prelude.Bool@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.remainingActions' @:: Lens' ScheduleState Data.Int.Int64@ -}
+data ScheduleState
+  = ScheduleState'_constructor {_ScheduleState'notes :: !Data.Text.Text,
+                                _ScheduleState'paused :: !Prelude.Bool,
+                                _ScheduleState'limitedActions :: !Prelude.Bool,
+                                _ScheduleState'remainingActions :: !Data.Int.Int64,
+                                _ScheduleState'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleState where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleState "notes" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleState'notes
+           (\ x__ y__ -> x__ {_ScheduleState'notes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleState "paused" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleState'paused
+           (\ x__ y__ -> x__ {_ScheduleState'paused = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleState "limitedActions" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleState'limitedActions
+           (\ x__ y__ -> x__ {_ScheduleState'limitedActions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleState "remainingActions" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleState'remainingActions
+           (\ x__ y__ -> x__ {_ScheduleState'remainingActions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleState where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.ScheduleState"
+  packedMessageDescriptor _
+    = "\n\
+      \\rScheduleState\DC2\DC4\n\
+      \\ENQnotes\CAN\SOH \SOH(\tR\ENQnotes\DC2\SYN\n\
+      \\ACKpaused\CAN\STX \SOH(\bR\ACKpaused\DC2'\n\
+      \\SIlimited_actions\CAN\ETX \SOH(\bR\SOlimitedActions\DC2+\n\
+      \\DC1remaining_actions\CAN\EOT \SOH(\ETXR\DLEremainingActions"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        notes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "notes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"notes")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleState
+        paused__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "paused"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"paused")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleState
+        limitedActions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "limited_actions"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"limitedActions")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleState
+        remainingActions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "remaining_actions"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"remainingActions")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleState
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, notes__field_descriptor),
+           (Data.ProtoLens.Tag 2, paused__field_descriptor),
+           (Data.ProtoLens.Tag 3, limitedActions__field_descriptor),
+           (Data.ProtoLens.Tag 4, remainingActions__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleState'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleState'_unknownFields = y__})
+  defMessage
+    = ScheduleState'_constructor
+        {_ScheduleState'notes = Data.ProtoLens.fieldDefault,
+         _ScheduleState'paused = Data.ProtoLens.fieldDefault,
+         _ScheduleState'limitedActions = Data.ProtoLens.fieldDefault,
+         _ScheduleState'remainingActions = Data.ProtoLens.fieldDefault,
+         _ScheduleState'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleState -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleState
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "notes"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"notes") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "paused"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"paused") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "limited_actions"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"limitedActions") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "remaining_actions"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"remainingActions") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ScheduleState"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"notes") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"paused") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"limitedActions") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"remainingActions") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData ScheduleState where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleState'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleState'notes x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleState'paused x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleState'limitedActions x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleState'remainingActions x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.second' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'second' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.minute' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'minute' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.hour' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'hour' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.dayOfMonth' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'dayOfMonth' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.month' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'month' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.year' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'year' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.dayOfWeek' @:: Lens' StructuredCalendarSpec [Range]@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.vec'dayOfWeek' @:: Lens' StructuredCalendarSpec (Data.Vector.Vector Range)@
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.comment' @:: Lens' StructuredCalendarSpec Data.Text.Text@ -}
+data StructuredCalendarSpec
+  = StructuredCalendarSpec'_constructor {_StructuredCalendarSpec'second :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'minute :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'hour :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'dayOfMonth :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'month :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'year :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'dayOfWeek :: !(Data.Vector.Vector Range),
+                                         _StructuredCalendarSpec'comment :: !Data.Text.Text,
+                                         _StructuredCalendarSpec'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StructuredCalendarSpec where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "second" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'second
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'second = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'second" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'second
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'second = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "minute" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'minute
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'minute = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'minute" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'minute
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'minute = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "hour" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'hour
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'hour = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'hour" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'hour
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'hour = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "dayOfMonth" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'dayOfMonth
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'dayOfMonth = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'dayOfMonth" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'dayOfMonth
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'dayOfMonth = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "month" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'month
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'month = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'month" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'month
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'month = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "year" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'year
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'year = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'year" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'year
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'year = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "dayOfWeek" [Range] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'dayOfWeek
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'dayOfWeek = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "vec'dayOfWeek" (Data.Vector.Vector Range) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'dayOfWeek
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'dayOfWeek = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StructuredCalendarSpec "comment" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StructuredCalendarSpec'comment
+           (\ x__ y__ -> x__ {_StructuredCalendarSpec'comment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StructuredCalendarSpec where
+  messageName _
+    = Data.Text.pack "temporal.api.schedule.v1.StructuredCalendarSpec"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNStructuredCalendarSpec\DC27\n\
+      \\ACKsecond\CAN\SOH \ETX(\v2\US.temporal.api.schedule.v1.RangeR\ACKsecond\DC27\n\
+      \\ACKminute\CAN\STX \ETX(\v2\US.temporal.api.schedule.v1.RangeR\ACKminute\DC23\n\
+      \\EOThour\CAN\ETX \ETX(\v2\US.temporal.api.schedule.v1.RangeR\EOThour\DC2A\n\
+      \\fday_of_month\CAN\EOT \ETX(\v2\US.temporal.api.schedule.v1.RangeR\n\
+      \dayOfMonth\DC25\n\
+      \\ENQmonth\CAN\ENQ \ETX(\v2\US.temporal.api.schedule.v1.RangeR\ENQmonth\DC23\n\
+      \\EOTyear\CAN\ACK \ETX(\v2\US.temporal.api.schedule.v1.RangeR\EOTyear\DC2?\n\
+      \\vday_of_week\CAN\a \ETX(\v2\US.temporal.api.schedule.v1.RangeR\tdayOfWeek\DC2\CAN\n\
+      \\acomment\CAN\b \SOH(\tR\acomment"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        second__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "second"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"second")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        minute__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "minute"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"minute")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        hour__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "hour"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"hour")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        dayOfMonth__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "day_of_month"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"dayOfMonth")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        month__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "month"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"month")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        year__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "year"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"year")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        dayOfWeek__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "day_of_week"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Range)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"dayOfWeek")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+        comment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "comment"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"comment")) ::
+              Data.ProtoLens.FieldDescriptor StructuredCalendarSpec
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, second__field_descriptor),
+           (Data.ProtoLens.Tag 2, minute__field_descriptor),
+           (Data.ProtoLens.Tag 3, hour__field_descriptor),
+           (Data.ProtoLens.Tag 4, dayOfMonth__field_descriptor),
+           (Data.ProtoLens.Tag 5, month__field_descriptor),
+           (Data.ProtoLens.Tag 6, year__field_descriptor),
+           (Data.ProtoLens.Tag 7, dayOfWeek__field_descriptor),
+           (Data.ProtoLens.Tag 8, comment__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StructuredCalendarSpec'_unknownFields
+        (\ x__ y__ -> x__ {_StructuredCalendarSpec'_unknownFields = y__})
+  defMessage
+    = StructuredCalendarSpec'_constructor
+        {_StructuredCalendarSpec'second = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'minute = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'hour = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'dayOfMonth = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'month = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'year = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'dayOfWeek = Data.Vector.Generic.empty,
+         _StructuredCalendarSpec'comment = Data.ProtoLens.fieldDefault,
+         _StructuredCalendarSpec'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StructuredCalendarSpec
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+                -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+                   -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+                      -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+                         -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+                            -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Range
+                               -> Data.ProtoLens.Encoding.Bytes.Parser StructuredCalendarSpec
+        loop
+          x
+          mutable'dayOfMonth
+          mutable'dayOfWeek
+          mutable'hour
+          mutable'minute
+          mutable'month
+          mutable'second
+          mutable'year
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'dayOfMonth <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                mutable'dayOfMonth)
+                      frozen'dayOfWeek <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'dayOfWeek)
+                      frozen'hour <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'hour)
+                      frozen'minute <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                            mutable'minute)
+                      frozen'month <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'month)
+                      frozen'second <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                            mutable'second)
+                      frozen'year <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'year)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'dayOfMonth") frozen'dayOfMonth
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'dayOfWeek") frozen'dayOfWeek
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"vec'hour") frozen'hour
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"vec'minute") frozen'minute
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"vec'month") frozen'month
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"vec'second")
+                                             frozen'second
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"vec'year") frozen'year
+                                                x))))))))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "second"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'second y)
+                                loop
+                                  x mutable'dayOfMonth mutable'dayOfWeek mutable'hour mutable'minute
+                                  mutable'month v mutable'year
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "minute"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'minute y)
+                                loop
+                                  x mutable'dayOfMonth mutable'dayOfWeek mutable'hour v
+                                  mutable'month mutable'second mutable'year
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "hour"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'hour y)
+                                loop
+                                  x mutable'dayOfMonth mutable'dayOfWeek v mutable'minute
+                                  mutable'month mutable'second mutable'year
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "day_of_month"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'dayOfMonth y)
+                                loop
+                                  x v mutable'dayOfWeek mutable'hour mutable'minute mutable'month
+                                  mutable'second mutable'year
+                        42
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "month"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'month y)
+                                loop
+                                  x mutable'dayOfMonth mutable'dayOfWeek mutable'hour mutable'minute
+                                  v mutable'second mutable'year
+                        50
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "year"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'year y)
+                                loop
+                                  x mutable'dayOfMonth mutable'dayOfWeek mutable'hour mutable'minute
+                                  mutable'month mutable'second v
+                        58
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "day_of_week"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'dayOfWeek y)
+                                loop
+                                  x mutable'dayOfMonth v mutable'hour mutable'minute mutable'month
+                                  mutable'second mutable'year
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "comment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"comment") y x)
+                                  mutable'dayOfMonth mutable'dayOfWeek mutable'hour mutable'minute
+                                  mutable'month mutable'second mutable'year
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'dayOfMonth mutable'dayOfWeek mutable'hour mutable'minute
+                                  mutable'month mutable'second mutable'year
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'dayOfMonth <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                      Data.ProtoLens.Encoding.Growing.new
+              mutable'dayOfWeek <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              mutable'hour <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                Data.ProtoLens.Encoding.Growing.new
+              mutable'minute <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                  Data.ProtoLens.Encoding.Growing.new
+              mutable'month <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              mutable'second <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                  Data.ProtoLens.Encoding.Growing.new
+              mutable'year <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'dayOfMonth mutable'dayOfWeek
+                mutable'hour mutable'minute mutable'month mutable'second
+                mutable'year)
+          "StructuredCalendarSpec"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'second") _x))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'minute") _x))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'hour") _x))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'dayOfMonth") _x))
+                      ((Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage _v))
+                            (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'month") _x))
+                         ((Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage _v))
+                               (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'year") _x))
+                            ((Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage _v))
+                                  (Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"vec'dayOfWeek") _x))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"comment") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                           ((Prelude..)
+                                              (\ bs
+                                                 -> (Data.Monoid.<>)
+                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                         (Prelude.fromIntegral
+                                                            (Data.ByteString.length bs)))
+                                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                              Data.Text.Encoding.encodeUtf8 _v))
+                                  (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                     (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))))
+instance Control.DeepSeq.NFData StructuredCalendarSpec where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StructuredCalendarSpec'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StructuredCalendarSpec'second x__)
+                (Control.DeepSeq.deepseq
+                   (_StructuredCalendarSpec'minute x__)
+                   (Control.DeepSeq.deepseq
+                      (_StructuredCalendarSpec'hour x__)
+                      (Control.DeepSeq.deepseq
+                         (_StructuredCalendarSpec'dayOfMonth x__)
+                         (Control.DeepSeq.deepseq
+                            (_StructuredCalendarSpec'month x__)
+                            (Control.DeepSeq.deepseq
+                               (_StructuredCalendarSpec'year x__)
+                               (Control.DeepSeq.deepseq
+                                  (_StructuredCalendarSpec'dayOfWeek x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_StructuredCalendarSpec'comment x__) ()))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Schedule.V1.Message_Fields.overlapPolicy' @:: Lens' TriggerImmediatelyRequest Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy@ -}
+data TriggerImmediatelyRequest
+  = TriggerImmediatelyRequest'_constructor {_TriggerImmediatelyRequest'overlapPolicy :: !Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy,
+                                            _TriggerImmediatelyRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TriggerImmediatelyRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TriggerImmediatelyRequest "overlapPolicy" Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TriggerImmediatelyRequest'overlapPolicy
+           (\ x__ y__
+              -> x__ {_TriggerImmediatelyRequest'overlapPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TriggerImmediatelyRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.schedule.v1.TriggerImmediatelyRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMTriggerImmediatelyRequest\DC2S\n\
+      \\SOoverlap_policy\CAN\SOH \SOH(\SO2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        overlapPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "overlap_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Schedule.ScheduleOverlapPolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"overlapPolicy")) ::
+              Data.ProtoLens.FieldDescriptor TriggerImmediatelyRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, overlapPolicy__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TriggerImmediatelyRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_TriggerImmediatelyRequest'_unknownFields = y__})
+  defMessage
+    = TriggerImmediatelyRequest'_constructor
+        {_TriggerImmediatelyRequest'overlapPolicy = Data.ProtoLens.fieldDefault,
+         _TriggerImmediatelyRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TriggerImmediatelyRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser TriggerImmediatelyRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "overlap_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"overlapPolicy") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TriggerImmediatelyRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"overlapPolicy") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData TriggerImmediatelyRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TriggerImmediatelyRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TriggerImmediatelyRequest'overlapPolicy x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \&temporal/api/schedule/v1/message.proto\DC2\CANtemporal.api.schedule.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/common/v1/message.proto\SUB$temporal/api/enums/v1/schedule.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB&temporal/api/workflow/v1/message.proto\"\216\SOH\n\
+    \\fCalendarSpec\DC2\SYN\n\
+    \\ACKsecond\CAN\SOH \SOH(\tR\ACKsecond\DC2\SYN\n\
+    \\ACKminute\CAN\STX \SOH(\tR\ACKminute\DC2\DC2\n\
+    \\EOThour\CAN\ETX \SOH(\tR\EOThour\DC2 \n\
+    \\fday_of_month\CAN\EOT \SOH(\tR\n\
+    \dayOfMonth\DC2\DC4\n\
+    \\ENQmonth\CAN\ENQ \SOH(\tR\ENQmonth\DC2\DC2\n\
+    \\EOTyear\CAN\ACK \SOH(\tR\EOTyear\DC2\RS\n\
+    \\vday_of_week\CAN\a \SOH(\tR\tdayOfWeek\DC2\CAN\n\
+    \\acomment\CAN\b \SOH(\tR\acomment\"C\n\
+    \\ENQRange\DC2\DC4\n\
+    \\ENQstart\CAN\SOH \SOH(\ENQR\ENQstart\DC2\DLE\n\
+    \\ETXend\CAN\STX \SOH(\ENQR\ETXend\DC2\DC2\n\
+    \\EOTstep\CAN\ETX \SOH(\ENQR\EOTstep\"\201\ETX\n\
+    \\SYNStructuredCalendarSpec\DC27\n\
+    \\ACKsecond\CAN\SOH \ETX(\v2\US.temporal.api.schedule.v1.RangeR\ACKsecond\DC27\n\
+    \\ACKminute\CAN\STX \ETX(\v2\US.temporal.api.schedule.v1.RangeR\ACKminute\DC23\n\
+    \\EOThour\CAN\ETX \ETX(\v2\US.temporal.api.schedule.v1.RangeR\EOThour\DC2A\n\
+    \\fday_of_month\CAN\EOT \ETX(\v2\US.temporal.api.schedule.v1.RangeR\n\
+    \dayOfMonth\DC25\n\
+    \\ENQmonth\CAN\ENQ \ETX(\v2\US.temporal.api.schedule.v1.RangeR\ENQmonth\DC23\n\
+    \\EOTyear\CAN\ACK \ETX(\v2\US.temporal.api.schedule.v1.RangeR\EOTyear\DC2?\n\
+    \\vday_of_week\CAN\a \ETX(\v2\US.temporal.api.schedule.v1.RangeR\tdayOfWeek\DC2\CAN\n\
+    \\acomment\CAN\b \SOH(\tR\acomment\"v\n\
+    \\fIntervalSpec\DC25\n\
+    \\binterval\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\binterval\DC2/\n\
+    \\ENQphase\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\ENQphase\"\210\ENQ\n\
+    \\fScheduleSpec\DC2a\n\
+    \\DC3structured_calendar\CAN\a \ETX(\v20.temporal.api.schedule.v1.StructuredCalendarSpecR\DC2structuredCalendar\DC2\US\n\
+    \\vcron_string\CAN\b \ETX(\tR\n\
+    \cronString\DC2B\n\
+    \\bcalendar\CAN\SOH \ETX(\v2&.temporal.api.schedule.v1.CalendarSpecR\bcalendar\DC2B\n\
+    \\binterval\CAN\STX \ETX(\v2&.temporal.api.schedule.v1.IntervalSpecR\binterval\DC2U\n\
+    \\DLEexclude_calendar\CAN\ETX \ETX(\v2&.temporal.api.schedule.v1.CalendarSpecR\SIexcludeCalendarB\STX\CAN\SOH\DC2p\n\
+    \\ESCexclude_structured_calendar\CAN\t \ETX(\v20.temporal.api.schedule.v1.StructuredCalendarSpecR\EMexcludeStructuredCalendar\DC29\n\
+    \\n\
+    \start_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC25\n\
+    \\bend_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\aendTime\DC21\n\
+    \\ACKjitter\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\ACKjitter\DC2#\n\
+    \\rtimezone_name\CAN\n\
+    \ \SOH(\tR\ftimezoneName\DC2#\n\
+    \\rtimezone_data\CAN\v \SOH(\fR\ftimezoneData\"\142\STX\n\
+    \\DLESchedulePolicies\DC2S\n\
+    \\SOoverlap_policy\CAN\SOH \SOH(\SO2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\DC2@\n\
+    \\SOcatchup_window\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\rcatchupWindow\DC2(\n\
+    \\DLEpause_on_failure\CAN\ETX \SOH(\bR\SOpauseOnFailure\DC29\n\
+    \\EMkeep_original_workflow_id\CAN\EOT \SOH(\bR\SYNkeepOriginalWorkflowId\"w\n\
+    \\SOScheduleAction\DC2[\n\
+    \\SOstart_workflow\CAN\SOH \SOH(\v22.temporal.api.workflow.v1.NewWorkflowExecutionInfoH\NULR\rstartWorkflowB\b\n\
+    \\ACKaction\"\215\STX\n\
+    \\DC4ScheduleActionResult\DC2?\n\
+    \\rschedule_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\fscheduleTime\DC2;\n\
+    \\vactual_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \actualTime\DC2]\n\
+    \\NAKstart_workflow_result\CAN\v \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC3startWorkflowResult\DC2b\n\
+    \\NAKstart_workflow_status\CAN\f \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\DC3startWorkflowStatus\"\147\SOH\n\
+    \\rScheduleState\DC2\DC4\n\
+    \\ENQnotes\CAN\SOH \SOH(\tR\ENQnotes\DC2\SYN\n\
+    \\ACKpaused\CAN\STX \SOH(\bR\ACKpaused\DC2'\n\
+    \\SIlimited_actions\CAN\ETX \SOH(\bR\SOlimitedActions\DC2+\n\
+    \\DC1remaining_actions\CAN\EOT \SOH(\ETXR\DLEremainingActions\"p\n\
+    \\EMTriggerImmediatelyRequest\DC2S\n\
+    \\SOoverlap_policy\CAN\SOH \SOH(\SO2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\"\216\SOH\n\
+    \\SIBackfillRequest\DC29\n\
+    \\n\
+    \start_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC25\n\
+    \\bend_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\aendTime\DC2S\n\
+    \\SOoverlap_policy\CAN\ETX \SOH(\SO2,.temporal.api.enums.v1.ScheduleOverlapPolicyR\roverlapPolicy\"\251\SOH\n\
+    \\rSchedulePatch\DC2d\n\
+    \\DC3trigger_immediately\CAN\SOH \SOH(\v23.temporal.api.schedule.v1.TriggerImmediatelyRequestR\DC2triggerImmediately\DC2T\n\
+    \\DLEbackfill_request\CAN\STX \ETX(\v2).temporal.api.schedule.v1.BackfillRequestR\SIbackfillRequest\DC2\DC4\n\
+    \\ENQpause\CAN\ETX \SOH(\tR\ENQpause\DC2\CAN\n\
+    \\aunpause\CAN\EOT \SOH(\tR\aunpause\"\133\ENQ\n\
+    \\fScheduleInfo\DC2!\n\
+    \\faction_count\CAN\SOH \SOH(\ETXR\vactionCount\DC22\n\
+    \\NAKmissed_catchup_window\CAN\STX \SOH(\ETXR\DC3missedCatchupWindow\DC2'\n\
+    \\SIoverlap_skipped\CAN\ETX \SOH(\ETXR\SOoverlapSkipped\DC2%\n\
+    \\SObuffer_dropped\CAN\n\
+    \ \SOH(\ETXR\rbufferDropped\DC2\US\n\
+    \\vbuffer_size\CAN\v \SOH(\ETXR\n\
+    \bufferSize\DC2V\n\
+    \\DC1running_workflows\CAN\t \ETX(\v2).temporal.api.common.v1.WorkflowExecutionR\DLErunningWorkflows\DC2U\n\
+    \\SOrecent_actions\CAN\EOT \ETX(\v2..temporal.api.schedule.v1.ScheduleActionResultR\rrecentActions\DC2J\n\
+    \\DC3future_action_times\CAN\ENQ \ETX(\v2\SUB.google.protobuf.TimestampR\DC1futureActionTimes\DC2;\n\
+    \\vcreate_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2;\n\
+    \\vupdate_time\CAN\a \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \updateTime\DC28\n\
+    \\SYNinvalid_schedule_error\CAN\b \SOH(\tR\DC4invalidScheduleErrorB\STX\CAN\SOH\"\143\STX\n\
+    \\bSchedule\DC2:\n\
+    \\EOTspec\CAN\SOH \SOH(\v2&.temporal.api.schedule.v1.ScheduleSpecR\EOTspec\DC2@\n\
+    \\ACKaction\CAN\STX \SOH(\v2(.temporal.api.schedule.v1.ScheduleActionR\ACKaction\DC2F\n\
+    \\bpolicies\CAN\ETX \SOH(\v2*.temporal.api.schedule.v1.SchedulePoliciesR\bpolicies\DC2=\n\
+    \\ENQstate\CAN\EOT \SOH(\v2'.temporal.api.schedule.v1.ScheduleStateR\ENQstate\"\234\STX\n\
+    \\DLEScheduleListInfo\DC2:\n\
+    \\EOTspec\CAN\SOH \SOH(\v2&.temporal.api.schedule.v1.ScheduleSpecR\EOTspec\DC2I\n\
+    \\rworkflow_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2\DC4\n\
+    \\ENQnotes\CAN\ETX \SOH(\tR\ENQnotes\DC2\SYN\n\
+    \\ACKpaused\CAN\EOT \SOH(\bR\ACKpaused\DC2U\n\
+    \\SOrecent_actions\CAN\ENQ \ETX(\v2..temporal.api.schedule.v1.ScheduleActionResultR\rrecentActions\DC2J\n\
+    \\DC3future_action_times\CAN\ACK \ETX(\v2\SUB.google.protobuf.TimestampR\DC1futureActionTimes\"\253\SOH\n\
+    \\DC1ScheduleListEntry\DC2\US\n\
+    \\vschedule_id\CAN\SOH \SOH(\tR\n\
+    \scheduleId\DC20\n\
+    \\EOTmemo\CAN\STX \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\ETX \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2>\n\
+    \\EOTinfo\CAN\EOT \SOH(\v2*.temporal.api.schedule.v1.ScheduleListInfoR\EOTinfoB\147\SOH\n\
+    \\ESCio.temporal.api.schedule.v1B\fMessageProtoP\SOHZ'go.temporal.io/api/schedule/v1;schedule\170\STX\SUBTemporalio.Api.Schedule.V1\234\STX\GSTemporalio::Api::Schedule::V1J\141\145\SOH\n\
+    \\a\DC2\ENQ\ESC\NUL\147\ETX\SOH\n\
+    \\134\v\n\
+    \\SOH\f\DC2\ETX\ESC\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \2\146\STX (-- api-linter: core::0203::optional=disabled\n\
+    \     aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)\n\
+    \ (-- api-linter: core::0203::input-only=disabled\n\
+    \     aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\GS\NUL!\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL>\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\US\NUL>\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX \NUL4\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX \NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX!\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX!\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\"\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\"\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX#\NUL6\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX#\NUL6\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX$\NUL7\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX$\NUL7\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX&\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX'\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX)\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX*\NUL.\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX+\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX,\NUL0\n\
+    \\231\a\n\
+    \\STX\EOT\NUL\DC2\EOT@\NULS\SOH\SUB\218\a CalendarSpec describes an event specification relative to the calendar,\n\
+    \ similar to a traditional cron specification, but with labeled fields. Each\n\
+    \ field can be one of:\n\
+    \   *: matches always\n\
+    \   x: matches when the field equals x\n\
+    \   x/y : matches when the field equals x+n*y where n is an integer\n\
+    \   x-z: matches when the field is between x and z inclusive\n\
+    \   w,x,y,...: matches when the field is one of the listed values\n\
+    \ Each x, y, z, ... is either a decimal integer, or a month or day of week name\n\
+    \ or abbreviation (in the appropriate fields).\n\
+    \ A timestamp matches if all fields match.\n\
+    \ Note that fields have different default values, for convenience.\n\
+    \ Note that the special case that some cron implementations have for treating\n\
+    \ day_of_month and day_of_week as \"or\" instead of \"and\" when both are set is\n\
+    \ not implemented.\n\
+    \ day_of_week can accept 0 or 7 as Sunday\n\
+    \ CalendarSpec gets compiled into StructuredCalendarSpec, which is what will be\n\
+    \ returned if you describe the schedule.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX@\b\DC4\n\
+    \6\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETXB\EOT\SYN\SUB) Expression to match seconds. Default: 0\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETXB\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETXB\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETXB\DC4\NAK\n\
+    \6\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETXD\EOT\SYN\SUB) Expression to match minutes. Default: 0\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETXD\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETXD\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETXD\DC4\NAK\n\
+    \4\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETXF\EOT\DC4\SUB' Expression to match hours. Default: 0\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETXF\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETXF\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETXF\DC2\DC3\n\
+    \\171\SOH\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETXJ\EOT\FS\SUB\157\SOH Expression to match days of the month. Default: *\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: standard name of field --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETXJ\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETXJ\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETXJ\SUB\ESC\n\
+    \5\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETXL\EOT\NAK\SUB( Expression to match months. Default: *\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ENQ\DC2\ETXL\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETXL\v\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETXL\DC3\DC4\n\
+    \4\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETXN\EOT\DC4\SUB' Expression to match years. Default: *\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ENQ\DC2\ETXN\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETXN\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETXN\DC2\DC3\n\
+    \?\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETXP\EOT\ESC\SUB2 Expression to match days of the week. Default: *\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETXP\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETXP\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETXP\EM\SUB\n\
+    \G\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETXR\EOT\ETB\SUB: Free-form comment describing the intention of this spec.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ENQ\DC2\ETXR\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETXR\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETXR\NAK\SYN\n\
+    \\185\STX\n\
+    \\STX\EOT\SOH\DC2\EOTY\NUL`\SOH\SUB\172\STX Range represents a set of integer values, used to match fields of a calendar\n\
+    \ time in StructuredCalendarSpec. If end < start, then end is interpreted as\n\
+    \ equal to start. This means you can use a Range with start set to a value, and\n\
+    \ end and step unset (defaulting to 0) to represent a single value.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETXY\b\r\n\
+    \*\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX[\EOT\DC4\SUB\GS Start of range (inclusive).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX[\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX[\n\
+    \\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX[\DC2\DC3\n\
+    \(\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX]\EOT\DC2\SUB\ESC End of range (inclusive).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX]\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX]\n\
+    \\r\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX]\DLE\DC1\n\
+    \*\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX_\EOT\DC3\SUB\GS Step (optional, default 1).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\ETX_\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX_\n\
+    \\SO\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX_\DC1\DC2\n\
+    \\136\EOT\n\
+    \\STX\EOT\STX\DC2\EOTk\NUL~\SOH\SUB\251\ETX StructuredCalendarSpec describes an event specification relative to the\n\
+    \ calendar, in a form that's easy to work with programmatically. Each field can\n\
+    \ be one or more ranges.\n\
+    \ A timestamp matches if at least one range of each field matches the\n\
+    \ corresponding fields of the timestamp, except for year: if year is missing,\n\
+    \ that means all years match. For all fields besides year, at least one Range\n\
+    \ must be present to match anything.\n\
+    \ TODO: add relative-to-end-of-month\n\
+    \ TODO: add nth day-of-week in month\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXk\b\RS\n\
+    \#\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXm\EOT\RS\SUB\SYN Match seconds (0-59)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\EOT\DC2\ETXm\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXm\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXm\DC3\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXm\FS\GS\n\
+    \#\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXo\EOT\RS\SUB\SYN Match minutes (0-59)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\EOT\DC2\ETXo\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETXo\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXo\DC3\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXo\FS\GS\n\
+    \!\n\
+    \\EOT\EOT\STX\STX\STX\DC2\ETXq\EOT\FS\SUB\DC4 Match hours (0-23)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\EOT\DC2\ETXq\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ACK\DC2\ETXq\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXq\DC3\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXq\SUB\ESC\n\
+    \\152\SOH\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\ETXu\EOT$\SUB\138\SOH Match days of the month (1-31)\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: standard name of field --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETXu\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETXu\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXu\DC3\US\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXu\"#\n\
+    \\"\n\
+    \\EOT\EOT\STX\STX\EOT\DC2\ETXw\EOT\GS\SUB\NAK Match months (1-12)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\EOT\DC2\ETXw\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETXw\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETXw\DC3\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETXw\ESC\FS\n\
+    \\ESC\n\
+    \\EOT\EOT\STX\STX\ENQ\DC2\ETXy\EOT\FS\SUB\SO Match years.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ENQ\EOT\DC2\ETXy\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\ETXy\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\ETXy\DC3\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\ETXy\SUB\ESC\n\
+    \9\n\
+    \\EOT\EOT\STX\STX\ACK\DC2\ETX{\EOT#\SUB, Match days of the week (0-6; 0 is Sunday).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ACK\EOT\DC2\ETX{\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ACK\ACK\DC2\ETX{\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ACK\SOH\DC2\ETX{\DC3\RS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ACK\ETX\DC2\ETX{!\"\n\
+    \G\n\
+    \\EOT\EOT\STX\STX\a\DC2\ETX}\EOT\ETB\SUB: Free-form comment describing the intention of this spec.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\a\ENQ\DC2\ETX}\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\a\SOH\DC2\ETX}\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\a\ETX\DC2\ETX}\NAK\SYN\n\
+    \\150\ENQ\n\
+    \\STX\EOT\ETX\DC2\ACK\139\SOH\NUL\142\SOH\SOH\SUB\135\ENQ IntervalSpec matches times that can be expressed as:\n\
+    \ epoch + n * interval + phase\n\
+    \ where n is an integer.\n\
+    \ phase defaults to zero if missing. interval is required.\n\
+    \ Both interval and phase must be non-negative and are truncated to the nearest\n\
+    \ second before any calculations.\n\
+    \ For example, an interval of 1 hour with phase of zero would match every hour,\n\
+    \ on the hour. The same interval but a phase of 19 minutes would match every\n\
+    \ xx:19:00. An interval of 28 days with phase zero would match\n\
+    \ 2022-02-17T00:00:00Z (among other times). The same interval with a phase of 3\n\
+    \ days, 5 hours, and 23 minutes would match 2022-02-20T05:23:00Z instead.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ETX\SOH\DC2\EOT\139\SOH\b\DC4\n\
+    \\f\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\EOT\140\SOH\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\140\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\140\SOH\GS%\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\140\SOH()\n\
+    \\f\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\EOT\141\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\EOT\141\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\EOT\141\SOH\GS\"\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\EOT\141\SOH%&\n\
+    \\179\b\n\
+    \\STX\EOT\EOT\DC2\ACK\162\SOH\NUL\226\SOH\SOH\SUB\164\b ScheduleSpec is a complete description of a set of absolute timestamps\n\
+    \ (possibly infinite) that an action should occur at. The meaning of a\n\
+    \ ScheduleSpec depends only on its contents and never changes, except that the\n\
+    \ definition of a time zone can change over time (most commonly, when daylight\n\
+    \ saving time policy changes for an area). To create a totally self-contained\n\
+    \ ScheduleSpec, use UTC or include timezone_data.\n\
+    \\n\
+    \ For input, you can provide zero or more of: structured_calendar, calendar,\n\
+    \ cron_string, interval, and exclude_structured_calendar, and all of them will\n\
+    \ be used (the schedule will take action at the union of all of their times,\n\
+    \ minus the ones that match exclude_structured_calendar).\n\
+    \\n\
+    \ On input, calendar and cron_string fields will be compiled into\n\
+    \ structured_calendar (and maybe interval and timezone_name), so if you\n\
+    \ Describe a schedule, you'll see only structured_calendar, interval, etc.\n\
+    \\n\
+    \ If a spec has no matching times after the current time, then the schedule\n\
+    \ will be subject to automatic deletion (after several days).\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\EOT\SOH\DC2\EOT\162\SOH\b\DC4\n\
+    \7\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\EOT\164\SOH\EOT<\SUB) Calendar-based specifications of times.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\EOT\164\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\EOT\164\SOH\r#\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\164\SOH$7\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\164\SOH:;\n\
+    \\168\t\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\EOT\185\SOH\EOT$\SUB\153\t cron_string holds a traditional cron specification as a string. It\n\
+    \ accepts 5, 6, or 7 fields, separated by spaces, and interprets them the\n\
+    \ same way as CalendarSpec.\n\
+    \ 5 fields:         minute, hour, day_of_month, month, day_of_week\n\
+    \ 6 fields:         minute, hour, day_of_month, month, day_of_week, year\n\
+    \ 7 fields: second, minute, hour, day_of_month, month, day_of_week, year\n\
+    \ If year is not given, it defaults to *. If second is not given, it\n\
+    \ defaults to 0.\n\
+    \ Shorthands @yearly, @monthly, @weekly, @daily, and @hourly are also\n\
+    \ accepted instead of the 5-7 time fields.\n\
+    \ Optionally, the string can be preceded by CRON_TZ=<timezone name> or\n\
+    \ TZ=<timezone name>, which will get copied to timezone_name. (There must\n\
+    \ not also be a timezone_name present.)\n\
+    \ Optionally \"#\" followed by a comment can appear at the end of the string.\n\
+    \ Note that the special case that some cron implementations have for\n\
+    \ treating day_of_month and day_of_week as \"or\" instead of \"and\" when both\n\
+    \ are set is not implemented.\n\
+    \ @every <interval>[/<phase>] is accepted and gets compiled into an\n\
+    \ IntervalSpec instead. <interval> and <phase> should be a decimal integer\n\
+    \ with a unit suffix s, m, h, or d.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\EOT\DC2\EOT\185\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\EOT\185\SOH\r\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\185\SOH\DC4\US\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\185\SOH\"#\n\
+    \7\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\EOT\187\SOH\EOT'\SUB) Calendar-based specifications of times.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\EOT\DC2\EOT\187\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\ACK\DC2\EOT\187\SOH\r\EM\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\187\SOH\SUB\"\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\187\SOH%&\n\
+    \7\n\
+    \\EOT\EOT\EOT\STX\ETX\DC2\EOT\189\SOH\EOT'\SUB) Interval-based specifications of times.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\EOT\DC2\EOT\189\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\ACK\DC2\EOT\189\SOH\r\EM\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\EOT\189\SOH\SUB\"\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\EOT\189\SOH%&\n\
+    \l\n\
+    \\EOT\EOT\EOT\STX\EOT\DC2\EOT\191\SOH\EOTC\SUB; Any timestamps matching any of exclude_* will be skipped.\n\
+    \\"! use exclude_structured_calendar\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\EOT\DC2\EOT\191\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\ACK\DC2\EOT\191\SOH\r\EM\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\EOT\191\SOH\SUB*\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\EOT\191\SOH-.\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\EOT\b\DC2\EOT\191\SOH/B\n\
+    \\SO\n\
+    \\ACK\EOT\EOT\STX\EOT\b\ETX\DC2\EOT\191\SOH0A\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\ENQ\DC2\EOT\192\SOH\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\EOT\DC2\EOT\192\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ACK\DC2\EOT\192\SOH\r#\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\EOT\192\SOH$?\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\EOT\192\SOHBC\n\
+    \\153\SOH\n\
+    \\EOT\EOT\EOT\STX\ACK\DC2\EOT\195\SOH\EOT-\SUB\138\SOH If start_time is set, any timestamps before start_time will be skipped.\n\
+    \ (Together, start_time and end_time make an inclusive interval.)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ACK\ACK\DC2\EOT\195\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\EOT\195\SOH\RS(\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\EOT\195\SOH+,\n\
+    \R\n\
+    \\EOT\EOT\EOT\STX\a\DC2\EOT\197\SOH\EOT+\SUBD If end_time is set, any timestamps after end_time will be skipped.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\a\ACK\DC2\EOT\197\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\a\SOH\DC2\EOT\197\SOH\RS&\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\a\ETX\DC2\EOT\197\SOH)*\n\
+    \q\n\
+    \\EOT\EOT\EOT\STX\b\DC2\EOT\200\SOH\EOT(\SUBc All timestamps will be incremented by a random value from 0 to this\n\
+    \ amount of jitter. Default: 0\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\b\ACK\DC2\EOT\200\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\b\SOH\DC2\EOT\200\SOH\GS#\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\b\ETX\DC2\EOT\200\SOH&'\n\
+    \\187\t\n\
+    \\EOT\EOT\EOT\STX\t\DC2\EOT\224\SOH\EOT\RS\SUB\172\t Time zone to interpret all calendar-based specs in.\n\
+    \\n\
+    \ If unset, defaults to UTC. We recommend using UTC for your application if\n\
+    \ at all possible, to avoid various surprising properties of time zones.\n\
+    \\n\
+    \ Time zones may be provided by name, corresponding to names in the IANA\n\
+    \ time zone database (see https://www.iana.org/time-zones). The definition\n\
+    \ will be loaded by the Temporal server from the environment it runs in.\n\
+    \\n\
+    \ If your application requires more control over the time zone definition\n\
+    \ used, it may pass in a complete definition in the form of a TZif file\n\
+    \ from the time zone database. If present, this will be used instead of\n\
+    \ loading anything from the environment. You are then responsible for\n\
+    \ updating timezone_data when the definition changes.\n\
+    \\n\
+    \ Calendar spec matching is based on literal matching of the clock time\n\
+    \ with no special handling of DST: if you write a calendar spec that fires\n\
+    \ at 2:30am and specify a time zone that follows DST, that action will not\n\
+    \ be triggered on the day that has no 2:30am. Similarly, an action that\n\
+    \ fires at 1:30am will be triggered twice on the day that has two 1:30s.\n\
+    \\n\
+    \ Also note that no actions are taken on leap-seconds (e.g. 23:59:60 UTC).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\ENQ\DC2\EOT\224\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\224\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\224\SOH\ESC\GS\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\n\
+    \\DC2\EOT\225\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\ENQ\DC2\EOT\225\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\SOH\DC2\EOT\225\SOH\n\
+    \\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\ETX\DC2\EOT\225\SOH\SUB\FS\n\
+    \\f\n\
+    \\STX\EOT\ENQ\DC2\ACK\228\SOH\NUL\250\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ENQ\SOH\DC2\EOT\228\SOH\b\CAN\n\
+    \\222\SOH\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\233\SOH\EOTC\SUB\207\SOH Policy for overlaps.\n\
+    \ Note that this can be changed after a schedule has taken some actions,\n\
+    \ and some changes might produce unintuitive results. In general, the later\n\
+    \ policy overrides the earlier policy.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\EOT\233\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\233\SOH0>\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\233\SOHAB\n\
+    \\172\STX\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\240\SOH\EOT0\SUB\157\STX Policy for catchups:\n\
+    \ If the Temporal server misses an action due to one or more components\n\
+    \ being down, and comes back up, the action will be run if the scheduled\n\
+    \ time is within this window from the current time.\n\
+    \ This value defaults to one year, and can't be less than 10 seconds.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\240\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\240\SOH\GS+\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\240\SOH./\n\
+    \\180\SOH\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\EOT\245\SOH\EOT\RS\SUB\165\SOH If true, and a workflow run fails or times out, turn on \"paused\".\n\
+    \ This applies after retry policies: the full chain of retries must fail to\n\
+    \ trigger a pause here.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ENQ\DC2\EOT\245\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\EOT\245\SOH\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\EOT\245\SOH\FS\GS\n\
+    \\DEL\n\
+    \\EOT\EOT\ENQ\STX\ETX\DC2\EOT\249\SOH\EOT'\SUBq If true, and the action would start a workflow, a timestamp will not be\n\
+    \ appended to the scheduled workflow id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ENQ\DC2\EOT\249\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\SOH\DC2\EOT\249\SOH\t\"\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ETX\DC2\EOT\249\SOH%&\n\
+    \\f\n\
+    \\STX\EOT\ACK\DC2\ACK\252\SOH\NUL\133\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ACK\SOH\DC2\EOT\252\SOH\b\SYN\n\
+    \\SO\n\
+    \\EOT\EOT\ACK\b\NUL\DC2\ACK\253\SOH\EOT\132\STX\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\b\NUL\SOH\DC2\EOT\253\SOH\n\
+    \\DLE\n\
+    \\241\SOH\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\131\STX\bM\SUB\226\SOH All fields of NewWorkflowExecutionInfo are valid except for:\n\
+    \ - workflow_id_reuse_policy\n\
+    \ - cron_schedule\n\
+    \ The workflow id of the started workflow may not match this exactly,\n\
+    \ it may have a timestamp appended for uniqueness.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ACK\DC2\EOT\131\STX\b9\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\131\STX:H\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\131\STXKL\n\
+    \\f\n\
+    \\STX\EOT\a\DC2\ACK\135\STX\NUL\148\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\135\STX\b\FS\n\
+    \]\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\137\STX\EOT0\SUBO Time that the action was taken (according to the schedule, including jitter).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ACK\DC2\EOT\137\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\137\STX\RS+\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\137\STX./\n\
+    \;\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\140\STX\EOT.\SUB- Time that the action was taken (real time).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ACK\DC2\EOT\140\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\140\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\140\STX,-\n\
+    \-\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\143\STX\EOTH\SUB\US If action was start_workflow:\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\143\STX\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\143\STX-B\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\143\STXEG\n\
+    \\138\SOH\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\147\STX\EOTM\SUB| If the action was start_workflow, this field will reflect an\n\
+    \ eventually-consistent view of the started workflow's status.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ACK\DC2\EOT\147\STX\EOT1\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\147\STX2G\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\147\STXJL\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\150\STX\NUL\168\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\150\STX\b\NAK\n\
+    \\211\SOH\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\154\STX\EOT\NAK\SUB\196\SOH Informative human-readable message with contextual notes, e.g. the reason\n\
+    \ a schedule is paused. The system may overwrite this message on certain\n\
+    \ conditions, e.g. when pause-on-failure happens.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\154\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\154\STX\v\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\154\STX\DC3\DC4\n\
+    \L\n\
+    \\EOT\EOT\b\STX\SOH\DC2\EOT\157\STX\EOT\DC4\SUB> If true, do not take any actions based on the schedule spec.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\EOT\157\STX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\157\STX\t\SI\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\157\STX\DC2\DC3\n\
+    \\204\ETX\n\
+    \\EOT\EOT\b\STX\STX\DC2\EOT\166\STX\EOT\GS\SUB\189\ETX If limited_actions is true, decrement remaining_actions after each\n\
+    \ action, and do not take any more scheduled actions if remaining_actions\n\
+    \ is zero. Actions may still be taken by explicit request (i.e. trigger\n\
+    \ immediately or backfill). Skipped actions (due to overlap policy) do not\n\
+    \ count against remaining actions.\n\
+    \ If a schedule has no more remaining actions, then the schedule will be\n\
+    \ subject to automatic deletion (after several days).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ENQ\DC2\EOT\166\STX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\166\STX\t\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\166\STX\ESC\FS\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\ETX\DC2\EOT\167\STX\EOT \n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\ENQ\DC2\EOT\167\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\SOH\DC2\EOT\167\STX\n\
+    \\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\ETX\DC2\EOT\167\STX\RS\US\n\
+    \\f\n\
+    \\STX\EOT\t\DC2\ACK\170\STX\NUL\173\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\170\STX\b!\n\
+    \E\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\172\STX\EOTC\SUB7 If set, override overlap policy for this one request.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\172\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\172\STX0>\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\172\STXAB\n\
+    \\f\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\175\STX\NUL\186\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\175\STX\b\ETB\n\
+    \\148\ETX\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\182\STX\EOT-\SUB\133\ETX Time range to evaluate schedule in. Currently, this time range is\n\
+    \ exclusive on start_time and inclusive on end_time. (This is admittedly\n\
+    \ counterintuitive and it may change in the future, so to be safe, use a\n\
+    \ start time strictly before a scheduled time.) Also note that an action\n\
+    \ nominally scheduled in the interval but with jitter that pushes it after\n\
+    \ end_time will not be included.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ACK\DC2\EOT\182\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\182\STX\RS(\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\182\STX+,\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\SOH\DC2\EOT\183\STX\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ACK\DC2\EOT\183\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\SOH\DC2\EOT\183\STX\RS&\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ETX\DC2\EOT\183\STX)*\n\
+    \A\n\
+    \\EOT\EOT\n\
+    \\STX\STX\DC2\EOT\185\STX\EOTC\SUB3 If set, override overlap policy for this request.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ACK\DC2\EOT\185\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\SOH\DC2\EOT\185\STX0>\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ETX\DC2\EOT\185\STXAB\n\
+    \\f\n\
+    \\STX\EOT\v\DC2\ACK\188\STX\NUL\201\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\188\STX\b\NAK\n\
+    \7\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\190\STX\EOT6\SUB) If set, trigger one action immediately.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ACK\DC2\EOT\190\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\190\STX\RS1\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\190\STX45\n\
+    \\203\SOH\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\195\STX\EOT2\SUB\188\SOH If set, runs though the specified time period(s) and takes actions as if that time\n\
+    \ passed by right now, all at once. The overlap policy can be overridden for the\n\
+    \ scope of the backfill.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\EOT\DC2\EOT\195\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ACK\DC2\EOT\195\STX\r\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\195\STX\GS-\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\195\STX01\n\
+    \\130\SOH\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\199\STX\EOT\NAK\SUBt If set, change the state to paused or unpaused (respectively) and set the\n\
+    \ notes field to the value of the string.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ENQ\DC2\EOT\199\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\199\STX\v\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\199\STX\DC3\DC4\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\ETX\DC2\EOT\200\STX\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ENQ\DC2\EOT\200\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\200\STX\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\200\STX\NAK\SYN\n\
+    \\f\n\
+    \\STX\EOT\f\DC2\ACK\203\STX\NUL\239\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\203\STX\b\DC4\n\
+    \/\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\205\STX\EOT\ESC\SUB! Number of actions taken so far.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ENQ\DC2\EOT\205\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\205\STX\n\
+    \\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\205\STX\EM\SUB\n\
+    \a\n\
+    \\EOT\EOT\f\STX\SOH\DC2\EOT\208\STX\EOT$\SUBS Number of times a scheduled action was skipped due to missing the catchup window.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ENQ\DC2\EOT\208\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\208\STX\n\
+    \\US\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\208\STX\"#\n\
+    \9\n\
+    \\EOT\EOT\f\STX\STX\DC2\EOT\211\STX\EOT\RS\SUB+ Number of skipped actions due to overlap.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ENQ\DC2\EOT\211\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\211\STX\n\
+    \\EM\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\211\STX\FS\GS\n\
+    \>\n\
+    \\EOT\EOT\f\STX\ETX\DC2\EOT\214\STX\EOT\RS\SUB0 Number of dropped actions due to buffer limit.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ENQ\DC2\EOT\214\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\214\STX\n\
+    \\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\214\STX\ESC\GS\n\
+    \\214\SOH\n\
+    \\EOT\EOT\f\STX\EOT\DC2\EOT\219\STX\EOT\ESC\SUB\199\SOH Number of actions in the buffer. The buffer holds the actions that cannot\n\
+    \ be immediately triggered (due to the overlap policy). These actions can be a result of\n\
+    \ the normal schedule or a backfill.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ENQ\DC2\EOT\219\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\219\STX\n\
+    \\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\219\STX\CAN\SUB\n\
+    \\228\STX\n\
+    \\EOT\EOT\f\STX\ENQ\DC2\EOT\226\STX\EOTL\SUB\213\STX Currently-running workflows started by this schedule. (There might be\n\
+    \ more than one if the overlap policy allows overlaps.)\n\
+    \ Note that the run_ids in here are the original execution run ids as\n\
+    \ started by the schedule. If the workflows retried, did continue-as-new,\n\
+    \ or were reset, they might still be running but with a different run_id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\EOT\DC2\EOT\226\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\ACK\DC2\EOT\226\STX\r5\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\SOH\DC2\EOT\226\STX6G\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\ETX\DC2\EOT\226\STXJK\n\
+    \P\n\
+    \\EOT\EOT\f\STX\ACK\DC2\EOT\229\STX\EOT5\SUBB Most recent ten actual action times (including manual triggers).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\EOT\DC2\EOT\229\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\ACK\DC2\EOT\229\STX\r!\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\SOH\DC2\EOT\229\STX\"0\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\ETX\DC2\EOT\229\STX34\n\
+    \0\n\
+    \\EOT\EOT\f\STX\a\DC2\EOT\232\STX\EOT?\SUB\" Next ten scheduled action times.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\EOT\DC2\EOT\232\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\ACK\DC2\EOT\232\STX\r&\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\SOH\DC2\EOT\232\STX':\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\ETX\DC2\EOT\232\STX=>\n\
+    \@\n\
+    \\EOT\EOT\f\STX\b\DC2\EOT\235\STX\EOT.\SUB2 Timestamps of schedule creation and last update.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\ACK\DC2\EOT\235\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\SOH\DC2\EOT\235\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\ETX\DC2\EOT\235\STX,-\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\t\DC2\EOT\236\STX\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\t\ACK\DC2\EOT\236\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\t\SOH\DC2\EOT\236\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\t\ETX\DC2\EOT\236\STX,-\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\n\
+    \\DC2\EOT\238\STX\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\ENQ\DC2\EOT\238\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\SOH\DC2\EOT\238\STX\v!\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\ETX\DC2\EOT\238\STX$%\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\n\
+    \\b\DC2\EOT\238\STX&9\n\
+    \\SO\n\
+    \\ACK\EOT\f\STX\n\
+    \\b\ETX\DC2\EOT\238\STX'8\n\
+    \\f\n\
+    \\STX\EOT\r\DC2\ACK\241\STX\NUL\246\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\241\STX\b\DLE\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\242\STX\EOT\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ACK\DC2\EOT\242\STX\EOT\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\242\STX\DC1\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\242\STX\CAN\EM\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\243\STX\EOT\RS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ACK\DC2\EOT\243\STX\EOT\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\243\STX\DC3\EM\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\243\STX\FS\GS\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\STX\DC2\EOT\244\STX\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ACK\DC2\EOT\244\STX\EOT\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\244\STX\NAK\GS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\244\STX !\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\ETX\DC2\EOT\245\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ACK\DC2\EOT\245\STX\EOT\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\245\STX\DC2\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\245\STX\SUB\ESC\n\
+    \\130\SOH\n\
+    \\STX\EOT\SO\DC2\ACK\250\STX\NUL\139\ETX\SOH\SUBt ScheduleListInfo is an abbreviated set of values from Schedule and ScheduleInfo\n\
+    \ that's returned in ListSchedules.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\250\STX\b\CAN\n\
+    \Y\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\253\STX\EOT\SUB\SUBK From spec:\n\
+    \ Some fields are dropped from this copy of spec: timezone_data\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ACK\DC2\EOT\253\STX\EOT\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\253\STX\DC1\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\253\STX\CAN\EM\n\
+    \\177\SOH\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\EOT\130\ETX\EOT:\SUB\162\SOH From action:\n\
+    \ Action is a oneof field, but we need to encode this in JSON and oneof fields don't work\n\
+    \ well with JSON. If action is start_workflow, this is set:\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ACK\DC2\EOT\130\ETX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\130\ETX(5\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\130\ETX89\n\
+    \\ESC\n\
+    \\EOT\EOT\SO\STX\STX\DC2\EOT\133\ETX\EOT\NAK\SUB\r From state:\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ENQ\DC2\EOT\133\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\SOH\DC2\EOT\133\ETX\v\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ETX\DC2\EOT\133\ETX\DC3\DC4\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\ETX\DC2\EOT\134\ETX\EOT\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ENQ\DC2\EOT\134\ETX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\SOH\DC2\EOT\134\ETX\t\SI\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ETX\DC2\EOT\134\ETX\DC2\DC3\n\
+    \0\n\
+    \\EOT\EOT\SO\STX\EOT\DC2\EOT\137\ETX\EOT5\SUB\" From info (maybe fewer entries):\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\EOT\DC2\EOT\137\ETX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\ACK\DC2\EOT\137\ETX\r!\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\SOH\DC2\EOT\137\ETX\"0\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\ETX\DC2\EOT\137\ETX34\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\ENQ\DC2\EOT\138\ETX\EOT?\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\EOT\DC2\EOT\138\ETX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ACK\DC2\EOT\138\ETX\r&\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\SOH\DC2\EOT\138\ETX':\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ETX\DC2\EOT\138\ETX=>\n\
+    \?\n\
+    \\STX\EOT\SI\DC2\ACK\142\ETX\NUL\147\ETX\SOH\SUB1 ScheduleListEntry is returned by ListSchedules.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\142\ETX\b\EM\n\
+    \\f\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\143\ETX\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\143\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\143\ETX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\143\ETX\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\SI\STX\SOH\DC2\EOT\144\ETX\EOT)\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ACK\DC2\EOT\144\ETX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\144\ETX $\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\144\ETX'(\n\
+    \\f\n\
+    \\EOT\EOT\SI\STX\STX\DC2\EOT\145\ETX\EOTB\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\STX\ACK\DC2\EOT\145\ETX\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\STX\SOH\DC2\EOT\145\ETX,=\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\STX\ETX\DC2\EOT\145\ETX@A\n\
+    \\f\n\
+    \\EOT\EOT\SI\STX\ETX\DC2\EOT\146\ETX\EOT\RS\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ETX\ACK\DC2\EOT\146\ETX\EOT\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ETX\SOH\DC2\EOT\146\ETX\NAK\EM\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\ETX\ETX\DC2\EOT\146\ETX\FS\GSb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Schedule/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Schedule/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Schedule/V1/Message_Fields.hs
@@ -0,0 +1,623 @@
+{- This file was auto-generated from temporal/api/schedule/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Schedule.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Schedule
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+action ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "action" a) =>
+  Lens.Family2.LensLike' f s a
+action = Data.ProtoLens.Field.field @"action"
+actionCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "actionCount" a) =>
+  Lens.Family2.LensLike' f s a
+actionCount = Data.ProtoLens.Field.field @"actionCount"
+actualTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "actualTime" a) =>
+  Lens.Family2.LensLike' f s a
+actualTime = Data.ProtoLens.Field.field @"actualTime"
+backfillRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backfillRequest" a) =>
+  Lens.Family2.LensLike' f s a
+backfillRequest = Data.ProtoLens.Field.field @"backfillRequest"
+bufferDropped ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "bufferDropped" a) =>
+  Lens.Family2.LensLike' f s a
+bufferDropped = Data.ProtoLens.Field.field @"bufferDropped"
+bufferSize ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "bufferSize" a) =>
+  Lens.Family2.LensLike' f s a
+bufferSize = Data.ProtoLens.Field.field @"bufferSize"
+calendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "calendar" a) =>
+  Lens.Family2.LensLike' f s a
+calendar = Data.ProtoLens.Field.field @"calendar"
+catchupWindow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "catchupWindow" a) =>
+  Lens.Family2.LensLike' f s a
+catchupWindow = Data.ProtoLens.Field.field @"catchupWindow"
+comment ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "comment" a) =>
+  Lens.Family2.LensLike' f s a
+comment = Data.ProtoLens.Field.field @"comment"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+cronString ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronString" a) =>
+  Lens.Family2.LensLike' f s a
+cronString = Data.ProtoLens.Field.field @"cronString"
+dayOfMonth ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "dayOfMonth" a) =>
+  Lens.Family2.LensLike' f s a
+dayOfMonth = Data.ProtoLens.Field.field @"dayOfMonth"
+dayOfWeek ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "dayOfWeek" a) =>
+  Lens.Family2.LensLike' f s a
+dayOfWeek = Data.ProtoLens.Field.field @"dayOfWeek"
+end ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "end" a) =>
+  Lens.Family2.LensLike' f s a
+end = Data.ProtoLens.Field.field @"end"
+endTime ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "endTime" a) =>
+  Lens.Family2.LensLike' f s a
+endTime = Data.ProtoLens.Field.field @"endTime"
+excludeCalendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "excludeCalendar" a) =>
+  Lens.Family2.LensLike' f s a
+excludeCalendar = Data.ProtoLens.Field.field @"excludeCalendar"
+excludeStructuredCalendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "excludeStructuredCalendar" a) =>
+  Lens.Family2.LensLike' f s a
+excludeStructuredCalendar
+  = Data.ProtoLens.Field.field @"excludeStructuredCalendar"
+futureActionTimes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "futureActionTimes" a) =>
+  Lens.Family2.LensLike' f s a
+futureActionTimes = Data.ProtoLens.Field.field @"futureActionTimes"
+hour ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "hour" a) =>
+  Lens.Family2.LensLike' f s a
+hour = Data.ProtoLens.Field.field @"hour"
+info ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "info" a) =>
+  Lens.Family2.LensLike' f s a
+info = Data.ProtoLens.Field.field @"info"
+interval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "interval" a) =>
+  Lens.Family2.LensLike' f s a
+interval = Data.ProtoLens.Field.field @"interval"
+invalidScheduleError ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "invalidScheduleError" a) =>
+  Lens.Family2.LensLike' f s a
+invalidScheduleError
+  = Data.ProtoLens.Field.field @"invalidScheduleError"
+jitter ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jitter" a) =>
+  Lens.Family2.LensLike' f s a
+jitter = Data.ProtoLens.Field.field @"jitter"
+keepOriginalWorkflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "keepOriginalWorkflowId" a) =>
+  Lens.Family2.LensLike' f s a
+keepOriginalWorkflowId
+  = Data.ProtoLens.Field.field @"keepOriginalWorkflowId"
+limitedActions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "limitedActions" a) =>
+  Lens.Family2.LensLike' f s a
+limitedActions = Data.ProtoLens.Field.field @"limitedActions"
+maybe'action ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'action" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'action = Data.ProtoLens.Field.field @"maybe'action"
+maybe'actualTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'actualTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'actualTime = Data.ProtoLens.Field.field @"maybe'actualTime"
+maybe'catchupWindow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'catchupWindow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'catchupWindow
+  = Data.ProtoLens.Field.field @"maybe'catchupWindow"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'endTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'endTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'endTime = Data.ProtoLens.Field.field @"maybe'endTime"
+maybe'info ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'info" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'info = Data.ProtoLens.Field.field @"maybe'info"
+maybe'interval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'interval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'interval = Data.ProtoLens.Field.field @"maybe'interval"
+maybe'jitter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'jitter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'jitter = Data.ProtoLens.Field.field @"maybe'jitter"
+maybe'memo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'memo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'memo = Data.ProtoLens.Field.field @"maybe'memo"
+maybe'phase ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'phase" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'phase = Data.ProtoLens.Field.field @"maybe'phase"
+maybe'policies ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'policies" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'policies = Data.ProtoLens.Field.field @"maybe'policies"
+maybe'scheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleTime
+  = Data.ProtoLens.Field.field @"maybe'scheduleTime"
+maybe'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'searchAttributes
+  = Data.ProtoLens.Field.field @"maybe'searchAttributes"
+maybe'spec ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'spec" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'spec = Data.ProtoLens.Field.field @"maybe'spec"
+maybe'startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTime = Data.ProtoLens.Field.field @"maybe'startTime"
+maybe'startWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startWorkflow
+  = Data.ProtoLens.Field.field @"maybe'startWorkflow"
+maybe'startWorkflowResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startWorkflowResult" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startWorkflowResult
+  = Data.ProtoLens.Field.field @"maybe'startWorkflowResult"
+maybe'state ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'state" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'state = Data.ProtoLens.Field.field @"maybe'state"
+maybe'triggerImmediately ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'triggerImmediately" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'triggerImmediately
+  = Data.ProtoLens.Field.field @"maybe'triggerImmediately"
+maybe'updateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateTime = Data.ProtoLens.Field.field @"maybe'updateTime"
+maybe'workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowType
+  = Data.ProtoLens.Field.field @"maybe'workflowType"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+minute ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "minute" a) =>
+  Lens.Family2.LensLike' f s a
+minute = Data.ProtoLens.Field.field @"minute"
+missedCatchupWindow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "missedCatchupWindow" a) =>
+  Lens.Family2.LensLike' f s a
+missedCatchupWindow
+  = Data.ProtoLens.Field.field @"missedCatchupWindow"
+month ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "month" a) =>
+  Lens.Family2.LensLike' f s a
+month = Data.ProtoLens.Field.field @"month"
+notes ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "notes" a) =>
+  Lens.Family2.LensLike' f s a
+notes = Data.ProtoLens.Field.field @"notes"
+overlapPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "overlapPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+overlapPolicy = Data.ProtoLens.Field.field @"overlapPolicy"
+overlapSkipped ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "overlapSkipped" a) =>
+  Lens.Family2.LensLike' f s a
+overlapSkipped = Data.ProtoLens.Field.field @"overlapSkipped"
+pause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "pause" a) =>
+  Lens.Family2.LensLike' f s a
+pause = Data.ProtoLens.Field.field @"pause"
+pauseOnFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pauseOnFailure" a) =>
+  Lens.Family2.LensLike' f s a
+pauseOnFailure = Data.ProtoLens.Field.field @"pauseOnFailure"
+paused ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "paused" a) =>
+  Lens.Family2.LensLike' f s a
+paused = Data.ProtoLens.Field.field @"paused"
+phase ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "phase" a) =>
+  Lens.Family2.LensLike' f s a
+phase = Data.ProtoLens.Field.field @"phase"
+policies ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "policies" a) =>
+  Lens.Family2.LensLike' f s a
+policies = Data.ProtoLens.Field.field @"policies"
+recentActions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "recentActions" a) =>
+  Lens.Family2.LensLike' f s a
+recentActions = Data.ProtoLens.Field.field @"recentActions"
+remainingActions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "remainingActions" a) =>
+  Lens.Family2.LensLike' f s a
+remainingActions = Data.ProtoLens.Field.field @"remainingActions"
+runningWorkflows ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "runningWorkflows" a) =>
+  Lens.Family2.LensLike' f s a
+runningWorkflows = Data.ProtoLens.Field.field @"runningWorkflows"
+scheduleId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleId" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleId = Data.ProtoLens.Field.field @"scheduleId"
+scheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleTime = Data.ProtoLens.Field.field @"scheduleTime"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+second ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "second" a) =>
+  Lens.Family2.LensLike' f s a
+second = Data.ProtoLens.Field.field @"second"
+spec ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spec" a) =>
+  Lens.Family2.LensLike' f s a
+spec = Data.ProtoLens.Field.field @"spec"
+start ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "start" a) =>
+  Lens.Family2.LensLike' f s a
+start = Data.ProtoLens.Field.field @"start"
+startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTime" a) =>
+  Lens.Family2.LensLike' f s a
+startTime = Data.ProtoLens.Field.field @"startTime"
+startWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+startWorkflow = Data.ProtoLens.Field.field @"startWorkflow"
+startWorkflowResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startWorkflowResult" a) =>
+  Lens.Family2.LensLike' f s a
+startWorkflowResult
+  = Data.ProtoLens.Field.field @"startWorkflowResult"
+startWorkflowStatus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startWorkflowStatus" a) =>
+  Lens.Family2.LensLike' f s a
+startWorkflowStatus
+  = Data.ProtoLens.Field.field @"startWorkflowStatus"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+step ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "step" a) =>
+  Lens.Family2.LensLike' f s a
+step = Data.ProtoLens.Field.field @"step"
+structuredCalendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "structuredCalendar" a) =>
+  Lens.Family2.LensLike' f s a
+structuredCalendar
+  = Data.ProtoLens.Field.field @"structuredCalendar"
+timezoneData ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timezoneData" a) =>
+  Lens.Family2.LensLike' f s a
+timezoneData = Data.ProtoLens.Field.field @"timezoneData"
+timezoneName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timezoneName" a) =>
+  Lens.Family2.LensLike' f s a
+timezoneName = Data.ProtoLens.Field.field @"timezoneName"
+triggerImmediately ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "triggerImmediately" a) =>
+  Lens.Family2.LensLike' f s a
+triggerImmediately
+  = Data.ProtoLens.Field.field @"triggerImmediately"
+unpause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "unpause" a) =>
+  Lens.Family2.LensLike' f s a
+unpause = Data.ProtoLens.Field.field @"unpause"
+updateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateTime" a) =>
+  Lens.Family2.LensLike' f s a
+updateTime = Data.ProtoLens.Field.field @"updateTime"
+vec'backfillRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'backfillRequest" a) =>
+  Lens.Family2.LensLike' f s a
+vec'backfillRequest
+  = Data.ProtoLens.Field.field @"vec'backfillRequest"
+vec'calendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'calendar" a) =>
+  Lens.Family2.LensLike' f s a
+vec'calendar = Data.ProtoLens.Field.field @"vec'calendar"
+vec'cronString ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'cronString" a) =>
+  Lens.Family2.LensLike' f s a
+vec'cronString = Data.ProtoLens.Field.field @"vec'cronString"
+vec'dayOfMonth ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'dayOfMonth" a) =>
+  Lens.Family2.LensLike' f s a
+vec'dayOfMonth = Data.ProtoLens.Field.field @"vec'dayOfMonth"
+vec'dayOfWeek ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'dayOfWeek" a) =>
+  Lens.Family2.LensLike' f s a
+vec'dayOfWeek = Data.ProtoLens.Field.field @"vec'dayOfWeek"
+vec'excludeCalendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'excludeCalendar" a) =>
+  Lens.Family2.LensLike' f s a
+vec'excludeCalendar
+  = Data.ProtoLens.Field.field @"vec'excludeCalendar"
+vec'excludeStructuredCalendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'excludeStructuredCalendar" a) =>
+  Lens.Family2.LensLike' f s a
+vec'excludeStructuredCalendar
+  = Data.ProtoLens.Field.field @"vec'excludeStructuredCalendar"
+vec'futureActionTimes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'futureActionTimes" a) =>
+  Lens.Family2.LensLike' f s a
+vec'futureActionTimes
+  = Data.ProtoLens.Field.field @"vec'futureActionTimes"
+vec'hour ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'hour" a) =>
+  Lens.Family2.LensLike' f s a
+vec'hour = Data.ProtoLens.Field.field @"vec'hour"
+vec'interval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'interval" a) =>
+  Lens.Family2.LensLike' f s a
+vec'interval = Data.ProtoLens.Field.field @"vec'interval"
+vec'minute ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'minute" a) =>
+  Lens.Family2.LensLike' f s a
+vec'minute = Data.ProtoLens.Field.field @"vec'minute"
+vec'month ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'month" a) =>
+  Lens.Family2.LensLike' f s a
+vec'month = Data.ProtoLens.Field.field @"vec'month"
+vec'recentActions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'recentActions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'recentActions = Data.ProtoLens.Field.field @"vec'recentActions"
+vec'runningWorkflows ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'runningWorkflows" a) =>
+  Lens.Family2.LensLike' f s a
+vec'runningWorkflows
+  = Data.ProtoLens.Field.field @"vec'runningWorkflows"
+vec'second ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'second" a) =>
+  Lens.Family2.LensLike' f s a
+vec'second = Data.ProtoLens.Field.field @"vec'second"
+vec'structuredCalendar ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'structuredCalendar" a) =>
+  Lens.Family2.LensLike' f s a
+vec'structuredCalendar
+  = Data.ProtoLens.Field.field @"vec'structuredCalendar"
+vec'year ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'year" a) =>
+  Lens.Family2.LensLike' f s a
+vec'year = Data.ProtoLens.Field.field @"vec'year"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
+year ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "year" a) =>
+  Lens.Family2.LensLike' f s a
+year = Data.ProtoLens.Field.field @"year"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/EnhancedStackTrace.hs b/src/Proto/Temporal/Api/Sdk/V1/EnhancedStackTrace.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/EnhancedStackTrace.hs
@@ -0,0 +1,1445 @@
+{- This file was auto-generated from temporal/api/sdk/v1/enhanced_stack_trace.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace (
+        EnhancedStackTrace(), EnhancedStackTrace'SourcesEntry(),
+        StackTrace(), StackTraceFileLocation(), StackTraceFileSlice(),
+        StackTraceSDKInfo()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.sdk' @:: Lens' EnhancedStackTrace StackTraceSDKInfo@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.maybe'sdk' @:: Lens' EnhancedStackTrace (Prelude.Maybe StackTraceSDKInfo)@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.sources' @:: Lens' EnhancedStackTrace (Data.Map.Map Data.Text.Text StackTraceFileSlice)@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.stacks' @:: Lens' EnhancedStackTrace [StackTrace]@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.vec'stacks' @:: Lens' EnhancedStackTrace (Data.Vector.Vector StackTrace)@ -}
+data EnhancedStackTrace
+  = EnhancedStackTrace'_constructor {_EnhancedStackTrace'sdk :: !(Prelude.Maybe StackTraceSDKInfo),
+                                     _EnhancedStackTrace'sources :: !(Data.Map.Map Data.Text.Text StackTraceFileSlice),
+                                     _EnhancedStackTrace'stacks :: !(Data.Vector.Vector StackTrace),
+                                     _EnhancedStackTrace'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show EnhancedStackTrace where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace "sdk" StackTraceSDKInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'sdk
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'sdk = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace "maybe'sdk" (Prelude.Maybe StackTraceSDKInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'sdk
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'sdk = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace "sources" (Data.Map.Map Data.Text.Text StackTraceFileSlice) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'sources
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'sources = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace "stacks" [StackTrace] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'stacks
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'stacks = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace "vec'stacks" (Data.Vector.Vector StackTrace) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'stacks
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'stacks = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message EnhancedStackTrace where
+  messageName _
+    = Data.Text.pack "temporal.api.sdk.v1.EnhancedStackTrace"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2EnhancedStackTrace\DC28\n\
+      \\ETXsdk\CAN\SOH \SOH(\v2&.temporal.api.sdk.v1.StackTraceSDKInfoR\ETXsdk\DC2N\n\
+      \\asources\CAN\STX \ETX(\v24.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntryR\asources\DC27\n\
+      \\ACKstacks\CAN\ETX \ETX(\v2\US.temporal.api.sdk.v1.StackTraceR\ACKstacks\SUBd\n\
+      \\fSourcesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2>\n\
+      \\ENQvalue\CAN\STX \SOH(\v2(.temporal.api.sdk.v1.StackTraceFileSliceR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        sdk__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sdk"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StackTraceSDKInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'sdk")) ::
+              Data.ProtoLens.FieldDescriptor EnhancedStackTrace
+        sources__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sources"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor EnhancedStackTrace'SourcesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"sources")) ::
+              Data.ProtoLens.FieldDescriptor EnhancedStackTrace
+        stacks__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "stacks"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StackTrace)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"stacks")) ::
+              Data.ProtoLens.FieldDescriptor EnhancedStackTrace
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, sdk__field_descriptor),
+           (Data.ProtoLens.Tag 2, sources__field_descriptor),
+           (Data.ProtoLens.Tag 3, stacks__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _EnhancedStackTrace'_unknownFields
+        (\ x__ y__ -> x__ {_EnhancedStackTrace'_unknownFields = y__})
+  defMessage
+    = EnhancedStackTrace'_constructor
+        {_EnhancedStackTrace'sdk = Prelude.Nothing,
+         _EnhancedStackTrace'sources = Data.Map.empty,
+         _EnhancedStackTrace'stacks = Data.Vector.Generic.empty,
+         _EnhancedStackTrace'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          EnhancedStackTrace
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld StackTrace
+             -> Data.ProtoLens.Encoding.Bytes.Parser EnhancedStackTrace
+        loop x mutable'stacks
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'stacks <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                            mutable'stacks)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'stacks") frozen'stacks x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "sdk"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"sdk") y x)
+                                  mutable'stacks
+                        18
+                          -> do !(entry :: EnhancedStackTrace'SourcesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                 (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                     Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                       (Prelude.fromIntegral
+                                                                                          len)
+                                                                                       Data.ProtoLens.parseMessage)
+                                                                                 "sources"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"sources")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'stacks)
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "stacks"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'stacks y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'stacks
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'stacks <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                  Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'stacks)
+          "EnhancedStackTrace"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'sdk") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (Data.Monoid.mconcat
+                   (Prelude.map
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                    (Lens.Family2.set
+                                       (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                       (Data.ProtoLens.defMessage ::
+                                          EnhancedStackTrace'SourcesEntry)))))
+                      (Data.Map.toList
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"sources") _x))))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'stacks") _x))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData EnhancedStackTrace where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_EnhancedStackTrace'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_EnhancedStackTrace'sdk x__)
+                (Control.DeepSeq.deepseq
+                   (_EnhancedStackTrace'sources x__)
+                   (Control.DeepSeq.deepseq (_EnhancedStackTrace'stacks x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.key' @:: Lens' EnhancedStackTrace'SourcesEntry Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.value' @:: Lens' EnhancedStackTrace'SourcesEntry StackTraceFileSlice@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.maybe'value' @:: Lens' EnhancedStackTrace'SourcesEntry (Prelude.Maybe StackTraceFileSlice)@ -}
+data EnhancedStackTrace'SourcesEntry
+  = EnhancedStackTrace'SourcesEntry'_constructor {_EnhancedStackTrace'SourcesEntry'key :: !Data.Text.Text,
+                                                  _EnhancedStackTrace'SourcesEntry'value :: !(Prelude.Maybe StackTraceFileSlice),
+                                                  _EnhancedStackTrace'SourcesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show EnhancedStackTrace'SourcesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace'SourcesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'SourcesEntry'key
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'SourcesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace'SourcesEntry "value" StackTraceFileSlice where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'SourcesEntry'value
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'SourcesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField EnhancedStackTrace'SourcesEntry "maybe'value" (Prelude.Maybe StackTraceFileSlice) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _EnhancedStackTrace'SourcesEntry'value
+           (\ x__ y__ -> x__ {_EnhancedStackTrace'SourcesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message EnhancedStackTrace'SourcesEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fSourcesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2>\n\
+      \\ENQvalue\CAN\STX \SOH(\v2(.temporal.api.sdk.v1.StackTraceFileSliceR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor EnhancedStackTrace'SourcesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StackTraceFileSlice)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor EnhancedStackTrace'SourcesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _EnhancedStackTrace'SourcesEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_EnhancedStackTrace'SourcesEntry'_unknownFields = y__})
+  defMessage
+    = EnhancedStackTrace'SourcesEntry'_constructor
+        {_EnhancedStackTrace'SourcesEntry'key = Data.ProtoLens.fieldDefault,
+         _EnhancedStackTrace'SourcesEntry'value = Prelude.Nothing,
+         _EnhancedStackTrace'SourcesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          EnhancedStackTrace'SourcesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser EnhancedStackTrace'SourcesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SourcesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData EnhancedStackTrace'SourcesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_EnhancedStackTrace'SourcesEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_EnhancedStackTrace'SourcesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_EnhancedStackTrace'SourcesEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.locations' @:: Lens' StackTrace [StackTraceFileLocation]@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.vec'locations' @:: Lens' StackTrace (Data.Vector.Vector StackTraceFileLocation)@ -}
+data StackTrace
+  = StackTrace'_constructor {_StackTrace'locations :: !(Data.Vector.Vector StackTraceFileLocation),
+                             _StackTrace'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StackTrace where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StackTrace "locations" [StackTraceFileLocation] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTrace'locations
+           (\ x__ y__ -> x__ {_StackTrace'locations = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StackTrace "vec'locations" (Data.Vector.Vector StackTraceFileLocation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTrace'locations
+           (\ x__ y__ -> x__ {_StackTrace'locations = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StackTrace where
+  messageName _ = Data.Text.pack "temporal.api.sdk.v1.StackTrace"
+  packedMessageDescriptor _
+    = "\n\
+      \\n\
+      \StackTrace\DC2I\n\
+      \\tlocations\CAN\SOH \ETX(\v2+.temporal.api.sdk.v1.StackTraceFileLocationR\tlocations"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        locations__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "locations"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StackTraceFileLocation)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"locations")) ::
+              Data.ProtoLens.FieldDescriptor StackTrace
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, locations__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StackTrace'_unknownFields
+        (\ x__ y__ -> x__ {_StackTrace'_unknownFields = y__})
+  defMessage
+    = StackTrace'_constructor
+        {_StackTrace'locations = Data.Vector.Generic.empty,
+         _StackTrace'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StackTrace
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld StackTraceFileLocation
+             -> Data.ProtoLens.Encoding.Bytes.Parser StackTrace
+        loop x mutable'locations
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'locations <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'locations)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'locations") frozen'locations x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "locations"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'locations y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'locations
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'locations <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'locations)
+          "StackTrace"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'locations") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData StackTrace where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StackTrace'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_StackTrace'locations x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.filePath' @:: Lens' StackTraceFileLocation Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.line' @:: Lens' StackTraceFileLocation Data.Int.Int32@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.column' @:: Lens' StackTraceFileLocation Data.Int.Int32@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.functionName' @:: Lens' StackTraceFileLocation Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.internalCode' @:: Lens' StackTraceFileLocation Prelude.Bool@ -}
+data StackTraceFileLocation
+  = StackTraceFileLocation'_constructor {_StackTraceFileLocation'filePath :: !Data.Text.Text,
+                                         _StackTraceFileLocation'line :: !Data.Int.Int32,
+                                         _StackTraceFileLocation'column :: !Data.Int.Int32,
+                                         _StackTraceFileLocation'functionName :: !Data.Text.Text,
+                                         _StackTraceFileLocation'internalCode :: !Prelude.Bool,
+                                         _StackTraceFileLocation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StackTraceFileLocation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StackTraceFileLocation "filePath" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileLocation'filePath
+           (\ x__ y__ -> x__ {_StackTraceFileLocation'filePath = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StackTraceFileLocation "line" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileLocation'line
+           (\ x__ y__ -> x__ {_StackTraceFileLocation'line = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StackTraceFileLocation "column" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileLocation'column
+           (\ x__ y__ -> x__ {_StackTraceFileLocation'column = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StackTraceFileLocation "functionName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileLocation'functionName
+           (\ x__ y__ -> x__ {_StackTraceFileLocation'functionName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StackTraceFileLocation "internalCode" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileLocation'internalCode
+           (\ x__ y__ -> x__ {_StackTraceFileLocation'internalCode = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StackTraceFileLocation where
+  messageName _
+    = Data.Text.pack "temporal.api.sdk.v1.StackTraceFileLocation"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNStackTraceFileLocation\DC2\ESC\n\
+      \\tfile_path\CAN\SOH \SOH(\tR\bfilePath\DC2\DC2\n\
+      \\EOTline\CAN\STX \SOH(\ENQR\EOTline\DC2\SYN\n\
+      \\ACKcolumn\CAN\ETX \SOH(\ENQR\ACKcolumn\DC2#\n\
+      \\rfunction_name\CAN\EOT \SOH(\tR\ffunctionName\DC2#\n\
+      \\rinternal_code\CAN\ENQ \SOH(\bR\finternalCode"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        filePath__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "file_path"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"filePath")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileLocation
+        line__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "line"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"line")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileLocation
+        column__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "column"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"column")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileLocation
+        functionName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "function_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"functionName")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileLocation
+        internalCode__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "internal_code"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"internalCode")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileLocation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, filePath__field_descriptor),
+           (Data.ProtoLens.Tag 2, line__field_descriptor),
+           (Data.ProtoLens.Tag 3, column__field_descriptor),
+           (Data.ProtoLens.Tag 4, functionName__field_descriptor),
+           (Data.ProtoLens.Tag 5, internalCode__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StackTraceFileLocation'_unknownFields
+        (\ x__ y__ -> x__ {_StackTraceFileLocation'_unknownFields = y__})
+  defMessage
+    = StackTraceFileLocation'_constructor
+        {_StackTraceFileLocation'filePath = Data.ProtoLens.fieldDefault,
+         _StackTraceFileLocation'line = Data.ProtoLens.fieldDefault,
+         _StackTraceFileLocation'column = Data.ProtoLens.fieldDefault,
+         _StackTraceFileLocation'functionName = Data.ProtoLens.fieldDefault,
+         _StackTraceFileLocation'internalCode = Data.ProtoLens.fieldDefault,
+         _StackTraceFileLocation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StackTraceFileLocation
+          -> Data.ProtoLens.Encoding.Bytes.Parser StackTraceFileLocation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "file_path"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"filePath") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "line"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"line") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "column"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"column") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "function_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"functionName") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "internal_code"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"internalCode") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StackTraceFileLocation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"filePath") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"line") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"column") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"functionName") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"internalCode") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (\ b -> if b then 1 else 0) _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData StackTraceFileLocation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StackTraceFileLocation'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StackTraceFileLocation'filePath x__)
+                (Control.DeepSeq.deepseq
+                   (_StackTraceFileLocation'line x__)
+                   (Control.DeepSeq.deepseq
+                      (_StackTraceFileLocation'column x__)
+                      (Control.DeepSeq.deepseq
+                         (_StackTraceFileLocation'functionName x__)
+                         (Control.DeepSeq.deepseq
+                            (_StackTraceFileLocation'internalCode x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.lineOffset' @:: Lens' StackTraceFileSlice Data.Word.Word32@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.content' @:: Lens' StackTraceFileSlice Data.Text.Text@ -}
+data StackTraceFileSlice
+  = StackTraceFileSlice'_constructor {_StackTraceFileSlice'lineOffset :: !Data.Word.Word32,
+                                      _StackTraceFileSlice'content :: !Data.Text.Text,
+                                      _StackTraceFileSlice'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StackTraceFileSlice where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StackTraceFileSlice "lineOffset" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileSlice'lineOffset
+           (\ x__ y__ -> x__ {_StackTraceFileSlice'lineOffset = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StackTraceFileSlice "content" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceFileSlice'content
+           (\ x__ y__ -> x__ {_StackTraceFileSlice'content = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StackTraceFileSlice where
+  messageName _
+    = Data.Text.pack "temporal.api.sdk.v1.StackTraceFileSlice"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3StackTraceFileSlice\DC2\US\n\
+      \\vline_offset\CAN\SOH \SOH(\rR\n\
+      \lineOffset\DC2\CAN\n\
+      \\acontent\CAN\STX \SOH(\tR\acontent"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        lineOffset__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "line_offset"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"lineOffset")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileSlice
+        content__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "content"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"content")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceFileSlice
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, lineOffset__field_descriptor),
+           (Data.ProtoLens.Tag 2, content__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StackTraceFileSlice'_unknownFields
+        (\ x__ y__ -> x__ {_StackTraceFileSlice'_unknownFields = y__})
+  defMessage
+    = StackTraceFileSlice'_constructor
+        {_StackTraceFileSlice'lineOffset = Data.ProtoLens.fieldDefault,
+         _StackTraceFileSlice'content = Data.ProtoLens.fieldDefault,
+         _StackTraceFileSlice'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StackTraceFileSlice
+          -> Data.ProtoLens.Encoding.Bytes.Parser StackTraceFileSlice
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "line_offset"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"lineOffset") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "content"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"content") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StackTraceFileSlice"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"lineOffset") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"content") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StackTraceFileSlice where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StackTraceFileSlice'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StackTraceFileSlice'lineOffset x__)
+                (Control.DeepSeq.deepseq (_StackTraceFileSlice'content x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.name' @:: Lens' StackTraceSDKInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields.version' @:: Lens' StackTraceSDKInfo Data.Text.Text@ -}
+data StackTraceSDKInfo
+  = StackTraceSDKInfo'_constructor {_StackTraceSDKInfo'name :: !Data.Text.Text,
+                                    _StackTraceSDKInfo'version :: !Data.Text.Text,
+                                    _StackTraceSDKInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StackTraceSDKInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StackTraceSDKInfo "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceSDKInfo'name
+           (\ x__ y__ -> x__ {_StackTraceSDKInfo'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StackTraceSDKInfo "version" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StackTraceSDKInfo'version
+           (\ x__ y__ -> x__ {_StackTraceSDKInfo'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StackTraceSDKInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.sdk.v1.StackTraceSDKInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1StackTraceSDKInfo\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\
+      \\aversion\CAN\STX \SOH(\tR\aversion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceSDKInfo
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor StackTraceSDKInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, version__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StackTraceSDKInfo'_unknownFields
+        (\ x__ y__ -> x__ {_StackTraceSDKInfo'_unknownFields = y__})
+  defMessage
+    = StackTraceSDKInfo'_constructor
+        {_StackTraceSDKInfo'name = Data.ProtoLens.fieldDefault,
+         _StackTraceSDKInfo'version = Data.ProtoLens.fieldDefault,
+         _StackTraceSDKInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StackTraceSDKInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser StackTraceSDKInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StackTraceSDKInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StackTraceSDKInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StackTraceSDKInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StackTraceSDKInfo'name x__)
+                (Control.DeepSeq.deepseq (_StackTraceSDKInfo'version x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \.temporal/api/sdk/v1/enhanced_stack_trace.proto\DC2\DC3temporal.api.sdk.v1\"\189\STX\n\
+    \\DC2EnhancedStackTrace\DC28\n\
+    \\ETXsdk\CAN\SOH \SOH(\v2&.temporal.api.sdk.v1.StackTraceSDKInfoR\ETXsdk\DC2N\n\
+    \\asources\CAN\STX \ETX(\v24.temporal.api.sdk.v1.EnhancedStackTrace.SourcesEntryR\asources\DC27\n\
+    \\ACKstacks\CAN\ETX \ETX(\v2\US.temporal.api.sdk.v1.StackTraceR\ACKstacks\SUBd\n\
+    \\fSourcesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2>\n\
+    \\ENQvalue\CAN\STX \SOH(\v2(.temporal.api.sdk.v1.StackTraceFileSliceR\ENQvalue:\STX8\SOH\"A\n\
+    \\DC1StackTraceSDKInfo\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2\CAN\n\
+    \\aversion\CAN\STX \SOH(\tR\aversion\"P\n\
+    \\DC3StackTraceFileSlice\DC2\US\n\
+    \\vline_offset\CAN\SOH \SOH(\rR\n\
+    \lineOffset\DC2\CAN\n\
+    \\acontent\CAN\STX \SOH(\tR\acontent\"\171\SOH\n\
+    \\SYNStackTraceFileLocation\DC2\ESC\n\
+    \\tfile_path\CAN\SOH \SOH(\tR\bfilePath\DC2\DC2\n\
+    \\EOTline\CAN\STX \SOH(\ENQR\EOTline\DC2\SYN\n\
+    \\ACKcolumn\CAN\ETX \SOH(\ENQR\ACKcolumn\DC2#\n\
+    \\rfunction_name\CAN\EOT \SOH(\tR\ffunctionName\DC2#\n\
+    \\rinternal_code\CAN\ENQ \SOH(\bR\finternalCode\"W\n\
+    \\n\
+    \StackTrace\DC2I\n\
+    \\tlocations\CAN\SOH \ETX(\v2+.temporal.api.sdk.v1.StackTraceFileLocationR\tlocationsB\133\SOH\n\
+    \\SYNio.temporal.api.sdk.v1B\ETBEnhancedStackTraceProtoP\SOHZ\GSgo.temporal.io/api/sdk/v1;sdk\170\STX\NAKTemporalio.Api.Sdk.V1\234\STX\CANTemporalio::Api::Sdk::V1J\248\RS\n\
+    \\ACK\DC2\EOT\SYN\NUL_\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2024 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\FS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL4\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL/\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL/\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL8\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL8\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL1\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL2\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL2\n\
+    \\\\n\
+    \\STX\EOT\NUL\DC2\EOT\"\NUL+\SOH\SUBP Internal structure used to create worker stack traces with references to code.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\"\b\SUB\n\
+    \W\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX$\EOT\RS\SUBJ Information pertaining to the SDK that the trace has been captured from.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX$\EOT\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX$\SYN\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX$\FS\GS\n\
+    \5\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX'\EOT1\SUB( Mapping of file path to file contents.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX'\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX'%,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX'/0\n\
+    \-\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX*\EOT#\SUB  Collection of stacks captured.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\EOT\DC2\ETX*\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX*\r\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX*\CAN\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX*!\"\n\
+    \\209\SOH\n\
+    \\STX\EOT\SOH\DC2\EOT0\NUL6\SOH\SUB\196\SOH Information pertaining to the SDK that the trace has been captured from.\n\
+    \ (-- api-linter: core::0123::resource-annotation=disabled\n\
+    \     aip.dev/not-precedent: Naming SDK version is optional. --)\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX0\b\EM\n\
+    \\RS\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX2\EOT\DC4\SUB\DC1 Name of the SDK\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX2\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX2\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX2\DC2\DC3\n\
+    \(\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX5\EOT\ETB\SUB\ESC Version string of the SDK\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX5\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX5\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX5\NAK\SYN\n\
+    \\DEL\n\
+    \\STX\EOT\STX\DC2\EOT9\NULB\SOH\SUBs \"Slice\" of a file starting at line_offset -- a line offset and code fragment corresponding to the worker's stack.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX9\b\ESC\n\
+    \\175\STX\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX>\EOT\ESC\SUB\161\STX Only used (possibly) to trim the file without breaking syntax highlighting. This is not optional, unlike\n\
+    \ the `line` property of a `StackTraceFileLocation`.\n\
+    \ (-- api-linter: core::0141::forbidden-types=disabled\n\
+    \     aip.dev/not-precedent: These really shouldn't have negative values. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX>\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX>\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX>\EM\SUB\n\
+    \O\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXA\EOT\ETB\SUBB Slice of a file with the respective OS-specific line terminator.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXA\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXA\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXA\NAK\SYN\n\
+    \\192\SOH\n\
+    \\STX\EOT\ETX\DC2\EOTF\NULY\SOH\SUB\179\SOH More specific location details of a file: its path, precise line and column numbers if applicable, and function name if available.\n\
+    \ In essence, a pointer to a location in a file\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETXF\b\RS\n\
+    \\138\SOH\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETXI\EOT\EM\SUB} Path to source file (absolute or relative).\n\
+    \ If the paths are relative, ensure that they are all relative to the same root.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXI\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXI\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXI\ETB\CAN\n\
+    \\142\SOH\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETXM\EOT\DC3\SUB\128\SOH Optional; If possible, SDK should send this -- this is required for displaying the code location.\n\
+    \ If not provided, set to -1.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXM\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXM\n\
+    \\SO\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXM\DC1\DC2\n\
+    \X\n\
+    \\EOT\EOT\ETX\STX\STX\DC2\ETXQ\EOT\NAK\SUBK Optional; if possible, SDK should send this.\n\
+    \ If not provided, set to -1.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\ETXQ\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETXQ\n\
+    \\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETXQ\DC3\DC4\n\
+    \m\n\
+    \\EOT\EOT\ETX\STX\ETX\DC2\ETXU\EOT\GS\SUB` Function name this line belongs to, if applicable.\n\
+    \ Used for falling back to stack trace view.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ETX\ENQ\DC2\ETXU\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\ETXU\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\ETXU\ESC\FS\n\
+    \d\n\
+    \\EOT\EOT\ETX\STX\EOT\DC2\ETXX\EOT\ESC\SUBW Flag to communicate whether a location should be hidden by default in the stack view.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\EOT\ENQ\DC2\ETXX\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\ETXX\t\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\ETXX\EM\SUB\n\
+    \F\n\
+    \\STX\EOT\EOT\DC2\EOT\\\NUL_\SOH\SUB: Collection of FileLocation messages from a single stack.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX\\\b\DC2\n\
+    \a\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETX^\EOT2\SUBT Collection of `FileLocation`s, each for a stack frame that comprise a stack trace.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\EOT\DC2\ETX^\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETX^\r#\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETX^$-\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETX^01b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/EnhancedStackTrace_Fields.hs b/src/Proto/Temporal/Api/Sdk/V1/EnhancedStackTrace_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/EnhancedStackTrace_Fields.hs
@@ -0,0 +1,133 @@
+{- This file was auto-generated from temporal/api/sdk/v1/enhanced_stack_trace.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+column ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "column" a) =>
+  Lens.Family2.LensLike' f s a
+column = Data.ProtoLens.Field.field @"column"
+content ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "content" a) =>
+  Lens.Family2.LensLike' f s a
+content = Data.ProtoLens.Field.field @"content"
+filePath ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "filePath" a) =>
+  Lens.Family2.LensLike' f s a
+filePath = Data.ProtoLens.Field.field @"filePath"
+functionName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "functionName" a) =>
+  Lens.Family2.LensLike' f s a
+functionName = Data.ProtoLens.Field.field @"functionName"
+internalCode ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "internalCode" a) =>
+  Lens.Family2.LensLike' f s a
+internalCode = Data.ProtoLens.Field.field @"internalCode"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+line ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "line" a) =>
+  Lens.Family2.LensLike' f s a
+line = Data.ProtoLens.Field.field @"line"
+lineOffset ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lineOffset" a) =>
+  Lens.Family2.LensLike' f s a
+lineOffset = Data.ProtoLens.Field.field @"lineOffset"
+locations ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "locations" a) =>
+  Lens.Family2.LensLike' f s a
+locations = Data.ProtoLens.Field.field @"locations"
+maybe'sdk ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'sdk" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'sdk = Data.ProtoLens.Field.field @"maybe'sdk"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+sdk ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "sdk" a) =>
+  Lens.Family2.LensLike' f s a
+sdk = Data.ProtoLens.Field.field @"sdk"
+sources ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "sources" a) =>
+  Lens.Family2.LensLike' f s a
+sources = Data.ProtoLens.Field.field @"sources"
+stacks ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "stacks" a) =>
+  Lens.Family2.LensLike' f s a
+stacks = Data.ProtoLens.Field.field @"stacks"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'locations ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'locations" a) =>
+  Lens.Family2.LensLike' f s a
+vec'locations = Data.ProtoLens.Field.field @"vec'locations"
+vec'stacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'stacks" a) =>
+  Lens.Family2.LensLike' f s a
+vec'stacks = Data.ProtoLens.Field.field @"vec'stacks"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/TaskCompleteMetadata.hs b/src/Proto/Temporal/Api/Sdk/V1/TaskCompleteMetadata.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/TaskCompleteMetadata.hs
@@ -0,0 +1,538 @@
+{- This file was auto-generated from temporal/api/sdk/v1/task_complete_metadata.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata (
+        WorkflowTaskCompletedMetadata()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields.coreUsedFlags' @:: Lens' WorkflowTaskCompletedMetadata [Data.Word.Word32]@
+         * 'Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields.vec'coreUsedFlags' @:: Lens' WorkflowTaskCompletedMetadata (Data.Vector.Unboxed.Vector Data.Word.Word32)@
+         * 'Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields.langUsedFlags' @:: Lens' WorkflowTaskCompletedMetadata [Data.Word.Word32]@
+         * 'Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields.vec'langUsedFlags' @:: Lens' WorkflowTaskCompletedMetadata (Data.Vector.Unboxed.Vector Data.Word.Word32)@
+         * 'Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields.sdkName' @:: Lens' WorkflowTaskCompletedMetadata Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields.sdkVersion' @:: Lens' WorkflowTaskCompletedMetadata Data.Text.Text@ -}
+data WorkflowTaskCompletedMetadata
+  = WorkflowTaskCompletedMetadata'_constructor {_WorkflowTaskCompletedMetadata'coreUsedFlags :: !(Data.Vector.Unboxed.Vector Data.Word.Word32),
+                                                _WorkflowTaskCompletedMetadata'langUsedFlags :: !(Data.Vector.Unboxed.Vector Data.Word.Word32),
+                                                _WorkflowTaskCompletedMetadata'sdkName :: !Data.Text.Text,
+                                                _WorkflowTaskCompletedMetadata'sdkVersion :: !Data.Text.Text,
+                                                _WorkflowTaskCompletedMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowTaskCompletedMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedMetadata "coreUsedFlags" [Data.Word.Word32] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedMetadata'coreUsedFlags
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedMetadata'coreUsedFlags = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedMetadata "vec'coreUsedFlags" (Data.Vector.Unboxed.Vector Data.Word.Word32) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedMetadata'coreUsedFlags
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedMetadata'coreUsedFlags = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedMetadata "langUsedFlags" [Data.Word.Word32] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedMetadata'langUsedFlags
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedMetadata'langUsedFlags = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedMetadata "vec'langUsedFlags" (Data.Vector.Unboxed.Vector Data.Word.Word32) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedMetadata'langUsedFlags
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedMetadata'langUsedFlags = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedMetadata "sdkName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedMetadata'sdkName
+           (\ x__ y__ -> x__ {_WorkflowTaskCompletedMetadata'sdkName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowTaskCompletedMetadata "sdkVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowTaskCompletedMetadata'sdkVersion
+           (\ x__ y__
+              -> x__ {_WorkflowTaskCompletedMetadata'sdkVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowTaskCompletedMetadata where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.sdk.v1.WorkflowTaskCompletedMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSWorkflowTaskCompletedMetadata\DC2&\n\
+      \\SIcore_used_flags\CAN\SOH \ETX(\rR\rcoreUsedFlags\DC2&\n\
+      \\SIlang_used_flags\CAN\STX \ETX(\rR\rlangUsedFlags\DC2\EM\n\
+      \\bsdk_name\CAN\ETX \SOH(\tR\asdkName\DC2\US\n\
+      \\vsdk_version\CAN\EOT \SOH(\tR\n\
+      \sdkVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        coreUsedFlags__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "core_used_flags"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"coreUsedFlags")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedMetadata
+        langUsedFlags__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "lang_used_flags"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"langUsedFlags")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedMetadata
+        sdkName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sdk_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"sdkName")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedMetadata
+        sdkVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "sdk_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"sdkVersion")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowTaskCompletedMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, coreUsedFlags__field_descriptor),
+           (Data.ProtoLens.Tag 2, langUsedFlags__field_descriptor),
+           (Data.ProtoLens.Tag 3, sdkName__field_descriptor),
+           (Data.ProtoLens.Tag 4, sdkVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowTaskCompletedMetadata'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowTaskCompletedMetadata'_unknownFields = y__})
+  defMessage
+    = WorkflowTaskCompletedMetadata'_constructor
+        {_WorkflowTaskCompletedMetadata'coreUsedFlags = Data.Vector.Generic.empty,
+         _WorkflowTaskCompletedMetadata'langUsedFlags = Data.Vector.Generic.empty,
+         _WorkflowTaskCompletedMetadata'sdkName = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedMetadata'sdkVersion = Data.ProtoLens.fieldDefault,
+         _WorkflowTaskCompletedMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowTaskCompletedMetadata
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word32
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word32
+                -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowTaskCompletedMetadata
+        loop x mutable'coreUsedFlags mutable'langUsedFlags
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'coreUsedFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                   mutable'coreUsedFlags)
+                      frozen'langUsedFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                   mutable'langUsedFlags)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'coreUsedFlags")
+                              frozen'coreUsedFlags
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'langUsedFlags")
+                                 frozen'langUsedFlags x)))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.fromIntegral
+                                           Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                        "core_used_flags"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'coreUsedFlags y)
+                                loop x v mutable'langUsedFlags
+                        10
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.fromIntegral
+                                                                       Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                                                    "core_used_flags"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'coreUsedFlags)
+                                loop x y mutable'langUsedFlags
+                        16
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.fromIntegral
+                                           Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                        "lang_used_flags"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'langUsedFlags y)
+                                loop x mutable'coreUsedFlags v
+                        18
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.fromIntegral
+                                                                       Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                                                    "lang_used_flags"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'langUsedFlags)
+                                loop x mutable'coreUsedFlags y
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "sdk_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"sdkName") y x)
+                                  mutable'coreUsedFlags mutable'langUsedFlags
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "sdk_version"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"sdkVersion") y x)
+                                  mutable'coreUsedFlags mutable'langUsedFlags
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'coreUsedFlags mutable'langUsedFlags
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'coreUsedFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         Data.ProtoLens.Encoding.Growing.new
+              mutable'langUsedFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'coreUsedFlags
+                mutable'langUsedFlags)
+          "WorkflowTaskCompletedMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                p = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'coreUsedFlags") _x
+              in
+                if Data.Vector.Generic.null p then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         (Data.ProtoLens.Encoding.Bytes.runBuilder
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               p))))
+             ((Data.Monoid.<>)
+                (let
+                   p = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'langUsedFlags") _x
+                 in
+                   if Data.Vector.Generic.null p then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            (Data.ProtoLens.Encoding.Bytes.runBuilder
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  p))))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"sdkName") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"sdkVersion") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowTaskCompletedMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowTaskCompletedMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowTaskCompletedMetadata'coreUsedFlags x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowTaskCompletedMetadata'langUsedFlags x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowTaskCompletedMetadata'sdkName x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowTaskCompletedMetadata'sdkVersion x__) ()))))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \0temporal/api/sdk/v1/task_complete_metadata.proto\DC2\DC3temporal.api.sdk.v1\"\171\SOH\n\
+    \\GSWorkflowTaskCompletedMetadata\DC2&\n\
+    \\SIcore_used_flags\CAN\SOH \ETX(\rR\rcoreUsedFlags\DC2&\n\
+    \\SIlang_used_flags\CAN\STX \ETX(\rR\rlangUsedFlags\DC2\EM\n\
+    \\bsdk_name\CAN\ETX \SOH(\tR\asdkName\DC2\US\n\
+    \\vsdk_version\CAN\EOT \SOH(\tR\n\
+    \sdkVersionB\135\SOH\n\
+    \\SYNio.temporal.api.sdk.v1B\EMTaskCompleteMetadataProtoP\SOHZ\GSgo.temporal.io/api/sdk/v1;sdk\170\STX\NAKTemporalio.Api.Sdk.V1\234\STX\CANTemporalio::Api::Sdk::V1J\164\FS\n\
+    \\ACK\DC2\EOT\SYN\NULK\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\FS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL4\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL/\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL/\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL:\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL:\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL1\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL2\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL2\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT!\NULK\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX!\b%\n\
+    \\143\b\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX5\STX&\SUB\129\b Internal flags used by the core SDK. SDKs using flags must comply with the following behavior:\n\
+    \\n\
+    \ During replay:\n\
+    \ * If a flag is not recognized (value is too high or not defined), it must fail the workflow\n\
+    \   task.\n\
+    \ * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for\n\
+    \   that flag during and after this WFT are allowed to assume that the flag is present.\n\
+    \ * If a code check for a flag does not find the flag in the set of used flags, it must take\n\
+    \   the branch corresponding to the absence of that flag.\n\
+    \\n\
+    \ During non-replay execution of new WFTs:\n\
+    \ * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not\n\
+    \   previously recorded) flags when completing the WFT.\n\
+    \\n\
+    \ SDKs which are too old to even know about this field at all are considered to produce\n\
+    \ undefined behavior if they replay workflows which used this mechanism.\n\
+    \\n\
+    \ (-- api-linter: core::0141::forbidden-types=disabled\n\
+    \     aip.dev/not-precedent: These really shouldn't have negative values. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\EOT\DC2\ETX5\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX5\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX5\DC2!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX5$%\n\
+    \\139\ETX\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX=\STX&\SUB\253\STX Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages\n\
+    \ here as processing a workflow with a different language than the one which authored it is\n\
+    \ already undefined behavior. See `core_used_patches` for more.\n\
+    \\n\
+    \ (-- api-linter: core::0141::forbidden-types=disabled\n\
+    \     aip.dev/not-precedent: These really shouldn't have negative values. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX=\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX=\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX=\DC2!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX=$%\n\
+    \\137\ETX\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETXE\STX\SYN\SUB\251\STX Name of the SDK that processed the task. This is usually something like \"temporal-go\" and is\n\
+    \ usually the same as client-name gRPC header. This should only be set if its value changed\n\
+    \ since the last time recorded on the workflow (or be set on the first task).\n\
+    \\n\
+    \ (-- api-linter: core::0122::name-suffix=disabled\n\
+    \     aip.dev/not-precedent: We're ok with a name suffix here. --)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETXE\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETXE\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETXE\DC4\NAK\n\
+    \\149\STX\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETXJ\STX\EM\SUB\135\STX Version of the SDK that processed the task. This is usually something like \"1.20.0\" and is\n\
+    \ usually the same as client-version gRPC header. This should only be set if its value changed\n\
+    \ since the last time recorded on the workflow (or be set on the first task).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETXJ\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETXJ\t\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETXJ\ETB\CANb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/TaskCompleteMetadata_Fields.hs b/src/Proto/Temporal/Api/Sdk/V1/TaskCompleteMetadata_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/TaskCompleteMetadata_Fields.hs
@@ -0,0 +1,64 @@
+{- This file was auto-generated from temporal/api/sdk/v1/task_complete_metadata.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+coreUsedFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "coreUsedFlags" a) =>
+  Lens.Family2.LensLike' f s a
+coreUsedFlags = Data.ProtoLens.Field.field @"coreUsedFlags"
+langUsedFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "langUsedFlags" a) =>
+  Lens.Family2.LensLike' f s a
+langUsedFlags = Data.ProtoLens.Field.field @"langUsedFlags"
+sdkName ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "sdkName" a) =>
+  Lens.Family2.LensLike' f s a
+sdkName = Data.ProtoLens.Field.field @"sdkName"
+sdkVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "sdkVersion" a) =>
+  Lens.Family2.LensLike' f s a
+sdkVersion = Data.ProtoLens.Field.field @"sdkVersion"
+vec'coreUsedFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'coreUsedFlags" a) =>
+  Lens.Family2.LensLike' f s a
+vec'coreUsedFlags = Data.ProtoLens.Field.field @"vec'coreUsedFlags"
+vec'langUsedFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'langUsedFlags" a) =>
+  Lens.Family2.LensLike' f s a
+vec'langUsedFlags = Data.ProtoLens.Field.field @"vec'langUsedFlags"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/UserMetadata.hs b/src/Proto/Temporal/Api/Sdk/V1/UserMetadata.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/UserMetadata.hs
@@ -0,0 +1,295 @@
+{- This file was auto-generated from temporal/api/sdk/v1/user_metadata.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.UserMetadata (
+        UserMetadata()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.UserMetadata_Fields.summary' @:: Lens' UserMetadata Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Sdk.V1.UserMetadata_Fields.maybe'summary' @:: Lens' UserMetadata (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Api.Sdk.V1.UserMetadata_Fields.details' @:: Lens' UserMetadata Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Api.Sdk.V1.UserMetadata_Fields.maybe'details' @:: Lens' UserMetadata (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data UserMetadata
+  = UserMetadata'_constructor {_UserMetadata'summary :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                               _UserMetadata'details :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                               _UserMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UserMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UserMetadata "summary" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UserMetadata'summary
+           (\ x__ y__ -> x__ {_UserMetadata'summary = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UserMetadata "maybe'summary" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UserMetadata'summary
+           (\ x__ y__ -> x__ {_UserMetadata'summary = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UserMetadata "details" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UserMetadata'details
+           (\ x__ y__ -> x__ {_UserMetadata'details = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UserMetadata "maybe'details" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UserMetadata'details
+           (\ x__ y__ -> x__ {_UserMetadata'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UserMetadata where
+  messageName _ = Data.Text.pack "temporal.api.sdk.v1.UserMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\fUserMetadata\DC29\n\
+      \\asummary\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\asummary\DC29\n\
+      \\adetails\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        summary__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "summary"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'summary")) ::
+              Data.ProtoLens.FieldDescriptor UserMetadata
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'details")) ::
+              Data.ProtoLens.FieldDescriptor UserMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, summary__field_descriptor),
+           (Data.ProtoLens.Tag 2, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UserMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_UserMetadata'_unknownFields = y__})
+  defMessage
+    = UserMetadata'_constructor
+        {_UserMetadata'summary = Prelude.Nothing,
+         _UserMetadata'details = Prelude.Nothing,
+         _UserMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UserMetadata -> Data.ProtoLens.Encoding.Bytes.Parser UserMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "summary"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"summary") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "details"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"details") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UserMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'summary") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'details") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UserMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UserMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UserMetadata'summary x__)
+                (Control.DeepSeq.deepseq (_UserMetadata'details x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \'temporal/api/sdk/v1/user_metadata.proto\DC2\DC3temporal.api.sdk.v1\SUB$temporal/api/common/v1/message.proto\"\132\SOH\n\
+    \\fUserMetadata\DC29\n\
+    \\asummary\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\asummary\DC29\n\
+    \\adetails\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\adetailsB\DEL\n\
+    \\SYNio.temporal.api.sdk.v1B\DC1UserMetadataProtoP\SOHZ\GSgo.temporal.io/api/sdk/v1;sdk\170\STX\NAKTemporalio.Api.Sdk.V1\234\STX\CANTemporalio::Api::Sdk::V1J\164\DLE\n\
+    \\ACK\DC2\EOT\SYN\NUL0\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2024 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\FS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL4\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL/\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL/\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL2\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL2\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL1\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL2\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL2\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\"\NUL.\n\
+    \K\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL0\SOH\SUB? Information a user can set, often for use by user interfaces.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b\DC4\n\
+    \\189\STX\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX*\STX-\SUB\175\STX Short-form text that provides a summary. This payload should be a \"json/plain\"-encoded payload\n\
+    \ that is a single JSON string for use in user interfaces. User interface formatting may not\n\
+    \ apply to this text when used in \"title\" situations. The payload data section is limited to 400\n\
+    \ bytes by default.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX*\STX \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX*!(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX*+,\n\
+    \\165\STX\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX/\STX-\SUB\151\STX Long-form text that provides details. This payload should be a \"json/plain\"-encoded payload\n\
+    \ that is a single JSON string for use in user interfaces. User interface formatting may apply to\n\
+    \ this text in common use. The payload data section is limited to 20000 bytes by default.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX/\STX \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX/!(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX/+,b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/UserMetadata_Fields.hs b/src/Proto/Temporal/Api/Sdk/V1/UserMetadata_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/UserMetadata_Fields.hs
@@ -0,0 +1,52 @@
+{- This file was auto-generated from temporal/api/sdk/v1/user_metadata.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.UserMetadata_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+maybe'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'details" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'details = Data.ProtoLens.Field.field @"maybe'details"
+maybe'summary ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'summary" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'summary = Data.ProtoLens.Field.field @"maybe'summary"
+summary ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "summary" a) =>
+  Lens.Family2.LensLike' f s a
+summary = Data.ProtoLens.Field.field @"summary"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/WorkflowMetadata.hs b/src/Proto/Temporal/Api/Sdk/V1/WorkflowMetadata.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/WorkflowMetadata.hs
@@ -0,0 +1,879 @@
+{- This file was auto-generated from temporal/api/sdk/v1/workflow_metadata.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.WorkflowMetadata (
+        WorkflowDefinition(), WorkflowInteractionDefinition(),
+        WorkflowMetadata()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.type'' @:: Lens' WorkflowDefinition Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.queryDefinitions' @:: Lens' WorkflowDefinition [WorkflowInteractionDefinition]@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.vec'queryDefinitions' @:: Lens' WorkflowDefinition (Data.Vector.Vector WorkflowInteractionDefinition)@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.signalDefinitions' @:: Lens' WorkflowDefinition [WorkflowInteractionDefinition]@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.vec'signalDefinitions' @:: Lens' WorkflowDefinition (Data.Vector.Vector WorkflowInteractionDefinition)@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.updateDefinitions' @:: Lens' WorkflowDefinition [WorkflowInteractionDefinition]@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.vec'updateDefinitions' @:: Lens' WorkflowDefinition (Data.Vector.Vector WorkflowInteractionDefinition)@ -}
+data WorkflowDefinition
+  = WorkflowDefinition'_constructor {_WorkflowDefinition'type' :: !Data.Text.Text,
+                                     _WorkflowDefinition'queryDefinitions :: !(Data.Vector.Vector WorkflowInteractionDefinition),
+                                     _WorkflowDefinition'signalDefinitions :: !(Data.Vector.Vector WorkflowInteractionDefinition),
+                                     _WorkflowDefinition'updateDefinitions :: !(Data.Vector.Vector WorkflowInteractionDefinition),
+                                     _WorkflowDefinition'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowDefinition where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "type'" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'type'
+           (\ x__ y__ -> x__ {_WorkflowDefinition'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "queryDefinitions" [WorkflowInteractionDefinition] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'queryDefinitions
+           (\ x__ y__ -> x__ {_WorkflowDefinition'queryDefinitions = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "vec'queryDefinitions" (Data.Vector.Vector WorkflowInteractionDefinition) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'queryDefinitions
+           (\ x__ y__ -> x__ {_WorkflowDefinition'queryDefinitions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "signalDefinitions" [WorkflowInteractionDefinition] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'signalDefinitions
+           (\ x__ y__ -> x__ {_WorkflowDefinition'signalDefinitions = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "vec'signalDefinitions" (Data.Vector.Vector WorkflowInteractionDefinition) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'signalDefinitions
+           (\ x__ y__ -> x__ {_WorkflowDefinition'signalDefinitions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "updateDefinitions" [WorkflowInteractionDefinition] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'updateDefinitions
+           (\ x__ y__ -> x__ {_WorkflowDefinition'updateDefinitions = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowDefinition "vec'updateDefinitions" (Data.Vector.Vector WorkflowInteractionDefinition) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowDefinition'updateDefinitions
+           (\ x__ y__ -> x__ {_WorkflowDefinition'updateDefinitions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowDefinition where
+  messageName _
+    = Data.Text.pack "temporal.api.sdk.v1.WorkflowDefinition"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2WorkflowDefinition\DC2\DC2\n\
+      \\EOTtype\CAN\SOH \SOH(\tR\EOTtype\DC2_\n\
+      \\DC1query_definitions\CAN\STX \ETX(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\DLEqueryDefinitions\DC2a\n\
+      \\DC2signal_definitions\CAN\ETX \ETX(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\DC1signalDefinitions\DC2a\n\
+      \\DC2update_definitions\CAN\EOT \ETX(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\DC1updateDefinitions"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"type'")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowDefinition
+        queryDefinitions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_definitions"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowInteractionDefinition)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"queryDefinitions")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowDefinition
+        signalDefinitions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_definitions"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowInteractionDefinition)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"signalDefinitions")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowDefinition
+        updateDefinitions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_definitions"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowInteractionDefinition)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"updateDefinitions")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowDefinition
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, type'__field_descriptor),
+           (Data.ProtoLens.Tag 2, queryDefinitions__field_descriptor),
+           (Data.ProtoLens.Tag 3, signalDefinitions__field_descriptor),
+           (Data.ProtoLens.Tag 4, updateDefinitions__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowDefinition'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowDefinition'_unknownFields = y__})
+  defMessage
+    = WorkflowDefinition'_constructor
+        {_WorkflowDefinition'type' = Data.ProtoLens.fieldDefault,
+         _WorkflowDefinition'queryDefinitions = Data.Vector.Generic.empty,
+         _WorkflowDefinition'signalDefinitions = Data.Vector.Generic.empty,
+         _WorkflowDefinition'updateDefinitions = Data.Vector.Generic.empty,
+         _WorkflowDefinition'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowDefinition
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkflowInteractionDefinition
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkflowInteractionDefinition
+                -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkflowInteractionDefinition
+                   -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowDefinition
+        loop
+          x
+          mutable'queryDefinitions
+          mutable'signalDefinitions
+          mutable'updateDefinitions
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'queryDefinitions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                   (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                      mutable'queryDefinitions)
+                      frozen'signalDefinitions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                    (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                       mutable'signalDefinitions)
+                      frozen'updateDefinitions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                    (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                       mutable'updateDefinitions)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'queryDefinitions")
+                              frozen'queryDefinitions
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'signalDefinitions")
+                                 frozen'signalDefinitions
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"vec'updateDefinitions")
+                                    frozen'updateDefinitions x))))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                                  mutable'queryDefinitions mutable'signalDefinitions
+                                  mutable'updateDefinitions
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "query_definitions"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'queryDefinitions y)
+                                loop x v mutable'signalDefinitions mutable'updateDefinitions
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "signal_definitions"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'signalDefinitions y)
+                                loop x mutable'queryDefinitions v mutable'updateDefinitions
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "update_definitions"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'updateDefinitions y)
+                                loop x mutable'queryDefinitions mutable'signalDefinitions v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'queryDefinitions mutable'signalDefinitions
+                                  mutable'updateDefinitions
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'queryDefinitions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            Data.ProtoLens.Encoding.Growing.new
+              mutable'signalDefinitions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             Data.ProtoLens.Encoding.Growing.new
+              mutable'updateDefinitions <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'queryDefinitions
+                mutable'signalDefinitions mutable'updateDefinitions)
+          "WorkflowDefinition"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"type'") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'queryDefinitions") _x))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'signalDefinitions") _x))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"vec'updateDefinitions") _x))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData WorkflowDefinition where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowDefinition'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowDefinition'type' x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowDefinition'queryDefinitions x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowDefinition'signalDefinitions x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowDefinition'updateDefinitions x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.name' @:: Lens' WorkflowInteractionDefinition Data.Text.Text@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.description' @:: Lens' WorkflowInteractionDefinition Data.Text.Text@ -}
+data WorkflowInteractionDefinition
+  = WorkflowInteractionDefinition'_constructor {_WorkflowInteractionDefinition'name :: !Data.Text.Text,
+                                                _WorkflowInteractionDefinition'description :: !Data.Text.Text,
+                                                _WorkflowInteractionDefinition'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowInteractionDefinition where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowInteractionDefinition "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowInteractionDefinition'name
+           (\ x__ y__ -> x__ {_WorkflowInteractionDefinition'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowInteractionDefinition "description" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowInteractionDefinition'description
+           (\ x__ y__
+              -> x__ {_WorkflowInteractionDefinition'description = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowInteractionDefinition where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.sdk.v1.WorkflowInteractionDefinition"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSWorkflowInteractionDefinition\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2 \n\
+      \\vdescription\CAN\STX \SOH(\tR\vdescription"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowInteractionDefinition
+        description__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "description"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"description")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowInteractionDefinition
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, description__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowInteractionDefinition'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowInteractionDefinition'_unknownFields = y__})
+  defMessage
+    = WorkflowInteractionDefinition'_constructor
+        {_WorkflowInteractionDefinition'name = Data.ProtoLens.fieldDefault,
+         _WorkflowInteractionDefinition'description = Data.ProtoLens.fieldDefault,
+         _WorkflowInteractionDefinition'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowInteractionDefinition
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowInteractionDefinition
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "description"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"description") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowInteractionDefinition"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"description") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowInteractionDefinition where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowInteractionDefinition'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowInteractionDefinition'name x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowInteractionDefinition'description x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.definition' @:: Lens' WorkflowMetadata WorkflowDefinition@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.maybe'definition' @:: Lens' WorkflowMetadata (Prelude.Maybe WorkflowDefinition)@
+         * 'Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields.currentDetails' @:: Lens' WorkflowMetadata Data.Text.Text@ -}
+data WorkflowMetadata
+  = WorkflowMetadata'_constructor {_WorkflowMetadata'definition :: !(Prelude.Maybe WorkflowDefinition),
+                                   _WorkflowMetadata'currentDetails :: !Data.Text.Text,
+                                   _WorkflowMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowMetadata "definition" WorkflowDefinition where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowMetadata'definition
+           (\ x__ y__ -> x__ {_WorkflowMetadata'definition = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowMetadata "maybe'definition" (Prelude.Maybe WorkflowDefinition) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowMetadata'definition
+           (\ x__ y__ -> x__ {_WorkflowMetadata'definition = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowMetadata "currentDetails" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowMetadata'currentDetails
+           (\ x__ y__ -> x__ {_WorkflowMetadata'currentDetails = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowMetadata where
+  messageName _
+    = Data.Text.pack "temporal.api.sdk.v1.WorkflowMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEWorkflowMetadata\DC2G\n\
+      \\n\
+      \definition\CAN\SOH \SOH(\v2'.temporal.api.sdk.v1.WorkflowDefinitionR\n\
+      \definition\DC2'\n\
+      \\SIcurrent_details\CAN\STX \SOH(\tR\SOcurrentDetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        definition__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "definition"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowDefinition)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'definition")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowMetadata
+        currentDetails__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_details"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"currentDetails")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, definition__field_descriptor),
+           (Data.ProtoLens.Tag 2, currentDetails__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowMetadata'_unknownFields = y__})
+  defMessage
+    = WorkflowMetadata'_constructor
+        {_WorkflowMetadata'definition = Prelude.Nothing,
+         _WorkflowMetadata'currentDetails = Data.ProtoLens.fieldDefault,
+         _WorkflowMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowMetadata
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "definition"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"definition") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "current_details"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentDetails") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'definition") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"currentDetails") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowMetadata'definition x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowMetadata'currentDetails x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \+temporal/api/sdk/v1/workflow_metadata.proto\DC2\DC3temporal.api.sdk.v1\"\132\SOH\n\
+    \\DLEWorkflowMetadata\DC2G\n\
+    \\n\
+    \definition\CAN\SOH \SOH(\v2'.temporal.api.sdk.v1.WorkflowDefinitionR\n\
+    \definition\DC2'\n\
+    \\SIcurrent_details\CAN\STX \SOH(\tR\SOcurrentDetails\"\207\STX\n\
+    \\DC2WorkflowDefinition\DC2\DC2\n\
+    \\EOTtype\CAN\SOH \SOH(\tR\EOTtype\DC2_\n\
+    \\DC1query_definitions\CAN\STX \ETX(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\DLEqueryDefinitions\DC2a\n\
+    \\DC2signal_definitions\CAN\ETX \ETX(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\DC1signalDefinitions\DC2a\n\
+    \\DC2update_definitions\CAN\EOT \ETX(\v22.temporal.api.sdk.v1.WorkflowInteractionDefinitionR\DC1updateDefinitions\"U\n\
+    \\GSWorkflowInteractionDefinition\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC2 \n\
+    \\vdescription\CAN\STX \SOH(\tR\vdescriptionB\131\SOH\n\
+    \\SYNio.temporal.api.sdk.v1B\NAKWorkflowMetadataProtoP\SOHZ\GSgo.temporal.io/api/sdk/v1;sdk\170\STX\NAKTemporalio.Api.Sdk.V1\234\STX\CANTemporalio::Api::Sdk::V1J\206\ETB\n\
+    \\ACK\DC2\EOT\SYN\NULF\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\FS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL4\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL/\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL/\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL6\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL6\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL1\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL1\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL2\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL2\n\
+    \c\n\
+    \\STX\EOT\NUL\DC2\EOT\"\NUL(\SOH\SUBW The name of the query to retrieve this information is `__temporal_workflow_metadata`.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\"\b\CAN\n\
+    \A\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX$\STX$\SUB4 Metadata provided at declaration or creation time.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX$\STX\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX$\NAK\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX$\"#\n\
+    \\173\SOH\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX'\STX\GS\SUB\159\SOH Current long-form details of the workflow's state. This is used by user interfaces to show\n\
+    \ long-form text. This text may be formatted by the user interface.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX'\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX'\t\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX'\ESC\FS\n\
+    \?\n\
+    \\STX\EOT\SOH\DC2\EOT+\NUL8\SOH\SUB3 (-- api-linter: core::0203::optional=disabled --)\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX+\b\SUB\n\
+    \\135\SOH\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX.\STX\DC2\SUBz A name scoped by the task queue that maps to this workflow definition.\n\
+    \ If missing, this workflow is a dynamic workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX.\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX.\t\r\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX.\DLE\DC1\n\
+    \1\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX1\STX?\SUB$ Query definitions, sorted by name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX1\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX1\v(\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX1):\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX1=>\n\
+    \2\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX4\STX@\SUB% Signal definitions, sorted by name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\EOT\DC2\ETX4\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX4\v(\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX4);\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX4>?\n\
+    \2\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETX7\STX@\SUB% Update definitions, sorted by name.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\EOT\DC2\ETX7\STX\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETX7\v(\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX7);\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX7>?\n\
+    \\184\SOH\n\
+    \\STX\EOT\STX\DC2\EOT=\NULF\SOH\SUB\171\SOH (-- api-linter: core::0123::resource-annotation=disabled\n\
+    \     aip.dev/not-precedent: The `name` field is optional. --)\n\
+    \ (-- api-linter: core::0203::optional=disabled --)\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX=\b%\n\
+    \\222\SOH\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXA\STX\DC2\SUB\208\SOH An optional name for the handler. If missing, it represents\n\
+    \ a dynamic handler that processes any interactions not handled by others.\n\
+    \ There is at most one dynamic handler per workflow and interaction kind.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXA\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXA\t\r\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXA\DLE\DC1\n\
+    \\207\SOH\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXE\STX\EM\SUB\193\SOH An optional interaction description provided by the application.\n\
+    \ By convention, external tools may interpret its first part,\n\
+    \ i.e., ending with a line break, as a summary of the description.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXE\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXE\t\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXE\ETB\CANb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Sdk/V1/WorkflowMetadata_Fields.hs b/src/Proto/Temporal/Api/Sdk/V1/WorkflowMetadata_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Sdk/V1/WorkflowMetadata_Fields.hs
@@ -0,0 +1,102 @@
+{- This file was auto-generated from temporal/api/sdk/v1/workflow_metadata.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+currentDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentDetails" a) =>
+  Lens.Family2.LensLike' f s a
+currentDetails = Data.ProtoLens.Field.field @"currentDetails"
+definition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "definition" a) =>
+  Lens.Family2.LensLike' f s a
+definition = Data.ProtoLens.Field.field @"definition"
+description ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "description" a) =>
+  Lens.Family2.LensLike' f s a
+description = Data.ProtoLens.Field.field @"description"
+maybe'definition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'definition" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'definition = Data.ProtoLens.Field.field @"maybe'definition"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+queryDefinitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryDefinitions" a) =>
+  Lens.Family2.LensLike' f s a
+queryDefinitions = Data.ProtoLens.Field.field @"queryDefinitions"
+signalDefinitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalDefinitions" a) =>
+  Lens.Family2.LensLike' f s a
+signalDefinitions = Data.ProtoLens.Field.field @"signalDefinitions"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+updateDefinitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateDefinitions" a) =>
+  Lens.Family2.LensLike' f s a
+updateDefinitions = Data.ProtoLens.Field.field @"updateDefinitions"
+vec'queryDefinitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'queryDefinitions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'queryDefinitions
+  = Data.ProtoLens.Field.field @"vec'queryDefinitions"
+vec'signalDefinitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'signalDefinitions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'signalDefinitions
+  = Data.ProtoLens.Field.field @"vec'signalDefinitions"
+vec'updateDefinitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'updateDefinitions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'updateDefinitions
+  = Data.ProtoLens.Field.field @"vec'updateDefinitions"
diff --git a/src/Proto/Temporal/Api/Taskqueue/V1/Message.hs b/src/Proto/Temporal/Api/Taskqueue/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Taskqueue/V1/Message.hs
@@ -0,0 +1,5221 @@
+{- This file was auto-generated from temporal/api/taskqueue/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Taskqueue.V1.Message (
+        BuildIdAssignmentRule(), BuildIdAssignmentRule'Ramp(..),
+        _BuildIdAssignmentRule'PercentageRamp, BuildIdReachability(),
+        CompatibleBuildIdRedirectRule(), CompatibleVersionSet(),
+        PollerInfo(), PollerScalingDecision(), RampByPercentage(),
+        StickyExecutionAttributes(), TaskIdBlock(), TaskQueue(),
+        TaskQueueMetadata(), TaskQueuePartitionMetadata(),
+        TaskQueueReachability(), TaskQueueStats(), TaskQueueStatus(),
+        TaskQueueTypeInfo(), TaskQueueVersionInfo(),
+        TaskQueueVersionInfo'TypesInfoEntry(), TaskQueueVersionSelection(),
+        TaskQueueVersioningInfo(), TimestampedBuildIdAssignmentRule(),
+        TimestampedCompatibleBuildIdRedirectRule()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Google.Protobuf.Wrappers
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.TaskQueue
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.targetBuildId' @:: Lens' BuildIdAssignmentRule Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'ramp' @:: Lens' BuildIdAssignmentRule (Prelude.Maybe BuildIdAssignmentRule'Ramp)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'percentageRamp' @:: Lens' BuildIdAssignmentRule (Prelude.Maybe RampByPercentage)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.percentageRamp' @:: Lens' BuildIdAssignmentRule RampByPercentage@ -}
+data BuildIdAssignmentRule
+  = BuildIdAssignmentRule'_constructor {_BuildIdAssignmentRule'targetBuildId :: !Data.Text.Text,
+                                        _BuildIdAssignmentRule'ramp :: !(Prelude.Maybe BuildIdAssignmentRule'Ramp),
+                                        _BuildIdAssignmentRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BuildIdAssignmentRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data BuildIdAssignmentRule'Ramp
+  = BuildIdAssignmentRule'PercentageRamp !RampByPercentage
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField BuildIdAssignmentRule "targetBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdAssignmentRule'targetBuildId
+           (\ x__ y__ -> x__ {_BuildIdAssignmentRule'targetBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BuildIdAssignmentRule "maybe'ramp" (Prelude.Maybe BuildIdAssignmentRule'Ramp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdAssignmentRule'ramp
+           (\ x__ y__ -> x__ {_BuildIdAssignmentRule'ramp = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BuildIdAssignmentRule "maybe'percentageRamp" (Prelude.Maybe RampByPercentage) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdAssignmentRule'ramp
+           (\ x__ y__ -> x__ {_BuildIdAssignmentRule'ramp = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (BuildIdAssignmentRule'PercentageRamp x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap BuildIdAssignmentRule'PercentageRamp y__))
+instance Data.ProtoLens.Field.HasField BuildIdAssignmentRule "percentageRamp" RampByPercentage where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdAssignmentRule'ramp
+           (\ x__ y__ -> x__ {_BuildIdAssignmentRule'ramp = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (BuildIdAssignmentRule'PercentageRamp x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap BuildIdAssignmentRule'PercentageRamp y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message BuildIdAssignmentRule where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.BuildIdAssignmentRule"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKBuildIdAssignmentRule\DC2&\n\
+      \\SItarget_build_id\CAN\SOH \SOH(\tR\rtargetBuildId\DC2V\n\
+      \\SIpercentage_ramp\CAN\ETX \SOH(\v2+.temporal.api.taskqueue.v1.RampByPercentageH\NULR\SOpercentageRampB\ACK\n\
+      \\EOTramp"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        targetBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "target_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"targetBuildId")) ::
+              Data.ProtoLens.FieldDescriptor BuildIdAssignmentRule
+        percentageRamp__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "percentage_ramp"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RampByPercentage)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'percentageRamp")) ::
+              Data.ProtoLens.FieldDescriptor BuildIdAssignmentRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, targetBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 3, percentageRamp__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BuildIdAssignmentRule'_unknownFields
+        (\ x__ y__ -> x__ {_BuildIdAssignmentRule'_unknownFields = y__})
+  defMessage
+    = BuildIdAssignmentRule'_constructor
+        {_BuildIdAssignmentRule'targetBuildId = Data.ProtoLens.fieldDefault,
+         _BuildIdAssignmentRule'ramp = Prelude.Nothing,
+         _BuildIdAssignmentRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BuildIdAssignmentRule
+          -> Data.ProtoLens.Encoding.Bytes.Parser BuildIdAssignmentRule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "target_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"targetBuildId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "percentage_ramp"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"percentageRamp") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "BuildIdAssignmentRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"targetBuildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'ramp") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (BuildIdAssignmentRule'PercentageRamp v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData BuildIdAssignmentRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BuildIdAssignmentRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BuildIdAssignmentRule'targetBuildId x__)
+                (Control.DeepSeq.deepseq (_BuildIdAssignmentRule'ramp x__) ()))
+instance Control.DeepSeq.NFData BuildIdAssignmentRule'Ramp where
+  rnf (BuildIdAssignmentRule'PercentageRamp x__)
+    = Control.DeepSeq.rnf x__
+_BuildIdAssignmentRule'PercentageRamp ::
+  Data.ProtoLens.Prism.Prism' BuildIdAssignmentRule'Ramp RampByPercentage
+_BuildIdAssignmentRule'PercentageRamp
+  = Data.ProtoLens.Prism.prism'
+      BuildIdAssignmentRule'PercentageRamp
+      (\ p__
+         -> case p__ of
+              (BuildIdAssignmentRule'PercentageRamp p__val)
+                -> Prelude.Just p__val)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.buildId' @:: Lens' BuildIdReachability Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.taskQueueReachability' @:: Lens' BuildIdReachability [TaskQueueReachability]@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.vec'taskQueueReachability' @:: Lens' BuildIdReachability (Data.Vector.Vector TaskQueueReachability)@ -}
+data BuildIdReachability
+  = BuildIdReachability'_constructor {_BuildIdReachability'buildId :: !Data.Text.Text,
+                                      _BuildIdReachability'taskQueueReachability :: !(Data.Vector.Vector TaskQueueReachability),
+                                      _BuildIdReachability'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show BuildIdReachability where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField BuildIdReachability "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdReachability'buildId
+           (\ x__ y__ -> x__ {_BuildIdReachability'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField BuildIdReachability "taskQueueReachability" [TaskQueueReachability] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdReachability'taskQueueReachability
+           (\ x__ y__
+              -> x__ {_BuildIdReachability'taskQueueReachability = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField BuildIdReachability "vec'taskQueueReachability" (Data.Vector.Vector TaskQueueReachability) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _BuildIdReachability'taskQueueReachability
+           (\ x__ y__
+              -> x__ {_BuildIdReachability'taskQueueReachability = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message BuildIdReachability where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.BuildIdReachability"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3BuildIdReachability\DC2\EM\n\
+      \\bbuild_id\CAN\SOH \SOH(\tR\abuildId\DC2h\n\
+      \\ETBtask_queue_reachability\CAN\STX \ETX(\v20.temporal.api.taskqueue.v1.TaskQueueReachabilityR\NAKtaskQueueReachability"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor BuildIdReachability
+        taskQueueReachability__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue_reachability"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TaskQueueReachability)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"taskQueueReachability")) ::
+              Data.ProtoLens.FieldDescriptor BuildIdReachability
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, buildId__field_descriptor),
+           (Data.ProtoLens.Tag 2, taskQueueReachability__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _BuildIdReachability'_unknownFields
+        (\ x__ y__ -> x__ {_BuildIdReachability'_unknownFields = y__})
+  defMessage
+    = BuildIdReachability'_constructor
+        {_BuildIdReachability'buildId = Data.ProtoLens.fieldDefault,
+         _BuildIdReachability'taskQueueReachability = Data.Vector.Generic.empty,
+         _BuildIdReachability'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          BuildIdReachability
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld TaskQueueReachability
+             -> Data.ProtoLens.Encoding.Bytes.Parser BuildIdReachability
+        loop x mutable'taskQueueReachability
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'taskQueueReachability <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                           mutable'taskQueueReachability)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'taskQueueReachability")
+                              frozen'taskQueueReachability x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                                  mutable'taskQueueReachability
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "task_queue_reachability"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'taskQueueReachability y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'taskQueueReachability
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'taskQueueReachability <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'taskQueueReachability)
+          "BuildIdReachability"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"vec'taskQueueReachability") _x))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData BuildIdReachability where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_BuildIdReachability'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_BuildIdReachability'buildId x__)
+                (Control.DeepSeq.deepseq
+                   (_BuildIdReachability'taskQueueReachability x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.sourceBuildId' @:: Lens' CompatibleBuildIdRedirectRule Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.targetBuildId' @:: Lens' CompatibleBuildIdRedirectRule Data.Text.Text@ -}
+data CompatibleBuildIdRedirectRule
+  = CompatibleBuildIdRedirectRule'_constructor {_CompatibleBuildIdRedirectRule'sourceBuildId :: !Data.Text.Text,
+                                                _CompatibleBuildIdRedirectRule'targetBuildId :: !Data.Text.Text,
+                                                _CompatibleBuildIdRedirectRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CompatibleBuildIdRedirectRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CompatibleBuildIdRedirectRule "sourceBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompatibleBuildIdRedirectRule'sourceBuildId
+           (\ x__ y__
+              -> x__ {_CompatibleBuildIdRedirectRule'sourceBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CompatibleBuildIdRedirectRule "targetBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompatibleBuildIdRedirectRule'targetBuildId
+           (\ x__ y__
+              -> x__ {_CompatibleBuildIdRedirectRule'targetBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CompatibleBuildIdRedirectRule where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRule"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSCompatibleBuildIdRedirectRule\DC2&\n\
+      \\SIsource_build_id\CAN\SOH \SOH(\tR\rsourceBuildId\DC2&\n\
+      \\SItarget_build_id\CAN\STX \SOH(\tR\rtargetBuildId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        sourceBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "source_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"sourceBuildId")) ::
+              Data.ProtoLens.FieldDescriptor CompatibleBuildIdRedirectRule
+        targetBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "target_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"targetBuildId")) ::
+              Data.ProtoLens.FieldDescriptor CompatibleBuildIdRedirectRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, sourceBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 2, targetBuildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CompatibleBuildIdRedirectRule'_unknownFields
+        (\ x__ y__
+           -> x__ {_CompatibleBuildIdRedirectRule'_unknownFields = y__})
+  defMessage
+    = CompatibleBuildIdRedirectRule'_constructor
+        {_CompatibleBuildIdRedirectRule'sourceBuildId = Data.ProtoLens.fieldDefault,
+         _CompatibleBuildIdRedirectRule'targetBuildId = Data.ProtoLens.fieldDefault,
+         _CompatibleBuildIdRedirectRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CompatibleBuildIdRedirectRule
+          -> Data.ProtoLens.Encoding.Bytes.Parser CompatibleBuildIdRedirectRule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "source_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"sourceBuildId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "target_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"targetBuildId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CompatibleBuildIdRedirectRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"sourceBuildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"targetBuildId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData CompatibleBuildIdRedirectRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CompatibleBuildIdRedirectRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CompatibleBuildIdRedirectRule'sourceBuildId x__)
+                (Control.DeepSeq.deepseq
+                   (_CompatibleBuildIdRedirectRule'targetBuildId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.buildIds' @:: Lens' CompatibleVersionSet [Data.Text.Text]@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.vec'buildIds' @:: Lens' CompatibleVersionSet (Data.Vector.Vector Data.Text.Text)@ -}
+data CompatibleVersionSet
+  = CompatibleVersionSet'_constructor {_CompatibleVersionSet'buildIds :: !(Data.Vector.Vector Data.Text.Text),
+                                       _CompatibleVersionSet'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CompatibleVersionSet where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CompatibleVersionSet "buildIds" [Data.Text.Text] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompatibleVersionSet'buildIds
+           (\ x__ y__ -> x__ {_CompatibleVersionSet'buildIds = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField CompatibleVersionSet "vec'buildIds" (Data.Vector.Vector Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompatibleVersionSet'buildIds
+           (\ x__ y__ -> x__ {_CompatibleVersionSet'buildIds = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CompatibleVersionSet where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.CompatibleVersionSet"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4CompatibleVersionSet\DC2\ESC\n\
+      \\tbuild_ids\CAN\SOH \ETX(\tR\bbuildIds"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        buildIds__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_ids"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"buildIds")) ::
+              Data.ProtoLens.FieldDescriptor CompatibleVersionSet
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, buildIds__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CompatibleVersionSet'_unknownFields
+        (\ x__ y__ -> x__ {_CompatibleVersionSet'_unknownFields = y__})
+  defMessage
+    = CompatibleVersionSet'_constructor
+        {_CompatibleVersionSet'buildIds = Data.Vector.Generic.empty,
+         _CompatibleVersionSet'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CompatibleVersionSet
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text
+             -> Data.ProtoLens.Encoding.Bytes.Parser CompatibleVersionSet
+        loop x mutable'buildIds
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'buildIds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'buildIds)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'buildIds") frozen'buildIds x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.getText
+                                              (Prelude.fromIntegral len))
+                                        "build_ids"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'buildIds y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'buildIds
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'buildIds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'buildIds)
+          "CompatibleVersionSet"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.Text.Encoding.encodeUtf8 _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'buildIds") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CompatibleVersionSet where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CompatibleVersionSet'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CompatibleVersionSet'buildIds x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.lastAccessTime' @:: Lens' PollerInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'lastAccessTime' @:: Lens' PollerInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.identity' @:: Lens' PollerInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.ratePerSecond' @:: Lens' PollerInfo Prelude.Double@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.workerVersionCapabilities' @:: Lens' PollerInfo Proto.Temporal.Api.Common.V1.Message.WorkerVersionCapabilities@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'workerVersionCapabilities' @:: Lens' PollerInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionCapabilities)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.deploymentOptions' @:: Lens' PollerInfo Proto.Temporal.Api.Deployment.V1.Message.WorkerDeploymentOptions@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'deploymentOptions' @:: Lens' PollerInfo (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.WorkerDeploymentOptions)@ -}
+data PollerInfo
+  = PollerInfo'_constructor {_PollerInfo'lastAccessTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                             _PollerInfo'identity :: !Data.Text.Text,
+                             _PollerInfo'ratePerSecond :: !Prelude.Double,
+                             _PollerInfo'workerVersionCapabilities :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionCapabilities),
+                             _PollerInfo'deploymentOptions :: !(Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.WorkerDeploymentOptions),
+                             _PollerInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PollerInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PollerInfo "lastAccessTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'lastAccessTime
+           (\ x__ y__ -> x__ {_PollerInfo'lastAccessTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PollerInfo "maybe'lastAccessTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'lastAccessTime
+           (\ x__ y__ -> x__ {_PollerInfo'lastAccessTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PollerInfo "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'identity
+           (\ x__ y__ -> x__ {_PollerInfo'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PollerInfo "ratePerSecond" Prelude.Double where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'ratePerSecond
+           (\ x__ y__ -> x__ {_PollerInfo'ratePerSecond = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PollerInfo "workerVersionCapabilities" Proto.Temporal.Api.Common.V1.Message.WorkerVersionCapabilities where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'workerVersionCapabilities
+           (\ x__ y__ -> x__ {_PollerInfo'workerVersionCapabilities = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PollerInfo "maybe'workerVersionCapabilities" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionCapabilities) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'workerVersionCapabilities
+           (\ x__ y__ -> x__ {_PollerInfo'workerVersionCapabilities = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PollerInfo "deploymentOptions" Proto.Temporal.Api.Deployment.V1.Message.WorkerDeploymentOptions where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'deploymentOptions
+           (\ x__ y__ -> x__ {_PollerInfo'deploymentOptions = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PollerInfo "maybe'deploymentOptions" (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.WorkerDeploymentOptions) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerInfo'deploymentOptions
+           (\ x__ y__ -> x__ {_PollerInfo'deploymentOptions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PollerInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.PollerInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\n\
+      \PollerInfo\DC2D\n\
+      \\DLElast_access_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\SOlastAccessTime\DC2\SUB\n\
+      \\bidentity\CAN\STX \SOH(\tR\bidentity\DC2&\n\
+      \\SIrate_per_second\CAN\ETX \SOH(\SOHR\rratePerSecond\DC2u\n\
+      \\ESCworker_version_capabilities\CAN\EOT \SOH(\v21.temporal.api.common.v1.WorkerVersionCapabilitiesR\EMworkerVersionCapabilitiesB\STX\CAN\SOH\DC2b\n\
+      \\DC2deployment_options\CAN\ENQ \SOH(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\DC1deploymentOptions"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        lastAccessTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_access_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAccessTime")) ::
+              Data.ProtoLens.FieldDescriptor PollerInfo
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor PollerInfo
+        ratePerSecond__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rate_per_second"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Double)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"ratePerSecond")) ::
+              Data.ProtoLens.FieldDescriptor PollerInfo
+        workerVersionCapabilities__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_version_capabilities"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionCapabilities)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerVersionCapabilities")) ::
+              Data.ProtoLens.FieldDescriptor PollerInfo
+        deploymentOptions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_options"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Deployment.V1.Message.WorkerDeploymentOptions)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deploymentOptions")) ::
+              Data.ProtoLens.FieldDescriptor PollerInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, lastAccessTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, identity__field_descriptor),
+           (Data.ProtoLens.Tag 3, ratePerSecond__field_descriptor),
+           (Data.ProtoLens.Tag 4, 
+            workerVersionCapabilities__field_descriptor),
+           (Data.ProtoLens.Tag 5, deploymentOptions__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PollerInfo'_unknownFields
+        (\ x__ y__ -> x__ {_PollerInfo'_unknownFields = y__})
+  defMessage
+    = PollerInfo'_constructor
+        {_PollerInfo'lastAccessTime = Prelude.Nothing,
+         _PollerInfo'identity = Data.ProtoLens.fieldDefault,
+         _PollerInfo'ratePerSecond = Data.ProtoLens.fieldDefault,
+         _PollerInfo'workerVersionCapabilities = Prelude.Nothing,
+         _PollerInfo'deploymentOptions = Prelude.Nothing,
+         _PollerInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PollerInfo -> Data.ProtoLens.Encoding.Bytes.Parser PollerInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_access_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAccessTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        25
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToDouble
+                                          Data.ProtoLens.Encoding.Bytes.getFixed64)
+                                       "rate_per_second"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"ratePerSecond") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_version_capabilities"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerVersionCapabilities") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment_options"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentOptions") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PollerInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'lastAccessTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"ratePerSecond") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 25)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putFixed64
+                               Data.ProtoLens.Encoding.Bytes.doubleToWord _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workerVersionCapabilities") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'deploymentOptions") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData PollerInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PollerInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PollerInfo'lastAccessTime x__)
+                (Control.DeepSeq.deepseq
+                   (_PollerInfo'identity x__)
+                   (Control.DeepSeq.deepseq
+                      (_PollerInfo'ratePerSecond x__)
+                      (Control.DeepSeq.deepseq
+                         (_PollerInfo'workerVersionCapabilities x__)
+                         (Control.DeepSeq.deepseq
+                            (_PollerInfo'deploymentOptions x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.pollRequestDeltaSuggestion' @:: Lens' PollerScalingDecision Data.Int.Int32@ -}
+data PollerScalingDecision
+  = PollerScalingDecision'_constructor {_PollerScalingDecision'pollRequestDeltaSuggestion :: !Data.Int.Int32,
+                                        _PollerScalingDecision'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PollerScalingDecision where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PollerScalingDecision "pollRequestDeltaSuggestion" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PollerScalingDecision'pollRequestDeltaSuggestion
+           (\ x__ y__
+              -> x__ {_PollerScalingDecision'pollRequestDeltaSuggestion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PollerScalingDecision where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.PollerScalingDecision"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKPollerScalingDecision\DC2A\n\
+      \\GSpoll_request_delta_suggestion\CAN\SOH \SOH(\ENQR\SUBpollRequestDeltaSuggestion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        pollRequestDeltaSuggestion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "poll_request_delta_suggestion"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"pollRequestDeltaSuggestion")) ::
+              Data.ProtoLens.FieldDescriptor PollerScalingDecision
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            pollRequestDeltaSuggestion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PollerScalingDecision'_unknownFields
+        (\ x__ y__ -> x__ {_PollerScalingDecision'_unknownFields = y__})
+  defMessage
+    = PollerScalingDecision'_constructor
+        {_PollerScalingDecision'pollRequestDeltaSuggestion = Data.ProtoLens.fieldDefault,
+         _PollerScalingDecision'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PollerScalingDecision
+          -> Data.ProtoLens.Encoding.Bytes.Parser PollerScalingDecision
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "poll_request_delta_suggestion"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"pollRequestDeltaSuggestion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PollerScalingDecision"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"pollRequestDeltaSuggestion") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData PollerScalingDecision where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PollerScalingDecision'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PollerScalingDecision'pollRequestDeltaSuggestion x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.rampPercentage' @:: Lens' RampByPercentage Prelude.Float@ -}
+data RampByPercentage
+  = RampByPercentage'_constructor {_RampByPercentage'rampPercentage :: !Prelude.Float,
+                                   _RampByPercentage'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RampByPercentage where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RampByPercentage "rampPercentage" Prelude.Float where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RampByPercentage'rampPercentage
+           (\ x__ y__ -> x__ {_RampByPercentage'rampPercentage = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RampByPercentage where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.RampByPercentage"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLERampByPercentage\DC2'\n\
+      \\SIramp_percentage\CAN\SOH \SOH(\STXR\SOrampPercentage"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        rampPercentage__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramp_percentage"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Float)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rampPercentage")) ::
+              Data.ProtoLens.FieldDescriptor RampByPercentage
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, rampPercentage__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RampByPercentage'_unknownFields
+        (\ x__ y__ -> x__ {_RampByPercentage'_unknownFields = y__})
+  defMessage
+    = RampByPercentage'_constructor
+        {_RampByPercentage'rampPercentage = Data.ProtoLens.fieldDefault,
+         _RampByPercentage'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RampByPercentage
+          -> Data.ProtoLens.Encoding.Bytes.Parser RampByPercentage
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        13
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToFloat
+                                          Data.ProtoLens.Encoding.Bytes.getFixed32)
+                                       "ramp_percentage"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampPercentage") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RampByPercentage"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"rampPercentage") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 13)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putFixed32
+                         Data.ProtoLens.Encoding.Bytes.floatToWord _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RampByPercentage where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RampByPercentage'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_RampByPercentage'rampPercentage x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.workerTaskQueue' @:: Lens' StickyExecutionAttributes TaskQueue@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'workerTaskQueue' @:: Lens' StickyExecutionAttributes (Prelude.Maybe TaskQueue)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.scheduleToStartTimeout' @:: Lens' StickyExecutionAttributes Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'scheduleToStartTimeout' @:: Lens' StickyExecutionAttributes (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@ -}
+data StickyExecutionAttributes
+  = StickyExecutionAttributes'_constructor {_StickyExecutionAttributes'workerTaskQueue :: !(Prelude.Maybe TaskQueue),
+                                            _StickyExecutionAttributes'scheduleToStartTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                            _StickyExecutionAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StickyExecutionAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StickyExecutionAttributes "workerTaskQueue" TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StickyExecutionAttributes'workerTaskQueue
+           (\ x__ y__
+              -> x__ {_StickyExecutionAttributes'workerTaskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StickyExecutionAttributes "maybe'workerTaskQueue" (Prelude.Maybe TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StickyExecutionAttributes'workerTaskQueue
+           (\ x__ y__
+              -> x__ {_StickyExecutionAttributes'workerTaskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StickyExecutionAttributes "scheduleToStartTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StickyExecutionAttributes'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__ {_StickyExecutionAttributes'scheduleToStartTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StickyExecutionAttributes "maybe'scheduleToStartTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StickyExecutionAttributes'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__ {_StickyExecutionAttributes'scheduleToStartTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StickyExecutionAttributes where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.StickyExecutionAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMStickyExecutionAttributes\DC2P\n\
+      \\DC1worker_task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\SIworkerTaskQueue\DC2T\n\
+      \\EMschedule_to_start_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workerTaskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workerTaskQueue")) ::
+              Data.ProtoLens.FieldDescriptor StickyExecutionAttributes
+        scheduleToStartTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_start_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StickyExecutionAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workerTaskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduleToStartTimeout__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StickyExecutionAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_StickyExecutionAttributes'_unknownFields = y__})
+  defMessage
+    = StickyExecutionAttributes'_constructor
+        {_StickyExecutionAttributes'workerTaskQueue = Prelude.Nothing,
+         _StickyExecutionAttributes'scheduleToStartTimeout = Prelude.Nothing,
+         _StickyExecutionAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StickyExecutionAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser StickyExecutionAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "worker_task_queue"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerTaskQueue") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_start_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToStartTimeout") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StickyExecutionAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'workerTaskQueue") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StickyExecutionAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StickyExecutionAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StickyExecutionAttributes'workerTaskQueue x__)
+                (Control.DeepSeq.deepseq
+                   (_StickyExecutionAttributes'scheduleToStartTimeout x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.startId' @:: Lens' TaskIdBlock Data.Int.Int64@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.endId' @:: Lens' TaskIdBlock Data.Int.Int64@ -}
+data TaskIdBlock
+  = TaskIdBlock'_constructor {_TaskIdBlock'startId :: !Data.Int.Int64,
+                              _TaskIdBlock'endId :: !Data.Int.Int64,
+                              _TaskIdBlock'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskIdBlock where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskIdBlock "startId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskIdBlock'startId
+           (\ x__ y__ -> x__ {_TaskIdBlock'startId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskIdBlock "endId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskIdBlock'endId (\ x__ y__ -> x__ {_TaskIdBlock'endId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskIdBlock where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskIdBlock"
+  packedMessageDescriptor _
+    = "\n\
+      \\vTaskIdBlock\DC2\EM\n\
+      \\bstart_id\CAN\SOH \SOH(\ETXR\astartId\DC2\NAK\n\
+      \\ACKend_id\CAN\STX \SOH(\ETXR\ENQendId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        startId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"startId")) ::
+              Data.ProtoLens.FieldDescriptor TaskIdBlock
+        endId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "end_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"endId")) ::
+              Data.ProtoLens.FieldDescriptor TaskIdBlock
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, startId__field_descriptor),
+           (Data.ProtoLens.Tag 2, endId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskIdBlock'_unknownFields
+        (\ x__ y__ -> x__ {_TaskIdBlock'_unknownFields = y__})
+  defMessage
+    = TaskIdBlock'_constructor
+        {_TaskIdBlock'startId = Data.ProtoLens.fieldDefault,
+         _TaskIdBlock'endId = Data.ProtoLens.fieldDefault,
+         _TaskIdBlock'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskIdBlock -> Data.ProtoLens.Encoding.Bytes.Parser TaskIdBlock
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "start_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"startId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "end_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"endId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskIdBlock"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"startId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"endId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TaskIdBlock where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskIdBlock'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskIdBlock'startId x__)
+                (Control.DeepSeq.deepseq (_TaskIdBlock'endId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.name' @:: Lens' TaskQueue Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.kind' @:: Lens' TaskQueue Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueKind@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.normalName' @:: Lens' TaskQueue Data.Text.Text@ -}
+data TaskQueue
+  = TaskQueue'_constructor {_TaskQueue'name :: !Data.Text.Text,
+                            _TaskQueue'kind :: !Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueKind,
+                            _TaskQueue'normalName :: !Data.Text.Text,
+                            _TaskQueue'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueue where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueue "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueue'name (\ x__ y__ -> x__ {_TaskQueue'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueue "kind" Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueKind where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueue'kind (\ x__ y__ -> x__ {_TaskQueue'kind = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueue "normalName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueue'normalName
+           (\ x__ y__ -> x__ {_TaskQueue'normalName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueue where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueue"
+  packedMessageDescriptor _
+    = "\n\
+      \\tTaskQueue\DC2\DC2\n\
+      \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+      \\EOTkind\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueKindR\EOTkind\DC2\US\n\
+      \\vnormal_name\CAN\ETX \SOH(\tR\n\
+      \normalName"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueue
+        kind__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "kind"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.TaskQueue.TaskQueueKind)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"kind")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueue
+        normalName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "normal_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"normalName")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueue
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, name__field_descriptor),
+           (Data.ProtoLens.Tag 2, kind__field_descriptor),
+           (Data.ProtoLens.Tag 3, normalName__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueue'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueue'_unknownFields = y__})
+  defMessage
+    = TaskQueue'_constructor
+        {_TaskQueue'name = Data.ProtoLens.fieldDefault,
+         _TaskQueue'kind = Data.ProtoLens.fieldDefault,
+         _TaskQueue'normalName = Data.ProtoLens.fieldDefault,
+         _TaskQueue'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: TaskQueue -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueue
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "kind"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"kind") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "normal_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"normalName") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueue"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"kind") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"normalName") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData TaskQueue where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueue'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueue'name x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueue'kind x__)
+                   (Control.DeepSeq.deepseq (_TaskQueue'normalName x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maxTasksPerSecond' @:: Lens' TaskQueueMetadata Proto.Google.Protobuf.Wrappers.DoubleValue@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'maxTasksPerSecond' @:: Lens' TaskQueueMetadata (Prelude.Maybe Proto.Google.Protobuf.Wrappers.DoubleValue)@ -}
+data TaskQueueMetadata
+  = TaskQueueMetadata'_constructor {_TaskQueueMetadata'maxTasksPerSecond :: !(Prelude.Maybe Proto.Google.Protobuf.Wrappers.DoubleValue),
+                                    _TaskQueueMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueMetadata "maxTasksPerSecond" Proto.Google.Protobuf.Wrappers.DoubleValue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueMetadata'maxTasksPerSecond
+           (\ x__ y__ -> x__ {_TaskQueueMetadata'maxTasksPerSecond = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TaskQueueMetadata "maybe'maxTasksPerSecond" (Prelude.Maybe Proto.Google.Protobuf.Wrappers.DoubleValue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueMetadata'maxTasksPerSecond
+           (\ x__ y__ -> x__ {_TaskQueueMetadata'maxTasksPerSecond = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueMetadata where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueueMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1TaskQueueMetadata\DC2M\n\
+      \\DC4max_tasks_per_second\CAN\SOH \SOH(\v2\FS.google.protobuf.DoubleValueR\DC1maxTasksPerSecond"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        maxTasksPerSecond__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "max_tasks_per_second"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Wrappers.DoubleValue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'maxTasksPerSecond")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, maxTasksPerSecond__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueMetadata'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueMetadata'_unknownFields = y__})
+  defMessage
+    = TaskQueueMetadata'_constructor
+        {_TaskQueueMetadata'maxTasksPerSecond = Prelude.Nothing,
+         _TaskQueueMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueMetadata
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "max_tasks_per_second"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"maxTasksPerSecond") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueueMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'maxTasksPerSecond") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData TaskQueueMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueMetadata'maxTasksPerSecond x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.key' @:: Lens' TaskQueuePartitionMetadata Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.ownerHostName' @:: Lens' TaskQueuePartitionMetadata Data.Text.Text@ -}
+data TaskQueuePartitionMetadata
+  = TaskQueuePartitionMetadata'_constructor {_TaskQueuePartitionMetadata'key :: !Data.Text.Text,
+                                             _TaskQueuePartitionMetadata'ownerHostName :: !Data.Text.Text,
+                                             _TaskQueuePartitionMetadata'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueuePartitionMetadata where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueuePartitionMetadata "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueuePartitionMetadata'key
+           (\ x__ y__ -> x__ {_TaskQueuePartitionMetadata'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueuePartitionMetadata "ownerHostName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueuePartitionMetadata'ownerHostName
+           (\ x__ y__
+              -> x__ {_TaskQueuePartitionMetadata'ownerHostName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueuePartitionMetadata where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.TaskQueuePartitionMetadata"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBTaskQueuePartitionMetadata\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2&\n\
+      \\SIowner_host_name\CAN\STX \SOH(\tR\rownerHostName"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueuePartitionMetadata
+        ownerHostName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "owner_host_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"ownerHostName")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueuePartitionMetadata
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, ownerHostName__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueuePartitionMetadata'_unknownFields
+        (\ x__ y__
+           -> x__ {_TaskQueuePartitionMetadata'_unknownFields = y__})
+  defMessage
+    = TaskQueuePartitionMetadata'_constructor
+        {_TaskQueuePartitionMetadata'key = Data.ProtoLens.fieldDefault,
+         _TaskQueuePartitionMetadata'ownerHostName = Data.ProtoLens.fieldDefault,
+         _TaskQueuePartitionMetadata'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueuePartitionMetadata
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueuePartitionMetadata
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "owner_host_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"ownerHostName") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueuePartitionMetadata"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"ownerHostName") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TaskQueuePartitionMetadata where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueuePartitionMetadata'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueuePartitionMetadata'key x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueuePartitionMetadata'ownerHostName x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.taskQueue' @:: Lens' TaskQueueReachability Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.reachability' @:: Lens' TaskQueueReachability [Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability]@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.vec'reachability' @:: Lens' TaskQueueReachability (Data.Vector.Vector Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability)@ -}
+data TaskQueueReachability
+  = TaskQueueReachability'_constructor {_TaskQueueReachability'taskQueue :: !Data.Text.Text,
+                                        _TaskQueueReachability'reachability :: !(Data.Vector.Vector Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability),
+                                        _TaskQueueReachability'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueReachability where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueReachability "taskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueReachability'taskQueue
+           (\ x__ y__ -> x__ {_TaskQueueReachability'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueReachability "reachability" [Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueReachability'reachability
+           (\ x__ y__ -> x__ {_TaskQueueReachability'reachability = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField TaskQueueReachability "vec'reachability" (Data.Vector.Vector Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueReachability'reachability
+           (\ x__ y__ -> x__ {_TaskQueueReachability'reachability = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueReachability where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueueReachability"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKTaskQueueReachability\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\SOH \SOH(\tR\ttaskQueue\DC2K\n\
+      \\freachability\CAN\STX \ETX(\SO2'.temporal.api.enums.v1.TaskReachabilityR\freachability"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueReachability
+        reachability__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reachability"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"reachability")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueReachability
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 2, reachability__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueReachability'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueReachability'_unknownFields = y__})
+  defMessage
+    = TaskQueueReachability'_constructor
+        {_TaskQueueReachability'taskQueue = Data.ProtoLens.fieldDefault,
+         _TaskQueueReachability'reachability = Data.Vector.Generic.empty,
+         _TaskQueueReachability'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueReachability
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Enums.V1.TaskQueue.TaskReachability
+             -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueReachability
+        loop x mutable'reachability
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'reachability <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                               (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                  mutable'reachability)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'reachability")
+                              frozen'reachability x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                                  mutable'reachability
+                        16
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.toEnum
+                                           (Prelude.fmap
+                                              Prelude.fromIntegral
+                                              Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                        "reachability"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'reachability y)
+                                loop x v
+                        18
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.toEnum
+                                                                       (Prelude.fmap
+                                                                          Prelude.fromIntegral
+                                                                          Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                                                    "reachability"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'reachability)
+                                loop x y
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'reachability
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'reachability <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'reachability)
+          "TaskQueueReachability"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskQueue") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   p = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'reachability") _x
+                 in
+                   if Data.Vector.Generic.null p then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            (Data.ProtoLens.Encoding.Bytes.runBuilder
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum)
+                                  p))))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TaskQueueReachability where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueReachability'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueReachability'taskQueue x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueReachability'reachability x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.approximateBacklogCount' @:: Lens' TaskQueueStats Data.Int.Int64@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.approximateBacklogAge' @:: Lens' TaskQueueStats Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'approximateBacklogAge' @:: Lens' TaskQueueStats (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.tasksAddRate' @:: Lens' TaskQueueStats Prelude.Float@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.tasksDispatchRate' @:: Lens' TaskQueueStats Prelude.Float@ -}
+data TaskQueueStats
+  = TaskQueueStats'_constructor {_TaskQueueStats'approximateBacklogCount :: !Data.Int.Int64,
+                                 _TaskQueueStats'approximateBacklogAge :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                 _TaskQueueStats'tasksAddRate :: !Prelude.Float,
+                                 _TaskQueueStats'tasksDispatchRate :: !Prelude.Float,
+                                 _TaskQueueStats'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueStats where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueStats "approximateBacklogCount" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStats'approximateBacklogCount
+           (\ x__ y__ -> x__ {_TaskQueueStats'approximateBacklogCount = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStats "approximateBacklogAge" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStats'approximateBacklogAge
+           (\ x__ y__ -> x__ {_TaskQueueStats'approximateBacklogAge = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TaskQueueStats "maybe'approximateBacklogAge" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStats'approximateBacklogAge
+           (\ x__ y__ -> x__ {_TaskQueueStats'approximateBacklogAge = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStats "tasksAddRate" Prelude.Float where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStats'tasksAddRate
+           (\ x__ y__ -> x__ {_TaskQueueStats'tasksAddRate = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStats "tasksDispatchRate" Prelude.Float where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStats'tasksDispatchRate
+           (\ x__ y__ -> x__ {_TaskQueueStats'tasksDispatchRate = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueStats where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueueStats"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOTaskQueueStats\DC2:\n\
+      \\EMapproximate_backlog_count\CAN\SOH \SOH(\ETXR\ETBapproximateBacklogCount\DC2Q\n\
+      \\ETBapproximate_backlog_age\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\NAKapproximateBacklogAge\DC2$\n\
+      \\SOtasks_add_rate\CAN\ETX \SOH(\STXR\ftasksAddRate\DC2.\n\
+      \\DC3tasks_dispatch_rate\CAN\EOT \SOH(\STXR\DC1tasksDispatchRate"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        approximateBacklogCount__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "approximate_backlog_count"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"approximateBacklogCount")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStats
+        approximateBacklogAge__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "approximate_backlog_age"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'approximateBacklogAge")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStats
+        tasksAddRate__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "tasks_add_rate"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Float)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"tasksAddRate")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStats
+        tasksDispatchRate__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "tasks_dispatch_rate"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Float)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"tasksDispatchRate")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStats
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, approximateBacklogCount__field_descriptor),
+           (Data.ProtoLens.Tag 2, approximateBacklogAge__field_descriptor),
+           (Data.ProtoLens.Tag 3, tasksAddRate__field_descriptor),
+           (Data.ProtoLens.Tag 4, tasksDispatchRate__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueStats'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueStats'_unknownFields = y__})
+  defMessage
+    = TaskQueueStats'_constructor
+        {_TaskQueueStats'approximateBacklogCount = Data.ProtoLens.fieldDefault,
+         _TaskQueueStats'approximateBacklogAge = Prelude.Nothing,
+         _TaskQueueStats'tasksAddRate = Data.ProtoLens.fieldDefault,
+         _TaskQueueStats'tasksDispatchRate = Data.ProtoLens.fieldDefault,
+         _TaskQueueStats'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueStats
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueStats
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "approximate_backlog_count"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"approximateBacklogCount") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "approximate_backlog_age"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"approximateBacklogAge") y x)
+                        29
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToFloat
+                                          Data.ProtoLens.Encoding.Bytes.getFixed32)
+                                       "tasks_add_rate"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"tasksAddRate") y x)
+                        37
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToFloat
+                                          Data.ProtoLens.Encoding.Bytes.getFixed32)
+                                       "tasks_dispatch_rate"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"tasksDispatchRate") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueueStats"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"approximateBacklogCount") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'approximateBacklogAge") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"tasksAddRate") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 29)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putFixed32
+                               Data.ProtoLens.Encoding.Bytes.floatToWord _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"tasksDispatchRate") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 37)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putFixed32
+                                  Data.ProtoLens.Encoding.Bytes.floatToWord _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData TaskQueueStats where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueStats'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueStats'approximateBacklogCount x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueStats'approximateBacklogAge x__)
+                   (Control.DeepSeq.deepseq
+                      (_TaskQueueStats'tasksAddRate x__)
+                      (Control.DeepSeq.deepseq
+                         (_TaskQueueStats'tasksDispatchRate x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.backlogCountHint' @:: Lens' TaskQueueStatus Data.Int.Int64@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.readLevel' @:: Lens' TaskQueueStatus Data.Int.Int64@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.ackLevel' @:: Lens' TaskQueueStatus Data.Int.Int64@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.ratePerSecond' @:: Lens' TaskQueueStatus Prelude.Double@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.taskIdBlock' @:: Lens' TaskQueueStatus TaskIdBlock@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'taskIdBlock' @:: Lens' TaskQueueStatus (Prelude.Maybe TaskIdBlock)@ -}
+data TaskQueueStatus
+  = TaskQueueStatus'_constructor {_TaskQueueStatus'backlogCountHint :: !Data.Int.Int64,
+                                  _TaskQueueStatus'readLevel :: !Data.Int.Int64,
+                                  _TaskQueueStatus'ackLevel :: !Data.Int.Int64,
+                                  _TaskQueueStatus'ratePerSecond :: !Prelude.Double,
+                                  _TaskQueueStatus'taskIdBlock :: !(Prelude.Maybe TaskIdBlock),
+                                  _TaskQueueStatus'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueStatus where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueStatus "backlogCountHint" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStatus'backlogCountHint
+           (\ x__ y__ -> x__ {_TaskQueueStatus'backlogCountHint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStatus "readLevel" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStatus'readLevel
+           (\ x__ y__ -> x__ {_TaskQueueStatus'readLevel = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStatus "ackLevel" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStatus'ackLevel
+           (\ x__ y__ -> x__ {_TaskQueueStatus'ackLevel = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStatus "ratePerSecond" Prelude.Double where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStatus'ratePerSecond
+           (\ x__ y__ -> x__ {_TaskQueueStatus'ratePerSecond = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueStatus "taskIdBlock" TaskIdBlock where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStatus'taskIdBlock
+           (\ x__ y__ -> x__ {_TaskQueueStatus'taskIdBlock = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TaskQueueStatus "maybe'taskIdBlock" (Prelude.Maybe TaskIdBlock) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueStatus'taskIdBlock
+           (\ x__ y__ -> x__ {_TaskQueueStatus'taskIdBlock = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueStatus where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueueStatus"
+  packedMessageDescriptor _
+    = "\n\
+      \\SITaskQueueStatus\DC2,\n\
+      \\DC2backlog_count_hint\CAN\SOH \SOH(\ETXR\DLEbacklogCountHint\DC2\GS\n\
+      \\n\
+      \read_level\CAN\STX \SOH(\ETXR\treadLevel\DC2\ESC\n\
+      \\tack_level\CAN\ETX \SOH(\ETXR\backLevel\DC2&\n\
+      \\SIrate_per_second\CAN\EOT \SOH(\SOHR\rratePerSecond\DC2J\n\
+      \\rtask_id_block\CAN\ENQ \SOH(\v2&.temporal.api.taskqueue.v1.TaskIdBlockR\vtaskIdBlock"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        backlogCountHint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backlog_count_hint"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"backlogCountHint")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStatus
+        readLevel__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "read_level"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"readLevel")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStatus
+        ackLevel__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ack_level"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"ackLevel")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStatus
+        ratePerSecond__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rate_per_second"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.DoubleField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Double)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"ratePerSecond")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStatus
+        taskIdBlock__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_id_block"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TaskIdBlock)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskIdBlock")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueStatus
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, backlogCountHint__field_descriptor),
+           (Data.ProtoLens.Tag 2, readLevel__field_descriptor),
+           (Data.ProtoLens.Tag 3, ackLevel__field_descriptor),
+           (Data.ProtoLens.Tag 4, ratePerSecond__field_descriptor),
+           (Data.ProtoLens.Tag 5, taskIdBlock__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueStatus'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueStatus'_unknownFields = y__})
+  defMessage
+    = TaskQueueStatus'_constructor
+        {_TaskQueueStatus'backlogCountHint = Data.ProtoLens.fieldDefault,
+         _TaskQueueStatus'readLevel = Data.ProtoLens.fieldDefault,
+         _TaskQueueStatus'ackLevel = Data.ProtoLens.fieldDefault,
+         _TaskQueueStatus'ratePerSecond = Data.ProtoLens.fieldDefault,
+         _TaskQueueStatus'taskIdBlock = Prelude.Nothing,
+         _TaskQueueStatus'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueStatus
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueStatus
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "backlog_count_hint"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"backlogCountHint") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "read_level"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"readLevel") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "ack_level"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"ackLevel") y x)
+                        33
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToDouble
+                                          Data.ProtoLens.Encoding.Bytes.getFixed64)
+                                       "rate_per_second"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"ratePerSecond") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_id_block"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskIdBlock") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueueStatus"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"backlogCountHint") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"readLevel") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"ackLevel") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"ratePerSecond") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 33)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putFixed64
+                                  Data.ProtoLens.Encoding.Bytes.doubleToWord _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'taskIdBlock") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData TaskQueueStatus where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueStatus'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueStatus'backlogCountHint x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueStatus'readLevel x__)
+                   (Control.DeepSeq.deepseq
+                      (_TaskQueueStatus'ackLevel x__)
+                      (Control.DeepSeq.deepseq
+                         (_TaskQueueStatus'ratePerSecond x__)
+                         (Control.DeepSeq.deepseq (_TaskQueueStatus'taskIdBlock x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.pollers' @:: Lens' TaskQueueTypeInfo [PollerInfo]@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.vec'pollers' @:: Lens' TaskQueueTypeInfo (Data.Vector.Vector PollerInfo)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.stats' @:: Lens' TaskQueueTypeInfo TaskQueueStats@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'stats' @:: Lens' TaskQueueTypeInfo (Prelude.Maybe TaskQueueStats)@ -}
+data TaskQueueTypeInfo
+  = TaskQueueTypeInfo'_constructor {_TaskQueueTypeInfo'pollers :: !(Data.Vector.Vector PollerInfo),
+                                    _TaskQueueTypeInfo'stats :: !(Prelude.Maybe TaskQueueStats),
+                                    _TaskQueueTypeInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueTypeInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueTypeInfo "pollers" [PollerInfo] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueTypeInfo'pollers
+           (\ x__ y__ -> x__ {_TaskQueueTypeInfo'pollers = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField TaskQueueTypeInfo "vec'pollers" (Data.Vector.Vector PollerInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueTypeInfo'pollers
+           (\ x__ y__ -> x__ {_TaskQueueTypeInfo'pollers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueTypeInfo "stats" TaskQueueStats where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueTypeInfo'stats
+           (\ x__ y__ -> x__ {_TaskQueueTypeInfo'stats = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TaskQueueTypeInfo "maybe'stats" (Prelude.Maybe TaskQueueStats) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueTypeInfo'stats
+           (\ x__ y__ -> x__ {_TaskQueueTypeInfo'stats = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueTypeInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueueTypeInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1TaskQueueTypeInfo\DC2?\n\
+      \\apollers\CAN\SOH \ETX(\v2%.temporal.api.taskqueue.v1.PollerInfoR\apollers\DC2?\n\
+      \\ENQstats\CAN\STX \SOH(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\ENQstats"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        pollers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "pollers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor PollerInfo)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"pollers")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueTypeInfo
+        stats__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "stats"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TaskQueueStats)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'stats")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueTypeInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, pollers__field_descriptor),
+           (Data.ProtoLens.Tag 2, stats__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueTypeInfo'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueTypeInfo'_unknownFields = y__})
+  defMessage
+    = TaskQueueTypeInfo'_constructor
+        {_TaskQueueTypeInfo'pollers = Data.Vector.Generic.empty,
+         _TaskQueueTypeInfo'stats = Prelude.Nothing,
+         _TaskQueueTypeInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueTypeInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld PollerInfo
+             -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueTypeInfo
+        loop x mutable'pollers
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'pollers <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                             mutable'pollers)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'pollers") frozen'pollers x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "pollers"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'pollers y)
+                                loop x v
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "stats"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"stats") y x)
+                                  mutable'pollers
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'pollers
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'pollers <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                   Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'pollers)
+          "TaskQueueTypeInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'pollers") _x))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'stats") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TaskQueueTypeInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueTypeInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueTypeInfo'pollers x__)
+                (Control.DeepSeq.deepseq (_TaskQueueTypeInfo'stats x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.typesInfo' @:: Lens' TaskQueueVersionInfo (Data.Map.Map Data.Int.Int32 TaskQueueTypeInfo)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.taskReachability' @:: Lens' TaskQueueVersionInfo Proto.Temporal.Api.Enums.V1.TaskQueue.BuildIdTaskReachability@ -}
+data TaskQueueVersionInfo
+  = TaskQueueVersionInfo'_constructor {_TaskQueueVersionInfo'typesInfo :: !(Data.Map.Map Data.Int.Int32 TaskQueueTypeInfo),
+                                       _TaskQueueVersionInfo'taskReachability :: !Proto.Temporal.Api.Enums.V1.TaskQueue.BuildIdTaskReachability,
+                                       _TaskQueueVersionInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueVersionInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueVersionInfo "typesInfo" (Data.Map.Map Data.Int.Int32 TaskQueueTypeInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionInfo'typesInfo
+           (\ x__ y__ -> x__ {_TaskQueueVersionInfo'typesInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersionInfo "taskReachability" Proto.Temporal.Api.Enums.V1.TaskQueue.BuildIdTaskReachability where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionInfo'taskReachability
+           (\ x__ y__ -> x__ {_TaskQueueVersionInfo'taskReachability = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueVersionInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.taskqueue.v1.TaskQueueVersionInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4TaskQueueVersionInfo\DC2]\n\
+      \\n\
+      \types_info\CAN\SOH \ETX(\v2>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntryR\ttypesInfo\DC2[\n\
+      \\DC1task_reachability\CAN\STX \SOH(\SO2..temporal.api.enums.v1.BuildIdTaskReachabilityR\DLEtaskReachability\SUBj\n\
+      \\SOTypesInfoEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\ENQR\ETXkey\DC2B\n\
+      \\ENQvalue\CAN\STX \SOH(\v2,.temporal.api.taskqueue.v1.TaskQueueTypeInfoR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        typesInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "types_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TaskQueueVersionInfo'TypesInfoEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"typesInfo")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionInfo
+        taskReachability__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_reachability"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.TaskQueue.BuildIdTaskReachability)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskReachability")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, typesInfo__field_descriptor),
+           (Data.ProtoLens.Tag 2, taskReachability__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueVersionInfo'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueVersionInfo'_unknownFields = y__})
+  defMessage
+    = TaskQueueVersionInfo'_constructor
+        {_TaskQueueVersionInfo'typesInfo = Data.Map.empty,
+         _TaskQueueVersionInfo'taskReachability = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersionInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueVersionInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueVersionInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: TaskQueueVersionInfo'TypesInfoEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                     (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                         Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                           (Prelude.fromIntegral
+                                                                                              len)
+                                                                                           Data.ProtoLens.parseMessage)
+                                                                                     "types_info"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"typesInfo")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "task_reachability"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"taskReachability") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueueVersionInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage ::
+                                       TaskQueueVersionInfo'TypesInfoEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"typesInfo") _x))))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"taskReachability") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TaskQueueVersionInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueVersionInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueVersionInfo'typesInfo x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueVersionInfo'taskReachability x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.key' @:: Lens' TaskQueueVersionInfo'TypesInfoEntry Data.Int.Int32@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.value' @:: Lens' TaskQueueVersionInfo'TypesInfoEntry TaskQueueTypeInfo@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'value' @:: Lens' TaskQueueVersionInfo'TypesInfoEntry (Prelude.Maybe TaskQueueTypeInfo)@ -}
+data TaskQueueVersionInfo'TypesInfoEntry
+  = TaskQueueVersionInfo'TypesInfoEntry'_constructor {_TaskQueueVersionInfo'TypesInfoEntry'key :: !Data.Int.Int32,
+                                                      _TaskQueueVersionInfo'TypesInfoEntry'value :: !(Prelude.Maybe TaskQueueTypeInfo),
+                                                      _TaskQueueVersionInfo'TypesInfoEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueVersionInfo'TypesInfoEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueVersionInfo'TypesInfoEntry "key" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionInfo'TypesInfoEntry'key
+           (\ x__ y__
+              -> x__ {_TaskQueueVersionInfo'TypesInfoEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersionInfo'TypesInfoEntry "value" TaskQueueTypeInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionInfo'TypesInfoEntry'value
+           (\ x__ y__
+              -> x__ {_TaskQueueVersionInfo'TypesInfoEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TaskQueueVersionInfo'TypesInfoEntry "maybe'value" (Prelude.Maybe TaskQueueTypeInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionInfo'TypesInfoEntry'value
+           (\ x__ y__
+              -> x__ {_TaskQueueVersionInfo'TypesInfoEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueVersionInfo'TypesInfoEntry where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOTypesInfoEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\ENQR\ETXkey\DC2B\n\
+      \\ENQvalue\CAN\STX \SOH(\v2,.temporal.api.taskqueue.v1.TaskQueueTypeInfoR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionInfo'TypesInfoEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor TaskQueueTypeInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionInfo'TypesInfoEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueVersionInfo'TypesInfoEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_TaskQueueVersionInfo'TypesInfoEntry'_unknownFields = y__})
+  defMessage
+    = TaskQueueVersionInfo'TypesInfoEntry'_constructor
+        {_TaskQueueVersionInfo'TypesInfoEntry'key = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersionInfo'TypesInfoEntry'value = Prelude.Nothing,
+         _TaskQueueVersionInfo'TypesInfoEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueVersionInfo'TypesInfoEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueVersionInfo'TypesInfoEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TypesInfoEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TaskQueueVersionInfo'TypesInfoEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueVersionInfo'TypesInfoEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueVersionInfo'TypesInfoEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueVersionInfo'TypesInfoEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.buildIds' @:: Lens' TaskQueueVersionSelection [Data.Text.Text]@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.vec'buildIds' @:: Lens' TaskQueueVersionSelection (Data.Vector.Vector Data.Text.Text)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.unversioned' @:: Lens' TaskQueueVersionSelection Prelude.Bool@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.allActive' @:: Lens' TaskQueueVersionSelection Prelude.Bool@ -}
+data TaskQueueVersionSelection
+  = TaskQueueVersionSelection'_constructor {_TaskQueueVersionSelection'buildIds :: !(Data.Vector.Vector Data.Text.Text),
+                                            _TaskQueueVersionSelection'unversioned :: !Prelude.Bool,
+                                            _TaskQueueVersionSelection'allActive :: !Prelude.Bool,
+                                            _TaskQueueVersionSelection'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueVersionSelection where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueVersionSelection "buildIds" [Data.Text.Text] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionSelection'buildIds
+           (\ x__ y__ -> x__ {_TaskQueueVersionSelection'buildIds = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField TaskQueueVersionSelection "vec'buildIds" (Data.Vector.Vector Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionSelection'buildIds
+           (\ x__ y__ -> x__ {_TaskQueueVersionSelection'buildIds = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersionSelection "unversioned" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionSelection'unversioned
+           (\ x__ y__ -> x__ {_TaskQueueVersionSelection'unversioned = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersionSelection "allActive" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersionSelection'allActive
+           (\ x__ y__ -> x__ {_TaskQueueVersionSelection'allActive = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueVersionSelection where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.TaskQueueVersionSelection"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMTaskQueueVersionSelection\DC2\ESC\n\
+      \\tbuild_ids\CAN\SOH \ETX(\tR\bbuildIds\DC2 \n\
+      \\vunversioned\CAN\STX \SOH(\bR\vunversioned\DC2\GS\n\
+      \\n\
+      \all_active\CAN\ETX \SOH(\bR\tallActive"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        buildIds__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_ids"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"buildIds")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionSelection
+        unversioned__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "unversioned"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"unversioned")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionSelection
+        allActive__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "all_active"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"allActive")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersionSelection
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, buildIds__field_descriptor),
+           (Data.ProtoLens.Tag 2, unversioned__field_descriptor),
+           (Data.ProtoLens.Tag 3, allActive__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueVersionSelection'_unknownFields
+        (\ x__ y__
+           -> x__ {_TaskQueueVersionSelection'_unknownFields = y__})
+  defMessage
+    = TaskQueueVersionSelection'_constructor
+        {_TaskQueueVersionSelection'buildIds = Data.Vector.Generic.empty,
+         _TaskQueueVersionSelection'unversioned = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersionSelection'allActive = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersionSelection'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueVersionSelection
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Text.Text
+             -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueVersionSelection
+        loop x mutable'buildIds
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'buildIds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'buildIds)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'buildIds") frozen'buildIds x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.getText
+                                              (Prelude.fromIntegral len))
+                                        "build_ids"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'buildIds y)
+                                loop x v
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "unversioned"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"unversioned") y x)
+                                  mutable'buildIds
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "all_active"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"allActive") y x)
+                                  mutable'buildIds
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'buildIds
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'buildIds <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'buildIds)
+          "TaskQueueVersionSelection"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.Text.Encoding.encodeUtf8 _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'buildIds") _x))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"unversioned") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"allActive") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData TaskQueueVersionSelection where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueVersionSelection'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueVersionSelection'buildIds x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueVersionSelection'unversioned x__)
+                   (Control.DeepSeq.deepseq
+                      (_TaskQueueVersionSelection'allActive x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.currentVersion' @:: Lens' TaskQueueVersioningInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.rampingVersion' @:: Lens' TaskQueueVersioningInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.rampingVersionPercentage' @:: Lens' TaskQueueVersioningInfo Prelude.Float@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.updateTime' @:: Lens' TaskQueueVersioningInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'updateTime' @:: Lens' TaskQueueVersioningInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data TaskQueueVersioningInfo
+  = TaskQueueVersioningInfo'_constructor {_TaskQueueVersioningInfo'currentVersion :: !Data.Text.Text,
+                                          _TaskQueueVersioningInfo'rampingVersion :: !Data.Text.Text,
+                                          _TaskQueueVersioningInfo'rampingVersionPercentage :: !Prelude.Float,
+                                          _TaskQueueVersioningInfo'updateTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                          _TaskQueueVersioningInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TaskQueueVersioningInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TaskQueueVersioningInfo "currentVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersioningInfo'currentVersion
+           (\ x__ y__ -> x__ {_TaskQueueVersioningInfo'currentVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersioningInfo "rampingVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersioningInfo'rampingVersion
+           (\ x__ y__ -> x__ {_TaskQueueVersioningInfo'rampingVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersioningInfo "rampingVersionPercentage" Prelude.Float where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersioningInfo'rampingVersionPercentage
+           (\ x__ y__
+              -> x__ {_TaskQueueVersioningInfo'rampingVersionPercentage = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TaskQueueVersioningInfo "updateTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersioningInfo'updateTime
+           (\ x__ y__ -> x__ {_TaskQueueVersioningInfo'updateTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TaskQueueVersioningInfo "maybe'updateTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TaskQueueVersioningInfo'updateTime
+           (\ x__ y__ -> x__ {_TaskQueueVersioningInfo'updateTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TaskQueueVersioningInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.TaskQueueVersioningInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBTaskQueueVersioningInfo\DC2'\n\
+      \\SIcurrent_version\CAN\SOH \SOH(\tR\SOcurrentVersion\DC2'\n\
+      \\SIramping_version\CAN\STX \SOH(\tR\SOrampingVersion\DC2<\n\
+      \\SUBramping_version_percentage\CAN\ETX \SOH(\STXR\CANrampingVersionPercentage\DC2;\n\
+      \\vupdate_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \updateTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        currentVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"currentVersion")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersioningInfo
+        rampingVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rampingVersion")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersioningInfo
+        rampingVersionPercentage__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ramping_version_percentage"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.FloatField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Float)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rampingVersionPercentage")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersioningInfo
+        updateTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'updateTime")) ::
+              Data.ProtoLens.FieldDescriptor TaskQueueVersioningInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, currentVersion__field_descriptor),
+           (Data.ProtoLens.Tag 2, rampingVersion__field_descriptor),
+           (Data.ProtoLens.Tag 3, rampingVersionPercentage__field_descriptor),
+           (Data.ProtoLens.Tag 4, updateTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TaskQueueVersioningInfo'_unknownFields
+        (\ x__ y__ -> x__ {_TaskQueueVersioningInfo'_unknownFields = y__})
+  defMessage
+    = TaskQueueVersioningInfo'_constructor
+        {_TaskQueueVersioningInfo'currentVersion = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersioningInfo'rampingVersion = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersioningInfo'rampingVersionPercentage = Data.ProtoLens.fieldDefault,
+         _TaskQueueVersioningInfo'updateTime = Prelude.Nothing,
+         _TaskQueueVersioningInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TaskQueueVersioningInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser TaskQueueVersioningInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "current_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentVersion") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "ramping_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampingVersion") y x)
+                        29
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Data.ProtoLens.Encoding.Bytes.wordToFloat
+                                          Data.ProtoLens.Encoding.Bytes.getFixed32)
+                                       "ramping_version_percentage"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rampingVersionPercentage") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "update_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"updateTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "TaskQueueVersioningInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"currentVersion") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"rampingVersion") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"rampingVersionPercentage") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 29)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putFixed32
+                               Data.ProtoLens.Encoding.Bytes.floatToWord _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'updateTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData TaskQueueVersioningInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TaskQueueVersioningInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TaskQueueVersioningInfo'currentVersion x__)
+                (Control.DeepSeq.deepseq
+                   (_TaskQueueVersioningInfo'rampingVersion x__)
+                   (Control.DeepSeq.deepseq
+                      (_TaskQueueVersioningInfo'rampingVersionPercentage x__)
+                      (Control.DeepSeq.deepseq
+                         (_TaskQueueVersioningInfo'updateTime x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.rule' @:: Lens' TimestampedBuildIdAssignmentRule BuildIdAssignmentRule@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'rule' @:: Lens' TimestampedBuildIdAssignmentRule (Prelude.Maybe BuildIdAssignmentRule)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.createTime' @:: Lens' TimestampedBuildIdAssignmentRule Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'createTime' @:: Lens' TimestampedBuildIdAssignmentRule (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data TimestampedBuildIdAssignmentRule
+  = TimestampedBuildIdAssignmentRule'_constructor {_TimestampedBuildIdAssignmentRule'rule :: !(Prelude.Maybe BuildIdAssignmentRule),
+                                                   _TimestampedBuildIdAssignmentRule'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                   _TimestampedBuildIdAssignmentRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TimestampedBuildIdAssignmentRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TimestampedBuildIdAssignmentRule "rule" BuildIdAssignmentRule where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedBuildIdAssignmentRule'rule
+           (\ x__ y__ -> x__ {_TimestampedBuildIdAssignmentRule'rule = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TimestampedBuildIdAssignmentRule "maybe'rule" (Prelude.Maybe BuildIdAssignmentRule) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedBuildIdAssignmentRule'rule
+           (\ x__ y__ -> x__ {_TimestampedBuildIdAssignmentRule'rule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimestampedBuildIdAssignmentRule "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedBuildIdAssignmentRule'createTime
+           (\ x__ y__
+              -> x__ {_TimestampedBuildIdAssignmentRule'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TimestampedBuildIdAssignmentRule "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedBuildIdAssignmentRule'createTime
+           (\ x__ y__
+              -> x__ {_TimestampedBuildIdAssignmentRule'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TimestampedBuildIdAssignmentRule where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.TimestampedBuildIdAssignmentRule"
+  packedMessageDescriptor _
+    = "\n\
+      \ TimestampedBuildIdAssignmentRule\DC2D\n\
+      \\EOTrule\CAN\SOH \SOH(\v20.temporal.api.taskqueue.v1.BuildIdAssignmentRuleR\EOTrule\DC2;\n\
+      \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        rule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rule"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor BuildIdAssignmentRule)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rule")) ::
+              Data.ProtoLens.FieldDescriptor TimestampedBuildIdAssignmentRule
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor TimestampedBuildIdAssignmentRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, rule__field_descriptor),
+           (Data.ProtoLens.Tag 2, createTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TimestampedBuildIdAssignmentRule'_unknownFields
+        (\ x__ y__
+           -> x__ {_TimestampedBuildIdAssignmentRule'_unknownFields = y__})
+  defMessage
+    = TimestampedBuildIdAssignmentRule'_constructor
+        {_TimestampedBuildIdAssignmentRule'rule = Prelude.Nothing,
+         _TimestampedBuildIdAssignmentRule'createTime = Prelude.Nothing,
+         _TimestampedBuildIdAssignmentRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TimestampedBuildIdAssignmentRule
+          -> Data.ProtoLens.Encoding.Bytes.Parser TimestampedBuildIdAssignmentRule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "rule"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"rule") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "TimestampedBuildIdAssignmentRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'rule") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TimestampedBuildIdAssignmentRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TimestampedBuildIdAssignmentRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TimestampedBuildIdAssignmentRule'rule x__)
+                (Control.DeepSeq.deepseq
+                   (_TimestampedBuildIdAssignmentRule'createTime x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.rule' @:: Lens' TimestampedCompatibleBuildIdRedirectRule CompatibleBuildIdRedirectRule@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'rule' @:: Lens' TimestampedCompatibleBuildIdRedirectRule (Prelude.Maybe CompatibleBuildIdRedirectRule)@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.createTime' @:: Lens' TimestampedCompatibleBuildIdRedirectRule Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Taskqueue.V1.Message_Fields.maybe'createTime' @:: Lens' TimestampedCompatibleBuildIdRedirectRule (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data TimestampedCompatibleBuildIdRedirectRule
+  = TimestampedCompatibleBuildIdRedirectRule'_constructor {_TimestampedCompatibleBuildIdRedirectRule'rule :: !(Prelude.Maybe CompatibleBuildIdRedirectRule),
+                                                           _TimestampedCompatibleBuildIdRedirectRule'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                           _TimestampedCompatibleBuildIdRedirectRule'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show TimestampedCompatibleBuildIdRedirectRule where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField TimestampedCompatibleBuildIdRedirectRule "rule" CompatibleBuildIdRedirectRule where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedCompatibleBuildIdRedirectRule'rule
+           (\ x__ y__
+              -> x__ {_TimestampedCompatibleBuildIdRedirectRule'rule = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TimestampedCompatibleBuildIdRedirectRule "maybe'rule" (Prelude.Maybe CompatibleBuildIdRedirectRule) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedCompatibleBuildIdRedirectRule'rule
+           (\ x__ y__
+              -> x__ {_TimestampedCompatibleBuildIdRedirectRule'rule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField TimestampedCompatibleBuildIdRedirectRule "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedCompatibleBuildIdRedirectRule'createTime
+           (\ x__ y__
+              -> x__
+                   {_TimestampedCompatibleBuildIdRedirectRule'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField TimestampedCompatibleBuildIdRedirectRule "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _TimestampedCompatibleBuildIdRedirectRule'createTime
+           (\ x__ y__
+              -> x__
+                   {_TimestampedCompatibleBuildIdRedirectRule'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message TimestampedCompatibleBuildIdRedirectRule where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.taskqueue.v1.TimestampedCompatibleBuildIdRedirectRule"
+  packedMessageDescriptor _
+    = "\n\
+      \(TimestampedCompatibleBuildIdRedirectRule\DC2L\n\
+      \\EOTrule\CAN\SOH \SOH(\v28.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRuleR\EOTrule\DC2;\n\
+      \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        rule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rule"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CompatibleBuildIdRedirectRule)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rule")) ::
+              Data.ProtoLens.FieldDescriptor TimestampedCompatibleBuildIdRedirectRule
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor TimestampedCompatibleBuildIdRedirectRule
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, rule__field_descriptor),
+           (Data.ProtoLens.Tag 2, createTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _TimestampedCompatibleBuildIdRedirectRule'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_TimestampedCompatibleBuildIdRedirectRule'_unknownFields = y__})
+  defMessage
+    = TimestampedCompatibleBuildIdRedirectRule'_constructor
+        {_TimestampedCompatibleBuildIdRedirectRule'rule = Prelude.Nothing,
+         _TimestampedCompatibleBuildIdRedirectRule'createTime = Prelude.Nothing,
+         _TimestampedCompatibleBuildIdRedirectRule'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          TimestampedCompatibleBuildIdRedirectRule
+          -> Data.ProtoLens.Encoding.Bytes.Parser TimestampedCompatibleBuildIdRedirectRule
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "rule"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"rule") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "TimestampedCompatibleBuildIdRedirectRule"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'rule") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData TimestampedCompatibleBuildIdRedirectRule where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_TimestampedCompatibleBuildIdRedirectRule'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_TimestampedCompatibleBuildIdRedirectRule'rule x__)
+                (Control.DeepSeq.deepseq
+                   (_TimestampedCompatibleBuildIdRedirectRule'createTime x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \'temporal/api/taskqueue/v1/message.proto\DC2\EMtemporal.api.taskqueue.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB\RSgoogle/protobuf/wrappers.proto\SUB&temporal/api/enums/v1/task_queue.proto\SUB$temporal/api/common/v1/message.proto\SUB(temporal/api/deployment/v1/message.proto\"z\n\
+    \\tTaskQueue\DC2\DC2\n\
+    \\EOTname\CAN\SOH \SOH(\tR\EOTname\DC28\n\
+    \\EOTkind\CAN\STX \SOH(\SO2$.temporal.api.enums.v1.TaskQueueKindR\EOTkind\DC2\US\n\
+    \\vnormal_name\CAN\ETX \SOH(\tR\n\
+    \normalName\"b\n\
+    \\DC1TaskQueueMetadata\DC2M\n\
+    \\DC4max_tasks_per_second\CAN\SOH \SOH(\v2\FS.google.protobuf.DoubleValueR\DC1maxTasksPerSecond\"\230\SOH\n\
+    \\ETBTaskQueueVersioningInfo\DC2'\n\
+    \\SIcurrent_version\CAN\SOH \SOH(\tR\SOcurrentVersion\DC2'\n\
+    \\SIramping_version\CAN\STX \SOH(\tR\SOrampingVersion\DC2<\n\
+    \\SUBramping_version_percentage\CAN\ETX \SOH(\STXR\CANrampingVersionPercentage\DC2;\n\
+    \\vupdate_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \updateTime\"y\n\
+    \\EMTaskQueueVersionSelection\DC2\ESC\n\
+    \\tbuild_ids\CAN\SOH \ETX(\tR\bbuildIds\DC2 \n\
+    \\vunversioned\CAN\STX \SOH(\bR\vunversioned\DC2\GS\n\
+    \\n\
+    \all_active\CAN\ETX \SOH(\bR\tallActive\"\190\STX\n\
+    \\DC4TaskQueueVersionInfo\DC2]\n\
+    \\n\
+    \types_info\CAN\SOH \ETX(\v2>.temporal.api.taskqueue.v1.TaskQueueVersionInfo.TypesInfoEntryR\ttypesInfo\DC2[\n\
+    \\DC1task_reachability\CAN\STX \SOH(\SO2..temporal.api.enums.v1.BuildIdTaskReachabilityR\DLEtaskReachability\SUBj\n\
+    \\SOTypesInfoEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\ENQR\ETXkey\DC2B\n\
+    \\ENQvalue\CAN\STX \SOH(\v2,.temporal.api.taskqueue.v1.TaskQueueTypeInfoR\ENQvalue:\STX8\SOH\"\149\SOH\n\
+    \\DC1TaskQueueTypeInfo\DC2?\n\
+    \\apollers\CAN\SOH \ETX(\v2%.temporal.api.taskqueue.v1.PollerInfoR\apollers\DC2?\n\
+    \\ENQstats\CAN\STX \SOH(\v2).temporal.api.taskqueue.v1.TaskQueueStatsR\ENQstats\"\245\SOH\n\
+    \\SOTaskQueueStats\DC2:\n\
+    \\EMapproximate_backlog_count\CAN\SOH \SOH(\ETXR\ETBapproximateBacklogCount\DC2Q\n\
+    \\ETBapproximate_backlog_age\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\NAKapproximateBacklogAge\DC2$\n\
+    \\SOtasks_add_rate\CAN\ETX \SOH(\STXR\ftasksAddRate\DC2.\n\
+    \\DC3tasks_dispatch_rate\CAN\EOT \SOH(\STXR\DC1tasksDispatchRate\"\239\SOH\n\
+    \\SITaskQueueStatus\DC2,\n\
+    \\DC2backlog_count_hint\CAN\SOH \SOH(\ETXR\DLEbacklogCountHint\DC2\GS\n\
+    \\n\
+    \read_level\CAN\STX \SOH(\ETXR\treadLevel\DC2\ESC\n\
+    \\tack_level\CAN\ETX \SOH(\ETXR\backLevel\DC2&\n\
+    \\SIrate_per_second\CAN\EOT \SOH(\SOHR\rratePerSecond\DC2J\n\
+    \\rtask_id_block\CAN\ENQ \SOH(\v2&.temporal.api.taskqueue.v1.TaskIdBlockR\vtaskIdBlock\"?\n\
+    \\vTaskIdBlock\DC2\EM\n\
+    \\bstart_id\CAN\SOH \SOH(\ETXR\astartId\DC2\NAK\n\
+    \\ACKend_id\CAN\STX \SOH(\ETXR\ENQendId\"V\n\
+    \\SUBTaskQueuePartitionMetadata\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2&\n\
+    \\SIowner_host_name\CAN\STX \SOH(\tR\rownerHostName\"\241\STX\n\
+    \\n\
+    \PollerInfo\DC2D\n\
+    \\DLElast_access_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\SOlastAccessTime\DC2\SUB\n\
+    \\bidentity\CAN\STX \SOH(\tR\bidentity\DC2&\n\
+    \\SIrate_per_second\CAN\ETX \SOH(\SOHR\rratePerSecond\DC2u\n\
+    \\ESCworker_version_capabilities\CAN\EOT \SOH(\v21.temporal.api.common.v1.WorkerVersionCapabilitiesR\EMworkerVersionCapabilitiesB\STX\CAN\SOH\DC2b\n\
+    \\DC2deployment_options\CAN\ENQ \SOH(\v23.temporal.api.deployment.v1.WorkerDeploymentOptionsR\DC1deploymentOptions\"\195\SOH\n\
+    \\EMStickyExecutionAttributes\DC2P\n\
+    \\DC1worker_task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\SIworkerTaskQueue\DC2T\n\
+    \\EMschedule_to_start_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\"3\n\
+    \\DC4CompatibleVersionSet\DC2\ESC\n\
+    \\tbuild_ids\CAN\SOH \ETX(\tR\bbuildIds\"\131\SOH\n\
+    \\NAKTaskQueueReachability\DC2\GS\n\
+    \\n\
+    \task_queue\CAN\SOH \SOH(\tR\ttaskQueue\DC2K\n\
+    \\freachability\CAN\STX \ETX(\SO2'.temporal.api.enums.v1.TaskReachabilityR\freachability\"\154\SOH\n\
+    \\DC3BuildIdReachability\DC2\EM\n\
+    \\bbuild_id\CAN\SOH \SOH(\tR\abuildId\DC2h\n\
+    \\ETBtask_queue_reachability\CAN\STX \ETX(\v20.temporal.api.taskqueue.v1.TaskQueueReachabilityR\NAKtaskQueueReachability\";\n\
+    \\DLERampByPercentage\DC2'\n\
+    \\SIramp_percentage\CAN\SOH \SOH(\STXR\SOrampPercentage\"\159\SOH\n\
+    \\NAKBuildIdAssignmentRule\DC2&\n\
+    \\SItarget_build_id\CAN\SOH \SOH(\tR\rtargetBuildId\DC2V\n\
+    \\SIpercentage_ramp\CAN\ETX \SOH(\v2+.temporal.api.taskqueue.v1.RampByPercentageH\NULR\SOpercentageRampB\ACK\n\
+    \\EOTramp\"o\n\
+    \\GSCompatibleBuildIdRedirectRule\DC2&\n\
+    \\SIsource_build_id\CAN\SOH \SOH(\tR\rsourceBuildId\DC2&\n\
+    \\SItarget_build_id\CAN\STX \SOH(\tR\rtargetBuildId\"\165\SOH\n\
+    \ TimestampedBuildIdAssignmentRule\DC2D\n\
+    \\EOTrule\CAN\SOH \SOH(\v20.temporal.api.taskqueue.v1.BuildIdAssignmentRuleR\EOTrule\DC2;\n\
+    \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\"\181\SOH\n\
+    \(TimestampedCompatibleBuildIdRedirectRule\DC2L\n\
+    \\EOTrule\CAN\SOH \SOH(\v28.temporal.api.taskqueue.v1.CompatibleBuildIdRedirectRuleR\EOTrule\DC2;\n\
+    \\vcreate_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\"Z\n\
+    \\NAKPollerScalingDecision\DC2A\n\
+    \\GSpoll_request_delta_suggestion\CAN\SOH \SOH(\ENQR\SUBpollRequestDeltaSuggestionB\152\SOH\n\
+    \\FSio.temporal.api.taskqueue.v1B\fMessageProtoP\SOHZ)go.temporal.io/api/taskqueue/v1;taskqueue\170\STX\ESCTemporalio.Api.TaskQueue.V1\234\STX\RSTemporalio::Api::TaskQueue::V1J\132\DEL\n\
+    \\a\DC2\ENQ\SYN\NUL\209\STX\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL@\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL@\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL5\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL7\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL7\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL8\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL8\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL(\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX%\NUL0\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX&\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX'\NUL2\n\
+    \E\n\
+    \\STX\EOT\NUL\DC2\EOT*\NUL1\SOH\SUB9 See https://docs.temporal.io/docs/concepts/task-queues/\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX*\b\DC1\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX+\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX+\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX+\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX+\DC2\DC3\n\
+    \/\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX-\EOT1\SUB\" Default: TASK_QUEUE_KIND_NORMAL.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX-\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX-(,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX-/0\n\
+    \\149\SOH\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX0\EOT\ESC\SUB\135\SOH Iff kind == TASK_QUEUE_KIND_STICKY, then this field contains the name of\n\
+    \ the normal task queue that the sticky worker is running on.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX0\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX0\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX0\EM\SUB\n\
+    \2\n\
+    \\STX\EOT\SOH\DC2\EOT4\NUL7\SOH\SUB& Only applies to activity task queues\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX4\b\EM\n\
+    \B\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX6\EOT9\SUB5 Allows throttling dispatch of tasks from this queue\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX6\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX6 4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX678\n\
+    \m\n\
+    \\STX\EOT\STX\DC2\EOT:\NULS\SOH\SUBa Experimental. Worker Deployments are experimental and might significantly change in the future.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX:\b\US\n\
+    \\177\EOT\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXC\EOT\US\SUB\163\EOT Always present. Specifies which Deployment Version should receive new workflow\n\
+    \ executions and tasks of existing unversioned or AutoUpgrade workflows.\n\
+    \ Can be one of the following:\n\
+    \ - A Deployment Version identifier in the form \"<deployment_name>.<build_id>\".\n\
+    \ - Or, the \"__unversioned__\" special value, to represent all the unversioned workers (those\n\
+    \   with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)\n\
+    \ Note: Current Version is overridden by the Ramping Version for a portion of traffic when a ramp\n\
+    \ is set (see `ramping_version`.)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXC\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXC\GS\RS\n\
+    \\225\EOT\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETXL\EOT\US\SUB\211\EOT When present, it means the traffic is being shifted from the Current Version to the Ramping\n\
+    \ Version.\n\
+    \ Must always be different from `current_version`. Can be one of the following:\n\
+    \ - A Deployment Version identifier in the form \"<deployment_name>.<build_id>\".\n\
+    \ - Or, the \"__unversioned__\" special value, to represent all the unversioned workers (those\n\
+    \   with `UNVERSIONED` (or unspecified) `WorkerVersioningMode`.)\n\
+    \ Note that it is possible to ramp from one Version to another Version, or from unversioned\n\
+    \ workers to a particular Version, or from a particular Version to unversioned workers.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETXL\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETXL\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETXL\GS\RS\n\
+    \\153\STX\n\
+    \\EOT\EOT\STX\STX\STX\DC2\ETXP\EOT)\SUB\139\STX Percentage of tasks that are routed to the Ramping Version instead of the Current Version.\n\
+    \ Valid range: [0, 100]. A 100% value means the Ramping Version is receiving full traffic but\n\
+    \ not yet \"promoted\" to be the Current Version, likely due to pending validations.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETXP\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETXP\n\
+    \$\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETXP'(\n\
+    \K\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\ETXR\EOT.\SUB> Last time versioning information of this Task Queue changed.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETXR\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETXR\RS)\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETXR,-\n\
+    \G\n\
+    \\STX\EOT\ETX\DC2\EOTV\NUL^\SOH\SUB; Used for specifying versions the caller is interested in.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETXV\b!\n\
+    \*\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETXX\EOT\"\SUB\GS Include specific Build IDs.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\EOT\DC2\ETXX\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXX\r\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXX\DC4\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXX !\n\
+    \-\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETXZ\EOT\EM\SUB  Include the unversioned queue.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXZ\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXZ\t\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXZ\ETB\CAN\n\
+    \\196\SOH\n\
+    \\EOT\EOT\ETX\STX\STX\DC2\ETX]\EOT\CAN\SUB\182\SOH Include all active versions. A version is considered active if, in the last few minutes,\n\
+    \ it has had new tasks or polls, or it has been the subject of certain task queue API calls.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\ETX]\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETX]\t\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETX]\SYN\ETB\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOT`\NULn\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX`\b\FS\n\
+    \y\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXb\EOT1\SUBl Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETXb\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXb\",\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXb/0\n\
+    \\235\ENQ\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXm\EOTH\SUB\221\ENQ Task Reachability is eventually consistent; there may be a delay until it converges to the most\n\
+    \ accurate value but it is designed in a way to take the more conservative side until it converges.\n\
+    \ For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY.\n\
+    \\n\
+    \ Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be\n\
+    \ accounted for reachability as server cannot know if they'll happen as they do not use\n\
+    \ assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows\n\
+    \ who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make\n\
+    \ sure to query reachability for the parent/previous workflow's Task Queue as well.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\ETXm\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXm2C\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXmFG\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOTp\NULt\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXp\b\EM\n\
+    \\DEL\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXr\EOT$\SUBr Unversioned workers (with `useVersioning=false`) are reported in unversioned result even if they set a Build ID.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\EOT\DC2\ETXr\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\ETXr\r\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXr\CAN\US\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXr\"#\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETXs\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\ETXs\EOT\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXs\DC3\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXs\ESC\FS\n\
+    \\179\STX\n\
+    \\STX\EOT\ACK\DC2\ENQz\NUL\167\SOH\SOH\SUB\165\STX TaskQueueStats contains statistics about task queue backlog and activity.\n\
+    \\n\
+    \ For workflow task queue type, this result is partial because tasks sent to sticky queues are not included. Read\n\
+    \ comments above each metric to understand the impact of sticky queue exclusion on that metric accuracy.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXz\b\SYN\n\
+    \\162\ETX\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\129\SOH\EOT(\SUB\147\ETX The approximate number of tasks backlogged in this task queue. May count expired tasks but eventually\n\
+    \ converges to the right value. Can be relied upon for scaling decisions.\n\
+    \\n\
+    \ Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because\n\
+    \ those tasks only remain valid for a few seconds, the inaccuracy becomes less significant as the backlog size\n\
+    \ grows.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\129\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\129\SOH\n\
+    \#\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\129\SOH&'\n\
+    \\152\ETX\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\EOT\136\SOH\EOT9\SUB\137\ETX Approximate age of the oldest task in the backlog based on the creation time of the task at the head of\n\
+    \ the queue. Can be relied upon for scaling decisions.\n\
+    \\n\
+    \ Special note for workflow task queue type: this metric does not count sticky queue tasks. However, because\n\
+    \ those tasks only remain valid for a few seconds, they should not affect the result when backlog is older than\n\
+    \ few seconds.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\136\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\136\SOH\GS4\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\136\SOH78\n\
+    \\188\a\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\EOT\151\SOH\EOT\GS\SUB\173\a The approximate tasks per second added to the task queue, averaging the last 30 seconds. These includes tasks\n\
+    \ whether or not they were added to/dispatched from the backlog or they were dispatched immediately without going\n\
+    \ to the backlog (sync-matched).\n\
+    \\n\
+    \ The difference between `tasks_add_rate` and `tasks_dispatch_rate` is a reliable metric for the rate at which\n\
+    \ backlog grows/shrinks.\n\
+    \\n\
+    \ Note: the actual tasks delivered to the workers may significantly be higher than the numbers reported by\n\
+    \ tasks_add_rate, because:\n\
+    \ - Tasks can be sent to workers without going to the task queue. This is called Eager dispatch. Eager dispatch is\n\
+    \   enable for activities by default in the latest SDKs.\n\
+    \ - Tasks going to Sticky queue are not accounted for. Note that, typically, only the first workflow task of each\n\
+    \   workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific\n\
+    \   worker instance.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ENQ\DC2\EOT\151\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\151\SOH\n\
+    \\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\151\SOH\ESC\FS\n\
+    \\200\a\n\
+    \\EOT\EOT\ACK\STX\ETX\DC2\EOT\166\SOH\EOT\"\SUB\185\a The approximate tasks per second dispatched from the task queue, averaging the last 30 seconds. These includes\n\
+    \ tasks whether or not they were added to/dispatched from the backlog or they were dispatched immediately without\n\
+    \ going to the backlog (sync-matched).\n\
+    \\n\
+    \ The difference between `tasks_add_rate` and `tasks_dispatch_rate` is a reliable metric for the rate at which\n\
+    \ backlog grows/shrinks.\n\
+    \\n\
+    \ Note: the actual tasks delivered to the workers may significantly be higher than the numbers reported by\n\
+    \ tasks_dispatch_rate, because:\n\
+    \ - Tasks can be sent to workers without going to the task queue. This is called Eager dispatch. Eager dispatch is\n\
+    \   enable for activities by default in the latest SDKs.\n\
+    \ - Tasks going to Sticky queue are not accounted for. Note that, typically, only the first workflow task of each\n\
+    \   workflow goes to a normal queue, and the rest workflow tasks go to the Sticky queue associated with a specific\n\
+    \   worker instance.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\ENQ\DC2\EOT\166\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\166\SOH\n\
+    \\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\166\SOH !\n\
+    \{\n\
+    \\STX\EOT\a\DC2\ACK\170\SOH\NUL\176\SOH\SOH\SUBm Deprecated. Use `InternalTaskQueueStatus`. This is kept until `DescribeTaskQueue` supports legacy behavior.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\170\SOH\b\ETB\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\171\SOH\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\171\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\171\SOH\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\171\SOH\US \n\
+    \\f\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\172\SOH\EOT\EM\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\172\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\172\SOH\n\
+    \\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\172\SOH\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\173\SOH\EOT\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ENQ\DC2\EOT\173\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\173\SOH\n\
+    \\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\173\SOH\SYN\ETB\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\174\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ENQ\DC2\EOT\174\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\174\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\174\SOH\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\EOT\DC2\EOT\175\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ACK\DC2\EOT\175\SOH\EOT\SI\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\EOT\175\SOH\DLE\GS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\EOT\175\SOH !\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\178\SOH\NUL\181\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\178\SOH\b\DC3\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\179\SOH\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ENQ\DC2\EOT\179\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\179\SOH\n\
+    \\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\179\SOH\NAK\SYN\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\SOH\DC2\EOT\180\SOH\EOT\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ENQ\DC2\EOT\180\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\180\SOH\n\
+    \\DLE\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\180\SOH\DC3\DC4\n\
+    \\f\n\
+    \\STX\EOT\t\DC2\ACK\183\SOH\NUL\186\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\183\SOH\b\"\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\184\SOH\EOT\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\184\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\184\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\184\SOH\DC1\DC2\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\SOH\DC2\EOT\185\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ENQ\DC2\EOT\185\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\185\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\185\SOH\GS\RS\n\
+    \\f\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\188\SOH\NUL\198\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\188\SOH\b\DC2\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\189\SOH\EOT3\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ACK\DC2\EOT\189\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\189\SOH\RS.\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\189\SOH12\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\SOH\DC2\EOT\190\SOH\EOT\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ENQ\DC2\EOT\190\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\SOH\DC2\EOT\190\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ETX\DC2\EOT\190\SOH\SYN\ETB\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\STX\DC2\EOT\191\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ENQ\DC2\EOT\191\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\SOH\DC2\EOT\191\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ETX\DC2\EOT\191\SOH\GS\RS\n\
+    \\169\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\ETX\DC2\EOT\195\SOH\EOTi\SUB\154\SOH If a worker has opted into the worker versioning feature while polling, its capabilities will\n\
+    \ appear here.\n\
+    \ Deprecated. Replaced by deployment_options.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ACK\DC2\EOT\195\SOH\EOT4\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\SOH\DC2\EOT\195\SOH5P\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ETX\DC2\EOT\195\SOHST\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\b\DC2\EOT\195\SOHUh\n\
+    \\SO\n\
+    \\ACK\EOT\n\
+    \\STX\ETX\b\ETX\DC2\EOT\195\SOHVg\n\
+    \B\n\
+    \\EOT\EOT\n\
+    \\STX\EOT\DC2\EOT\197\SOH\EOTN\SUB4 Worker deployment options that SDK sent to server.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ACK\DC2\EOT\197\SOH\EOT6\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\SOH\DC2\EOT\197\SOH7I\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ETX\DC2\EOT\197\SOHLM\n\
+    \\f\n\
+    \\STX\EOT\v\DC2\ACK\200\SOH\NUL\205\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\200\SOH\b!\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\201\SOH\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ACK\DC2\EOT\201\SOH\EOT\r\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\201\SOH\SO\US\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\201\SOH\"#\n\
+    \\132\SOH\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\204\SOH\EOT;\SUBv (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ACK\DC2\EOT\204\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\204\SOH\GS6\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\204\SOH9:\n\
+    \\212\SOH\n\
+    \\STX\EOT\f\DC2\ACK\209\SOH\NUL\212\SOH\SOH\SUB\197\SOH Used by the worker versioning APIs, represents an unordered set of one or more versions which are\n\
+    \ considered to be compatible with each other. Currently the versions are always worker build IDs.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\209\SOH\b\FS\n\
+    \{\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\211\SOH\EOT\"\SUBm All the compatible versions, unordered, except for the last element, which is considered the set \"default\".\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\EOT\DC2\EOT\211\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ENQ\DC2\EOT\211\SOH\r\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\211\SOH\DC4\GS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\211\SOH !\n\
+    \J\n\
+    \\STX\EOT\r\DC2\ACK\215\SOH\NUL\221\SOH\SOH\SUB< Reachability of tasks for a worker on a single task queue.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\215\SOH\b\GS\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\216\SOH\EOT\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ENQ\DC2\EOT\216\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\216\SOH\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\216\SOH\CAN\EM\n\
+    \\233\SOH\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\220\SOH\EOTE\SUB\218\SOH Task reachability for a worker in a single task queue.\n\
+    \ See the TaskReachability docstring for information about each enum variant.\n\
+    \ If reachability is empty, this worker is considered unreachable in this task queue.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\EOT\DC2\EOT\220\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ACK\DC2\EOT\220\SOH\r3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\220\SOH4@\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\220\SOHCD\n\
+    \[\n\
+    \\STX\EOT\SO\DC2\ACK\224\SOH\NUL\229\SOH\SOH\SUBM Reachability of tasks for a worker by build id, in one or more task queues.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\224\SOH\b\ESC\n\
+    \3\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\226\SOH\EOT\CAN\SUB% A build id or empty if unversioned.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ENQ\DC2\EOT\226\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\226\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\226\SOH\SYN\ETB\n\
+    \,\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\EOT\228\SOH\EOT?\SUB\RS Reachability per task queue.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\EOT\DC2\EOT\228\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ACK\DC2\EOT\228\SOH\r\"\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\228\SOH#:\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\228\SOH=>\n\
+    \\f\n\
+    \\STX\EOT\SI\DC2\ACK\231\SOH\NUL\234\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\231\SOH\b\CAN\n\
+    \,\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\233\SOH\EOT\RS\SUB\RS Acceptable range is [0,100).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\233\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\233\SOH\n\
+    \\EM\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\233\SOH\FS\GS\n\
+    \\190\SI\n\
+    \\STX\EOT\DLE\DC2\ACK\145\STX\NUL\158\STX\SOH\SUB\175\SI Assignment rules are applied to *new* Workflow and Activity executions at\n\
+    \ schedule time to assign them to a Build ID.\n\
+    \\n\
+    \ Assignment rules will not be used in the following cases:\n\
+    \    - Child Workflows or Continue-As-New Executions who inherit their\n\
+    \      parent/previous Workflow's assigned Build ID (by setting the\n\
+    \      `inherit_build_id` flag - default behavior in SDKs when the same Task Queue\n\
+    \      is used.)\n\
+    \    - An Activity that inherits the assigned Build ID of its Workflow (by\n\
+    \      setting the `use_workflow_build_id` flag - default behavior in SDKs\n\
+    \      when the same Task Queue is used.)\n\
+    \\n\
+    \ In absence of (applicable) redirect rules (`CompatibleBuildIdRedirectRule`s)\n\
+    \ the task will be dispatched to Workers of the Build ID determined by the\n\
+    \ assignment rules (or inherited). Otherwise, the final Build ID will be\n\
+    \ determined by the redirect rules.\n\
+    \\n\
+    \ Once a Workflow completes its first Workflow Task in a particular Build ID it\n\
+    \ stays in that Build ID regardless of changes to assignment rules. Redirect\n\
+    \ rules can be used to move the workflow to another compatible Build ID.\n\
+    \\n\
+    \ When using Worker Versioning on a Task Queue, in the steady state,\n\
+    \ there should typically be a single assignment rule to send all new executions\n\
+    \ to the latest Build ID. Existence of at least one such \"unconditional\"\n\
+    \ rule at all times is enforces by the system, unless the `force` flag is used\n\
+    \ by the user when replacing/deleting these rules (for exceptional cases).\n\
+    \\n\
+    \ During a deployment, one or more additional rules can be added to assign a\n\
+    \ subset of the tasks to a new Build ID based on a \"ramp percentage\".\n\
+    \\n\
+    \ When there are multiple assignment rules for a Task Queue, the rules are\n\
+    \ evaluated in order, starting from index 0. The first applicable rule will be\n\
+    \ applied and the rest will be ignored.\n\
+    \\n\
+    \ In the event that no assignment rule is applicable on a task (or the Task\n\
+    \ Queue is simply not versioned), the tasks will be dispatched to an\n\
+    \ unversioned Worker.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\145\STX\b\GS\n\
+    \\f\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\146\STX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ENQ\DC2\EOT\146\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\146\STX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\146\STX\GS\RS\n\
+    \\240\SOH\n\
+    \\EOT\EOT\DLE\b\NUL\DC2\ACK\152\STX\EOT\157\STX\ENQ\SUB\223\SOH If a ramp is provided, this rule will be applied only to a sample of\n\
+    \ tasks according to the provided percentage.\n\
+    \ This option can be used only on \"terminal\" Build IDs (the ones not used\n\
+    \ as source in any redirect rules).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\b\NUL\SOH\DC2\EOT\152\STX\n\
+    \\SO\n\
+    \\167\SOH\n\
+    \\EOT\EOT\DLE\STX\SOH\DC2\EOT\156\STX\b-\SUB\152\SOH This ramp is useful for gradual Blue/Green deployments (and similar)\n\
+    \ where you want to send a certain portion of the traffic to the target\n\
+    \ Build ID.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ACK\DC2\EOT\156\STX\b\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\156\STX\EM(\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\156\STX+,\n\
+    \\144\a\n\
+    \\STX\EOT\DC1\DC2\ACK\180\STX\NUL\187\STX\SOH\SUB\129\a These rules apply to tasks assigned to a particular Build ID\n\
+    \ (`source_build_id`) to redirect them to another *compatible* Build ID\n\
+    \ (`target_build_id`).\n\
+    \\n\
+    \ It is user's responsibility to ensure that the target Build ID is compatible\n\
+    \ with the source Build ID (e.g. by using the Patching API).\n\
+    \\n\
+    \ Most deployments are not expected to need these rules, however following\n\
+    \ situations can greatly benefit from redirects:\n\
+    \  - Need to move long-running Workflow Executions from an old Build ID to a\n\
+    \    newer one.\n\
+    \  - Need to hotfix some broken or stuck Workflow Executions.\n\
+    \\n\
+    \ In steady state, redirect rules are beneficial when dealing with old\n\
+    \ Executions ran on now-decommissioned Build IDs:\n\
+    \  - To redirecting the Workflow Queries to the current (compatible) Build ID.\n\
+    \  - To be able to Reset an old Execution so it can run on the current\n\
+    \    (compatible) Build ID.\n\
+    \\n\
+    \ Redirect rules can be chained.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\180\STX\b%\n\
+    \\f\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\181\STX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ENQ\DC2\EOT\181\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\181\STX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\181\STX\GS\RS\n\
+    \\240\SOH\n\
+    \\EOT\EOT\DC1\STX\SOH\DC2\EOT\186\STX\EOT\US\SUB\225\SOH Target Build ID must be compatible with the Source Build ID; that is it\n\
+    \ must be able to process event histories made by the Source Build ID by\n\
+    \ using [Patching](https://docs.temporal.io/workflows#patching) or other\n\
+    \ means.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ENQ\DC2\EOT\186\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\186\STX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\186\STX\GS\RS\n\
+    \\f\n\
+    \\STX\EOT\DC2\DC2\ACK\189\STX\NUL\192\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC2\SOH\DC2\EOT\189\STX\b(\n\
+    \\f\n\
+    \\EOT\EOT\DC2\STX\NUL\DC2\EOT\190\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ACK\DC2\EOT\190\STX\EOT\EM\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\190\STX\SUB\RS\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\190\STX!\"\n\
+    \\f\n\
+    \\EOT\EOT\DC2\STX\SOH\DC2\EOT\191\STX\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\ACK\DC2\EOT\191\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\SOH\DC2\EOT\191\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\ETX\DC2\EOT\191\STX,-\n\
+    \\f\n\
+    \\STX\EOT\DC3\DC2\ACK\194\STX\NUL\197\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC3\SOH\DC2\EOT\194\STX\b0\n\
+    \\f\n\
+    \\EOT\EOT\DC3\STX\NUL\DC2\EOT\195\STX\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ACK\DC2\EOT\195\STX\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\195\STX\"&\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\195\STX)*\n\
+    \\f\n\
+    \\EOT\EOT\DC3\STX\SOH\DC2\EOT\196\STX\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ACK\DC2\EOT\196\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\SOH\DC2\EOT\196\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ETX\DC2\EOT\196\STX,-\n\
+    \s\n\
+    \\STX\EOT\DC4\DC2\ACK\201\STX\NUL\209\STX\SOH\SUBe Attached to task responses to give hints to the SDK about how it may adjust its number of\n\
+    \ pollers.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DC4\SOH\DC2\EOT\201\STX\b\GS\n\
+    \\220\STX\n\
+    \\EOT\EOT\DC4\STX\NUL\DC2\EOT\208\STX\STX*\SUB\205\STX How many poll requests to suggest should be added or removed, if any. As of now, server only\n\
+    \ scales up or down by 1. However, SDKs should allow for other values (while staying within\n\
+    \ defined min/max).\n\
+    \\n\
+    \ The SDK is free to ignore this suggestion, EX: making more polls would not make sense because\n\
+    \ all slots are already occupied.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ENQ\DC2\EOT\208\STX\STX\a\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\SOH\DC2\EOT\208\STX\b%\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ETX\DC2\EOT\208\STX()b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Taskqueue/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Taskqueue/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Taskqueue/V1/Message_Fields.hs
@@ -0,0 +1,431 @@
+{- This file was auto-generated from temporal/api/taskqueue/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Taskqueue.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Google.Protobuf.Wrappers
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.TaskQueue
+ackLevel ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ackLevel" a) =>
+  Lens.Family2.LensLike' f s a
+ackLevel = Data.ProtoLens.Field.field @"ackLevel"
+allActive ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "allActive" a) =>
+  Lens.Family2.LensLike' f s a
+allActive = Data.ProtoLens.Field.field @"allActive"
+approximateBacklogAge ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "approximateBacklogAge" a) =>
+  Lens.Family2.LensLike' f s a
+approximateBacklogAge
+  = Data.ProtoLens.Field.field @"approximateBacklogAge"
+approximateBacklogCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "approximateBacklogCount" a) =>
+  Lens.Family2.LensLike' f s a
+approximateBacklogCount
+  = Data.ProtoLens.Field.field @"approximateBacklogCount"
+backlogCountHint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backlogCountHint" a) =>
+  Lens.Family2.LensLike' f s a
+backlogCountHint = Data.ProtoLens.Field.field @"backlogCountHint"
+buildId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "buildId" a) =>
+  Lens.Family2.LensLike' f s a
+buildId = Data.ProtoLens.Field.field @"buildId"
+buildIds ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "buildIds" a) =>
+  Lens.Family2.LensLike' f s a
+buildIds = Data.ProtoLens.Field.field @"buildIds"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+currentVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentVersion" a) =>
+  Lens.Family2.LensLike' f s a
+currentVersion = Data.ProtoLens.Field.field @"currentVersion"
+deploymentOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentOptions" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentOptions = Data.ProtoLens.Field.field @"deploymentOptions"
+endId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "endId" a) =>
+  Lens.Family2.LensLike' f s a
+endId = Data.ProtoLens.Field.field @"endId"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+kind ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "kind" a) =>
+  Lens.Family2.LensLike' f s a
+kind = Data.ProtoLens.Field.field @"kind"
+lastAccessTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastAccessTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastAccessTime = Data.ProtoLens.Field.field @"lastAccessTime"
+maxTasksPerSecond ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maxTasksPerSecond" a) =>
+  Lens.Family2.LensLike' f s a
+maxTasksPerSecond = Data.ProtoLens.Field.field @"maxTasksPerSecond"
+maybe'approximateBacklogAge ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'approximateBacklogAge" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'approximateBacklogAge
+  = Data.ProtoLens.Field.field @"maybe'approximateBacklogAge"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'deploymentOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deploymentOptions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deploymentOptions
+  = Data.ProtoLens.Field.field @"maybe'deploymentOptions"
+maybe'lastAccessTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastAccessTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastAccessTime
+  = Data.ProtoLens.Field.field @"maybe'lastAccessTime"
+maybe'maxTasksPerSecond ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'maxTasksPerSecond" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'maxTasksPerSecond
+  = Data.ProtoLens.Field.field @"maybe'maxTasksPerSecond"
+maybe'percentageRamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'percentageRamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'percentageRamp
+  = Data.ProtoLens.Field.field @"maybe'percentageRamp"
+maybe'ramp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'ramp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'ramp = Data.ProtoLens.Field.field @"maybe'ramp"
+maybe'rule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rule = Data.ProtoLens.Field.field @"maybe'rule"
+maybe'scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout"
+maybe'stats ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'stats" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'stats = Data.ProtoLens.Field.field @"maybe'stats"
+maybe'taskIdBlock ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskIdBlock" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskIdBlock = Data.ProtoLens.Field.field @"maybe'taskIdBlock"
+maybe'updateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateTime = Data.ProtoLens.Field.field @"maybe'updateTime"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'workerTaskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerTaskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerTaskQueue
+  = Data.ProtoLens.Field.field @"maybe'workerTaskQueue"
+maybe'workerVersionCapabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerVersionCapabilities" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerVersionCapabilities
+  = Data.ProtoLens.Field.field @"maybe'workerVersionCapabilities"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+normalName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "normalName" a) =>
+  Lens.Family2.LensLike' f s a
+normalName = Data.ProtoLens.Field.field @"normalName"
+ownerHostName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ownerHostName" a) =>
+  Lens.Family2.LensLike' f s a
+ownerHostName = Data.ProtoLens.Field.field @"ownerHostName"
+percentageRamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "percentageRamp" a) =>
+  Lens.Family2.LensLike' f s a
+percentageRamp = Data.ProtoLens.Field.field @"percentageRamp"
+pollRequestDeltaSuggestion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pollRequestDeltaSuggestion" a) =>
+  Lens.Family2.LensLike' f s a
+pollRequestDeltaSuggestion
+  = Data.ProtoLens.Field.field @"pollRequestDeltaSuggestion"
+pollers ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "pollers" a) =>
+  Lens.Family2.LensLike' f s a
+pollers = Data.ProtoLens.Field.field @"pollers"
+rampPercentage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampPercentage" a) =>
+  Lens.Family2.LensLike' f s a
+rampPercentage = Data.ProtoLens.Field.field @"rampPercentage"
+rampingVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingVersion" a) =>
+  Lens.Family2.LensLike' f s a
+rampingVersion = Data.ProtoLens.Field.field @"rampingVersion"
+rampingVersionPercentage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rampingVersionPercentage" a) =>
+  Lens.Family2.LensLike' f s a
+rampingVersionPercentage
+  = Data.ProtoLens.Field.field @"rampingVersionPercentage"
+ratePerSecond ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ratePerSecond" a) =>
+  Lens.Family2.LensLike' f s a
+ratePerSecond = Data.ProtoLens.Field.field @"ratePerSecond"
+reachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "reachability" a) =>
+  Lens.Family2.LensLike' f s a
+reachability = Data.ProtoLens.Field.field @"reachability"
+readLevel ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "readLevel" a) =>
+  Lens.Family2.LensLike' f s a
+readLevel = Data.ProtoLens.Field.field @"readLevel"
+rule ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "rule" a) =>
+  Lens.Family2.LensLike' f s a
+rule = Data.ProtoLens.Field.field @"rule"
+scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"scheduleToStartTimeout"
+sourceBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "sourceBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+sourceBuildId = Data.ProtoLens.Field.field @"sourceBuildId"
+startId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "startId" a) =>
+  Lens.Family2.LensLike' f s a
+startId = Data.ProtoLens.Field.field @"startId"
+stats ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "stats" a) =>
+  Lens.Family2.LensLike' f s a
+stats = Data.ProtoLens.Field.field @"stats"
+targetBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "targetBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+targetBuildId = Data.ProtoLens.Field.field @"targetBuildId"
+taskIdBlock ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskIdBlock" a) =>
+  Lens.Family2.LensLike' f s a
+taskIdBlock = Data.ProtoLens.Field.field @"taskIdBlock"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+taskQueueReachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueueReachability" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueueReachability
+  = Data.ProtoLens.Field.field @"taskQueueReachability"
+taskReachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskReachability" a) =>
+  Lens.Family2.LensLike' f s a
+taskReachability = Data.ProtoLens.Field.field @"taskReachability"
+tasksAddRate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "tasksAddRate" a) =>
+  Lens.Family2.LensLike' f s a
+tasksAddRate = Data.ProtoLens.Field.field @"tasksAddRate"
+tasksDispatchRate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "tasksDispatchRate" a) =>
+  Lens.Family2.LensLike' f s a
+tasksDispatchRate = Data.ProtoLens.Field.field @"tasksDispatchRate"
+typesInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "typesInfo" a) =>
+  Lens.Family2.LensLike' f s a
+typesInfo = Data.ProtoLens.Field.field @"typesInfo"
+unversioned ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "unversioned" a) =>
+  Lens.Family2.LensLike' f s a
+unversioned = Data.ProtoLens.Field.field @"unversioned"
+updateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateTime" a) =>
+  Lens.Family2.LensLike' f s a
+updateTime = Data.ProtoLens.Field.field @"updateTime"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'buildIds ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'buildIds" a) =>
+  Lens.Family2.LensLike' f s a
+vec'buildIds = Data.ProtoLens.Field.field @"vec'buildIds"
+vec'pollers ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'pollers" a) =>
+  Lens.Family2.LensLike' f s a
+vec'pollers = Data.ProtoLens.Field.field @"vec'pollers"
+vec'reachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'reachability" a) =>
+  Lens.Family2.LensLike' f s a
+vec'reachability = Data.ProtoLens.Field.field @"vec'reachability"
+vec'taskQueueReachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'taskQueueReachability" a) =>
+  Lens.Family2.LensLike' f s a
+vec'taskQueueReachability
+  = Data.ProtoLens.Field.field @"vec'taskQueueReachability"
+workerTaskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerTaskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+workerTaskQueue = Data.ProtoLens.Field.field @"workerTaskQueue"
+workerVersionCapabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerVersionCapabilities" a) =>
+  Lens.Family2.LensLike' f s a
+workerVersionCapabilities
+  = Data.ProtoLens.Field.field @"workerVersionCapabilities"
diff --git a/src/Proto/Temporal/Api/Testservice/V1/RequestResponse.hs b/src/Proto/Temporal/Api/Testservice/V1/RequestResponse.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Testservice/V1/RequestResponse.hs
@@ -0,0 +1,884 @@
+{- This file was auto-generated from temporal/api/testservice/v1/request_response.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Testservice.V1.RequestResponse (
+        GetCurrentTimeResponse(), LockTimeSkippingRequest(),
+        LockTimeSkippingResponse(), SleepRequest(), SleepResponse(),
+        SleepUntilRequest(), UnlockTimeSkippingRequest(),
+        UnlockTimeSkippingResponse()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields.time' @:: Lens' GetCurrentTimeResponse Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields.maybe'time' @:: Lens' GetCurrentTimeResponse (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data GetCurrentTimeResponse
+  = GetCurrentTimeResponse'_constructor {_GetCurrentTimeResponse'time :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                         _GetCurrentTimeResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show GetCurrentTimeResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField GetCurrentTimeResponse "time" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _GetCurrentTimeResponse'time
+           (\ x__ y__ -> x__ {_GetCurrentTimeResponse'time = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField GetCurrentTimeResponse "maybe'time" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _GetCurrentTimeResponse'time
+           (\ x__ y__ -> x__ {_GetCurrentTimeResponse'time = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message GetCurrentTimeResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.testservice.v1.GetCurrentTimeResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNGetCurrentTimeResponse\DC2.\n\
+      \\EOTtime\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\EOTtime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        time__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'time")) ::
+              Data.ProtoLens.FieldDescriptor GetCurrentTimeResponse
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, time__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _GetCurrentTimeResponse'_unknownFields
+        (\ x__ y__ -> x__ {_GetCurrentTimeResponse'_unknownFields = y__})
+  defMessage
+    = GetCurrentTimeResponse'_constructor
+        {_GetCurrentTimeResponse'time = Prelude.Nothing,
+         _GetCurrentTimeResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          GetCurrentTimeResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser GetCurrentTimeResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "time"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"time") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "GetCurrentTimeResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'time") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData GetCurrentTimeResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_GetCurrentTimeResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_GetCurrentTimeResponse'time x__) ())
+{- | Fields :
+      -}
+data LockTimeSkippingRequest
+  = LockTimeSkippingRequest'_constructor {_LockTimeSkippingRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show LockTimeSkippingRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message LockTimeSkippingRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.testservice.v1.LockTimeSkippingRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBLockTimeSkippingRequest"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _LockTimeSkippingRequest'_unknownFields
+        (\ x__ y__ -> x__ {_LockTimeSkippingRequest'_unknownFields = y__})
+  defMessage
+    = LockTimeSkippingRequest'_constructor
+        {_LockTimeSkippingRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          LockTimeSkippingRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser LockTimeSkippingRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "LockTimeSkippingRequest"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData LockTimeSkippingRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_LockTimeSkippingRequest'_unknownFields x__) ()
+{- | Fields :
+      -}
+data LockTimeSkippingResponse
+  = LockTimeSkippingResponse'_constructor {_LockTimeSkippingResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show LockTimeSkippingResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message LockTimeSkippingResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.testservice.v1.LockTimeSkippingResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANLockTimeSkippingResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _LockTimeSkippingResponse'_unknownFields
+        (\ x__ y__ -> x__ {_LockTimeSkippingResponse'_unknownFields = y__})
+  defMessage
+    = LockTimeSkippingResponse'_constructor
+        {_LockTimeSkippingResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          LockTimeSkippingResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser LockTimeSkippingResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "LockTimeSkippingResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData LockTimeSkippingResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_LockTimeSkippingResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields.duration' @:: Lens' SleepRequest Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields.maybe'duration' @:: Lens' SleepRequest (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@ -}
+data SleepRequest
+  = SleepRequest'_constructor {_SleepRequest'duration :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                               _SleepRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SleepRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SleepRequest "duration" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SleepRequest'duration
+           (\ x__ y__ -> x__ {_SleepRequest'duration = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SleepRequest "maybe'duration" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SleepRequest'duration
+           (\ x__ y__ -> x__ {_SleepRequest'duration = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SleepRequest where
+  messageName _
+    = Data.Text.pack "temporal.api.testservice.v1.SleepRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\fSleepRequest\DC25\n\
+      \\bduration\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\bduration"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        duration__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "duration"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'duration")) ::
+              Data.ProtoLens.FieldDescriptor SleepRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, duration__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SleepRequest'_unknownFields
+        (\ x__ y__ -> x__ {_SleepRequest'_unknownFields = y__})
+  defMessage
+    = SleepRequest'_constructor
+        {_SleepRequest'duration = Prelude.Nothing,
+         _SleepRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SleepRequest -> Data.ProtoLens.Encoding.Bytes.Parser SleepRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "duration"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"duration") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SleepRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'duration") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData SleepRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SleepRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_SleepRequest'duration x__) ())
+{- | Fields :
+      -}
+data SleepResponse
+  = SleepResponse'_constructor {_SleepResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SleepResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message SleepResponse where
+  messageName _
+    = Data.Text.pack "temporal.api.testservice.v1.SleepResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\rSleepResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SleepResponse'_unknownFields
+        (\ x__ y__ -> x__ {_SleepResponse'_unknownFields = y__})
+  defMessage
+    = SleepResponse'_constructor {_SleepResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SleepResponse -> Data.ProtoLens.Encoding.Bytes.Parser SleepResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SleepResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData SleepResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq (_SleepResponse'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields.timestamp' @:: Lens' SleepUntilRequest Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields.maybe'timestamp' @:: Lens' SleepUntilRequest (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data SleepUntilRequest
+  = SleepUntilRequest'_constructor {_SleepUntilRequest'timestamp :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                    _SleepUntilRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SleepUntilRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SleepUntilRequest "timestamp" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SleepUntilRequest'timestamp
+           (\ x__ y__ -> x__ {_SleepUntilRequest'timestamp = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SleepUntilRequest "maybe'timestamp" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SleepUntilRequest'timestamp
+           (\ x__ y__ -> x__ {_SleepUntilRequest'timestamp = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SleepUntilRequest where
+  messageName _
+    = Data.Text.pack "temporal.api.testservice.v1.SleepUntilRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1SleepUntilRequest\DC28\n\
+      \\ttimestamp\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\ttimestamp"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        timestamp__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timestamp"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'timestamp")) ::
+              Data.ProtoLens.FieldDescriptor SleepUntilRequest
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, timestamp__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SleepUntilRequest'_unknownFields
+        (\ x__ y__ -> x__ {_SleepUntilRequest'_unknownFields = y__})
+  defMessage
+    = SleepUntilRequest'_constructor
+        {_SleepUntilRequest'timestamp = Prelude.Nothing,
+         _SleepUntilRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SleepUntilRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser SleepUntilRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timestamp"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"timestamp") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SleepUntilRequest"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'timestamp") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData SleepUntilRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SleepUntilRequest'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_SleepUntilRequest'timestamp x__) ())
+{- | Fields :
+      -}
+data UnlockTimeSkippingRequest
+  = UnlockTimeSkippingRequest'_constructor {_UnlockTimeSkippingRequest'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UnlockTimeSkippingRequest where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message UnlockTimeSkippingRequest where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.testservice.v1.UnlockTimeSkippingRequest"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMUnlockTimeSkippingRequest"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UnlockTimeSkippingRequest'_unknownFields
+        (\ x__ y__
+           -> x__ {_UnlockTimeSkippingRequest'_unknownFields = y__})
+  defMessage
+    = UnlockTimeSkippingRequest'_constructor
+        {_UnlockTimeSkippingRequest'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UnlockTimeSkippingRequest
+          -> Data.ProtoLens.Encoding.Bytes.Parser UnlockTimeSkippingRequest
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UnlockTimeSkippingRequest"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData UnlockTimeSkippingRequest where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UnlockTimeSkippingRequest'_unknownFields x__) ()
+{- | Fields :
+      -}
+data UnlockTimeSkippingResponse
+  = UnlockTimeSkippingResponse'_constructor {_UnlockTimeSkippingResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UnlockTimeSkippingResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message UnlockTimeSkippingResponse where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.testservice.v1.UnlockTimeSkippingResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBUnlockTimeSkippingResponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UnlockTimeSkippingResponse'_unknownFields
+        (\ x__ y__
+           -> x__ {_UnlockTimeSkippingResponse'_unknownFields = y__})
+  defMessage
+    = UnlockTimeSkippingResponse'_constructor
+        {_UnlockTimeSkippingResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UnlockTimeSkippingResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser UnlockTimeSkippingResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UnlockTimeSkippingResponse"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData UnlockTimeSkippingResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UnlockTimeSkippingResponse'_unknownFields x__) ()
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \2temporal/api/testservice/v1/request_response.proto\DC2\ESCtemporal.api.testservice.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\"\EM\n\
+    \\ETBLockTimeSkippingRequest\"\SUB\n\
+    \\CANLockTimeSkippingResponse\"\ESC\n\
+    \\EMUnlockTimeSkippingRequest\"\FS\n\
+    \\SUBUnlockTimeSkippingResponse\"M\n\
+    \\DC1SleepUntilRequest\DC28\n\
+    \\ttimestamp\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\ttimestamp\"E\n\
+    \\fSleepRequest\DC25\n\
+    \\bduration\CAN\SOH \SOH(\v2\EM.google.protobuf.DurationR\bduration\"\SI\n\
+    \\rSleepResponse\"H\n\
+    \\SYNGetCurrentTimeResponse\DC2.\n\
+    \\EOTtime\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\EOTtimeB\170\SOH\n\
+    \\RSio.temporal.api.testservice.v1B\DC4RequestResponseProtoP\SOHZ-go.temporal.io/api/testservice/v1;testservice\170\STX\GSTemporalio.Api.TestService.V1\234\STX Temporalio::Api::TestService::V1J\255\f\n\
+    \\ACK\DC2\EOT\SYN\NUL=\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL$\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NULD\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NULD\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL7\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL7\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL5\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL9\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL9\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL:\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL:\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL)\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT$\NUL%\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX$\b\US\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT'\NUL(\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX'\b \n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT*\NUL+\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX*\b!\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT-\NUL.\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX-\b\"\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOT0\NUL2\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX0\b\EM\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETX1\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETX1\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETX1\RS'\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETX1*+\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ENQ\DC2\EOT4\NUL6\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETX4\b\DC4\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETX5\EOT*\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\ETX5\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETX5\GS%\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETX5()\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ACK\DC2\EOT8\NUL9\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETX8\b\NAK\n\
+    \\n\
+    \\n\
+    \\STX\EOT\a\DC2\EOT;\NUL=\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETX;\b\RS\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETX<\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ACK\DC2\ETX<\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETX<\RS\"\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETX<%&b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Testservice/V1/RequestResponse_Fields.hs b/src/Proto/Temporal/Api/Testservice/V1/RequestResponse_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Testservice/V1/RequestResponse_Fields.hs
@@ -0,0 +1,66 @@
+{- This file was auto-generated from temporal/api/testservice/v1/request_response.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+duration ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "duration" a) =>
+  Lens.Family2.LensLike' f s a
+duration = Data.ProtoLens.Field.field @"duration"
+maybe'duration ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'duration" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'duration = Data.ProtoLens.Field.field @"maybe'duration"
+maybe'time ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'time" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'time = Data.ProtoLens.Field.field @"maybe'time"
+maybe'timestamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timestamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timestamp = Data.ProtoLens.Field.field @"maybe'timestamp"
+time ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "time" a) =>
+  Lens.Family2.LensLike' f s a
+time = Data.ProtoLens.Field.field @"time"
+timestamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timestamp" a) =>
+  Lens.Family2.LensLike' f s a
+timestamp = Data.ProtoLens.Field.field @"timestamp"
diff --git a/src/Proto/Temporal/Api/Testservice/V1/Service.hs b/src/Proto/Temporal/Api/Testservice/V1/Service.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Testservice/V1/Service.hs
@@ -0,0 +1,85 @@
+{- This file was auto-generated from temporal/api/testservice/v1/service.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Testservice.V1.Service (
+        TestService(..)
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Temporal.Api.Testservice.V1.RequestResponse
+data TestService = TestService {}
+instance Data.ProtoLens.Service.Types.Service TestService where
+  type ServiceName TestService = "TestService"
+  type ServicePackage TestService = "temporal.api.testservice.v1"
+  type ServiceMethods TestService = '["getCurrentTime",
+                                      "lockTimeSkipping",
+                                      "sleep",
+                                      "sleepUntil",
+                                      "unlockTimeSkipping",
+                                      "unlockTimeSkippingWithSleep"]
+  packedServiceDescriptor _
+    = "\n\
+      \\vTestService\DC2\129\SOH\n\
+      \\DLELockTimeSkipping\DC24.temporal.api.testservice.v1.LockTimeSkippingRequest\SUB5.temporal.api.testservice.v1.LockTimeSkippingResponse\"\NUL\DC2\135\SOH\n\
+      \\DC2UnlockTimeSkipping\DC26.temporal.api.testservice.v1.UnlockTimeSkippingRequest\SUB7.temporal.api.testservice.v1.UnlockTimeSkippingResponse\"\NUL\DC2`\n\
+      \\ENQSleep\DC2).temporal.api.testservice.v1.SleepRequest\SUB*.temporal.api.testservice.v1.SleepResponse\"\NUL\DC2j\n\
+      \\n\
+      \SleepUntil\DC2..temporal.api.testservice.v1.SleepUntilRequest\SUB*.temporal.api.testservice.v1.SleepResponse\"\NUL\DC2v\n\
+      \\ESCUnlockTimeSkippingWithSleep\DC2).temporal.api.testservice.v1.SleepRequest\SUB*.temporal.api.testservice.v1.SleepResponse\"\NUL\DC2_\n\
+      \\SOGetCurrentTime\DC2\SYN.google.protobuf.Empty\SUB3.temporal.api.testservice.v1.GetCurrentTimeResponse\"\NUL"
+instance Data.ProtoLens.Service.Types.HasMethodImpl TestService "lockTimeSkipping" where
+  type MethodName TestService "lockTimeSkipping" = "LockTimeSkipping"
+  type MethodInput TestService "lockTimeSkipping" = Proto.Temporal.Api.Testservice.V1.RequestResponse.LockTimeSkippingRequest
+  type MethodOutput TestService "lockTimeSkipping" = Proto.Temporal.Api.Testservice.V1.RequestResponse.LockTimeSkippingResponse
+  type MethodStreamingType TestService "lockTimeSkipping" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl TestService "unlockTimeSkipping" where
+  type MethodName TestService "unlockTimeSkipping" = "UnlockTimeSkipping"
+  type MethodInput TestService "unlockTimeSkipping" = Proto.Temporal.Api.Testservice.V1.RequestResponse.UnlockTimeSkippingRequest
+  type MethodOutput TestService "unlockTimeSkipping" = Proto.Temporal.Api.Testservice.V1.RequestResponse.UnlockTimeSkippingResponse
+  type MethodStreamingType TestService "unlockTimeSkipping" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl TestService "sleep" where
+  type MethodName TestService "sleep" = "Sleep"
+  type MethodInput TestService "sleep" = Proto.Temporal.Api.Testservice.V1.RequestResponse.SleepRequest
+  type MethodOutput TestService "sleep" = Proto.Temporal.Api.Testservice.V1.RequestResponse.SleepResponse
+  type MethodStreamingType TestService "sleep" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl TestService "sleepUntil" where
+  type MethodName TestService "sleepUntil" = "SleepUntil"
+  type MethodInput TestService "sleepUntil" = Proto.Temporal.Api.Testservice.V1.RequestResponse.SleepUntilRequest
+  type MethodOutput TestService "sleepUntil" = Proto.Temporal.Api.Testservice.V1.RequestResponse.SleepResponse
+  type MethodStreamingType TestService "sleepUntil" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl TestService "unlockTimeSkippingWithSleep" where
+  type MethodName TestService "unlockTimeSkippingWithSleep" = "UnlockTimeSkippingWithSleep"
+  type MethodInput TestService "unlockTimeSkippingWithSleep" = Proto.Temporal.Api.Testservice.V1.RequestResponse.SleepRequest
+  type MethodOutput TestService "unlockTimeSkippingWithSleep" = Proto.Temporal.Api.Testservice.V1.RequestResponse.SleepResponse
+  type MethodStreamingType TestService "unlockTimeSkippingWithSleep" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl TestService "getCurrentTime" where
+  type MethodName TestService "getCurrentTime" = "GetCurrentTime"
+  type MethodInput TestService "getCurrentTime" = Proto.Google.Protobuf.Empty.Empty
+  type MethodOutput TestService "getCurrentTime" = Proto.Temporal.Api.Testservice.V1.RequestResponse.GetCurrentTimeResponse
+  type MethodStreamingType TestService "getCurrentTime" = 'Data.ProtoLens.Service.Types.NonStreaming
diff --git a/src/Proto/Temporal/Api/Testservice/V1/Service_Fields.hs b/src/Proto/Temporal/Api/Testservice/V1/Service_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Testservice/V1/Service_Fields.hs
@@ -0,0 +1,31 @@
+{- This file was auto-generated from temporal/api/testservice/v1/service.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Testservice.V1.Service_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Temporal.Api.Testservice.V1.RequestResponse
diff --git a/src/Proto/Temporal/Api/Update/V1/Message.hs b/src/Proto/Temporal/Api/Update/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Update/V1/Message.hs
@@ -0,0 +1,2069 @@
+{- This file was auto-generated from temporal/api/update/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Update.V1.Message (
+        Acceptance(), Input(), Meta(), Outcome(), Outcome'Value(..),
+        _Outcome'Success, _Outcome'Failure, Rejection(), Request(),
+        Response(), UpdateRef(), WaitPolicy()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Update
+import qualified Proto.Temporal.Api.Failure.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.acceptedRequestMessageId' @:: Lens' Acceptance Data.Text.Text@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.acceptedRequestSequencingEventId' @:: Lens' Acceptance Data.Int.Int64@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.acceptedRequest' @:: Lens' Acceptance Request@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'acceptedRequest' @:: Lens' Acceptance (Prelude.Maybe Request)@ -}
+data Acceptance
+  = Acceptance'_constructor {_Acceptance'acceptedRequestMessageId :: !Data.Text.Text,
+                             _Acceptance'acceptedRequestSequencingEventId :: !Data.Int.Int64,
+                             _Acceptance'acceptedRequest :: !(Prelude.Maybe Request),
+                             _Acceptance'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Acceptance where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Acceptance "acceptedRequestMessageId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Acceptance'acceptedRequestMessageId
+           (\ x__ y__ -> x__ {_Acceptance'acceptedRequestMessageId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Acceptance "acceptedRequestSequencingEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Acceptance'acceptedRequestSequencingEventId
+           (\ x__ y__
+              -> x__ {_Acceptance'acceptedRequestSequencingEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Acceptance "acceptedRequest" Request where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Acceptance'acceptedRequest
+           (\ x__ y__ -> x__ {_Acceptance'acceptedRequest = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Acceptance "maybe'acceptedRequest" (Prelude.Maybe Request) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Acceptance'acceptedRequest
+           (\ x__ y__ -> x__ {_Acceptance'acceptedRequest = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Acceptance where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Acceptance"
+  packedMessageDescriptor _
+    = "\n\
+      \\n\
+      \Acceptance\DC2=\n\
+      \\ESCaccepted_request_message_id\CAN\SOH \SOH(\tR\CANacceptedRequestMessageId\DC2N\n\
+      \$accepted_request_sequencing_event_id\CAN\STX \SOH(\ETXR acceptedRequestSequencingEventId\DC2J\n\
+      \\DLEaccepted_request\CAN\ETX \SOH(\v2\US.temporal.api.update.v1.RequestR\SIacceptedRequest"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        acceptedRequestMessageId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_request_message_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"acceptedRequestMessageId")) ::
+              Data.ProtoLens.FieldDescriptor Acceptance
+        acceptedRequestSequencingEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_request_sequencing_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field
+                    @"acceptedRequestSequencingEventId")) ::
+              Data.ProtoLens.FieldDescriptor Acceptance
+        acceptedRequest__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted_request"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Request)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'acceptedRequest")) ::
+              Data.ProtoLens.FieldDescriptor Acceptance
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            acceptedRequestMessageId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            acceptedRequestSequencingEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, acceptedRequest__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Acceptance'_unknownFields
+        (\ x__ y__ -> x__ {_Acceptance'_unknownFields = y__})
+  defMessage
+    = Acceptance'_constructor
+        {_Acceptance'acceptedRequestMessageId = Data.ProtoLens.fieldDefault,
+         _Acceptance'acceptedRequestSequencingEventId = Data.ProtoLens.fieldDefault,
+         _Acceptance'acceptedRequest = Prelude.Nothing,
+         _Acceptance'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Acceptance -> Data.ProtoLens.Encoding.Bytes.Parser Acceptance
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "accepted_request_message_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"acceptedRequestMessageId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "accepted_request_sequencing_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"acceptedRequestSequencingEventId")
+                                     y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "accepted_request"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"acceptedRequest") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Acceptance"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"acceptedRequestMessageId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"acceptedRequestSequencingEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'acceptedRequest") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Acceptance where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Acceptance'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Acceptance'acceptedRequestMessageId x__)
+                (Control.DeepSeq.deepseq
+                   (_Acceptance'acceptedRequestSequencingEventId x__)
+                   (Control.DeepSeq.deepseq (_Acceptance'acceptedRequest x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.header' @:: Lens' Input Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'header' @:: Lens' Input (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.name' @:: Lens' Input Data.Text.Text@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.args' @:: Lens' Input Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'args' @:: Lens' Input (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@ -}
+data Input
+  = Input'_constructor {_Input'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                        _Input'name :: !Data.Text.Text,
+                        _Input'args :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                        _Input'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Input where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Input "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Input'header (\ x__ y__ -> x__ {_Input'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Input "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Input'header (\ x__ y__ -> x__ {_Input'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Input "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Input'name (\ x__ y__ -> x__ {_Input'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Input "args" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Input'args (\ x__ y__ -> x__ {_Input'args = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Input "maybe'args" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Input'args (\ x__ y__ -> x__ {_Input'args = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Input where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Input"
+  packedMessageDescriptor _
+    = "\n\
+      \\ENQInput\DC26\n\
+      \\ACKheader\CAN\SOH \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2\DC2\n\
+      \\EOTname\CAN\STX \SOH(\tR\EOTname\DC24\n\
+      \\EOTargs\CAN\ETX \SOH(\v2 .temporal.api.common.v1.PayloadsR\EOTargs"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor Input
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor Input
+        args__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "args"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'args")) ::
+              Data.ProtoLens.FieldDescriptor Input
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, header__field_descriptor),
+           (Data.ProtoLens.Tag 2, name__field_descriptor),
+           (Data.ProtoLens.Tag 3, args__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Input'_unknownFields
+        (\ x__ y__ -> x__ {_Input'_unknownFields = y__})
+  defMessage
+    = Input'_constructor
+        {_Input'header = Prelude.Nothing,
+         _Input'name = Data.ProtoLens.fieldDefault,
+         _Input'args = Prelude.Nothing, _Input'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Input -> Data.ProtoLens.Encoding.Bytes.Parser Input
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "args"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"args") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Input"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'header") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'args") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Input where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Input'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Input'header x__)
+                (Control.DeepSeq.deepseq
+                   (_Input'name x__) (Control.DeepSeq.deepseq (_Input'args x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.updateId' @:: Lens' Meta Data.Text.Text@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.identity' @:: Lens' Meta Data.Text.Text@ -}
+data Meta
+  = Meta'_constructor {_Meta'updateId :: !Data.Text.Text,
+                       _Meta'identity :: !Data.Text.Text,
+                       _Meta'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Meta where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Meta "updateId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Meta'updateId (\ x__ y__ -> x__ {_Meta'updateId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Meta "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Meta'identity (\ x__ y__ -> x__ {_Meta'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Meta where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Meta"
+  packedMessageDescriptor _
+    = "\n\
+      \\EOTMeta\DC2\ESC\n\
+      \\tupdate_id\CAN\SOH \SOH(\tR\bupdateId\DC2\SUB\n\
+      \\bidentity\CAN\STX \SOH(\tR\bidentity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        updateId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"updateId")) ::
+              Data.ProtoLens.FieldDescriptor Meta
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor Meta
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, updateId__field_descriptor),
+           (Data.ProtoLens.Tag 2, identity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Meta'_unknownFields
+        (\ x__ y__ -> x__ {_Meta'_unknownFields = y__})
+  defMessage
+    = Meta'_constructor
+        {_Meta'updateId = Data.ProtoLens.fieldDefault,
+         _Meta'identity = Data.ProtoLens.fieldDefault,
+         _Meta'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Meta -> Data.ProtoLens.Encoding.Bytes.Parser Meta
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "update_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"updateId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Meta"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"updateId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Meta where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Meta'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Meta'updateId x__)
+                (Control.DeepSeq.deepseq (_Meta'identity x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'value' @:: Lens' Outcome (Prelude.Maybe Outcome'Value)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'success' @:: Lens' Outcome (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.success' @:: Lens' Outcome Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'failure' @:: Lens' Outcome (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.failure' @:: Lens' Outcome Proto.Temporal.Api.Failure.V1.Message.Failure@ -}
+data Outcome
+  = Outcome'_constructor {_Outcome'value :: !(Prelude.Maybe Outcome'Value),
+                          _Outcome'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Outcome where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data Outcome'Value
+  = Outcome'Success !Proto.Temporal.Api.Common.V1.Message.Payloads |
+    Outcome'Failure !Proto.Temporal.Api.Failure.V1.Message.Failure
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField Outcome "maybe'value" (Prelude.Maybe Outcome'Value) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Outcome'value (\ x__ y__ -> x__ {_Outcome'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Outcome "maybe'success" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Outcome'value (\ x__ y__ -> x__ {_Outcome'value = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Outcome'Success x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Outcome'Success y__))
+instance Data.ProtoLens.Field.HasField Outcome "success" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Outcome'value (\ x__ y__ -> x__ {_Outcome'value = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Outcome'Success x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Outcome'Success y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField Outcome "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Outcome'value (\ x__ y__ -> x__ {_Outcome'value = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (Outcome'Failure x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap Outcome'Failure y__))
+instance Data.ProtoLens.Field.HasField Outcome "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Outcome'value (\ x__ y__ -> x__ {_Outcome'value = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (Outcome'Failure x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap Outcome'Failure y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message Outcome where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Outcome"
+  packedMessageDescriptor _
+    = "\n\
+      \\aOutcome\DC2<\n\
+      \\asuccess\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsH\NULR\asuccess\DC2<\n\
+      \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\afailureB\a\n\
+      \\ENQvalue"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        success__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "success"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'success")) ::
+              Data.ProtoLens.FieldDescriptor Outcome
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Outcome
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, success__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Outcome'_unknownFields
+        (\ x__ y__ -> x__ {_Outcome'_unknownFields = y__})
+  defMessage
+    = Outcome'_constructor
+        {_Outcome'value = Prelude.Nothing, _Outcome'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Outcome -> Data.ProtoLens.Encoding.Bytes.Parser Outcome
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "success"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"success") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Outcome"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (Outcome'Success v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (Outcome'Failure v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Outcome where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Outcome'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Outcome'value x__) ())
+instance Control.DeepSeq.NFData Outcome'Value where
+  rnf (Outcome'Success x__) = Control.DeepSeq.rnf x__
+  rnf (Outcome'Failure x__) = Control.DeepSeq.rnf x__
+_Outcome'Success ::
+  Data.ProtoLens.Prism.Prism' Outcome'Value Proto.Temporal.Api.Common.V1.Message.Payloads
+_Outcome'Success
+  = Data.ProtoLens.Prism.prism'
+      Outcome'Success
+      (\ p__
+         -> case p__ of
+              (Outcome'Success p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_Outcome'Failure ::
+  Data.ProtoLens.Prism.Prism' Outcome'Value Proto.Temporal.Api.Failure.V1.Message.Failure
+_Outcome'Failure
+  = Data.ProtoLens.Prism.prism'
+      Outcome'Failure
+      (\ p__
+         -> case p__ of
+              (Outcome'Failure p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.rejectedRequestMessageId' @:: Lens' Rejection Data.Text.Text@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.rejectedRequestSequencingEventId' @:: Lens' Rejection Data.Int.Int64@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.rejectedRequest' @:: Lens' Rejection Request@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'rejectedRequest' @:: Lens' Rejection (Prelude.Maybe Request)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.failure' @:: Lens' Rejection Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'failure' @:: Lens' Rejection (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data Rejection
+  = Rejection'_constructor {_Rejection'rejectedRequestMessageId :: !Data.Text.Text,
+                            _Rejection'rejectedRequestSequencingEventId :: !Data.Int.Int64,
+                            _Rejection'rejectedRequest :: !(Prelude.Maybe Request),
+                            _Rejection'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                            _Rejection'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Rejection where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Rejection "rejectedRequestMessageId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Rejection'rejectedRequestMessageId
+           (\ x__ y__ -> x__ {_Rejection'rejectedRequestMessageId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Rejection "rejectedRequestSequencingEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Rejection'rejectedRequestSequencingEventId
+           (\ x__ y__
+              -> x__ {_Rejection'rejectedRequestSequencingEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Rejection "rejectedRequest" Request where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Rejection'rejectedRequest
+           (\ x__ y__ -> x__ {_Rejection'rejectedRequest = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Rejection "maybe'rejectedRequest" (Prelude.Maybe Request) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Rejection'rejectedRequest
+           (\ x__ y__ -> x__ {_Rejection'rejectedRequest = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Rejection "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Rejection'failure (\ x__ y__ -> x__ {_Rejection'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Rejection "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Rejection'failure (\ x__ y__ -> x__ {_Rejection'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Rejection where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Rejection"
+  packedMessageDescriptor _
+    = "\n\
+      \\tRejection\DC2=\n\
+      \\ESCrejected_request_message_id\CAN\SOH \SOH(\tR\CANrejectedRequestMessageId\DC2N\n\
+      \$rejected_request_sequencing_event_id\CAN\STX \SOH(\ETXR rejectedRequestSequencingEventId\DC2J\n\
+      \\DLErejected_request\CAN\ETX \SOH(\v2\US.temporal.api.update.v1.RequestR\SIrejectedRequest\DC2:\n\
+      \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        rejectedRequestMessageId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected_request_message_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"rejectedRequestMessageId")) ::
+              Data.ProtoLens.FieldDescriptor Rejection
+        rejectedRequestSequencingEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected_request_sequencing_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field
+                    @"rejectedRequestSequencingEventId")) ::
+              Data.ProtoLens.FieldDescriptor Rejection
+        rejectedRequest__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected_request"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Request)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rejectedRequest")) ::
+              Data.ProtoLens.FieldDescriptor Rejection
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Rejection
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, 
+            rejectedRequestMessageId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            rejectedRequestSequencingEventId__field_descriptor),
+           (Data.ProtoLens.Tag 3, rejectedRequest__field_descriptor),
+           (Data.ProtoLens.Tag 4, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Rejection'_unknownFields
+        (\ x__ y__ -> x__ {_Rejection'_unknownFields = y__})
+  defMessage
+    = Rejection'_constructor
+        {_Rejection'rejectedRequestMessageId = Data.ProtoLens.fieldDefault,
+         _Rejection'rejectedRequestSequencingEventId = Data.ProtoLens.fieldDefault,
+         _Rejection'rejectedRequest = Prelude.Nothing,
+         _Rejection'failure = Prelude.Nothing,
+         _Rejection'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Rejection -> Data.ProtoLens.Encoding.Bytes.Parser Rejection
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "rejected_request_message_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rejectedRequestMessageId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "rejected_request_sequencing_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"rejectedRequestSequencingEventId")
+                                     y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "rejected_request"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rejectedRequest") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Rejection"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"rejectedRequestMessageId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"rejectedRequestSequencingEventId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'rejectedRequest") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData Rejection where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Rejection'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Rejection'rejectedRequestMessageId x__)
+                (Control.DeepSeq.deepseq
+                   (_Rejection'rejectedRequestSequencingEventId x__)
+                   (Control.DeepSeq.deepseq
+                      (_Rejection'rejectedRequest x__)
+                      (Control.DeepSeq.deepseq (_Rejection'failure x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.meta' @:: Lens' Request Meta@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'meta' @:: Lens' Request (Prelude.Maybe Meta)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.input' @:: Lens' Request Input@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'input' @:: Lens' Request (Prelude.Maybe Input)@ -}
+data Request
+  = Request'_constructor {_Request'meta :: !(Prelude.Maybe Meta),
+                          _Request'input :: !(Prelude.Maybe Input),
+                          _Request'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Request where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Request "meta" Meta where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'meta (\ x__ y__ -> x__ {_Request'meta = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Request "maybe'meta" (Prelude.Maybe Meta) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'meta (\ x__ y__ -> x__ {_Request'meta = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Request "input" Input where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'input (\ x__ y__ -> x__ {_Request'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Request "maybe'input" (Prelude.Maybe Input) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Request'input (\ x__ y__ -> x__ {_Request'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Request where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Request"
+  packedMessageDescriptor _
+    = "\n\
+      \\aRequest\DC20\n\
+      \\EOTmeta\CAN\SOH \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC23\n\
+      \\ENQinput\CAN\STX \SOH(\v2\GS.temporal.api.update.v1.InputR\ENQinput"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        meta__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "meta"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Meta)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'meta")) ::
+              Data.ProtoLens.FieldDescriptor Request
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Input)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor Request
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, meta__field_descriptor),
+           (Data.ProtoLens.Tag 2, input__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Request'_unknownFields
+        (\ x__ y__ -> x__ {_Request'_unknownFields = y__})
+  defMessage
+    = Request'_constructor
+        {_Request'meta = Prelude.Nothing, _Request'input = Prelude.Nothing,
+         _Request'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Request -> Data.ProtoLens.Encoding.Bytes.Parser Request
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "meta"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"meta") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Request"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'meta") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Request where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Request'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Request'meta x__)
+                (Control.DeepSeq.deepseq (_Request'input x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.meta' @:: Lens' Response Meta@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'meta' @:: Lens' Response (Prelude.Maybe Meta)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.outcome' @:: Lens' Response Outcome@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'outcome' @:: Lens' Response (Prelude.Maybe Outcome)@ -}
+data Response
+  = Response'_constructor {_Response'meta :: !(Prelude.Maybe Meta),
+                           _Response'outcome :: !(Prelude.Maybe Outcome),
+                           _Response'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Response where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Response "meta" Meta where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'meta (\ x__ y__ -> x__ {_Response'meta = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Response "maybe'meta" (Prelude.Maybe Meta) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'meta (\ x__ y__ -> x__ {_Response'meta = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Response "outcome" Outcome where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'outcome (\ x__ y__ -> x__ {_Response'outcome = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Response "maybe'outcome" (Prelude.Maybe Outcome) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Response'outcome (\ x__ y__ -> x__ {_Response'outcome = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Response where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.Response"
+  packedMessageDescriptor _
+    = "\n\
+      \\bResponse\DC20\n\
+      \\EOTmeta\CAN\SOH \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC29\n\
+      \\aoutcome\CAN\STX \SOH(\v2\US.temporal.api.update.v1.OutcomeR\aoutcome"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        meta__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "meta"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Meta)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'meta")) ::
+              Data.ProtoLens.FieldDescriptor Response
+        outcome__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "outcome"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Outcome)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'outcome")) ::
+              Data.ProtoLens.FieldDescriptor Response
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, meta__field_descriptor),
+           (Data.ProtoLens.Tag 2, outcome__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Response'_unknownFields
+        (\ x__ y__ -> x__ {_Response'_unknownFields = y__})
+  defMessage
+    = Response'_constructor
+        {_Response'meta = Prelude.Nothing,
+         _Response'outcome = Prelude.Nothing, _Response'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Response -> Data.ProtoLens.Encoding.Bytes.Parser Response
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "meta"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"meta") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "outcome"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"outcome") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Response"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'meta") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'outcome") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Response where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Response'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Response'meta x__)
+                (Control.DeepSeq.deepseq (_Response'outcome x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.workflowExecution' @:: Lens' UpdateRef Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.maybe'workflowExecution' @:: Lens' UpdateRef (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.updateId' @:: Lens' UpdateRef Data.Text.Text@ -}
+data UpdateRef
+  = UpdateRef'_constructor {_UpdateRef'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                            _UpdateRef'updateId :: !Data.Text.Text,
+                            _UpdateRef'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateRef where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateRef "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateRef'workflowExecution
+           (\ x__ y__ -> x__ {_UpdateRef'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpdateRef "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateRef'workflowExecution
+           (\ x__ y__ -> x__ {_UpdateRef'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateRef "updateId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateRef'updateId (\ x__ y__ -> x__ {_UpdateRef'updateId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateRef where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.UpdateRef"
+  packedMessageDescriptor _
+    = "\n\
+      \\tUpdateRef\DC2X\n\
+      \\DC2workflow_execution\CAN\SOH \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\ESC\n\
+      \\tupdate_id\CAN\STX \SOH(\tR\bupdateId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor UpdateRef
+        updateId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"updateId")) ::
+              Data.ProtoLens.FieldDescriptor UpdateRef
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 2, updateId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateRef'_unknownFields
+        (\ x__ y__ -> x__ {_UpdateRef'_unknownFields = y__})
+  defMessage
+    = UpdateRef'_constructor
+        {_UpdateRef'workflowExecution = Prelude.Nothing,
+         _UpdateRef'updateId = Data.ProtoLens.fieldDefault,
+         _UpdateRef'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: UpdateRef -> Data.ProtoLens.Encoding.Bytes.Parser UpdateRef
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "update_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"updateId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpdateRef"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"updateId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpdateRef where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateRef'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateRef'workflowExecution x__)
+                (Control.DeepSeq.deepseq (_UpdateRef'updateId x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Update.V1.Message_Fields.lifecycleStage' @:: Lens' WaitPolicy Proto.Temporal.Api.Enums.V1.Update.UpdateWorkflowExecutionLifecycleStage@ -}
+data WaitPolicy
+  = WaitPolicy'_constructor {_WaitPolicy'lifecycleStage :: !Proto.Temporal.Api.Enums.V1.Update.UpdateWorkflowExecutionLifecycleStage,
+                             _WaitPolicy'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WaitPolicy where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WaitPolicy "lifecycleStage" Proto.Temporal.Api.Enums.V1.Update.UpdateWorkflowExecutionLifecycleStage where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WaitPolicy'lifecycleStage
+           (\ x__ y__ -> x__ {_WaitPolicy'lifecycleStage = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WaitPolicy where
+  messageName _ = Data.Text.pack "temporal.api.update.v1.WaitPolicy"
+  packedMessageDescriptor _
+    = "\n\
+      \\n\
+      \WaitPolicy\DC2e\n\
+      \\SIlifecycle_stage\CAN\SOH \SOH(\SO2<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStageR\SOlifecycleStage"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        lifecycleStage__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "lifecycle_stage"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Update.UpdateWorkflowExecutionLifecycleStage)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"lifecycleStage")) ::
+              Data.ProtoLens.FieldDescriptor WaitPolicy
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, lifecycleStage__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WaitPolicy'_unknownFields
+        (\ x__ y__ -> x__ {_WaitPolicy'_unknownFields = y__})
+  defMessage
+    = WaitPolicy'_constructor
+        {_WaitPolicy'lifecycleStage = Data.ProtoLens.fieldDefault,
+         _WaitPolicy'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WaitPolicy -> Data.ProtoLens.Encoding.Bytes.Parser WaitPolicy
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "lifecycle_stage"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lifecycleStage") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WaitPolicy"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"lifecycleStage") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WaitPolicy where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WaitPolicy'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WaitPolicy'lifecycleStage x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \$temporal/api/update/v1/message.proto\DC2\SYNtemporal.api.update.v1\SUB$temporal/api/common/v1/message.proto\SUB\"temporal/api/enums/v1/update.proto\SUB%temporal/api/failure/v1/message.proto\"s\n\
+    \\n\
+    \WaitPolicy\DC2e\n\
+    \\SIlifecycle_stage\CAN\SOH \SOH(\SO2<.temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStageR\SOlifecycleStage\"\130\SOH\n\
+    \\tUpdateRef\DC2X\n\
+    \\DC2workflow_execution\CAN\SOH \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\ESC\n\
+    \\tupdate_id\CAN\STX \SOH(\tR\bupdateId\"\142\SOH\n\
+    \\aOutcome\DC2<\n\
+    \\asuccess\CAN\SOH \SOH(\v2 .temporal.api.common.v1.PayloadsH\NULR\asuccess\DC2<\n\
+    \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\afailureB\a\n\
+    \\ENQvalue\"?\n\
+    \\EOTMeta\DC2\ESC\n\
+    \\tupdate_id\CAN\SOH \SOH(\tR\bupdateId\DC2\SUB\n\
+    \\bidentity\CAN\STX \SOH(\tR\bidentity\"\137\SOH\n\
+    \\ENQInput\DC26\n\
+    \\ACKheader\CAN\SOH \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2\DC2\n\
+    \\EOTname\CAN\STX \SOH(\tR\EOTname\DC24\n\
+    \\EOTargs\CAN\ETX \SOH(\v2 .temporal.api.common.v1.PayloadsR\EOTargs\"p\n\
+    \\aRequest\DC20\n\
+    \\EOTmeta\CAN\SOH \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC23\n\
+    \\ENQinput\CAN\STX \SOH(\v2\GS.temporal.api.update.v1.InputR\ENQinput\"\162\STX\n\
+    \\tRejection\DC2=\n\
+    \\ESCrejected_request_message_id\CAN\SOH \SOH(\tR\CANrejectedRequestMessageId\DC2N\n\
+    \$rejected_request_sequencing_event_id\CAN\STX \SOH(\ETXR rejectedRequestSequencingEventId\DC2J\n\
+    \\DLErejected_request\CAN\ETX \SOH(\v2\US.temporal.api.update.v1.RequestR\SIrejectedRequest\DC2:\n\
+    \\afailure\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"\231\SOH\n\
+    \\n\
+    \Acceptance\DC2=\n\
+    \\ESCaccepted_request_message_id\CAN\SOH \SOH(\tR\CANacceptedRequestMessageId\DC2N\n\
+    \$accepted_request_sequencing_event_id\CAN\STX \SOH(\ETXR acceptedRequestSequencingEventId\DC2J\n\
+    \\DLEaccepted_request\CAN\ETX \SOH(\v2\US.temporal.api.update.v1.RequestR\SIacceptedRequest\"w\n\
+    \\bResponse\DC20\n\
+    \\EOTmeta\CAN\SOH \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC29\n\
+    \\aoutcome\CAN\STX \SOH(\v2\US.temporal.api.update.v1.OutcomeR\aoutcomeB\137\SOH\n\
+    \\EMio.temporal.api.update.v1B\fMessageProtoP\SOHZ#go.temporal.io/api/update/v1;update\170\STX\CANTemporalio.Api.Update.V1\234\STX\ESCTemporalio::Api::Update::V1J\184\US\n\
+    \\ACK\DC2\EOT\SYN\NULm\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL:\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL:\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL2\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL2\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL4\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL5\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL.\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL,\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL/\n\
+    \C\n\
+    \\STX\EOT\NUL\DC2\EOT&\NUL-\SOH\SUB7 Specifies client's intent to wait for Update results.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX&\b\DC2\n\
+    \\211\STX\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX,\EOTT\SUB\197\STX Indicates the Update lifecycle stage that the Update must reach before\n\
+    \ API call is returned.\n\
+    \ NOTE: This field works together with API call timeout which is limited by\n\
+    \ server timeout (maximum wait time). If server timeout is expired before\n\
+    \ user specified timeout, API call returns even if specified stage is not reached.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX,\EOT?\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX,@O\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX,RS\n\
+    \[\n\
+    \\STX\EOT\SOH\DC2\EOT0\NUL3\SOH\SUBO The data needed by a client to refer to a previously invoked Workflow Update.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX0\b\DC1\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX1\EOTD\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX1\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX1-?\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX1BC\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX2\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX2\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX2\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX2\ETB\CAN\n\
+    \C\n\
+    \\STX\EOT\STX\DC2\EOT6\NUL;\SOH\SUB7 The outcome of a Workflow Update: success or failure.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX6\b\SI\n\
+    \\f\n\
+    \\EOT\EOT\STX\b\NUL\DC2\EOT7\EOT:\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\STX\b\NUL\SOH\DC2\ETX7\n\
+    \\SI\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX8\b4\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX8\b'\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX8(/\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX823\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX9\b4\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX9\b'\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX9(/\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX923\n\
+    \/\n\
+    \\STX\EOT\ETX\DC2\EOT>\NULD\SOH\SUB# Metadata about a Workflow Update.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX>\b\f\n\
+    \E\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX@\EOT\EM\SUB8 An ID with workflow-scoped uniqueness for this Update.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX@\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX@\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX@\ETB\CAN\n\
+    \I\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETXC\EOT\CAN\SUB< A string identifying the agent that requested this Update.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXC\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXC\SYN\ETB\n\
+    \\n\
+    \\n\
+    \\STX\EOT\EOT\DC2\EOTF\NULP\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXF\b\r\n\
+    \\137\SOH\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXI\EOT-\SUB| Headers that are passed with the Update from the requesting entity.\n\
+    \ These can include things like auth or tracing tokens.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETXI\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXI\"(\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXI+,\n\
+    \O\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXL\EOT\DC4\SUBB The name of the Update handler to invoke on the target Workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXL\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXL\v\SI\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXL\DC2\DC3\n\
+    \A\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\ETXO\EOT-\SUB4 The arguments to pass to the named Update handler.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ACK\DC2\ETXO\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETXO$(\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETXO+,\n\
+    \A\n\
+    \\STX\EOT\ENQ\DC2\EOTS\NULV\SOH\SUB5 The client request that triggers a Workflow Update.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETXS\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETXT\EOT\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\ETXT\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETXT\t\r\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETXT\DLE\DC1\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETXU\EOT\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\ETXU\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETXU\n\
+    \\SI\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETXU\DC2\DC3\n\
+    \]\n\
+    \\STX\EOT\ACK\DC2\EOTY\NUL^\SOH\SUBQ An Update protocol message indicating that a Workflow Update has been rejected.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXY\b\DC1\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXZ\EOT+\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXZ\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXZ\v&\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXZ)*\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETX[\EOT3\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ENQ\DC2\ETX[\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETX[\n\
+    \.\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETX[12\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\ETX\\\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\ETX\\\EOT\v\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\ETX\\\f\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\ETX\\\US \n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\ETX\DC2\ETX]\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\ETX]\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\ETX]$+\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\ETX]./\n\
+    \\142\SOH\n\
+    \\STX\EOT\a\DC2\EOTb\NULf\SOH\SUB\129\SOH An Update protocol message indicating that a Workflow Update has\n\
+    \ been accepted (i.e. passed the worker-side validation phase).\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\a\SOH\DC2\ETXb\b\DC2\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\NUL\DC2\ETXc\EOT+\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\ETXc\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\ETXc\v&\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\ETXc)*\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\SOH\DC2\ETXd\EOT3\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\ETXd\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\ETXd\n\
+    \.\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\ETXd12\n\
+    \\v\n\
+    \\EOT\EOT\a\STX\STX\DC2\ETXe\EOT!\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\ETXe\EOT\v\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\ETXe\f\FS\n\
+    \\f\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\ETXe\US \n\
+    \u\n\
+    \\STX\EOT\b\DC2\EOTj\NULm\SOH\SUBi An Update protocol message indicating that a Workflow Update has\n\
+    \ completed with the contained outcome.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\b\SOH\DC2\ETXj\b\DLE\n\
+    \\v\n\
+    \\EOT\EOT\b\STX\NUL\DC2\ETXk\EOT\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ACK\DC2\ETXk\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\ETXk\t\r\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\ETXk\DLE\DC1\n\
+    \\v\n\
+    \\EOT\EOT\b\STX\SOH\DC2\ETXl\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ACK\DC2\ETXl\EOT\v\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\ETXl\f\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\ETXl\SYN\ETBb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Update/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Update/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Update/V1/Message_Fields.hs
@@ -0,0 +1,205 @@
+{- This file was auto-generated from temporal/api/update/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Update.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Update
+import qualified Proto.Temporal.Api.Failure.V1.Message
+acceptedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedRequest = Data.ProtoLens.Field.field @"acceptedRequest"
+acceptedRequestMessageId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedRequestMessageId" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedRequestMessageId
+  = Data.ProtoLens.Field.field @"acceptedRequestMessageId"
+acceptedRequestSequencingEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "acceptedRequestSequencingEventId" a) =>
+  Lens.Family2.LensLike' f s a
+acceptedRequestSequencingEventId
+  = Data.ProtoLens.Field.field @"acceptedRequestSequencingEventId"
+args ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "args" a) =>
+  Lens.Family2.LensLike' f s a
+args = Data.ProtoLens.Field.field @"args"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+lifecycleStage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lifecycleStage" a) =>
+  Lens.Family2.LensLike' f s a
+lifecycleStage = Data.ProtoLens.Field.field @"lifecycleStage"
+maybe'acceptedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'acceptedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'acceptedRequest
+  = Data.ProtoLens.Field.field @"maybe'acceptedRequest"
+maybe'args ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'args" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'args = Data.ProtoLens.Field.field @"maybe'args"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'meta ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'meta" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'meta = Data.ProtoLens.Field.field @"maybe'meta"
+maybe'outcome ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'outcome" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'outcome = Data.ProtoLens.Field.field @"maybe'outcome"
+maybe'rejectedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rejectedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rejectedRequest
+  = Data.ProtoLens.Field.field @"maybe'rejectedRequest"
+maybe'success ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'success" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'success = Data.ProtoLens.Field.field @"maybe'success"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+meta ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "meta" a) =>
+  Lens.Family2.LensLike' f s a
+meta = Data.ProtoLens.Field.field @"meta"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+outcome ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "outcome" a) =>
+  Lens.Family2.LensLike' f s a
+outcome = Data.ProtoLens.Field.field @"outcome"
+rejectedRequest ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejectedRequest" a) =>
+  Lens.Family2.LensLike' f s a
+rejectedRequest = Data.ProtoLens.Field.field @"rejectedRequest"
+rejectedRequestMessageId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejectedRequestMessageId" a) =>
+  Lens.Family2.LensLike' f s a
+rejectedRequestMessageId
+  = Data.ProtoLens.Field.field @"rejectedRequestMessageId"
+rejectedRequestSequencingEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejectedRequestSequencingEventId" a) =>
+  Lens.Family2.LensLike' f s a
+rejectedRequestSequencingEventId
+  = Data.ProtoLens.Field.field @"rejectedRequestSequencingEventId"
+success ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "success" a) =>
+  Lens.Family2.LensLike' f s a
+success = Data.ProtoLens.Field.field @"success"
+updateId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateId" a) =>
+  Lens.Family2.LensLike' f s a
+updateId = Data.ProtoLens.Field.field @"updateId"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
diff --git a/src/Proto/Temporal/Api/Version/V1/Message.hs b/src/Proto/Temporal/Api/Version/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Version/V1/Message.hs
@@ -0,0 +1,925 @@
+{- This file was auto-generated from temporal/api/version/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Version.V1.Message (
+        Alert(), ReleaseInfo(), VersionInfo()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Common
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.message' @:: Lens' Alert Data.Text.Text@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.severity' @:: Lens' Alert Proto.Temporal.Api.Enums.V1.Common.Severity@ -}
+data Alert
+  = Alert'_constructor {_Alert'message :: !Data.Text.Text,
+                        _Alert'severity :: !Proto.Temporal.Api.Enums.V1.Common.Severity,
+                        _Alert'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Alert where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Alert "message" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Alert'message (\ x__ y__ -> x__ {_Alert'message = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Alert "severity" Proto.Temporal.Api.Enums.V1.Common.Severity where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Alert'severity (\ x__ y__ -> x__ {_Alert'severity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Alert where
+  messageName _ = Data.Text.pack "temporal.api.version.v1.Alert"
+  packedMessageDescriptor _
+    = "\n\
+      \\ENQAlert\DC2\CAN\n\
+      \\amessage\CAN\SOH \SOH(\tR\amessage\DC2;\n\
+      \\bseverity\CAN\STX \SOH(\SO2\US.temporal.api.enums.v1.SeverityR\bseverity"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        message__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::
+              Data.ProtoLens.FieldDescriptor Alert
+        severity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "severity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.Severity)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"severity")) ::
+              Data.ProtoLens.FieldDescriptor Alert
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, message__field_descriptor),
+           (Data.ProtoLens.Tag 2, severity__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Alert'_unknownFields
+        (\ x__ y__ -> x__ {_Alert'_unknownFields = y__})
+  defMessage
+    = Alert'_constructor
+        {_Alert'message = Data.ProtoLens.fieldDefault,
+         _Alert'severity = Data.ProtoLens.fieldDefault,
+         _Alert'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Alert -> Data.ProtoLens.Encoding.Bytes.Parser Alert
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "severity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"severity") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Alert"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"severity") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Alert where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Alert'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Alert'message x__)
+                (Control.DeepSeq.deepseq (_Alert'severity x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.version' @:: Lens' ReleaseInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.releaseTime' @:: Lens' ReleaseInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.maybe'releaseTime' @:: Lens' ReleaseInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.notes' @:: Lens' ReleaseInfo Data.Text.Text@ -}
+data ReleaseInfo
+  = ReleaseInfo'_constructor {_ReleaseInfo'version :: !Data.Text.Text,
+                              _ReleaseInfo'releaseTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                              _ReleaseInfo'notes :: !Data.Text.Text,
+                              _ReleaseInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ReleaseInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ReleaseInfo "version" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ReleaseInfo'version
+           (\ x__ y__ -> x__ {_ReleaseInfo'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ReleaseInfo "releaseTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ReleaseInfo'releaseTime
+           (\ x__ y__ -> x__ {_ReleaseInfo'releaseTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ReleaseInfo "maybe'releaseTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ReleaseInfo'releaseTime
+           (\ x__ y__ -> x__ {_ReleaseInfo'releaseTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ReleaseInfo "notes" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ReleaseInfo'notes (\ x__ y__ -> x__ {_ReleaseInfo'notes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ReleaseInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.version.v1.ReleaseInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\vReleaseInfo\DC2\CAN\n\
+      \\aversion\CAN\SOH \SOH(\tR\aversion\DC2=\n\
+      \\frelease_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\vreleaseTime\DC2\DC4\n\
+      \\ENQnotes\CAN\ETX \SOH(\tR\ENQnotes"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor ReleaseInfo
+        releaseTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "release_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'releaseTime")) ::
+              Data.ProtoLens.FieldDescriptor ReleaseInfo
+        notes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "notes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"notes")) ::
+              Data.ProtoLens.FieldDescriptor ReleaseInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, version__field_descriptor),
+           (Data.ProtoLens.Tag 2, releaseTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, notes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ReleaseInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ReleaseInfo'_unknownFields = y__})
+  defMessage
+    = ReleaseInfo'_constructor
+        {_ReleaseInfo'version = Data.ProtoLens.fieldDefault,
+         _ReleaseInfo'releaseTime = Prelude.Nothing,
+         _ReleaseInfo'notes = Data.ProtoLens.fieldDefault,
+         _ReleaseInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ReleaseInfo -> Data.ProtoLens.Encoding.Bytes.Parser ReleaseInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "release_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"releaseTime") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "notes"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"notes") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ReleaseInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'releaseTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"notes") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData ReleaseInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ReleaseInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ReleaseInfo'version x__)
+                (Control.DeepSeq.deepseq
+                   (_ReleaseInfo'releaseTime x__)
+                   (Control.DeepSeq.deepseq (_ReleaseInfo'notes x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.current' @:: Lens' VersionInfo ReleaseInfo@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.maybe'current' @:: Lens' VersionInfo (Prelude.Maybe ReleaseInfo)@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.recommended' @:: Lens' VersionInfo ReleaseInfo@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.maybe'recommended' @:: Lens' VersionInfo (Prelude.Maybe ReleaseInfo)@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.instructions' @:: Lens' VersionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.alerts' @:: Lens' VersionInfo [Alert]@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.vec'alerts' @:: Lens' VersionInfo (Data.Vector.Vector Alert)@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.lastUpdateTime' @:: Lens' VersionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Version.V1.Message_Fields.maybe'lastUpdateTime' @:: Lens' VersionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data VersionInfo
+  = VersionInfo'_constructor {_VersionInfo'current :: !(Prelude.Maybe ReleaseInfo),
+                              _VersionInfo'recommended :: !(Prelude.Maybe ReleaseInfo),
+                              _VersionInfo'instructions :: !Data.Text.Text,
+                              _VersionInfo'alerts :: !(Data.Vector.Vector Alert),
+                              _VersionInfo'lastUpdateTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                              _VersionInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show VersionInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField VersionInfo "current" ReleaseInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'current
+           (\ x__ y__ -> x__ {_VersionInfo'current = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersionInfo "maybe'current" (Prelude.Maybe ReleaseInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'current
+           (\ x__ y__ -> x__ {_VersionInfo'current = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionInfo "recommended" ReleaseInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'recommended
+           (\ x__ y__ -> x__ {_VersionInfo'recommended = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersionInfo "maybe'recommended" (Prelude.Maybe ReleaseInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'recommended
+           (\ x__ y__ -> x__ {_VersionInfo'recommended = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionInfo "instructions" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'instructions
+           (\ x__ y__ -> x__ {_VersionInfo'instructions = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionInfo "alerts" [Alert] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'alerts (\ x__ y__ -> x__ {_VersionInfo'alerts = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField VersionInfo "vec'alerts" (Data.Vector.Vector Alert) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'alerts (\ x__ y__ -> x__ {_VersionInfo'alerts = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersionInfo "lastUpdateTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'lastUpdateTime
+           (\ x__ y__ -> x__ {_VersionInfo'lastUpdateTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersionInfo "maybe'lastUpdateTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersionInfo'lastUpdateTime
+           (\ x__ y__ -> x__ {_VersionInfo'lastUpdateTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message VersionInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.version.v1.VersionInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\vVersionInfo\DC2>\n\
+      \\acurrent\CAN\SOH \SOH(\v2$.temporal.api.version.v1.ReleaseInfoR\acurrent\DC2F\n\
+      \\vrecommended\CAN\STX \SOH(\v2$.temporal.api.version.v1.ReleaseInfoR\vrecommended\DC2\"\n\
+      \\finstructions\CAN\ETX \SOH(\tR\finstructions\DC26\n\
+      \\ACKalerts\CAN\EOT \ETX(\v2\RS.temporal.api.version.v1.AlertR\ACKalerts\DC2D\n\
+      \\DLElast_update_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\SOlastUpdateTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        current__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ReleaseInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'current")) ::
+              Data.ProtoLens.FieldDescriptor VersionInfo
+        recommended__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "recommended"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ReleaseInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'recommended")) ::
+              Data.ProtoLens.FieldDescriptor VersionInfo
+        instructions__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "instructions"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"instructions")) ::
+              Data.ProtoLens.FieldDescriptor VersionInfo
+        alerts__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "alerts"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Alert)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"alerts")) ::
+              Data.ProtoLens.FieldDescriptor VersionInfo
+        lastUpdateTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_update_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastUpdateTime")) ::
+              Data.ProtoLens.FieldDescriptor VersionInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, current__field_descriptor),
+           (Data.ProtoLens.Tag 2, recommended__field_descriptor),
+           (Data.ProtoLens.Tag 3, instructions__field_descriptor),
+           (Data.ProtoLens.Tag 4, alerts__field_descriptor),
+           (Data.ProtoLens.Tag 5, lastUpdateTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _VersionInfo'_unknownFields
+        (\ x__ y__ -> x__ {_VersionInfo'_unknownFields = y__})
+  defMessage
+    = VersionInfo'_constructor
+        {_VersionInfo'current = Prelude.Nothing,
+         _VersionInfo'recommended = Prelude.Nothing,
+         _VersionInfo'instructions = Data.ProtoLens.fieldDefault,
+         _VersionInfo'alerts = Data.Vector.Generic.empty,
+         _VersionInfo'lastUpdateTime = Prelude.Nothing,
+         _VersionInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          VersionInfo
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Alert
+             -> Data.ProtoLens.Encoding.Bytes.Parser VersionInfo
+        loop x mutable'alerts
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'alerts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                            mutable'alerts)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'alerts") frozen'alerts x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "current"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"current") y x)
+                                  mutable'alerts
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "recommended"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"recommended") y x)
+                                  mutable'alerts
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "instructions"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"instructions") y x)
+                                  mutable'alerts
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "alerts"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'alerts y)
+                                loop x v
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_update_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastUpdateTime") y x)
+                                  mutable'alerts
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'alerts
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'alerts <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                  Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'alerts)
+          "VersionInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'current") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'recommended") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"instructions") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'alerts") _x))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'lastUpdateTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData VersionInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_VersionInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_VersionInfo'current x__)
+                (Control.DeepSeq.deepseq
+                   (_VersionInfo'recommended x__)
+                   (Control.DeepSeq.deepseq
+                      (_VersionInfo'instructions x__)
+                      (Control.DeepSeq.deepseq
+                         (_VersionInfo'alerts x__)
+                         (Control.DeepSeq.deepseq (_VersionInfo'lastUpdateTime x__) ())))))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \%temporal/api/version/v1/message.proto\DC2\ETBtemporal.api.version.v1\SUB\USgoogle/protobuf/timestamp.proto\SUB\"temporal/api/enums/v1/common.proto\"|\n\
+    \\vReleaseInfo\DC2\CAN\n\
+    \\aversion\CAN\SOH \SOH(\tR\aversion\DC2=\n\
+    \\frelease_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\vreleaseTime\DC2\DC4\n\
+    \\ENQnotes\CAN\ETX \SOH(\tR\ENQnotes\"^\n\
+    \\ENQAlert\DC2\CAN\n\
+    \\amessage\CAN\SOH \SOH(\tR\amessage\DC2;\n\
+    \\bseverity\CAN\STX \SOH(\SO2\US.temporal.api.enums.v1.SeverityR\bseverity\"\183\STX\n\
+    \\vVersionInfo\DC2>\n\
+    \\acurrent\CAN\SOH \SOH(\v2$.temporal.api.version.v1.ReleaseInfoR\acurrent\DC2F\n\
+    \\vrecommended\CAN\STX \SOH(\v2$.temporal.api.version.v1.ReleaseInfoR\vrecommended\DC2\"\n\
+    \\finstructions\CAN\ETX \SOH(\tR\finstructions\DC26\n\
+    \\ACKalerts\CAN\EOT \ETX(\v2\RS.temporal.api.version.v1.AlertR\ACKalerts\DC2D\n\
+    \\DLElast_update_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\SOlastUpdateTimeB\142\SOH\n\
+    \\SUBio.temporal.api.version.v1B\fMessageProtoP\SOHZ%go.temporal.io/api/version/v1;version\170\STX\EMTemporalio.Api.Version.V1\234\STX\FSTemporalio::Api::Version::V1J\135\DC1\n\
+    \\ACK\DC2\EOT\SYN\NUL8\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL \n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL<\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL<\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL3\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL3\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL5\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL5\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL6\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL)\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL,\n\
+    \R\n\
+    \\STX\EOT\NUL\DC2\EOT%\NUL)\SOH\SUBF ReleaseInfo contains information about specific version of temporal.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX%\b\DC3\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX&\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX&\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX&\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX&\NAK\SYN\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX'\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX'\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX'\RS*\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX'-.\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX(\EOT\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX(\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX(\v\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX(\DC3\DC4\n\
+    \7\n\
+    \\STX\EOT\SOH\DC2\EOT,\NUL/\SOH\SUB+ Alert contains notification and severity.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX,\b\r\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX-\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX-\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX-\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX-\NAK\SYN\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX.\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX.\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX.#+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX../\n\
+    \\133\SOH\n\
+    \\STX\EOT\STX\DC2\EOT2\NUL8\SOH\SUBy VersionInfo contains details about current and recommended release versions as well as alerts and upgrade instructions.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX2\b\DC3\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX3\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX3\EOT\SI\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX3\DLE\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX3\SUB\ESC\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX4\EOT \n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX4\EOT\SI\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX4\DLE\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX4\RS\US\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\STX\DC2\ETX5\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ENQ\DC2\ETX5\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\ETX5\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\ETX5\SUB\ESC\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\ETX6\EOT\RS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\EOT\DC2\ETX6\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ACK\DC2\ETX6\r\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\ETX6\DC3\EM\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\ETX6\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\EOT\DC2\ETX7\EOT3\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\ACK\DC2\ETX7\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\SOH\DC2\ETX7\RS.\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\EOT\ETX\DC2\ETX712b\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Version/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Version/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Version/V1/Message_Fields.hs
@@ -0,0 +1,117 @@
+{- This file was auto-generated from temporal/api/version/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Version.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Enums.V1.Common
+alerts ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "alerts" a) =>
+  Lens.Family2.LensLike' f s a
+alerts = Data.ProtoLens.Field.field @"alerts"
+current ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "current" a) =>
+  Lens.Family2.LensLike' f s a
+current = Data.ProtoLens.Field.field @"current"
+instructions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "instructions" a) =>
+  Lens.Family2.LensLike' f s a
+instructions = Data.ProtoLens.Field.field @"instructions"
+lastUpdateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastUpdateTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastUpdateTime = Data.ProtoLens.Field.field @"lastUpdateTime"
+maybe'current ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'current" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'current = Data.ProtoLens.Field.field @"maybe'current"
+maybe'lastUpdateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastUpdateTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastUpdateTime
+  = Data.ProtoLens.Field.field @"maybe'lastUpdateTime"
+maybe'recommended ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'recommended" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'recommended = Data.ProtoLens.Field.field @"maybe'recommended"
+maybe'releaseTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'releaseTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'releaseTime = Data.ProtoLens.Field.field @"maybe'releaseTime"
+message ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>
+  Lens.Family2.LensLike' f s a
+message = Data.ProtoLens.Field.field @"message"
+notes ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "notes" a) =>
+  Lens.Family2.LensLike' f s a
+notes = Data.ProtoLens.Field.field @"notes"
+recommended ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "recommended" a) =>
+  Lens.Family2.LensLike' f s a
+recommended = Data.ProtoLens.Field.field @"recommended"
+releaseTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "releaseTime" a) =>
+  Lens.Family2.LensLike' f s a
+releaseTime = Data.ProtoLens.Field.field @"releaseTime"
+severity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "severity" a) =>
+  Lens.Family2.LensLike' f s a
+severity = Data.ProtoLens.Field.field @"severity"
+vec'alerts ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'alerts" a) =>
+  Lens.Family2.LensLike' f s a
+vec'alerts = Data.ProtoLens.Field.field @"vec'alerts"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
diff --git a/src/Proto/Temporal/Api/Workflow/V1/Message.hs b/src/Proto/Temporal/Api/Workflow/V1/Message.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Workflow/V1/Message.hs
@@ -0,0 +1,11516 @@
+{- This file was auto-generated from temporal/api/workflow/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Workflow.V1.Message (
+        CallbackInfo(), CallbackInfo'Trigger(),
+        CallbackInfo'Trigger'Variant(..),
+        _CallbackInfo'Trigger'WorkflowClosed,
+        CallbackInfo'WorkflowClosed(), DeploymentTransition(),
+        DeploymentVersionTransition(), NewWorkflowExecutionInfo(),
+        NexusOperationCancellationInfo(), OnConflictOptions(),
+        PendingActivityInfo(), PendingActivityInfo'AssignedBuildId(..),
+        _PendingActivityInfo'UseWorkflowBuildId,
+        _PendingActivityInfo'LastIndependentlyAssignedBuildId,
+        PendingActivityInfo'PauseInfo(),
+        PendingActivityInfo'PauseInfo'PausedBy(..),
+        _PendingActivityInfo'PauseInfo'Manual',
+        _PendingActivityInfo'PauseInfo'RuleId,
+        PendingActivityInfo'PauseInfo'Manual(),
+        PendingChildExecutionInfo(), PendingNexusOperationInfo(),
+        PendingWorkflowTaskInfo(), ResetPointInfo(), ResetPoints(),
+        VersioningOverride(), WorkflowExecutionConfig(),
+        WorkflowExecutionExtendedInfo(), WorkflowExecutionInfo(),
+        WorkflowExecutionOptions(), WorkflowExecutionVersioningInfo()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.callback' @:: Lens' CallbackInfo Proto.Temporal.Api.Common.V1.Message.Callback@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'callback' @:: Lens' CallbackInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Callback)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.trigger' @:: Lens' CallbackInfo CallbackInfo'Trigger@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'trigger' @:: Lens' CallbackInfo (Prelude.Maybe CallbackInfo'Trigger)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.registrationTime' @:: Lens' CallbackInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'registrationTime' @:: Lens' CallbackInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.state' @:: Lens' CallbackInfo Proto.Temporal.Api.Enums.V1.Common.CallbackState@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attempt' @:: Lens' CallbackInfo Data.Int.Int32@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptCompleteTime' @:: Lens' CallbackInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptCompleteTime' @:: Lens' CallbackInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptFailure' @:: Lens' CallbackInfo Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptFailure' @:: Lens' CallbackInfo (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.nextAttemptScheduleTime' @:: Lens' CallbackInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'nextAttemptScheduleTime' @:: Lens' CallbackInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.blockedReason' @:: Lens' CallbackInfo Data.Text.Text@ -}
+data CallbackInfo
+  = CallbackInfo'_constructor {_CallbackInfo'callback :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Callback),
+                               _CallbackInfo'trigger :: !(Prelude.Maybe CallbackInfo'Trigger),
+                               _CallbackInfo'registrationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _CallbackInfo'state :: !Proto.Temporal.Api.Enums.V1.Common.CallbackState,
+                               _CallbackInfo'attempt :: !Data.Int.Int32,
+                               _CallbackInfo'lastAttemptCompleteTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _CallbackInfo'lastAttemptFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                               _CallbackInfo'nextAttemptScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                               _CallbackInfo'blockedReason :: !Data.Text.Text,
+                               _CallbackInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CallbackInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CallbackInfo "callback" Proto.Temporal.Api.Common.V1.Message.Callback where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'callback
+           (\ x__ y__ -> x__ {_CallbackInfo'callback = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CallbackInfo "maybe'callback" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Callback) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'callback
+           (\ x__ y__ -> x__ {_CallbackInfo'callback = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "trigger" CallbackInfo'Trigger where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'trigger
+           (\ x__ y__ -> x__ {_CallbackInfo'trigger = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CallbackInfo "maybe'trigger" (Prelude.Maybe CallbackInfo'Trigger) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'trigger
+           (\ x__ y__ -> x__ {_CallbackInfo'trigger = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "registrationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'registrationTime
+           (\ x__ y__ -> x__ {_CallbackInfo'registrationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CallbackInfo "maybe'registrationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'registrationTime
+           (\ x__ y__ -> x__ {_CallbackInfo'registrationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "state" Proto.Temporal.Api.Enums.V1.Common.CallbackState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'state (\ x__ y__ -> x__ {_CallbackInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'attempt
+           (\ x__ y__ -> x__ {_CallbackInfo'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "lastAttemptCompleteTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'lastAttemptCompleteTime
+           (\ x__ y__ -> x__ {_CallbackInfo'lastAttemptCompleteTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CallbackInfo "maybe'lastAttemptCompleteTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'lastAttemptCompleteTime
+           (\ x__ y__ -> x__ {_CallbackInfo'lastAttemptCompleteTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "lastAttemptFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'lastAttemptFailure
+           (\ x__ y__ -> x__ {_CallbackInfo'lastAttemptFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CallbackInfo "maybe'lastAttemptFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'lastAttemptFailure
+           (\ x__ y__ -> x__ {_CallbackInfo'lastAttemptFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "nextAttemptScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'nextAttemptScheduleTime
+           (\ x__ y__ -> x__ {_CallbackInfo'nextAttemptScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CallbackInfo "maybe'nextAttemptScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'nextAttemptScheduleTime
+           (\ x__ y__ -> x__ {_CallbackInfo'nextAttemptScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo "blockedReason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'blockedReason
+           (\ x__ y__ -> x__ {_CallbackInfo'blockedReason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CallbackInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.CallbackInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\fCallbackInfo\DC2<\n\
+      \\bcallback\CAN\SOH \SOH(\v2 .temporal.api.common.v1.CallbackR\bcallback\DC2H\n\
+      \\atrigger\CAN\STX \SOH(\v2..temporal.api.workflow.v1.CallbackInfo.TriggerR\atrigger\DC2G\n\
+      \\DC1registration_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\DLEregistrationTime\DC2:\n\
+      \\ENQstate\CAN\EOT \SOH(\SO2$.temporal.api.enums.v1.CallbackStateR\ENQstate\DC2\CAN\n\
+      \\aattempt\CAN\ENQ \SOH(\ENQR\aattempt\DC2W\n\
+      \\SUBlast_attempt_complete_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2R\n\
+      \\DC4last_attempt_failure\CAN\a \SOH(\v2 .temporal.api.failure.v1.FailureR\DC2lastAttemptFailure\DC2W\n\
+      \\SUBnext_attempt_schedule_time\CAN\b \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2%\n\
+      \\SOblocked_reason\CAN\t \SOH(\tR\rblockedReason\SUB\DLE\n\
+      \\SOWorkflowClosed\SUBv\n\
+      \\aTrigger\DC2`\n\
+      \\SIworkflow_closed\CAN\SOH \SOH(\v25.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\NULR\SOworkflowClosedB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        callback__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "callback"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Callback)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'callback")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        trigger__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "trigger"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CallbackInfo'Trigger)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'trigger")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        registrationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "registration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'registrationTime")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.CallbackState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        lastAttemptCompleteTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_complete_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        lastAttemptFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptFailure")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        nextAttemptScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_attempt_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nextAttemptScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+        blockedReason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "blocked_reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"blockedReason")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, callback__field_descriptor),
+           (Data.ProtoLens.Tag 2, trigger__field_descriptor),
+           (Data.ProtoLens.Tag 3, registrationTime__field_descriptor),
+           (Data.ProtoLens.Tag 4, state__field_descriptor),
+           (Data.ProtoLens.Tag 5, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 6, lastAttemptCompleteTime__field_descriptor),
+           (Data.ProtoLens.Tag 7, lastAttemptFailure__field_descriptor),
+           (Data.ProtoLens.Tag 8, nextAttemptScheduleTime__field_descriptor),
+           (Data.ProtoLens.Tag 9, blockedReason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CallbackInfo'_unknownFields
+        (\ x__ y__ -> x__ {_CallbackInfo'_unknownFields = y__})
+  defMessage
+    = CallbackInfo'_constructor
+        {_CallbackInfo'callback = Prelude.Nothing,
+         _CallbackInfo'trigger = Prelude.Nothing,
+         _CallbackInfo'registrationTime = Prelude.Nothing,
+         _CallbackInfo'state = Data.ProtoLens.fieldDefault,
+         _CallbackInfo'attempt = Data.ProtoLens.fieldDefault,
+         _CallbackInfo'lastAttemptCompleteTime = Prelude.Nothing,
+         _CallbackInfo'lastAttemptFailure = Prelude.Nothing,
+         _CallbackInfo'nextAttemptScheduleTime = Prelude.Nothing,
+         _CallbackInfo'blockedReason = Data.ProtoLens.fieldDefault,
+         _CallbackInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CallbackInfo -> Data.ProtoLens.Encoding.Bytes.Parser CallbackInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "callback"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"callback") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "trigger"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"trigger") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "registration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"registrationTime") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_complete_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptCompleteTime") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_failure"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptFailure") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "next_attempt_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextAttemptScheduleTime") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "blocked_reason"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"blockedReason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CallbackInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'callback") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'trigger") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'registrationTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  Prelude.fromEnum _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'lastAttemptFailure") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field
+                                            @"maybe'nextAttemptScheduleTime")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (let
+                                        _v
+                                          = Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"blockedReason") _x
+                                      in
+                                        if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                            Data.Monoid.mempty
+                                        else
+                                            (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                              ((Prelude..)
+                                                 (\ bs
+                                                    -> (Data.Monoid.<>)
+                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                            (Prelude.fromIntegral
+                                                               (Data.ByteString.length bs)))
+                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                            bs))
+                                                 Data.Text.Encoding.encodeUtf8 _v))
+                                     (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                        (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))))
+instance Control.DeepSeq.NFData CallbackInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CallbackInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CallbackInfo'callback x__)
+                (Control.DeepSeq.deepseq
+                   (_CallbackInfo'trigger x__)
+                   (Control.DeepSeq.deepseq
+                      (_CallbackInfo'registrationTime x__)
+                      (Control.DeepSeq.deepseq
+                         (_CallbackInfo'state x__)
+                         (Control.DeepSeq.deepseq
+                            (_CallbackInfo'attempt x__)
+                            (Control.DeepSeq.deepseq
+                               (_CallbackInfo'lastAttemptCompleteTime x__)
+                               (Control.DeepSeq.deepseq
+                                  (_CallbackInfo'lastAttemptFailure x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_CallbackInfo'nextAttemptScheduleTime x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_CallbackInfo'blockedReason x__) ())))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'variant' @:: Lens' CallbackInfo'Trigger (Prelude.Maybe CallbackInfo'Trigger'Variant)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowClosed' @:: Lens' CallbackInfo'Trigger (Prelude.Maybe CallbackInfo'WorkflowClosed)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowClosed' @:: Lens' CallbackInfo'Trigger CallbackInfo'WorkflowClosed@ -}
+data CallbackInfo'Trigger
+  = CallbackInfo'Trigger'_constructor {_CallbackInfo'Trigger'variant :: !(Prelude.Maybe CallbackInfo'Trigger'Variant),
+                                       _CallbackInfo'Trigger'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CallbackInfo'Trigger where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data CallbackInfo'Trigger'Variant
+  = CallbackInfo'Trigger'WorkflowClosed !CallbackInfo'WorkflowClosed
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField CallbackInfo'Trigger "maybe'variant" (Prelude.Maybe CallbackInfo'Trigger'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'Trigger'variant
+           (\ x__ y__ -> x__ {_CallbackInfo'Trigger'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CallbackInfo'Trigger "maybe'workflowClosed" (Prelude.Maybe CallbackInfo'WorkflowClosed) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'Trigger'variant
+           (\ x__ y__ -> x__ {_CallbackInfo'Trigger'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (CallbackInfo'Trigger'WorkflowClosed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap CallbackInfo'Trigger'WorkflowClosed y__))
+instance Data.ProtoLens.Field.HasField CallbackInfo'Trigger "workflowClosed" CallbackInfo'WorkflowClosed where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CallbackInfo'Trigger'variant
+           (\ x__ y__ -> x__ {_CallbackInfo'Trigger'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (CallbackInfo'Trigger'WorkflowClosed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap CallbackInfo'Trigger'WorkflowClosed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message CallbackInfo'Trigger where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.CallbackInfo.Trigger"
+  packedMessageDescriptor _
+    = "\n\
+      \\aTrigger\DC2`\n\
+      \\SIworkflow_closed\CAN\SOH \SOH(\v25.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\NULR\SOworkflowClosedB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowClosed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_closed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CallbackInfo'WorkflowClosed)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowClosed")) ::
+              Data.ProtoLens.FieldDescriptor CallbackInfo'Trigger
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowClosed__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CallbackInfo'Trigger'_unknownFields
+        (\ x__ y__ -> x__ {_CallbackInfo'Trigger'_unknownFields = y__})
+  defMessage
+    = CallbackInfo'Trigger'_constructor
+        {_CallbackInfo'Trigger'variant = Prelude.Nothing,
+         _CallbackInfo'Trigger'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CallbackInfo'Trigger
+          -> Data.ProtoLens.Encoding.Bytes.Parser CallbackInfo'Trigger
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_closed"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowClosed") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Trigger"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (CallbackInfo'Trigger'WorkflowClosed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CallbackInfo'Trigger where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CallbackInfo'Trigger'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CallbackInfo'Trigger'variant x__) ())
+instance Control.DeepSeq.NFData CallbackInfo'Trigger'Variant where
+  rnf (CallbackInfo'Trigger'WorkflowClosed x__)
+    = Control.DeepSeq.rnf x__
+_CallbackInfo'Trigger'WorkflowClosed ::
+  Data.ProtoLens.Prism.Prism' CallbackInfo'Trigger'Variant CallbackInfo'WorkflowClosed
+_CallbackInfo'Trigger'WorkflowClosed
+  = Data.ProtoLens.Prism.prism'
+      CallbackInfo'Trigger'WorkflowClosed
+      (\ p__
+         -> case p__ of
+              (CallbackInfo'Trigger'WorkflowClosed p__val)
+                -> Prelude.Just p__val)
+{- | Fields :
+      -}
+data CallbackInfo'WorkflowClosed
+  = CallbackInfo'WorkflowClosed'_constructor {_CallbackInfo'WorkflowClosed'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CallbackInfo'WorkflowClosed where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message CallbackInfo'WorkflowClosed where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.CallbackInfo.WorkflowClosed"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOWorkflowClosed"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CallbackInfo'WorkflowClosed'_unknownFields
+        (\ x__ y__
+           -> x__ {_CallbackInfo'WorkflowClosed'_unknownFields = y__})
+  defMessage
+    = CallbackInfo'WorkflowClosed'_constructor
+        {_CallbackInfo'WorkflowClosed'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CallbackInfo'WorkflowClosed
+          -> Data.ProtoLens.Encoding.Bytes.Parser CallbackInfo'WorkflowClosed
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowClosed"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData CallbackInfo'WorkflowClosed where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CallbackInfo'WorkflowClosed'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.deployment' @:: Lens' DeploymentTransition Proto.Temporal.Api.Deployment.V1.Message.Deployment@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'deployment' @:: Lens' DeploymentTransition (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment)@ -}
+data DeploymentTransition
+  = DeploymentTransition'_constructor {_DeploymentTransition'deployment :: !(Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment),
+                                       _DeploymentTransition'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeploymentTransition where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeploymentTransition "deployment" Proto.Temporal.Api.Deployment.V1.Message.Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentTransition'deployment
+           (\ x__ y__ -> x__ {_DeploymentTransition'deployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DeploymentTransition "maybe'deployment" (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentTransition'deployment
+           (\ x__ y__ -> x__ {_DeploymentTransition'deployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeploymentTransition where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.DeploymentTransition"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4DeploymentTransition\DC2F\n\
+      \\n\
+      \deployment\CAN\SOH \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+      \deployment"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        deployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Deployment.V1.Message.Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deployment")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentTransition
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, deployment__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeploymentTransition'_unknownFields
+        (\ x__ y__ -> x__ {_DeploymentTransition'_unknownFields = y__})
+  defMessage
+    = DeploymentTransition'_constructor
+        {_DeploymentTransition'deployment = Prelude.Nothing,
+         _DeploymentTransition'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeploymentTransition
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeploymentTransition
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deployment") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeploymentTransition"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'deployment") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData DeploymentTransition where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeploymentTransition'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_DeploymentTransition'deployment x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.version' @:: Lens' DeploymentVersionTransition Data.Text.Text@ -}
+data DeploymentVersionTransition
+  = DeploymentVersionTransition'_constructor {_DeploymentVersionTransition'version :: !Data.Text.Text,
+                                              _DeploymentVersionTransition'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DeploymentVersionTransition where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DeploymentVersionTransition "version" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DeploymentVersionTransition'version
+           (\ x__ y__ -> x__ {_DeploymentVersionTransition'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DeploymentVersionTransition where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.DeploymentVersionTransition"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCDeploymentVersionTransition\DC2\CAN\n\
+      \\aversion\CAN\SOH \SOH(\tR\aversion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor DeploymentVersionTransition
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, version__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DeploymentVersionTransition'_unknownFields
+        (\ x__ y__
+           -> x__ {_DeploymentVersionTransition'_unknownFields = y__})
+  defMessage
+    = DeploymentVersionTransition'_constructor
+        {_DeploymentVersionTransition'version = Data.ProtoLens.fieldDefault,
+         _DeploymentVersionTransition'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DeploymentVersionTransition
+          -> Data.ProtoLens.Encoding.Bytes.Parser DeploymentVersionTransition
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DeploymentVersionTransition"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData DeploymentVersionTransition where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DeploymentVersionTransition'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DeploymentVersionTransition'version x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowId' @:: Lens' NewWorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowType' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowType' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.taskQueue' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'taskQueue' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.input' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'input' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowExecutionTimeout' @:: Lens' NewWorkflowExecutionInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowExecutionTimeout' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowRunTimeout' @:: Lens' NewWorkflowExecutionInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowTaskTimeout' @:: Lens' NewWorkflowExecutionInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowTaskTimeout' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowIdReusePolicy' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.retryPolicy' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'retryPolicy' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.cronSchedule' @:: Lens' NewWorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.memo' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'memo' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.searchAttributes' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'searchAttributes' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.header' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.Header@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'header' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.userMetadata' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'userMetadata' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.versioningOverride' @:: Lens' NewWorkflowExecutionInfo VersioningOverride@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'versioningOverride' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe VersioningOverride)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.priority' @:: Lens' NewWorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'priority' @:: Lens' NewWorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data NewWorkflowExecutionInfo
+  = NewWorkflowExecutionInfo'_constructor {_NewWorkflowExecutionInfo'workflowId :: !Data.Text.Text,
+                                           _NewWorkflowExecutionInfo'workflowType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                           _NewWorkflowExecutionInfo'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                           _NewWorkflowExecutionInfo'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                           _NewWorkflowExecutionInfo'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                           _NewWorkflowExecutionInfo'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                           _NewWorkflowExecutionInfo'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                           _NewWorkflowExecutionInfo'workflowIdReusePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy,
+                                           _NewWorkflowExecutionInfo'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                           _NewWorkflowExecutionInfo'cronSchedule :: !Data.Text.Text,
+                                           _NewWorkflowExecutionInfo'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                           _NewWorkflowExecutionInfo'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                           _NewWorkflowExecutionInfo'header :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header),
+                                           _NewWorkflowExecutionInfo'userMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata),
+                                           _NewWorkflowExecutionInfo'versioningOverride :: !(Prelude.Maybe VersioningOverride),
+                                           _NewWorkflowExecutionInfo'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                           _NewWorkflowExecutionInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NewWorkflowExecutionInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowId
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "workflowType" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowType
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'workflowType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'workflowType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowType
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'taskQueue
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'taskQueue
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "input" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'input
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'input
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowTaskTimeout
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowTaskTimeout
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "workflowIdReusePolicy" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'workflowIdReusePolicy
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'workflowIdReusePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'retryPolicy
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'retryPolicy
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'cronSchedule
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'memo
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'memo
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'searchAttributes
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'searchAttributes
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "header" Proto.Temporal.Api.Common.V1.Message.Header where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'header
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'header = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'header" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Header) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'header
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'header = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "userMetadata" Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'userMetadata
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'userMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'userMetadata" (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'userMetadata
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'userMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "versioningOverride" VersioningOverride where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'versioningOverride
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'versioningOverride = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'versioningOverride" (Prelude.Maybe VersioningOverride) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'versioningOverride
+           (\ x__ y__
+              -> x__ {_NewWorkflowExecutionInfo'versioningOverride = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'priority
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NewWorkflowExecutionInfo "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NewWorkflowExecutionInfo'priority
+           (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NewWorkflowExecutionInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.NewWorkflowExecutionInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANNewWorkflowExecutionInfo\DC2\US\n\
+      \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+      \workflowId\DC2I\n\
+      \\rworkflow_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+      \\n\
+      \task_queue\CAN\ETX \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+      \\ENQinput\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2e\n\
+      \\CANworkflow_id_reuse_policy\CAN\b \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+      \\fretry_policy\CAN\t \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+      \\rcron_schedule\CAN\n\
+      \ \SOH(\tR\fcronSchedule\DC20\n\
+      \\EOTmemo\CAN\v \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\f \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC26\n\
+      \\ACKheader\CAN\r \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2F\n\
+      \\ruser_metadata\CAN\SO \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC2]\n\
+      \\DC3versioning_override\CAN\SI \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2<\n\
+      \\bpriority\CAN\DLE \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowType")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        workflowIdReusePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id_reuse_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowIdReusePolicy")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        header__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Header)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'header")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        userMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "user_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'userMetadata")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        versioningOverride__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_override"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor VersioningOverride)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versioningOverride")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor NewWorkflowExecutionInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 3, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 4, input__field_descriptor),
+           (Data.ProtoLens.Tag 5, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 7, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, workflowIdReusePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 9, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 10, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 11, memo__field_descriptor),
+           (Data.ProtoLens.Tag 12, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 13, header__field_descriptor),
+           (Data.ProtoLens.Tag 14, userMetadata__field_descriptor),
+           (Data.ProtoLens.Tag 15, versioningOverride__field_descriptor),
+           (Data.ProtoLens.Tag 16, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NewWorkflowExecutionInfo'_unknownFields
+        (\ x__ y__ -> x__ {_NewWorkflowExecutionInfo'_unknownFields = y__})
+  defMessage
+    = NewWorkflowExecutionInfo'_constructor
+        {_NewWorkflowExecutionInfo'workflowId = Data.ProtoLens.fieldDefault,
+         _NewWorkflowExecutionInfo'workflowType = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'taskQueue = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'input = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'workflowExecutionTimeout = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'workflowRunTimeout = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'workflowTaskTimeout = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'workflowIdReusePolicy = Data.ProtoLens.fieldDefault,
+         _NewWorkflowExecutionInfo'retryPolicy = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'cronSchedule = Data.ProtoLens.fieldDefault,
+         _NewWorkflowExecutionInfo'memo = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'searchAttributes = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'header = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'userMetadata = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'versioningOverride = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'priority = Prelude.Nothing,
+         _NewWorkflowExecutionInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NewWorkflowExecutionInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser NewWorkflowExecutionInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "workflow_id_reuse_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowIdReusePolicy") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "header"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"header") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "user_metadata"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"userMetadata") y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "versioning_override"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningOverride") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NewWorkflowExecutionInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowType") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"workflowIdReusePolicy") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                           ((Prelude..)
+                                              ((Prelude..)
+                                                 Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 Prelude.fromIntegral)
+                                              Prelude.fromEnum _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'retryPolicy") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field @"cronSchedule") _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                 ((Prelude..)
+                                                    (\ bs
+                                                       -> (Data.Monoid.<>)
+                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                               (Prelude.fromIntegral
+                                                                  (Data.ByteString.length bs)))
+                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                               bs))
+                                                    Data.Text.Encoding.encodeUtf8 _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field @"maybe'memo") _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field
+                                                        @"maybe'searchAttributes")
+                                                     _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field @"maybe'header")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              106)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'userMetadata")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 114)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (case
+                                                            Lens.Family2.view
+                                                              (Data.ProtoLens.Field.field
+                                                                 @"maybe'versioningOverride")
+                                                              _x
+                                                        of
+                                                          Prelude.Nothing -> Data.Monoid.mempty
+                                                          (Prelude.Just _v)
+                                                            -> (Data.Monoid.<>)
+                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                    122)
+                                                                 ((Prelude..)
+                                                                    (\ bs
+                                                                       -> (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               (Prelude.fromIntegral
+                                                                                  (Data.ByteString.length
+                                                                                     bs)))
+                                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                               bs))
+                                                                    Data.ProtoLens.encodeMessage
+                                                                    _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'priority")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       130)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                             (Lens.Family2.view
+                                                                Data.ProtoLens.unknownFields
+                                                                _x)))))))))))))))))
+instance Control.DeepSeq.NFData NewWorkflowExecutionInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NewWorkflowExecutionInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NewWorkflowExecutionInfo'workflowId x__)
+                (Control.DeepSeq.deepseq
+                   (_NewWorkflowExecutionInfo'workflowType x__)
+                   (Control.DeepSeq.deepseq
+                      (_NewWorkflowExecutionInfo'taskQueue x__)
+                      (Control.DeepSeq.deepseq
+                         (_NewWorkflowExecutionInfo'input x__)
+                         (Control.DeepSeq.deepseq
+                            (_NewWorkflowExecutionInfo'workflowExecutionTimeout x__)
+                            (Control.DeepSeq.deepseq
+                               (_NewWorkflowExecutionInfo'workflowRunTimeout x__)
+                               (Control.DeepSeq.deepseq
+                                  (_NewWorkflowExecutionInfo'workflowTaskTimeout x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_NewWorkflowExecutionInfo'workflowIdReusePolicy x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_NewWorkflowExecutionInfo'retryPolicy x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_NewWorkflowExecutionInfo'cronSchedule x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_NewWorkflowExecutionInfo'memo x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_NewWorkflowExecutionInfo'searchAttributes x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_NewWorkflowExecutionInfo'header x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_NewWorkflowExecutionInfo'userMetadata x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_NewWorkflowExecutionInfo'versioningOverride
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_NewWorkflowExecutionInfo'priority
+                                                                x__)
+                                                             ()))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.requestedTime' @:: Lens' NexusOperationCancellationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'requestedTime' @:: Lens' NexusOperationCancellationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.state' @:: Lens' NexusOperationCancellationInfo Proto.Temporal.Api.Enums.V1.Common.NexusOperationCancellationState@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attempt' @:: Lens' NexusOperationCancellationInfo Data.Int.Int32@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptCompleteTime' @:: Lens' NexusOperationCancellationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptCompleteTime' @:: Lens' NexusOperationCancellationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptFailure' @:: Lens' NexusOperationCancellationInfo Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptFailure' @:: Lens' NexusOperationCancellationInfo (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.nextAttemptScheduleTime' @:: Lens' NexusOperationCancellationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'nextAttemptScheduleTime' @:: Lens' NexusOperationCancellationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.blockedReason' @:: Lens' NexusOperationCancellationInfo Data.Text.Text@ -}
+data NexusOperationCancellationInfo
+  = NexusOperationCancellationInfo'_constructor {_NexusOperationCancellationInfo'requestedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                 _NexusOperationCancellationInfo'state :: !Proto.Temporal.Api.Enums.V1.Common.NexusOperationCancellationState,
+                                                 _NexusOperationCancellationInfo'attempt :: !Data.Int.Int32,
+                                                 _NexusOperationCancellationInfo'lastAttemptCompleteTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                 _NexusOperationCancellationInfo'lastAttemptFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                 _NexusOperationCancellationInfo'nextAttemptScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                 _NexusOperationCancellationInfo'blockedReason :: !Data.Text.Text,
+                                                 _NexusOperationCancellationInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationCancellationInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "requestedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'requestedTime
+           (\ x__ y__
+              -> x__ {_NexusOperationCancellationInfo'requestedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "maybe'requestedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'requestedTime
+           (\ x__ y__
+              -> x__ {_NexusOperationCancellationInfo'requestedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "state" Proto.Temporal.Api.Enums.V1.Common.NexusOperationCancellationState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'state
+           (\ x__ y__ -> x__ {_NexusOperationCancellationInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'attempt
+           (\ x__ y__ -> x__ {_NexusOperationCancellationInfo'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "lastAttemptCompleteTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'lastAttemptCompleteTime
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancellationInfo'lastAttemptCompleteTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "maybe'lastAttemptCompleteTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'lastAttemptCompleteTime
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancellationInfo'lastAttemptCompleteTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "lastAttemptFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'lastAttemptFailure
+           (\ x__ y__
+              -> x__ {_NexusOperationCancellationInfo'lastAttemptFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "maybe'lastAttemptFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'lastAttemptFailure
+           (\ x__ y__
+              -> x__ {_NexusOperationCancellationInfo'lastAttemptFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "nextAttemptScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'nextAttemptScheduleTime
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancellationInfo'nextAttemptScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "maybe'nextAttemptScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'nextAttemptScheduleTime
+           (\ x__ y__
+              -> x__
+                   {_NexusOperationCancellationInfo'nextAttemptScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationCancellationInfo "blockedReason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationCancellationInfo'blockedReason
+           (\ x__ y__
+              -> x__ {_NexusOperationCancellationInfo'blockedReason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusOperationCancellationInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.NexusOperationCancellationInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSNexusOperationCancellationInfo\DC2A\n\
+      \\SOrequested_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\rrequestedTime\DC2L\n\
+      \\ENQstate\CAN\STX \SOH(\SO26.temporal.api.enums.v1.NexusOperationCancellationStateR\ENQstate\DC2\CAN\n\
+      \\aattempt\CAN\ETX \SOH(\ENQR\aattempt\DC2W\n\
+      \\SUBlast_attempt_complete_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2R\n\
+      \\DC4last_attempt_failure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\DC2lastAttemptFailure\DC2W\n\
+      \\SUBnext_attempt_schedule_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2%\n\
+      \\SOblocked_reason\CAN\a \SOH(\tR\rblockedReason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        requestedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "requested_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'requestedTime")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.NexusOperationCancellationState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+        lastAttemptCompleteTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_complete_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+        lastAttemptFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptFailure")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+        nextAttemptScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_attempt_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nextAttemptScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+        blockedReason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "blocked_reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"blockedReason")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationCancellationInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, requestedTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, state__field_descriptor),
+           (Data.ProtoLens.Tag 3, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 4, lastAttemptCompleteTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, lastAttemptFailure__field_descriptor),
+           (Data.ProtoLens.Tag 6, nextAttemptScheduleTime__field_descriptor),
+           (Data.ProtoLens.Tag 7, blockedReason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationCancellationInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_NexusOperationCancellationInfo'_unknownFields = y__})
+  defMessage
+    = NexusOperationCancellationInfo'_constructor
+        {_NexusOperationCancellationInfo'requestedTime = Prelude.Nothing,
+         _NexusOperationCancellationInfo'state = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancellationInfo'attempt = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancellationInfo'lastAttemptCompleteTime = Prelude.Nothing,
+         _NexusOperationCancellationInfo'lastAttemptFailure = Prelude.Nothing,
+         _NexusOperationCancellationInfo'nextAttemptScheduleTime = Prelude.Nothing,
+         _NexusOperationCancellationInfo'blockedReason = Data.ProtoLens.fieldDefault,
+         _NexusOperationCancellationInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationCancellationInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationCancellationInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "requested_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestedTime") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_complete_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptCompleteTime") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_failure"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptFailure") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "next_attempt_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextAttemptScheduleTime") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "blocked_reason"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"blockedReason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "NexusOperationCancellationInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'requestedTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'lastAttemptFailure") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'nextAttemptScheduleTime") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"blockedReason") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData NexusOperationCancellationInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationCancellationInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusOperationCancellationInfo'requestedTime x__)
+                (Control.DeepSeq.deepseq
+                   (_NexusOperationCancellationInfo'state x__)
+                   (Control.DeepSeq.deepseq
+                      (_NexusOperationCancellationInfo'attempt x__)
+                      (Control.DeepSeq.deepseq
+                         (_NexusOperationCancellationInfo'lastAttemptCompleteTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_NexusOperationCancellationInfo'lastAttemptFailure x__)
+                            (Control.DeepSeq.deepseq
+                               (_NexusOperationCancellationInfo'nextAttemptScheduleTime x__)
+                               (Control.DeepSeq.deepseq
+                                  (_NexusOperationCancellationInfo'blockedReason x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attachRequestId' @:: Lens' OnConflictOptions Prelude.Bool@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attachCompletionCallbacks' @:: Lens' OnConflictOptions Prelude.Bool@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attachLinks' @:: Lens' OnConflictOptions Prelude.Bool@ -}
+data OnConflictOptions
+  = OnConflictOptions'_constructor {_OnConflictOptions'attachRequestId :: !Prelude.Bool,
+                                    _OnConflictOptions'attachCompletionCallbacks :: !Prelude.Bool,
+                                    _OnConflictOptions'attachLinks :: !Prelude.Bool,
+                                    _OnConflictOptions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show OnConflictOptions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField OnConflictOptions "attachRequestId" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _OnConflictOptions'attachRequestId
+           (\ x__ y__ -> x__ {_OnConflictOptions'attachRequestId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField OnConflictOptions "attachCompletionCallbacks" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _OnConflictOptions'attachCompletionCallbacks
+           (\ x__ y__
+              -> x__ {_OnConflictOptions'attachCompletionCallbacks = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField OnConflictOptions "attachLinks" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _OnConflictOptions'attachLinks
+           (\ x__ y__ -> x__ {_OnConflictOptions'attachLinks = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message OnConflictOptions where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.OnConflictOptions"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1OnConflictOptions\DC2*\n\
+      \\DC1attach_request_id\CAN\SOH \SOH(\bR\SIattachRequestId\DC2>\n\
+      \\ESCattach_completion_callbacks\CAN\STX \SOH(\bR\EMattachCompletionCallbacks\DC2!\n\
+      \\fattach_links\CAN\ETX \SOH(\bR\vattachLinks"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        attachRequestId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attach_request_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"attachRequestId")) ::
+              Data.ProtoLens.FieldDescriptor OnConflictOptions
+        attachCompletionCallbacks__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attach_completion_callbacks"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"attachCompletionCallbacks")) ::
+              Data.ProtoLens.FieldDescriptor OnConflictOptions
+        attachLinks__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attach_links"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"attachLinks")) ::
+              Data.ProtoLens.FieldDescriptor OnConflictOptions
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, attachRequestId__field_descriptor),
+           (Data.ProtoLens.Tag 2, 
+            attachCompletionCallbacks__field_descriptor),
+           (Data.ProtoLens.Tag 3, attachLinks__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _OnConflictOptions'_unknownFields
+        (\ x__ y__ -> x__ {_OnConflictOptions'_unknownFields = y__})
+  defMessage
+    = OnConflictOptions'_constructor
+        {_OnConflictOptions'attachRequestId = Data.ProtoLens.fieldDefault,
+         _OnConflictOptions'attachCompletionCallbacks = Data.ProtoLens.fieldDefault,
+         _OnConflictOptions'attachLinks = Data.ProtoLens.fieldDefault,
+         _OnConflictOptions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          OnConflictOptions
+          -> Data.ProtoLens.Encoding.Bytes.Parser OnConflictOptions
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attach_request_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"attachRequestId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attach_completion_callbacks"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"attachCompletionCallbacks") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attach_links"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"attachLinks") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "OnConflictOptions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"attachRequestId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                         _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"attachCompletionCallbacks") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"attachLinks") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData OnConflictOptions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_OnConflictOptions'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_OnConflictOptions'attachRequestId x__)
+                (Control.DeepSeq.deepseq
+                   (_OnConflictOptions'attachCompletionCallbacks x__)
+                   (Control.DeepSeq.deepseq (_OnConflictOptions'attachLinks x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.activityId' @:: Lens' PendingActivityInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.activityType' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Common.V1.Message.ActivityType@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'activityType' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.state' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Enums.V1.Workflow.PendingActivityState@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.heartbeatDetails' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'heartbeatDetails' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastHeartbeatTime' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastHeartbeatTime' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastStartedTime' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastStartedTime' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attempt' @:: Lens' PendingActivityInfo Data.Int.Int32@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maximumAttempts' @:: Lens' PendingActivityInfo Data.Int.Int32@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.scheduledTime' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'scheduledTime' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.expirationTime' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'expirationTime' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastFailure' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastFailure' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastWorkerIdentity' @:: Lens' PendingActivityInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastWorkerVersionStamp' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastWorkerVersionStamp' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.currentRetryInterval' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'currentRetryInterval' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptCompleteTime' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptCompleteTime' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.nextAttemptScheduleTime' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'nextAttemptScheduleTime' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.paused' @:: Lens' PendingActivityInfo Prelude.Bool@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastDeployment' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Deployment.V1.Message.Deployment@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastDeployment' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastWorkerDeploymentVersion' @:: Lens' PendingActivityInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.priority' @:: Lens' PendingActivityInfo Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'priority' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.pauseInfo' @:: Lens' PendingActivityInfo PendingActivityInfo'PauseInfo@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'pauseInfo' @:: Lens' PendingActivityInfo (Prelude.Maybe PendingActivityInfo'PauseInfo)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'assignedBuildId' @:: Lens' PendingActivityInfo (Prelude.Maybe PendingActivityInfo'AssignedBuildId)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'useWorkflowBuildId' @:: Lens' PendingActivityInfo (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.useWorkflowBuildId' @:: Lens' PendingActivityInfo Proto.Google.Protobuf.Empty.Empty@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastIndependentlyAssignedBuildId' @:: Lens' PendingActivityInfo (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastIndependentlyAssignedBuildId' @:: Lens' PendingActivityInfo Data.Text.Text@ -}
+data PendingActivityInfo
+  = PendingActivityInfo'_constructor {_PendingActivityInfo'activityId :: !Data.Text.Text,
+                                      _PendingActivityInfo'activityType :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType),
+                                      _PendingActivityInfo'state :: !Proto.Temporal.Api.Enums.V1.Workflow.PendingActivityState,
+                                      _PendingActivityInfo'heartbeatDetails :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                      _PendingActivityInfo'lastHeartbeatTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _PendingActivityInfo'lastStartedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _PendingActivityInfo'attempt :: !Data.Int.Int32,
+                                      _PendingActivityInfo'maximumAttempts :: !Data.Int.Int32,
+                                      _PendingActivityInfo'scheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _PendingActivityInfo'expirationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _PendingActivityInfo'lastFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                      _PendingActivityInfo'lastWorkerIdentity :: !Data.Text.Text,
+                                      _PendingActivityInfo'lastWorkerVersionStamp :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                      _PendingActivityInfo'currentRetryInterval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                      _PendingActivityInfo'lastAttemptCompleteTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _PendingActivityInfo'nextAttemptScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                      _PendingActivityInfo'paused :: !Prelude.Bool,
+                                      _PendingActivityInfo'lastDeployment :: !(Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment),
+                                      _PendingActivityInfo'lastWorkerDeploymentVersion :: !Data.Text.Text,
+                                      _PendingActivityInfo'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                      _PendingActivityInfo'pauseInfo :: !(Prelude.Maybe PendingActivityInfo'PauseInfo),
+                                      _PendingActivityInfo'assignedBuildId :: !(Prelude.Maybe PendingActivityInfo'AssignedBuildId),
+                                      _PendingActivityInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PendingActivityInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data PendingActivityInfo'AssignedBuildId
+  = PendingActivityInfo'UseWorkflowBuildId !Proto.Google.Protobuf.Empty.Empty |
+    PendingActivityInfo'LastIndependentlyAssignedBuildId !Data.Text.Text
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'activityId
+           (\ x__ y__ -> x__ {_PendingActivityInfo'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "activityType" Proto.Temporal.Api.Common.V1.Message.ActivityType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'activityType
+           (\ x__ y__ -> x__ {_PendingActivityInfo'activityType = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'activityType" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.ActivityType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'activityType
+           (\ x__ y__ -> x__ {_PendingActivityInfo'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "state" Proto.Temporal.Api.Enums.V1.Workflow.PendingActivityState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'state
+           (\ x__ y__ -> x__ {_PendingActivityInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "heartbeatDetails" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'heartbeatDetails
+           (\ x__ y__ -> x__ {_PendingActivityInfo'heartbeatDetails = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'heartbeatDetails" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'heartbeatDetails
+           (\ x__ y__ -> x__ {_PendingActivityInfo'heartbeatDetails = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastHeartbeatTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastHeartbeatTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastHeartbeatTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastHeartbeatTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastHeartbeatTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastHeartbeatTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastStartedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastStartedTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastStartedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastStartedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastStartedTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastStartedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'attempt
+           (\ x__ y__ -> x__ {_PendingActivityInfo'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maximumAttempts" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'maximumAttempts
+           (\ x__ y__ -> x__ {_PendingActivityInfo'maximumAttempts = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "scheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'scheduledTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'scheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'scheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'scheduledTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'scheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "expirationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'expirationTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'expirationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'expirationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'expirationTime
+           (\ x__ y__ -> x__ {_PendingActivityInfo'expirationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastFailure
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastFailure
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastWorkerIdentity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastWorkerIdentity
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastWorkerIdentity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastWorkerVersionStamp" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastWorkerVersionStamp
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'lastWorkerVersionStamp = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastWorkerVersionStamp" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastWorkerVersionStamp
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'lastWorkerVersionStamp = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "currentRetryInterval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'currentRetryInterval
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'currentRetryInterval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'currentRetryInterval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'currentRetryInterval
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'currentRetryInterval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastAttemptCompleteTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastAttemptCompleteTime
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'lastAttemptCompleteTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastAttemptCompleteTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastAttemptCompleteTime
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'lastAttemptCompleteTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "nextAttemptScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'nextAttemptScheduleTime
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'nextAttemptScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'nextAttemptScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'nextAttemptScheduleTime
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'nextAttemptScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "paused" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'paused
+           (\ x__ y__ -> x__ {_PendingActivityInfo'paused = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastDeployment" Proto.Temporal.Api.Deployment.V1.Message.Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastDeployment
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastDeployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastDeployment" (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastDeployment
+           (\ x__ y__ -> x__ {_PendingActivityInfo'lastDeployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastWorkerDeploymentVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'lastWorkerDeploymentVersion
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'lastWorkerDeploymentVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'priority
+           (\ x__ y__ -> x__ {_PendingActivityInfo'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'priority
+           (\ x__ y__ -> x__ {_PendingActivityInfo'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "pauseInfo" PendingActivityInfo'PauseInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'pauseInfo
+           (\ x__ y__ -> x__ {_PendingActivityInfo'pauseInfo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'pauseInfo" (Prelude.Maybe PendingActivityInfo'PauseInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'pauseInfo
+           (\ x__ y__ -> x__ {_PendingActivityInfo'pauseInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'assignedBuildId" (Prelude.Maybe PendingActivityInfo'AssignedBuildId) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'assignedBuildId
+           (\ x__ y__ -> x__ {_PendingActivityInfo'assignedBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'useWorkflowBuildId" (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'assignedBuildId
+           (\ x__ y__ -> x__ {_PendingActivityInfo'assignedBuildId = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (PendingActivityInfo'UseWorkflowBuildId x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap PendingActivityInfo'UseWorkflowBuildId y__))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "useWorkflowBuildId" Proto.Google.Protobuf.Empty.Empty where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'assignedBuildId
+           (\ x__ y__ -> x__ {_PendingActivityInfo'assignedBuildId = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (PendingActivityInfo'UseWorkflowBuildId x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap PendingActivityInfo'UseWorkflowBuildId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "maybe'lastIndependentlyAssignedBuildId" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'assignedBuildId
+           (\ x__ y__ -> x__ {_PendingActivityInfo'assignedBuildId = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (PendingActivityInfo'LastIndependentlyAssignedBuildId x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   PendingActivityInfo'LastIndependentlyAssignedBuildId y__))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo "lastIndependentlyAssignedBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'assignedBuildId
+           (\ x__ y__ -> x__ {_PendingActivityInfo'assignedBuildId = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (PendingActivityInfo'LastIndependentlyAssignedBuildId x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      PendingActivityInfo'LastIndependentlyAssignedBuildId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message PendingActivityInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.PendingActivityInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3PendingActivityInfo\DC2\US\n\
+      \\vactivity_id\CAN\SOH \SOH(\tR\n\
+      \activityId\DC2I\n\
+      \\ractivity_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2A\n\
+      \\ENQstate\CAN\ETX \SOH(\SO2+.temporal.api.enums.v1.PendingActivityStateR\ENQstate\DC2M\n\
+      \\DC1heartbeat_details\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\DLEheartbeatDetails\DC2J\n\
+      \\DC3last_heartbeat_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DC1lastHeartbeatTime\DC2F\n\
+      \\DC1last_started_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\SIlastStartedTime\DC2\CAN\n\
+      \\aattempt\CAN\a \SOH(\ENQR\aattempt\DC2)\n\
+      \\DLEmaximum_attempts\CAN\b \SOH(\ENQR\SImaximumAttempts\DC2A\n\
+      \\SOscheduled_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2C\n\
+      \\SIexpiration_time\CAN\n\
+      \ \SOH(\v2\SUB.google.protobuf.TimestampR\SOexpirationTime\DC2C\n\
+      \\flast_failure\CAN\v \SOH(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\DC20\n\
+      \\DC4last_worker_identity\CAN\f \SOH(\tR\DC2lastWorkerIdentity\DC2K\n\
+      \\NAKuse_workflow_build_id\CAN\r \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\DC2useWorkflowBuildId\DC2P\n\
+      \$last_independently_assigned_build_id\CAN\SO \SOH(\tH\NULR lastIndependentlyAssignedBuildId\DC2e\n\
+      \\EMlast_worker_version_stamp\CAN\SI \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\SYNlastWorkerVersionStamp\DC2O\n\
+      \\SYNcurrent_retry_interval\CAN\DLE \SOH(\v2\EM.google.protobuf.DurationR\DC4currentRetryInterval\DC2W\n\
+      \\SUBlast_attempt_complete_time\CAN\DC1 \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2W\n\
+      \\SUBnext_attempt_schedule_time\CAN\DC2 \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2\SYN\n\
+      \\ACKpaused\CAN\DC3 \SOH(\bR\ACKpaused\DC2S\n\
+      \\SIlast_deployment\CAN\DC4 \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\SOlastDeploymentB\STX\CAN\SOH\DC2C\n\
+      \\RSlast_worker_deployment_version\CAN\NAK \SOH(\tR\ESClastWorkerDeploymentVersion\DC2<\n\
+      \\bpriority\CAN\SYN \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\DC2V\n\
+      \\n\
+      \pause_info\CAN\ETB \SOH(\v27.temporal.api.workflow.v1.PendingActivityInfo.PauseInfoR\tpauseInfo\SUB\134\STX\n\
+      \\tPauseInfo\DC29\n\
+      \\n\
+      \pause_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\tpauseTime\DC2X\n\
+      \\ACKmanual\CAN\STX \SOH(\v2>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\NULR\ACKmanual\DC2\EM\n\
+      \\arule_id\CAN\ETX \SOH(\tH\NULR\ACKruleId\SUB<\n\
+      \\ACKManual\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\SYN\n\
+      \\ACKreason\CAN\STX \SOH(\tR\ACKreasonB\v\n\
+      \\tpaused_byB\DC3\n\
+      \\DC1assigned_build_id"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.ActivityType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'activityType")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.PendingActivityState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        heartbeatDetails__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'heartbeatDetails")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastHeartbeatTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_heartbeat_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastHeartbeatTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastStartedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_started_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastStartedTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        maximumAttempts__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "maximum_attempts"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"maximumAttempts")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        scheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        expirationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "expiration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'expirationTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastFailure")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastWorkerIdentity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_worker_identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"lastWorkerIdentity")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastWorkerVersionStamp__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_worker_version_stamp"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastWorkerVersionStamp")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        currentRetryInterval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_retry_interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'currentRetryInterval")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastAttemptCompleteTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_complete_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        nextAttemptScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_attempt_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nextAttemptScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        paused__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "paused"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"paused")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastDeployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Deployment.V1.Message.Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastDeployment")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastWorkerDeploymentVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_worker_deployment_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"lastWorkerDeploymentVersion")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        pauseInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "pause_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor PendingActivityInfo'PauseInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'pauseInfo")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        useWorkflowBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "use_workflow_build_id"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Empty.Empty)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'useWorkflowBuildId")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+        lastIndependentlyAssignedBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_independently_assigned_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'lastIndependentlyAssignedBuildId")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 2, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 3, state__field_descriptor),
+           (Data.ProtoLens.Tag 4, heartbeatDetails__field_descriptor),
+           (Data.ProtoLens.Tag 5, lastHeartbeatTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, lastStartedTime__field_descriptor),
+           (Data.ProtoLens.Tag 7, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 8, maximumAttempts__field_descriptor),
+           (Data.ProtoLens.Tag 9, scheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 10, expirationTime__field_descriptor),
+           (Data.ProtoLens.Tag 11, lastFailure__field_descriptor),
+           (Data.ProtoLens.Tag 12, lastWorkerIdentity__field_descriptor),
+           (Data.ProtoLens.Tag 15, lastWorkerVersionStamp__field_descriptor),
+           (Data.ProtoLens.Tag 16, currentRetryInterval__field_descriptor),
+           (Data.ProtoLens.Tag 17, lastAttemptCompleteTime__field_descriptor),
+           (Data.ProtoLens.Tag 18, nextAttemptScheduleTime__field_descriptor),
+           (Data.ProtoLens.Tag 19, paused__field_descriptor),
+           (Data.ProtoLens.Tag 20, lastDeployment__field_descriptor),
+           (Data.ProtoLens.Tag 21, 
+            lastWorkerDeploymentVersion__field_descriptor),
+           (Data.ProtoLens.Tag 22, priority__field_descriptor),
+           (Data.ProtoLens.Tag 23, pauseInfo__field_descriptor),
+           (Data.ProtoLens.Tag 13, useWorkflowBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 14, 
+            lastIndependentlyAssignedBuildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PendingActivityInfo'_unknownFields
+        (\ x__ y__ -> x__ {_PendingActivityInfo'_unknownFields = y__})
+  defMessage
+    = PendingActivityInfo'_constructor
+        {_PendingActivityInfo'activityId = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'activityType = Prelude.Nothing,
+         _PendingActivityInfo'state = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'heartbeatDetails = Prelude.Nothing,
+         _PendingActivityInfo'lastHeartbeatTime = Prelude.Nothing,
+         _PendingActivityInfo'lastStartedTime = Prelude.Nothing,
+         _PendingActivityInfo'attempt = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'maximumAttempts = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'scheduledTime = Prelude.Nothing,
+         _PendingActivityInfo'expirationTime = Prelude.Nothing,
+         _PendingActivityInfo'lastFailure = Prelude.Nothing,
+         _PendingActivityInfo'lastWorkerIdentity = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'lastWorkerVersionStamp = Prelude.Nothing,
+         _PendingActivityInfo'currentRetryInterval = Prelude.Nothing,
+         _PendingActivityInfo'lastAttemptCompleteTime = Prelude.Nothing,
+         _PendingActivityInfo'nextAttemptScheduleTime = Prelude.Nothing,
+         _PendingActivityInfo'paused = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'lastDeployment = Prelude.Nothing,
+         _PendingActivityInfo'lastWorkerDeploymentVersion = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'priority = Prelude.Nothing,
+         _PendingActivityInfo'pauseInfo = Prelude.Nothing,
+         _PendingActivityInfo'assignedBuildId = Prelude.Nothing,
+         _PendingActivityInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PendingActivityInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser PendingActivityInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "heartbeat_details"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"heartbeatDetails") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_heartbeat_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastHeartbeatTime") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_started_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastStartedTime") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "maximum_attempts"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"maximumAttempts") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledTime") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "expiration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"expirationTime") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_failure"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"lastFailure") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "last_worker_identity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastWorkerIdentity") y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_worker_version_stamp"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastWorkerVersionStamp") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "current_retry_interval"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentRetryInterval") y x)
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_complete_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptCompleteTime") y x)
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "next_attempt_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextAttemptScheduleTime") y x)
+                        152
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "paused"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"paused") y x)
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_deployment"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastDeployment") y x)
+                        170
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "last_worker_deployment_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastWorkerDeploymentVersion") y
+                                     x)
+                        178
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        186
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "pause_info"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"pauseInfo") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "use_workflow_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"useWorkflowBuildId") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "last_independently_assigned_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"lastIndependentlyAssignedBuildId")
+                                     y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PendingActivityInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'activityType") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'heartbeatDetails") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'lastHeartbeatTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'lastStartedTime") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           Prelude.fromIntegral _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"maximumAttempts") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              Prelude.fromIntegral _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'scheduledTime") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'expirationTime")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field @"maybe'lastFailure")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field
+                                                          @"lastWorkerIdentity")
+                                                       _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                       ((Prelude..)
+                                                          (\ bs
+                                                             -> (Data.Monoid.<>)
+                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                     (Prelude.fromIntegral
+                                                                        (Data.ByteString.length
+                                                                           bs)))
+                                                                  (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                     bs))
+                                                          Data.Text.Encoding.encodeUtf8 _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field
+                                                           @"maybe'lastWorkerVersionStamp")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              122)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'currentRetryInterval")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 130)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (case
+                                                            Lens.Family2.view
+                                                              (Data.ProtoLens.Field.field
+                                                                 @"maybe'lastAttemptCompleteTime")
+                                                              _x
+                                                        of
+                                                          Prelude.Nothing -> Data.Monoid.mempty
+                                                          (Prelude.Just _v)
+                                                            -> (Data.Monoid.<>)
+                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                    138)
+                                                                 ((Prelude..)
+                                                                    (\ bs
+                                                                       -> (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               (Prelude.fromIntegral
+                                                                                  (Data.ByteString.length
+                                                                                     bs)))
+                                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                               bs))
+                                                                    Data.ProtoLens.encodeMessage
+                                                                    _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'nextAttemptScheduleTime")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       146)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          ((Data.Monoid.<>)
+                                                             (let
+                                                                _v
+                                                                  = Lens.Family2.view
+                                                                      (Data.ProtoLens.Field.field
+                                                                         @"paused")
+                                                                      _x
+                                                              in
+                                                                if (Prelude.==)
+                                                                     _v
+                                                                     Data.ProtoLens.fieldDefault then
+                                                                    Data.Monoid.mempty
+                                                                else
+                                                                    (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         152)
+                                                                      ((Prelude..)
+                                                                         Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (\ b -> if b then 1 else 0)
+                                                                         _v))
+                                                             ((Data.Monoid.<>)
+                                                                (case
+                                                                     Lens.Family2.view
+                                                                       (Data.ProtoLens.Field.field
+                                                                          @"maybe'lastDeployment")
+                                                                       _x
+                                                                 of
+                                                                   Prelude.Nothing
+                                                                     -> Data.Monoid.mempty
+                                                                   (Prelude.Just _v)
+                                                                     -> (Data.Monoid.<>)
+                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                             162)
+                                                                          ((Prelude..)
+                                                                             (\ bs
+                                                                                -> (Data.Monoid.<>)
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                        (Prelude.fromIntegral
+                                                                                           (Data.ByteString.length
+                                                                                              bs)))
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                        bs))
+                                                                             Data.ProtoLens.encodeMessage
+                                                                             _v))
+                                                                ((Data.Monoid.<>)
+                                                                   (let
+                                                                      _v
+                                                                        = Lens.Family2.view
+                                                                            (Data.ProtoLens.Field.field
+                                                                               @"lastWorkerDeploymentVersion")
+                                                                            _x
+                                                                    in
+                                                                      if (Prelude.==)
+                                                                           _v
+                                                                           Data.ProtoLens.fieldDefault then
+                                                                          Data.Monoid.mempty
+                                                                      else
+                                                                          (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               170)
+                                                                            ((Prelude..)
+                                                                               (\ bs
+                                                                                  -> (Data.Monoid.<>)
+                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                          (Prelude.fromIntegral
+                                                                                             (Data.ByteString.length
+                                                                                                bs)))
+                                                                                       (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                          bs))
+                                                                               Data.Text.Encoding.encodeUtf8
+                                                                               _v))
+                                                                   ((Data.Monoid.<>)
+                                                                      (case
+                                                                           Lens.Family2.view
+                                                                             (Data.ProtoLens.Field.field
+                                                                                @"maybe'priority")
+                                                                             _x
+                                                                       of
+                                                                         Prelude.Nothing
+                                                                           -> Data.Monoid.mempty
+                                                                         (Prelude.Just _v)
+                                                                           -> (Data.Monoid.<>)
+                                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                   178)
+                                                                                ((Prelude..)
+                                                                                   (\ bs
+                                                                                      -> (Data.Monoid.<>)
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                              (Prelude.fromIntegral
+                                                                                                 (Data.ByteString.length
+                                                                                                    bs)))
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                              bs))
+                                                                                   Data.ProtoLens.encodeMessage
+                                                                                   _v))
+                                                                      ((Data.Monoid.<>)
+                                                                         (case
+                                                                              Lens.Family2.view
+                                                                                (Data.ProtoLens.Field.field
+                                                                                   @"maybe'pauseInfo")
+                                                                                _x
+                                                                          of
+                                                                            Prelude.Nothing
+                                                                              -> Data.Monoid.mempty
+                                                                            (Prelude.Just _v)
+                                                                              -> (Data.Monoid.<>)
+                                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                      186)
+                                                                                   ((Prelude..)
+                                                                                      (\ bs
+                                                                                         -> (Data.Monoid.<>)
+                                                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                 (Prelude.fromIntegral
+                                                                                                    (Data.ByteString.length
+                                                                                                       bs)))
+                                                                                              (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                 bs))
+                                                                                      Data.ProtoLens.encodeMessage
+                                                                                      _v))
+                                                                         ((Data.Monoid.<>)
+                                                                            (case
+                                                                                 Lens.Family2.view
+                                                                                   (Data.ProtoLens.Field.field
+                                                                                      @"maybe'assignedBuildId")
+                                                                                   _x
+                                                                             of
+                                                                               Prelude.Nothing
+                                                                                 -> Data.Monoid.mempty
+                                                                               (Prelude.Just (PendingActivityInfo'UseWorkflowBuildId v))
+                                                                                 -> (Data.Monoid.<>)
+                                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                         106)
+                                                                                      ((Prelude..)
+                                                                                         (\ bs
+                                                                                            -> (Data.Monoid.<>)
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                    (Prelude.fromIntegral
+                                                                                                       (Data.ByteString.length
+                                                                                                          bs)))
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                    bs))
+                                                                                         Data.ProtoLens.encodeMessage
+                                                                                         v)
+                                                                               (Prelude.Just (PendingActivityInfo'LastIndependentlyAssignedBuildId v))
+                                                                                 -> (Data.Monoid.<>)
+                                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                         114)
+                                                                                      ((Prelude..)
+                                                                                         (\ bs
+                                                                                            -> (Data.Monoid.<>)
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                    (Prelude.fromIntegral
+                                                                                                       (Data.ByteString.length
+                                                                                                          bs)))
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                    bs))
+                                                                                         Data.Text.Encoding.encodeUtf8
+                                                                                         v))
+                                                                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                               (Lens.Family2.view
+                                                                                  Data.ProtoLens.unknownFields
+                                                                                  _x)))))))))))))))))))))))
+instance Control.DeepSeq.NFData PendingActivityInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PendingActivityInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PendingActivityInfo'activityId x__)
+                (Control.DeepSeq.deepseq
+                   (_PendingActivityInfo'activityType x__)
+                   (Control.DeepSeq.deepseq
+                      (_PendingActivityInfo'state x__)
+                      (Control.DeepSeq.deepseq
+                         (_PendingActivityInfo'heartbeatDetails x__)
+                         (Control.DeepSeq.deepseq
+                            (_PendingActivityInfo'lastHeartbeatTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_PendingActivityInfo'lastStartedTime x__)
+                               (Control.DeepSeq.deepseq
+                                  (_PendingActivityInfo'attempt x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_PendingActivityInfo'maximumAttempts x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_PendingActivityInfo'scheduledTime x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_PendingActivityInfo'expirationTime x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_PendingActivityInfo'lastFailure x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_PendingActivityInfo'lastWorkerIdentity x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_PendingActivityInfo'lastWorkerVersionStamp
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_PendingActivityInfo'currentRetryInterval
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_PendingActivityInfo'lastAttemptCompleteTime
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_PendingActivityInfo'nextAttemptScheduleTime
+                                                                x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_PendingActivityInfo'paused x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_PendingActivityInfo'lastDeployment
+                                                                      x__)
+                                                                   (Control.DeepSeq.deepseq
+                                                                      (_PendingActivityInfo'lastWorkerDeploymentVersion
+                                                                         x__)
+                                                                      (Control.DeepSeq.deepseq
+                                                                         (_PendingActivityInfo'priority
+                                                                            x__)
+                                                                         (Control.DeepSeq.deepseq
+                                                                            (_PendingActivityInfo'pauseInfo
+                                                                               x__)
+                                                                            (Control.DeepSeq.deepseq
+                                                                               (_PendingActivityInfo'assignedBuildId
+                                                                                  x__)
+                                                                               ()))))))))))))))))))))))
+instance Control.DeepSeq.NFData PendingActivityInfo'AssignedBuildId where
+  rnf (PendingActivityInfo'UseWorkflowBuildId x__)
+    = Control.DeepSeq.rnf x__
+  rnf (PendingActivityInfo'LastIndependentlyAssignedBuildId x__)
+    = Control.DeepSeq.rnf x__
+_PendingActivityInfo'UseWorkflowBuildId ::
+  Data.ProtoLens.Prism.Prism' PendingActivityInfo'AssignedBuildId Proto.Google.Protobuf.Empty.Empty
+_PendingActivityInfo'UseWorkflowBuildId
+  = Data.ProtoLens.Prism.prism'
+      PendingActivityInfo'UseWorkflowBuildId
+      (\ p__
+         -> case p__ of
+              (PendingActivityInfo'UseWorkflowBuildId p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_PendingActivityInfo'LastIndependentlyAssignedBuildId ::
+  Data.ProtoLens.Prism.Prism' PendingActivityInfo'AssignedBuildId Data.Text.Text
+_PendingActivityInfo'LastIndependentlyAssignedBuildId
+  = Data.ProtoLens.Prism.prism'
+      PendingActivityInfo'LastIndependentlyAssignedBuildId
+      (\ p__
+         -> case p__ of
+              (PendingActivityInfo'LastIndependentlyAssignedBuildId p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.pauseTime' @:: Lens' PendingActivityInfo'PauseInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'pauseTime' @:: Lens' PendingActivityInfo'PauseInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'pausedBy' @:: Lens' PendingActivityInfo'PauseInfo (Prelude.Maybe PendingActivityInfo'PauseInfo'PausedBy)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'manual' @:: Lens' PendingActivityInfo'PauseInfo (Prelude.Maybe PendingActivityInfo'PauseInfo'Manual)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.manual' @:: Lens' PendingActivityInfo'PauseInfo PendingActivityInfo'PauseInfo'Manual@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'ruleId' @:: Lens' PendingActivityInfo'PauseInfo (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.ruleId' @:: Lens' PendingActivityInfo'PauseInfo Data.Text.Text@ -}
+data PendingActivityInfo'PauseInfo
+  = PendingActivityInfo'PauseInfo'_constructor {_PendingActivityInfo'PauseInfo'pauseTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                _PendingActivityInfo'PauseInfo'pausedBy :: !(Prelude.Maybe PendingActivityInfo'PauseInfo'PausedBy),
+                                                _PendingActivityInfo'PauseInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PendingActivityInfo'PauseInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data PendingActivityInfo'PauseInfo'PausedBy
+  = PendingActivityInfo'PauseInfo'Manual' !PendingActivityInfo'PauseInfo'Manual |
+    PendingActivityInfo'PauseInfo'RuleId !Data.Text.Text
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "pauseTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pauseTime
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'PauseInfo'pauseTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "maybe'pauseTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pauseTime
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'PauseInfo'pauseTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "maybe'pausedBy" (Prelude.Maybe PendingActivityInfo'PauseInfo'PausedBy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pausedBy
+           (\ x__ y__ -> x__ {_PendingActivityInfo'PauseInfo'pausedBy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "maybe'manual" (Prelude.Maybe PendingActivityInfo'PauseInfo'Manual) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pausedBy
+           (\ x__ y__ -> x__ {_PendingActivityInfo'PauseInfo'pausedBy = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (PendingActivityInfo'PauseInfo'Manual' x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap PendingActivityInfo'PauseInfo'Manual' y__))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "manual" PendingActivityInfo'PauseInfo'Manual where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pausedBy
+           (\ x__ y__ -> x__ {_PendingActivityInfo'PauseInfo'pausedBy = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (PendingActivityInfo'PauseInfo'Manual' x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap PendingActivityInfo'PauseInfo'Manual' y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "maybe'ruleId" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pausedBy
+           (\ x__ y__ -> x__ {_PendingActivityInfo'PauseInfo'pausedBy = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (PendingActivityInfo'PauseInfo'RuleId x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap PendingActivityInfo'PauseInfo'RuleId y__))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo "ruleId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'pausedBy
+           (\ x__ y__ -> x__ {_PendingActivityInfo'PauseInfo'pausedBy = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (PendingActivityInfo'PauseInfo'RuleId x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap PendingActivityInfo'PauseInfo'RuleId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message PendingActivityInfo'PauseInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.PendingActivityInfo.PauseInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\tPauseInfo\DC29\n\
+      \\n\
+      \pause_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\tpauseTime\DC2X\n\
+      \\ACKmanual\CAN\STX \SOH(\v2>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\NULR\ACKmanual\DC2\EM\n\
+      \\arule_id\CAN\ETX \SOH(\tH\NULR\ACKruleId\SUB<\n\
+      \\ACKManual\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\SYN\n\
+      \\ACKreason\CAN\STX \SOH(\tR\ACKreasonB\v\n\
+      \\tpaused_by"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        pauseTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "pause_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'pauseTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo'PauseInfo
+        manual__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "manual"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor PendingActivityInfo'PauseInfo'Manual)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'manual")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo'PauseInfo
+        ruleId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rule_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'ruleId")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo'PauseInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, pauseTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, manual__field_descriptor),
+           (Data.ProtoLens.Tag 3, ruleId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PendingActivityInfo'PauseInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_PendingActivityInfo'PauseInfo'_unknownFields = y__})
+  defMessage
+    = PendingActivityInfo'PauseInfo'_constructor
+        {_PendingActivityInfo'PauseInfo'pauseTime = Prelude.Nothing,
+         _PendingActivityInfo'PauseInfo'pausedBy = Prelude.Nothing,
+         _PendingActivityInfo'PauseInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PendingActivityInfo'PauseInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser PendingActivityInfo'PauseInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "pause_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"pauseTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "manual"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"manual") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "rule_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"ruleId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PauseInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'pauseTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'pausedBy") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (PendingActivityInfo'PauseInfo'Manual' v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (PendingActivityInfo'PauseInfo'RuleId v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.Text.Encoding.encodeUtf8 v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData PendingActivityInfo'PauseInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PendingActivityInfo'PauseInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PendingActivityInfo'PauseInfo'pauseTime x__)
+                (Control.DeepSeq.deepseq
+                   (_PendingActivityInfo'PauseInfo'pausedBy x__) ()))
+instance Control.DeepSeq.NFData PendingActivityInfo'PauseInfo'PausedBy where
+  rnf (PendingActivityInfo'PauseInfo'Manual' x__)
+    = Control.DeepSeq.rnf x__
+  rnf (PendingActivityInfo'PauseInfo'RuleId x__)
+    = Control.DeepSeq.rnf x__
+_PendingActivityInfo'PauseInfo'Manual' ::
+  Data.ProtoLens.Prism.Prism' PendingActivityInfo'PauseInfo'PausedBy PendingActivityInfo'PauseInfo'Manual
+_PendingActivityInfo'PauseInfo'Manual'
+  = Data.ProtoLens.Prism.prism'
+      PendingActivityInfo'PauseInfo'Manual'
+      (\ p__
+         -> case p__ of
+              (PendingActivityInfo'PauseInfo'Manual' p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_PendingActivityInfo'PauseInfo'RuleId ::
+  Data.ProtoLens.Prism.Prism' PendingActivityInfo'PauseInfo'PausedBy Data.Text.Text
+_PendingActivityInfo'PauseInfo'RuleId
+  = Data.ProtoLens.Prism.prism'
+      PendingActivityInfo'PauseInfo'RuleId
+      (\ p__
+         -> case p__ of
+              (PendingActivityInfo'PauseInfo'RuleId p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.identity' @:: Lens' PendingActivityInfo'PauseInfo'Manual Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.reason' @:: Lens' PendingActivityInfo'PauseInfo'Manual Data.Text.Text@ -}
+data PendingActivityInfo'PauseInfo'Manual
+  = PendingActivityInfo'PauseInfo'Manual'_constructor {_PendingActivityInfo'PauseInfo'Manual'identity :: !Data.Text.Text,
+                                                       _PendingActivityInfo'PauseInfo'Manual'reason :: !Data.Text.Text,
+                                                       _PendingActivityInfo'PauseInfo'Manual'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PendingActivityInfo'PauseInfo'Manual where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo'Manual "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'Manual'identity
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'PauseInfo'Manual'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingActivityInfo'PauseInfo'Manual "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingActivityInfo'PauseInfo'Manual'reason
+           (\ x__ y__
+              -> x__ {_PendingActivityInfo'PauseInfo'Manual'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PendingActivityInfo'PauseInfo'Manual where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.Manual"
+  packedMessageDescriptor _
+    = "\n\
+      \\ACKManual\DC2\SUB\n\
+      \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\SYN\n\
+      \\ACKreason\CAN\STX \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo'PauseInfo'Manual
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor PendingActivityInfo'PauseInfo'Manual
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, identity__field_descriptor),
+           (Data.ProtoLens.Tag 2, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PendingActivityInfo'PauseInfo'Manual'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_PendingActivityInfo'PauseInfo'Manual'_unknownFields = y__})
+  defMessage
+    = PendingActivityInfo'PauseInfo'Manual'_constructor
+        {_PendingActivityInfo'PauseInfo'Manual'identity = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'PauseInfo'Manual'reason = Data.ProtoLens.fieldDefault,
+         _PendingActivityInfo'PauseInfo'Manual'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PendingActivityInfo'PauseInfo'Manual
+          -> Data.ProtoLens.Encoding.Bytes.Parser PendingActivityInfo'PauseInfo'Manual
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Manual"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData PendingActivityInfo'PauseInfo'Manual where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PendingActivityInfo'PauseInfo'Manual'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PendingActivityInfo'PauseInfo'Manual'identity x__)
+                (Control.DeepSeq.deepseq
+                   (_PendingActivityInfo'PauseInfo'Manual'reason x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowId' @:: Lens' PendingChildExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.runId' @:: Lens' PendingChildExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowTypeName' @:: Lens' PendingChildExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.initiatedId' @:: Lens' PendingChildExecutionInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.parentClosePolicy' @:: Lens' PendingChildExecutionInfo Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy@ -}
+data PendingChildExecutionInfo
+  = PendingChildExecutionInfo'_constructor {_PendingChildExecutionInfo'workflowId :: !Data.Text.Text,
+                                            _PendingChildExecutionInfo'runId :: !Data.Text.Text,
+                                            _PendingChildExecutionInfo'workflowTypeName :: !Data.Text.Text,
+                                            _PendingChildExecutionInfo'initiatedId :: !Data.Int.Int64,
+                                            _PendingChildExecutionInfo'parentClosePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy,
+                                            _PendingChildExecutionInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PendingChildExecutionInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PendingChildExecutionInfo "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingChildExecutionInfo'workflowId
+           (\ x__ y__ -> x__ {_PendingChildExecutionInfo'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingChildExecutionInfo "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingChildExecutionInfo'runId
+           (\ x__ y__ -> x__ {_PendingChildExecutionInfo'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingChildExecutionInfo "workflowTypeName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingChildExecutionInfo'workflowTypeName
+           (\ x__ y__
+              -> x__ {_PendingChildExecutionInfo'workflowTypeName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingChildExecutionInfo "initiatedId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingChildExecutionInfo'initiatedId
+           (\ x__ y__ -> x__ {_PendingChildExecutionInfo'initiatedId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingChildExecutionInfo "parentClosePolicy" Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingChildExecutionInfo'parentClosePolicy
+           (\ x__ y__
+              -> x__ {_PendingChildExecutionInfo'parentClosePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PendingChildExecutionInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.PendingChildExecutionInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMPendingChildExecutionInfo\DC2\US\n\
+      \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\DC2,\n\
+      \\DC2workflow_type_name\CAN\ETX \SOH(\tR\DLEworkflowTypeName\DC2!\n\
+      \\finitiated_id\CAN\EOT \SOH(\ETXR\vinitiatedId\DC2X\n\
+      \\DC3parent_close_policy\CAN\ENQ \SOH(\SO2(.temporal.api.enums.v1.ParentClosePolicyR\DC1parentClosePolicy"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor PendingChildExecutionInfo
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor PendingChildExecutionInfo
+        workflowTypeName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowTypeName")) ::
+              Data.ProtoLens.FieldDescriptor PendingChildExecutionInfo
+        initiatedId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initiated_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"initiatedId")) ::
+              Data.ProtoLens.FieldDescriptor PendingChildExecutionInfo
+        parentClosePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_close_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ParentClosePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentClosePolicy")) ::
+              Data.ProtoLens.FieldDescriptor PendingChildExecutionInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 2, runId__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowTypeName__field_descriptor),
+           (Data.ProtoLens.Tag 4, initiatedId__field_descriptor),
+           (Data.ProtoLens.Tag 5, parentClosePolicy__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PendingChildExecutionInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_PendingChildExecutionInfo'_unknownFields = y__})
+  defMessage
+    = PendingChildExecutionInfo'_constructor
+        {_PendingChildExecutionInfo'workflowId = Data.ProtoLens.fieldDefault,
+         _PendingChildExecutionInfo'runId = Data.ProtoLens.fieldDefault,
+         _PendingChildExecutionInfo'workflowTypeName = Data.ProtoLens.fieldDefault,
+         _PendingChildExecutionInfo'initiatedId = Data.ProtoLens.fieldDefault,
+         _PendingChildExecutionInfo'parentClosePolicy = Data.ProtoLens.fieldDefault,
+         _PendingChildExecutionInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PendingChildExecutionInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser PendingChildExecutionInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTypeName") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "initiated_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"initiatedId") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "parent_close_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentClosePolicy") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PendingChildExecutionInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"workflowTypeName") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"initiatedId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"parentClosePolicy") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData PendingChildExecutionInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PendingChildExecutionInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PendingChildExecutionInfo'workflowId x__)
+                (Control.DeepSeq.deepseq
+                   (_PendingChildExecutionInfo'runId x__)
+                   (Control.DeepSeq.deepseq
+                      (_PendingChildExecutionInfo'workflowTypeName x__)
+                      (Control.DeepSeq.deepseq
+                         (_PendingChildExecutionInfo'initiatedId x__)
+                         (Control.DeepSeq.deepseq
+                            (_PendingChildExecutionInfo'parentClosePolicy x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.endpoint' @:: Lens' PendingNexusOperationInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.service' @:: Lens' PendingNexusOperationInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.operation' @:: Lens' PendingNexusOperationInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.operationId' @:: Lens' PendingNexusOperationInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.scheduleToCloseTimeout' @:: Lens' PendingNexusOperationInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'scheduleToCloseTimeout' @:: Lens' PendingNexusOperationInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.scheduledTime' @:: Lens' PendingNexusOperationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'scheduledTime' @:: Lens' PendingNexusOperationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.state' @:: Lens' PendingNexusOperationInfo Proto.Temporal.Api.Enums.V1.Common.PendingNexusOperationState@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attempt' @:: Lens' PendingNexusOperationInfo Data.Int.Int32@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptCompleteTime' @:: Lens' PendingNexusOperationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptCompleteTime' @:: Lens' PendingNexusOperationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastAttemptFailure' @:: Lens' PendingNexusOperationInfo Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastAttemptFailure' @:: Lens' PendingNexusOperationInfo (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.nextAttemptScheduleTime' @:: Lens' PendingNexusOperationInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'nextAttemptScheduleTime' @:: Lens' PendingNexusOperationInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.cancellationInfo' @:: Lens' PendingNexusOperationInfo NexusOperationCancellationInfo@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'cancellationInfo' @:: Lens' PendingNexusOperationInfo (Prelude.Maybe NexusOperationCancellationInfo)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.scheduledEventId' @:: Lens' PendingNexusOperationInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.blockedReason' @:: Lens' PendingNexusOperationInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.operationToken' @:: Lens' PendingNexusOperationInfo Data.Text.Text@ -}
+data PendingNexusOperationInfo
+  = PendingNexusOperationInfo'_constructor {_PendingNexusOperationInfo'endpoint :: !Data.Text.Text,
+                                            _PendingNexusOperationInfo'service :: !Data.Text.Text,
+                                            _PendingNexusOperationInfo'operation :: !Data.Text.Text,
+                                            _PendingNexusOperationInfo'operationId :: !Data.Text.Text,
+                                            _PendingNexusOperationInfo'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                            _PendingNexusOperationInfo'scheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                            _PendingNexusOperationInfo'state :: !Proto.Temporal.Api.Enums.V1.Common.PendingNexusOperationState,
+                                            _PendingNexusOperationInfo'attempt :: !Data.Int.Int32,
+                                            _PendingNexusOperationInfo'lastAttemptCompleteTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                            _PendingNexusOperationInfo'lastAttemptFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                            _PendingNexusOperationInfo'nextAttemptScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                            _PendingNexusOperationInfo'cancellationInfo :: !(Prelude.Maybe NexusOperationCancellationInfo),
+                                            _PendingNexusOperationInfo'scheduledEventId :: !Data.Int.Int64,
+                                            _PendingNexusOperationInfo'blockedReason :: !Data.Text.Text,
+                                            _PendingNexusOperationInfo'operationToken :: !Data.Text.Text,
+                                            _PendingNexusOperationInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PendingNexusOperationInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "endpoint" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'endpoint
+           (\ x__ y__ -> x__ {_PendingNexusOperationInfo'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'service
+           (\ x__ y__ -> x__ {_PendingNexusOperationInfo'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'operation
+           (\ x__ y__ -> x__ {_PendingNexusOperationInfo'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "operationId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'operationId
+           (\ x__ y__ -> x__ {_PendingNexusOperationInfo'operationId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "scheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'scheduledTime
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'scheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "maybe'scheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'scheduledTime
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'scheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "state" Proto.Temporal.Api.Enums.V1.Common.PendingNexusOperationState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'state
+           (\ x__ y__ -> x__ {_PendingNexusOperationInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'attempt
+           (\ x__ y__ -> x__ {_PendingNexusOperationInfo'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "lastAttemptCompleteTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'lastAttemptCompleteTime
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'lastAttemptCompleteTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "maybe'lastAttemptCompleteTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'lastAttemptCompleteTime
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'lastAttemptCompleteTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "lastAttemptFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'lastAttemptFailure
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'lastAttemptFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "maybe'lastAttemptFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'lastAttemptFailure
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'lastAttemptFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "nextAttemptScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'nextAttemptScheduleTime
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'nextAttemptScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "maybe'nextAttemptScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'nextAttemptScheduleTime
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'nextAttemptScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "cancellationInfo" NexusOperationCancellationInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'cancellationInfo
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'cancellationInfo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "maybe'cancellationInfo" (Prelude.Maybe NexusOperationCancellationInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'cancellationInfo
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'cancellationInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "scheduledEventId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'scheduledEventId
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'scheduledEventId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "blockedReason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'blockedReason
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'blockedReason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingNexusOperationInfo "operationToken" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingNexusOperationInfo'operationToken
+           (\ x__ y__
+              -> x__ {_PendingNexusOperationInfo'operationToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PendingNexusOperationInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.PendingNexusOperationInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMPendingNexusOperationInfo\DC2\SUB\n\
+      \\bendpoint\CAN\SOH \SOH(\tR\bendpoint\DC2\CAN\n\
+      \\aservice\CAN\STX \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\ETX \SOH(\tR\toperation\DC2!\n\
+      \\foperation_id\CAN\EOT \SOH(\tR\voperationId\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2A\n\
+      \\SOscheduled_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2G\n\
+      \\ENQstate\CAN\a \SOH(\SO21.temporal.api.enums.v1.PendingNexusOperationStateR\ENQstate\DC2\CAN\n\
+      \\aattempt\CAN\b \SOH(\ENQR\aattempt\DC2W\n\
+      \\SUBlast_attempt_complete_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2R\n\
+      \\DC4last_attempt_failure\CAN\n\
+      \ \SOH(\v2 .temporal.api.failure.v1.FailureR\DC2lastAttemptFailure\DC2W\n\
+      \\SUBnext_attempt_schedule_time\CAN\v \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2e\n\
+      \\DC1cancellation_info\CAN\f \SOH(\v28.temporal.api.workflow.v1.NexusOperationCancellationInfoR\DLEcancellationInfo\DC2,\n\
+      \\DC2scheduled_event_id\CAN\r \SOH(\ETXR\DLEscheduledEventId\DC2%\n\
+      \\SOblocked_reason\CAN\SO \SOH(\tR\rblockedReason\DC2'\n\
+      \\SIoperation_token\CAN\SI \SOH(\tR\SOoperationToken"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"endpoint")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        operationId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationId")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        scheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Common.PendingNexusOperationState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        lastAttemptCompleteTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_complete_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        lastAttemptFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_attempt_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastAttemptFailure")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        nextAttemptScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "next_attempt_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'nextAttemptScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        cancellationInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancellation_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusOperationCancellationInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancellationInfo")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        scheduledEventId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_event_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"scheduledEventId")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        blockedReason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "blocked_reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"blockedReason")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+        operationToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operationToken")) ::
+              Data.ProtoLens.FieldDescriptor PendingNexusOperationInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, endpoint__field_descriptor),
+           (Data.ProtoLens.Tag 2, service__field_descriptor),
+           (Data.ProtoLens.Tag 3, operation__field_descriptor),
+           (Data.ProtoLens.Tag 4, operationId__field_descriptor),
+           (Data.ProtoLens.Tag 5, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, scheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 7, state__field_descriptor),
+           (Data.ProtoLens.Tag 8, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 9, lastAttemptCompleteTime__field_descriptor),
+           (Data.ProtoLens.Tag 10, lastAttemptFailure__field_descriptor),
+           (Data.ProtoLens.Tag 11, nextAttemptScheduleTime__field_descriptor),
+           (Data.ProtoLens.Tag 12, cancellationInfo__field_descriptor),
+           (Data.ProtoLens.Tag 13, scheduledEventId__field_descriptor),
+           (Data.ProtoLens.Tag 14, blockedReason__field_descriptor),
+           (Data.ProtoLens.Tag 15, operationToken__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PendingNexusOperationInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_PendingNexusOperationInfo'_unknownFields = y__})
+  defMessage
+    = PendingNexusOperationInfo'_constructor
+        {_PendingNexusOperationInfo'endpoint = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'service = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'operation = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'operationId = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'scheduleToCloseTimeout = Prelude.Nothing,
+         _PendingNexusOperationInfo'scheduledTime = Prelude.Nothing,
+         _PendingNexusOperationInfo'state = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'attempt = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'lastAttemptCompleteTime = Prelude.Nothing,
+         _PendingNexusOperationInfo'lastAttemptFailure = Prelude.Nothing,
+         _PendingNexusOperationInfo'nextAttemptScheduleTime = Prelude.Nothing,
+         _PendingNexusOperationInfo'cancellationInfo = Prelude.Nothing,
+         _PendingNexusOperationInfo'scheduledEventId = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'blockedReason = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'operationToken = Data.ProtoLens.fieldDefault,
+         _PendingNexusOperationInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PendingNexusOperationInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser PendingNexusOperationInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operationId") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledTime") y x)
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_complete_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptCompleteTime") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_attempt_failure"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastAttemptFailure") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "next_attempt_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"nextAttemptScheduleTime") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancellation_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancellationInfo") y x)
+                        104
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "scheduled_event_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledEventId") y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "blocked_reason"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"blockedReason") y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_token"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"operationToken") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PendingNexusOperationInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"endpoint") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"operationId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'scheduledTime") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              Prelude.fromIntegral)
+                                           Prelude.fromEnum _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"attempt") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              Prelude.fromIntegral _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field
+                                               @"maybe'lastAttemptCompleteTime")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'lastAttemptFailure")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field
+                                                     @"maybe'nextAttemptScheduleTime")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field
+                                                        @"maybe'cancellationInfo")
+                                                     _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field
+                                                             @"scheduledEventId")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             104)
+                                                          ((Prelude..)
+                                                             Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             Prelude.fromIntegral _v))
+                                                 ((Data.Monoid.<>)
+                                                    (let
+                                                       _v
+                                                         = Lens.Family2.view
+                                                             (Data.ProtoLens.Field.field
+                                                                @"blockedReason")
+                                                             _x
+                                                     in
+                                                       if (Prelude.==)
+                                                            _v Data.ProtoLens.fieldDefault then
+                                                           Data.Monoid.mempty
+                                                       else
+                                                           (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                114)
+                                                             ((Prelude..)
+                                                                (\ bs
+                                                                   -> (Data.Monoid.<>)
+                                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                           (Prelude.fromIntegral
+                                                                              (Data.ByteString.length
+                                                                                 bs)))
+                                                                        (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                           bs))
+                                                                Data.Text.Encoding.encodeUtf8 _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"operationToken")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   122)
+                                                                ((Prelude..)
+                                                                   (\ bs
+                                                                      -> (Data.Monoid.<>)
+                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                              (Prelude.fromIntegral
+                                                                                 (Data.ByteString.length
+                                                                                    bs)))
+                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                              bs))
+                                                                   Data.Text.Encoding.encodeUtf8
+                                                                   _v))
+                                                       (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                          (Lens.Family2.view
+                                                             Data.ProtoLens.unknownFields
+                                                             _x))))))))))))))))
+instance Control.DeepSeq.NFData PendingNexusOperationInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PendingNexusOperationInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PendingNexusOperationInfo'endpoint x__)
+                (Control.DeepSeq.deepseq
+                   (_PendingNexusOperationInfo'service x__)
+                   (Control.DeepSeq.deepseq
+                      (_PendingNexusOperationInfo'operation x__)
+                      (Control.DeepSeq.deepseq
+                         (_PendingNexusOperationInfo'operationId x__)
+                         (Control.DeepSeq.deepseq
+                            (_PendingNexusOperationInfo'scheduleToCloseTimeout x__)
+                            (Control.DeepSeq.deepseq
+                               (_PendingNexusOperationInfo'scheduledTime x__)
+                               (Control.DeepSeq.deepseq
+                                  (_PendingNexusOperationInfo'state x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_PendingNexusOperationInfo'attempt x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_PendingNexusOperationInfo'lastAttemptCompleteTime x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_PendingNexusOperationInfo'lastAttemptFailure x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_PendingNexusOperationInfo'nextAttemptScheduleTime
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_PendingNexusOperationInfo'cancellationInfo x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_PendingNexusOperationInfo'scheduledEventId
+                                                       x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_PendingNexusOperationInfo'blockedReason
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_PendingNexusOperationInfo'operationToken
+                                                             x__)
+                                                          ())))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.state' @:: Lens' PendingWorkflowTaskInfo Proto.Temporal.Api.Enums.V1.Workflow.PendingWorkflowTaskState@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.scheduledTime' @:: Lens' PendingWorkflowTaskInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'scheduledTime' @:: Lens' PendingWorkflowTaskInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.originalScheduledTime' @:: Lens' PendingWorkflowTaskInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'originalScheduledTime' @:: Lens' PendingWorkflowTaskInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.startedTime' @:: Lens' PendingWorkflowTaskInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'startedTime' @:: Lens' PendingWorkflowTaskInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.attempt' @:: Lens' PendingWorkflowTaskInfo Data.Int.Int32@ -}
+data PendingWorkflowTaskInfo
+  = PendingWorkflowTaskInfo'_constructor {_PendingWorkflowTaskInfo'state :: !Proto.Temporal.Api.Enums.V1.Workflow.PendingWorkflowTaskState,
+                                          _PendingWorkflowTaskInfo'scheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                          _PendingWorkflowTaskInfo'originalScheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                          _PendingWorkflowTaskInfo'startedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                          _PendingWorkflowTaskInfo'attempt :: !Data.Int.Int32,
+                                          _PendingWorkflowTaskInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PendingWorkflowTaskInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "state" Proto.Temporal.Api.Enums.V1.Workflow.PendingWorkflowTaskState where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'state
+           (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'state = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "scheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'scheduledTime
+           (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'scheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "maybe'scheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'scheduledTime
+           (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'scheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "originalScheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'originalScheduledTime
+           (\ x__ y__
+              -> x__ {_PendingWorkflowTaskInfo'originalScheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "maybe'originalScheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'originalScheduledTime
+           (\ x__ y__
+              -> x__ {_PendingWorkflowTaskInfo'originalScheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "startedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'startedTime
+           (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'startedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "maybe'startedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'startedTime
+           (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'startedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PendingWorkflowTaskInfo "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PendingWorkflowTaskInfo'attempt
+           (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PendingWorkflowTaskInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.PendingWorkflowTaskInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBPendingWorkflowTaskInfo\DC2E\n\
+      \\ENQstate\CAN\SOH \SOH(\SO2/.temporal.api.enums.v1.PendingWorkflowTaskStateR\ENQstate\DC2A\n\
+      \\SOscheduled_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2R\n\
+      \\ETBoriginal_scheduled_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\NAKoriginalScheduledTime\DC2=\n\
+      \\fstarted_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\vstartedTime\DC2\CAN\n\
+      \\aattempt\CAN\ENQ \SOH(\ENQR\aattempt"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        state__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.PendingWorkflowTaskState)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"state")) ::
+              Data.ProtoLens.FieldDescriptor PendingWorkflowTaskInfo
+        scheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingWorkflowTaskInfo
+        originalScheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "original_scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'originalScheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingWorkflowTaskInfo
+        startedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startedTime")) ::
+              Data.ProtoLens.FieldDescriptor PendingWorkflowTaskInfo
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor PendingWorkflowTaskInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, state__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, originalScheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 4, startedTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, attempt__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PendingWorkflowTaskInfo'_unknownFields
+        (\ x__ y__ -> x__ {_PendingWorkflowTaskInfo'_unknownFields = y__})
+  defMessage
+    = PendingWorkflowTaskInfo'_constructor
+        {_PendingWorkflowTaskInfo'state = Data.ProtoLens.fieldDefault,
+         _PendingWorkflowTaskInfo'scheduledTime = Prelude.Nothing,
+         _PendingWorkflowTaskInfo'originalScheduledTime = Prelude.Nothing,
+         _PendingWorkflowTaskInfo'startedTime = Prelude.Nothing,
+         _PendingWorkflowTaskInfo'attempt = Data.ProtoLens.fieldDefault,
+         _PendingWorkflowTaskInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PendingWorkflowTaskInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser PendingWorkflowTaskInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "state"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"state") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledTime") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "original_scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"originalScheduledTime") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "started_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startedTime") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PendingWorkflowTaskInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"state") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'scheduledTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'originalScheduledTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'startedTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                     _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData PendingWorkflowTaskInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PendingWorkflowTaskInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PendingWorkflowTaskInfo'state x__)
+                (Control.DeepSeq.deepseq
+                   (_PendingWorkflowTaskInfo'scheduledTime x__)
+                   (Control.DeepSeq.deepseq
+                      (_PendingWorkflowTaskInfo'originalScheduledTime x__)
+                      (Control.DeepSeq.deepseq
+                         (_PendingWorkflowTaskInfo'startedTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_PendingWorkflowTaskInfo'attempt x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.buildId' @:: Lens' ResetPointInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.binaryChecksum' @:: Lens' ResetPointInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.runId' @:: Lens' ResetPointInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.firstWorkflowTaskCompletedId' @:: Lens' ResetPointInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.createTime' @:: Lens' ResetPointInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'createTime' @:: Lens' ResetPointInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.expireTime' @:: Lens' ResetPointInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'expireTime' @:: Lens' ResetPointInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.resettable' @:: Lens' ResetPointInfo Prelude.Bool@ -}
+data ResetPointInfo
+  = ResetPointInfo'_constructor {_ResetPointInfo'buildId :: !Data.Text.Text,
+                                 _ResetPointInfo'binaryChecksum :: !Data.Text.Text,
+                                 _ResetPointInfo'runId :: !Data.Text.Text,
+                                 _ResetPointInfo'firstWorkflowTaskCompletedId :: !Data.Int.Int64,
+                                 _ResetPointInfo'createTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                 _ResetPointInfo'expireTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                 _ResetPointInfo'resettable :: !Prelude.Bool,
+                                 _ResetPointInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResetPointInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResetPointInfo "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'buildId
+           (\ x__ y__ -> x__ {_ResetPointInfo'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetPointInfo "binaryChecksum" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'binaryChecksum
+           (\ x__ y__ -> x__ {_ResetPointInfo'binaryChecksum = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetPointInfo "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'runId
+           (\ x__ y__ -> x__ {_ResetPointInfo'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetPointInfo "firstWorkflowTaskCompletedId" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'firstWorkflowTaskCompletedId
+           (\ x__ y__
+              -> x__ {_ResetPointInfo'firstWorkflowTaskCompletedId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetPointInfo "createTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'createTime
+           (\ x__ y__ -> x__ {_ResetPointInfo'createTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResetPointInfo "maybe'createTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'createTime
+           (\ x__ y__ -> x__ {_ResetPointInfo'createTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetPointInfo "expireTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'expireTime
+           (\ x__ y__ -> x__ {_ResetPointInfo'expireTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResetPointInfo "maybe'expireTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'expireTime
+           (\ x__ y__ -> x__ {_ResetPointInfo'expireTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResetPointInfo "resettable" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPointInfo'resettable
+           (\ x__ y__ -> x__ {_ResetPointInfo'resettable = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResetPointInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.ResetPointInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOResetPointInfo\DC2\EM\n\
+      \\bbuild_id\CAN\a \SOH(\tR\abuildId\DC2'\n\
+      \\SIbinary_checksum\CAN\SOH \SOH(\tR\SObinaryChecksum\DC2\NAK\n\
+      \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\DC2F\n\
+      \ first_workflow_task_completed_id\CAN\ETX \SOH(\ETXR\FSfirstWorkflowTaskCompletedId\DC2;\n\
+      \\vcreate_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \createTime\DC2;\n\
+      \\vexpire_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+      \expireTime\DC2\RS\n\
+      \\n\
+      \resettable\CAN\ACK \SOH(\bR\n\
+      \resettable"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+        binaryChecksum__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "binary_checksum"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"binaryChecksum")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+        firstWorkflowTaskCompletedId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_workflow_task_completed_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"firstWorkflowTaskCompletedId")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+        createTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "create_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'createTime")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+        expireTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "expire_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'expireTime")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+        resettable__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resettable"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resettable")) ::
+              Data.ProtoLens.FieldDescriptor ResetPointInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 7, buildId__field_descriptor),
+           (Data.ProtoLens.Tag 1, binaryChecksum__field_descriptor),
+           (Data.ProtoLens.Tag 2, runId__field_descriptor),
+           (Data.ProtoLens.Tag 3, 
+            firstWorkflowTaskCompletedId__field_descriptor),
+           (Data.ProtoLens.Tag 4, createTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, expireTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, resettable__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResetPointInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ResetPointInfo'_unknownFields = y__})
+  defMessage
+    = ResetPointInfo'_constructor
+        {_ResetPointInfo'buildId = Data.ProtoLens.fieldDefault,
+         _ResetPointInfo'binaryChecksum = Data.ProtoLens.fieldDefault,
+         _ResetPointInfo'runId = Data.ProtoLens.fieldDefault,
+         _ResetPointInfo'firstWorkflowTaskCompletedId = Data.ProtoLens.fieldDefault,
+         _ResetPointInfo'createTime = Prelude.Nothing,
+         _ResetPointInfo'expireTime = Prelude.Nothing,
+         _ResetPointInfo'resettable = Data.ProtoLens.fieldDefault,
+         _ResetPointInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResetPointInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResetPointInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "binary_checksum"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"binaryChecksum") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "first_workflow_task_completed_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"firstWorkflowTaskCompletedId") y
+                                     x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "create_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"createTime") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "expire_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"expireTime") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "resettable"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"resettable") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResetPointInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"binaryChecksum") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"firstWorkflowTaskCompletedId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'createTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'expireTime") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"resettable") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (\ b -> if b then 1 else 0) _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ResetPointInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResetPointInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResetPointInfo'buildId x__)
+                (Control.DeepSeq.deepseq
+                   (_ResetPointInfo'binaryChecksum x__)
+                   (Control.DeepSeq.deepseq
+                      (_ResetPointInfo'runId x__)
+                      (Control.DeepSeq.deepseq
+                         (_ResetPointInfo'firstWorkflowTaskCompletedId x__)
+                         (Control.DeepSeq.deepseq
+                            (_ResetPointInfo'createTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_ResetPointInfo'expireTime x__)
+                               (Control.DeepSeq.deepseq (_ResetPointInfo'resettable x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.points' @:: Lens' ResetPoints [ResetPointInfo]@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.vec'points' @:: Lens' ResetPoints (Data.Vector.Vector ResetPointInfo)@ -}
+data ResetPoints
+  = ResetPoints'_constructor {_ResetPoints'points :: !(Data.Vector.Vector ResetPointInfo),
+                              _ResetPoints'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResetPoints where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResetPoints "points" [ResetPointInfo] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPoints'points (\ x__ y__ -> x__ {_ResetPoints'points = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ResetPoints "vec'points" (Data.Vector.Vector ResetPointInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResetPoints'points (\ x__ y__ -> x__ {_ResetPoints'points = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResetPoints where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.ResetPoints"
+  packedMessageDescriptor _
+    = "\n\
+      \\vResetPoints\DC2@\n\
+      \\ACKpoints\CAN\SOH \ETX(\v2(.temporal.api.workflow.v1.ResetPointInfoR\ACKpoints"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        points__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "points"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResetPointInfo)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"points")) ::
+              Data.ProtoLens.FieldDescriptor ResetPoints
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, points__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResetPoints'_unknownFields
+        (\ x__ y__ -> x__ {_ResetPoints'_unknownFields = y__})
+  defMessage
+    = ResetPoints'_constructor
+        {_ResetPoints'points = Data.Vector.Generic.empty,
+         _ResetPoints'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResetPoints
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld ResetPointInfo
+             -> Data.ProtoLens.Encoding.Bytes.Parser ResetPoints
+        loop x mutable'points
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'points <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                            mutable'points)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'points") frozen'points x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "points"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'points y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'points
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'points <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                  Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'points)
+          "ResetPoints"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'points") _x))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ResetPoints where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResetPoints'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ResetPoints'points x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.behavior' @:: Lens' VersioningOverride Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.deployment' @:: Lens' VersioningOverride Proto.Temporal.Api.Deployment.V1.Message.Deployment@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'deployment' @:: Lens' VersioningOverride (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.pinnedVersion' @:: Lens' VersioningOverride Data.Text.Text@ -}
+data VersioningOverride
+  = VersioningOverride'_constructor {_VersioningOverride'behavior :: !Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior,
+                                     _VersioningOverride'deployment :: !(Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment),
+                                     _VersioningOverride'pinnedVersion :: !Data.Text.Text,
+                                     _VersioningOverride'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show VersioningOverride where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField VersioningOverride "behavior" Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersioningOverride'behavior
+           (\ x__ y__ -> x__ {_VersioningOverride'behavior = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersioningOverride "deployment" Proto.Temporal.Api.Deployment.V1.Message.Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersioningOverride'deployment
+           (\ x__ y__ -> x__ {_VersioningOverride'deployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField VersioningOverride "maybe'deployment" (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersioningOverride'deployment
+           (\ x__ y__ -> x__ {_VersioningOverride'deployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField VersioningOverride "pinnedVersion" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _VersioningOverride'pinnedVersion
+           (\ x__ y__ -> x__ {_VersioningOverride'pinnedVersion = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message VersioningOverride where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.VersioningOverride"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2VersioningOverride\DC2E\n\
+      \\bbehavior\CAN\SOH \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\bbehavior\DC2J\n\
+      \\n\
+      \deployment\CAN\STX \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+      \deploymentB\STX\CAN\SOH\DC2%\n\
+      \\SOpinned_version\CAN\t \SOH(\tR\rpinnedVersion"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        behavior__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "behavior"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"behavior")) ::
+              Data.ProtoLens.FieldDescriptor VersioningOverride
+        deployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Deployment.V1.Message.Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deployment")) ::
+              Data.ProtoLens.FieldDescriptor VersioningOverride
+        pinnedVersion__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "pinned_version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"pinnedVersion")) ::
+              Data.ProtoLens.FieldDescriptor VersioningOverride
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, behavior__field_descriptor),
+           (Data.ProtoLens.Tag 2, deployment__field_descriptor),
+           (Data.ProtoLens.Tag 9, pinnedVersion__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _VersioningOverride'_unknownFields
+        (\ x__ y__ -> x__ {_VersioningOverride'_unknownFields = y__})
+  defMessage
+    = VersioningOverride'_constructor
+        {_VersioningOverride'behavior = Data.ProtoLens.fieldDefault,
+         _VersioningOverride'deployment = Prelude.Nothing,
+         _VersioningOverride'pinnedVersion = Data.ProtoLens.fieldDefault,
+         _VersioningOverride'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          VersioningOverride
+          -> Data.ProtoLens.Encoding.Bytes.Parser VersioningOverride
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "behavior"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"behavior") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deployment") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "pinned_version"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"pinnedVersion") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "VersioningOverride"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"behavior") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'deployment") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"pinnedVersion") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData VersioningOverride where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_VersioningOverride'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_VersioningOverride'behavior x__)
+                (Control.DeepSeq.deepseq
+                   (_VersioningOverride'deployment x__)
+                   (Control.DeepSeq.deepseq
+                      (_VersioningOverride'pinnedVersion x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.taskQueue' @:: Lens' WorkflowExecutionConfig Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'taskQueue' @:: Lens' WorkflowExecutionConfig (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowExecutionTimeout' @:: Lens' WorkflowExecutionConfig Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowExecutionTimeout' @:: Lens' WorkflowExecutionConfig (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workflowRunTimeout' @:: Lens' WorkflowExecutionConfig Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'workflowRunTimeout' @:: Lens' WorkflowExecutionConfig (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.defaultWorkflowTaskTimeout' @:: Lens' WorkflowExecutionConfig Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'defaultWorkflowTaskTimeout' @:: Lens' WorkflowExecutionConfig (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.userMetadata' @:: Lens' WorkflowExecutionConfig Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'userMetadata' @:: Lens' WorkflowExecutionConfig (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)@ -}
+data WorkflowExecutionConfig
+  = WorkflowExecutionConfig'_constructor {_WorkflowExecutionConfig'taskQueue :: !(Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue),
+                                          _WorkflowExecutionConfig'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                          _WorkflowExecutionConfig'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                          _WorkflowExecutionConfig'defaultWorkflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                          _WorkflowExecutionConfig'userMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata),
+                                          _WorkflowExecutionConfig'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionConfig where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "taskQueue" Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'taskQueue
+           (\ x__ y__ -> x__ {_WorkflowExecutionConfig'taskQueue = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "maybe'taskQueue" (Prelude.Maybe Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'taskQueue
+           (\ x__ y__ -> x__ {_WorkflowExecutionConfig'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionConfig'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionConfig'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionConfig'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionConfig'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "defaultWorkflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'defaultWorkflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionConfig'defaultWorkflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "maybe'defaultWorkflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'defaultWorkflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionConfig'defaultWorkflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "userMetadata" Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'userMetadata
+           (\ x__ y__ -> x__ {_WorkflowExecutionConfig'userMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionConfig "maybe'userMetadata" (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionConfig'userMetadata
+           (\ x__ y__ -> x__ {_WorkflowExecutionConfig'userMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionConfig where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.WorkflowExecutionConfig"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBWorkflowExecutionConfig\DC2C\n\
+      \\n\
+      \task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2\\\n\
+      \\GSdefault_workflow_task_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\SUBdefaultWorkflowTaskTimeout\DC2F\n\
+      \\ruser_metadata\CAN\ENQ \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Taskqueue.V1.Message.TaskQueue)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionConfig
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionConfig
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionConfig
+        defaultWorkflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "default_workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'defaultWorkflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionConfig
+        userMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "user_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'userMetadata")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionConfig
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 4, 
+            defaultWorkflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 5, userMetadata__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionConfig'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecutionConfig'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionConfig'_constructor
+        {_WorkflowExecutionConfig'taskQueue = Prelude.Nothing,
+         _WorkflowExecutionConfig'workflowExecutionTimeout = Prelude.Nothing,
+         _WorkflowExecutionConfig'workflowRunTimeout = Prelude.Nothing,
+         _WorkflowExecutionConfig'defaultWorkflowTaskTimeout = Prelude.Nothing,
+         _WorkflowExecutionConfig'userMetadata = Prelude.Nothing,
+         _WorkflowExecutionConfig'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionConfig
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionConfig
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "default_workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"defaultWorkflowTaskTimeout") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "user_metadata"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"userMetadata") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecutionConfig"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'taskQueue") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'defaultWorkflowTaskTimeout") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'userMetadata") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData WorkflowExecutionConfig where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionConfig'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionConfig'taskQueue x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionConfig'workflowExecutionTimeout x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionConfig'workflowRunTimeout x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionConfig'defaultWorkflowTaskTimeout x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionConfig'userMetadata x__) ())))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.executionExpirationTime' @:: Lens' WorkflowExecutionExtendedInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'executionExpirationTime' @:: Lens' WorkflowExecutionExtendedInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.runExpirationTime' @:: Lens' WorkflowExecutionExtendedInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'runExpirationTime' @:: Lens' WorkflowExecutionExtendedInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.cancelRequested' @:: Lens' WorkflowExecutionExtendedInfo Prelude.Bool@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.lastResetTime' @:: Lens' WorkflowExecutionExtendedInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'lastResetTime' @:: Lens' WorkflowExecutionExtendedInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.originalStartTime' @:: Lens' WorkflowExecutionExtendedInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'originalStartTime' @:: Lens' WorkflowExecutionExtendedInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.resetRunId' @:: Lens' WorkflowExecutionExtendedInfo Data.Text.Text@ -}
+data WorkflowExecutionExtendedInfo
+  = WorkflowExecutionExtendedInfo'_constructor {_WorkflowExecutionExtendedInfo'executionExpirationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                _WorkflowExecutionExtendedInfo'runExpirationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                _WorkflowExecutionExtendedInfo'cancelRequested :: !Prelude.Bool,
+                                                _WorkflowExecutionExtendedInfo'lastResetTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                _WorkflowExecutionExtendedInfo'originalStartTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                                _WorkflowExecutionExtendedInfo'resetRunId :: !Data.Text.Text,
+                                                _WorkflowExecutionExtendedInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionExtendedInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "executionExpirationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'executionExpirationTime
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionExtendedInfo'executionExpirationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "maybe'executionExpirationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'executionExpirationTime
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionExtendedInfo'executionExpirationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "runExpirationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'runExpirationTime
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'runExpirationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "maybe'runExpirationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'runExpirationTime
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'runExpirationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "cancelRequested" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'cancelRequested
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'cancelRequested = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "lastResetTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'lastResetTime
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'lastResetTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "maybe'lastResetTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'lastResetTime
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'lastResetTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "originalStartTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'originalStartTime
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'originalStartTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "maybe'originalStartTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'originalStartTime
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'originalStartTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionExtendedInfo "resetRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionExtendedInfo'resetRunId
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionExtendedInfo'resetRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionExtendedInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.WorkflowExecutionExtendedInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSWorkflowExecutionExtendedInfo\DC2V\n\
+      \\EMexecution_expiration_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\ETBexecutionExpirationTime\DC2J\n\
+      \\DC3run_expiration_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\DC1runExpirationTime\DC2)\n\
+      \\DLEcancel_requested\CAN\ETX \SOH(\bR\SIcancelRequested\DC2B\n\
+      \\SIlast_reset_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\rlastResetTime\DC2J\n\
+      \\DC3original_start_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DC1originalStartTime\DC2 \n\
+      \\freset_run_id\CAN\ACK \SOH(\tR\n\
+      \resetRunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        executionExpirationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "execution_expiration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'executionExpirationTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionExtendedInfo
+        runExpirationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_expiration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'runExpirationTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionExtendedInfo
+        cancelRequested__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_requested"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cancelRequested")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionExtendedInfo
+        lastResetTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_reset_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastResetTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionExtendedInfo
+        originalStartTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "original_start_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'originalStartTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionExtendedInfo
+        resetRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reset_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"resetRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionExtendedInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, executionExpirationTime__field_descriptor),
+           (Data.ProtoLens.Tag 2, runExpirationTime__field_descriptor),
+           (Data.ProtoLens.Tag 3, cancelRequested__field_descriptor),
+           (Data.ProtoLens.Tag 4, lastResetTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, originalStartTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, resetRunId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionExtendedInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowExecutionExtendedInfo'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionExtendedInfo'_constructor
+        {_WorkflowExecutionExtendedInfo'executionExpirationTime = Prelude.Nothing,
+         _WorkflowExecutionExtendedInfo'runExpirationTime = Prelude.Nothing,
+         _WorkflowExecutionExtendedInfo'cancelRequested = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionExtendedInfo'lastResetTime = Prelude.Nothing,
+         _WorkflowExecutionExtendedInfo'originalStartTime = Prelude.Nothing,
+         _WorkflowExecutionExtendedInfo'resetRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionExtendedInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionExtendedInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionExtendedInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "execution_expiration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"executionExpirationTime") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "run_expiration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"runExpirationTime") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "cancel_requested"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelRequested") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_reset_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastResetTime") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "original_start_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"originalStartTime") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reset_run_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"resetRunId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecutionExtendedInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'executionExpirationTime") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'runExpirationTime") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"cancelRequested") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'lastResetTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'originalStartTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view (Data.ProtoLens.Field.field @"resetRunId") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData WorkflowExecutionExtendedInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionExtendedInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionExtendedInfo'executionExpirationTime x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionExtendedInfo'runExpirationTime x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionExtendedInfo'cancelRequested x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionExtendedInfo'lastResetTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionExtendedInfo'originalStartTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowExecutionExtendedInfo'resetRunId x__) ()))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.execution' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'execution' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.type'' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.WorkflowType@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'type'' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.startTime' @:: Lens' WorkflowExecutionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'startTime' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.closeTime' @:: Lens' WorkflowExecutionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'closeTime' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.status' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.historyLength' @:: Lens' WorkflowExecutionInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.parentNamespaceId' @:: Lens' WorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.parentExecution' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'parentExecution' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.executionTime' @:: Lens' WorkflowExecutionInfo Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'executionTime' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.memo' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'memo' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.searchAttributes' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'searchAttributes' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.autoResetPoints' @:: Lens' WorkflowExecutionInfo ResetPoints@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'autoResetPoints' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe ResetPoints)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.taskQueue' @:: Lens' WorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.stateTransitionCount' @:: Lens' WorkflowExecutionInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.historySizeBytes' @:: Lens' WorkflowExecutionInfo Data.Int.Int64@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.mostRecentWorkerVersionStamp' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'mostRecentWorkerVersionStamp' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.executionDuration' @:: Lens' WorkflowExecutionInfo Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'executionDuration' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.rootExecution' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'rootExecution' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.assignedBuildId' @:: Lens' WorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.inheritedBuildId' @:: Lens' WorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.firstRunId' @:: Lens' WorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.versioningInfo' @:: Lens' WorkflowExecutionInfo WorkflowExecutionVersioningInfo@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'versioningInfo' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe WorkflowExecutionVersioningInfo)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.workerDeploymentName' @:: Lens' WorkflowExecutionInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.priority' @:: Lens' WorkflowExecutionInfo Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'priority' @:: Lens' WorkflowExecutionInfo (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data WorkflowExecutionInfo
+  = WorkflowExecutionInfo'_constructor {_WorkflowExecutionInfo'execution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                        _WorkflowExecutionInfo'type' :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType),
+                                        _WorkflowExecutionInfo'startTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                        _WorkflowExecutionInfo'closeTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                        _WorkflowExecutionInfo'status :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus,
+                                        _WorkflowExecutionInfo'historyLength :: !Data.Int.Int64,
+                                        _WorkflowExecutionInfo'parentNamespaceId :: !Data.Text.Text,
+                                        _WorkflowExecutionInfo'parentExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                        _WorkflowExecutionInfo'executionTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                        _WorkflowExecutionInfo'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                        _WorkflowExecutionInfo'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                        _WorkflowExecutionInfo'autoResetPoints :: !(Prelude.Maybe ResetPoints),
+                                        _WorkflowExecutionInfo'taskQueue :: !Data.Text.Text,
+                                        _WorkflowExecutionInfo'stateTransitionCount :: !Data.Int.Int64,
+                                        _WorkflowExecutionInfo'historySizeBytes :: !Data.Int.Int64,
+                                        _WorkflowExecutionInfo'mostRecentWorkerVersionStamp :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp),
+                                        _WorkflowExecutionInfo'executionDuration :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                        _WorkflowExecutionInfo'rootExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                        _WorkflowExecutionInfo'assignedBuildId :: !Data.Text.Text,
+                                        _WorkflowExecutionInfo'inheritedBuildId :: !Data.Text.Text,
+                                        _WorkflowExecutionInfo'firstRunId :: !Data.Text.Text,
+                                        _WorkflowExecutionInfo'versioningInfo :: !(Prelude.Maybe WorkflowExecutionVersioningInfo),
+                                        _WorkflowExecutionInfo'workerDeploymentName :: !Data.Text.Text,
+                                        _WorkflowExecutionInfo'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                        _WorkflowExecutionInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "execution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'execution
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'execution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'execution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'execution
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'execution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "type'" Proto.Temporal.Api.Common.V1.Message.WorkflowType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'type'
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'type' = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'type'" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowType) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'type'
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'type' = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "startTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'startTime
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'startTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'startTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'startTime
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'startTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "closeTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'closeTime
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'closeTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'closeTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'closeTime
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'closeTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "status" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'status
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "historyLength" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'historyLength
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'historyLength = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "parentNamespaceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'parentNamespaceId
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionInfo'parentNamespaceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "parentExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'parentExecution
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'parentExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'parentExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'parentExecution
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'parentExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "executionTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'executionTime
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'executionTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'executionTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'executionTime
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'executionTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'memo
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'memo
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'searchAttributes
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'searchAttributes
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "autoResetPoints" ResetPoints where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'autoResetPoints
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'autoResetPoints = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'autoResetPoints" (Prelude.Maybe ResetPoints) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'autoResetPoints
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'autoResetPoints = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "taskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'taskQueue
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "stateTransitionCount" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'stateTransitionCount
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionInfo'stateTransitionCount = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "historySizeBytes" Data.Int.Int64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'historySizeBytes
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'historySizeBytes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "mostRecentWorkerVersionStamp" Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'mostRecentWorkerVersionStamp
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionInfo'mostRecentWorkerVersionStamp = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'mostRecentWorkerVersionStamp" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'mostRecentWorkerVersionStamp
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionInfo'mostRecentWorkerVersionStamp = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "executionDuration" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'executionDuration
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionInfo'executionDuration = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'executionDuration" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'executionDuration
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionInfo'executionDuration = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "rootExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'rootExecution
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'rootExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'rootExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'rootExecution
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'rootExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "assignedBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'assignedBuildId
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'assignedBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "inheritedBuildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'inheritedBuildId
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'inheritedBuildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "firstRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'firstRunId
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'firstRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "versioningInfo" WorkflowExecutionVersioningInfo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'versioningInfo
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'versioningInfo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'versioningInfo" (Prelude.Maybe WorkflowExecutionVersioningInfo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'versioningInfo
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'versioningInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "workerDeploymentName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'workerDeploymentName
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionInfo'workerDeploymentName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'priority
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionInfo "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionInfo'priority
+           (\ x__ y__ -> x__ {_WorkflowExecutionInfo'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionInfo where
+  messageName _
+    = Data.Text.pack "temporal.api.workflow.v1.WorkflowExecutionInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKWorkflowExecutionInfo\DC2G\n\
+      \\texecution\CAN\SOH \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\DC28\n\
+      \\EOTtype\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\EOTtype\DC29\n\
+      \\n\
+      \start_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC29\n\
+      \\n\
+      \close_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\tcloseTime\DC2F\n\
+      \\ACKstatus\CAN\ENQ \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\ACKstatus\DC2%\n\
+      \\SOhistory_length\CAN\ACK \SOH(\ETXR\rhistoryLength\DC2.\n\
+      \\DC3parent_namespace_id\CAN\a \SOH(\tR\DC1parentNamespaceId\DC2T\n\
+      \\DLEparent_execution\CAN\b \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\SIparentExecution\DC2A\n\
+      \\SOexecution_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\rexecutionTime\DC20\n\
+      \\EOTmemo\CAN\n\
+      \ \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\v \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2Q\n\
+      \\DC1auto_reset_points\CAN\f \SOH(\v2%.temporal.api.workflow.v1.ResetPointsR\SIautoResetPoints\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\r \SOH(\tR\ttaskQueue\DC24\n\
+      \\SYNstate_transition_count\CAN\SO \SOH(\ETXR\DC4stateTransitionCount\DC2,\n\
+      \\DC2history_size_bytes\CAN\SI \SOH(\ETXR\DLEhistorySizeBytes\DC2r\n\
+      \ most_recent_worker_version_stamp\CAN\DLE \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\FSmostRecentWorkerVersionStamp\DC2H\n\
+      \\DC2execution_duration\CAN\DC1 \SOH(\v2\EM.google.protobuf.DurationR\DC1executionDuration\DC2P\n\
+      \\SOroot_execution\CAN\DC2 \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\rrootExecution\DC2*\n\
+      \\DC1assigned_build_id\CAN\DC3 \SOH(\tR\SIassignedBuildId\DC2,\n\
+      \\DC2inherited_build_id\CAN\DC4 \SOH(\tR\DLEinheritedBuildId\DC2 \n\
+      \\ffirst_run_id\CAN\NAK \SOH(\tR\n\
+      \firstRunId\DC2b\n\
+      \\SIversioning_info\CAN\SYN \SOH(\v29.temporal.api.workflow.v1.WorkflowExecutionVersioningInfoR\SOversioningInfo\DC24\n\
+      \\SYNworker_deployment_name\CAN\ETB \SOH(\tR\DC4workerDeploymentName\DC2<\n\
+      \\bpriority\CAN\CAN \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        execution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'execution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        type'__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "type"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowType)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'type'")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        startTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        closeTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "close_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'closeTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        status__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "status"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowExecutionStatus)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"status")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        historyLength__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_length"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historyLength")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        parentNamespaceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_namespace_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentNamespaceId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        parentExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'parentExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        executionTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "execution_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'executionTime")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        autoResetPoints__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "auto_reset_points"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResetPoints)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'autoResetPoints")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        stateTransitionCount__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "state_transition_count"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"stateTransitionCount")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        historySizeBytes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_size_bytes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historySizeBytes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        mostRecentWorkerVersionStamp__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "most_recent_worker_version_stamp"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkerVersionStamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'mostRecentWorkerVersionStamp")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        executionDuration__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "execution_duration"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'executionDuration")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        rootExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "root_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rootExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        assignedBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "assigned_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"assignedBuildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        inheritedBuildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "inherited_build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"inheritedBuildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        firstRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"firstRunId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        versioningInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowExecutionVersioningInfo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versioningInfo")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        workerDeploymentName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "worker_deployment_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workerDeploymentName")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, execution__field_descriptor),
+           (Data.ProtoLens.Tag 2, type'__field_descriptor),
+           (Data.ProtoLens.Tag 3, startTime__field_descriptor),
+           (Data.ProtoLens.Tag 4, closeTime__field_descriptor),
+           (Data.ProtoLens.Tag 5, status__field_descriptor),
+           (Data.ProtoLens.Tag 6, historyLength__field_descriptor),
+           (Data.ProtoLens.Tag 7, parentNamespaceId__field_descriptor),
+           (Data.ProtoLens.Tag 8, parentExecution__field_descriptor),
+           (Data.ProtoLens.Tag 9, executionTime__field_descriptor),
+           (Data.ProtoLens.Tag 10, memo__field_descriptor),
+           (Data.ProtoLens.Tag 11, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 12, autoResetPoints__field_descriptor),
+           (Data.ProtoLens.Tag 13, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 14, stateTransitionCount__field_descriptor),
+           (Data.ProtoLens.Tag 15, historySizeBytes__field_descriptor),
+           (Data.ProtoLens.Tag 16, 
+            mostRecentWorkerVersionStamp__field_descriptor),
+           (Data.ProtoLens.Tag 17, executionDuration__field_descriptor),
+           (Data.ProtoLens.Tag 18, rootExecution__field_descriptor),
+           (Data.ProtoLens.Tag 19, assignedBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 20, inheritedBuildId__field_descriptor),
+           (Data.ProtoLens.Tag 21, firstRunId__field_descriptor),
+           (Data.ProtoLens.Tag 22, versioningInfo__field_descriptor),
+           (Data.ProtoLens.Tag 23, workerDeploymentName__field_descriptor),
+           (Data.ProtoLens.Tag 24, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionInfo'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecutionInfo'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionInfo'_constructor
+        {_WorkflowExecutionInfo'execution = Prelude.Nothing,
+         _WorkflowExecutionInfo'type' = Prelude.Nothing,
+         _WorkflowExecutionInfo'startTime = Prelude.Nothing,
+         _WorkflowExecutionInfo'closeTime = Prelude.Nothing,
+         _WorkflowExecutionInfo'status = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'historyLength = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'parentNamespaceId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'parentExecution = Prelude.Nothing,
+         _WorkflowExecutionInfo'executionTime = Prelude.Nothing,
+         _WorkflowExecutionInfo'memo = Prelude.Nothing,
+         _WorkflowExecutionInfo'searchAttributes = Prelude.Nothing,
+         _WorkflowExecutionInfo'autoResetPoints = Prelude.Nothing,
+         _WorkflowExecutionInfo'taskQueue = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'stateTransitionCount = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'historySizeBytes = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'mostRecentWorkerVersionStamp = Prelude.Nothing,
+         _WorkflowExecutionInfo'executionDuration = Prelude.Nothing,
+         _WorkflowExecutionInfo'rootExecution = Prelude.Nothing,
+         _WorkflowExecutionInfo'assignedBuildId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'inheritedBuildId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'firstRunId = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'versioningInfo = Prelude.Nothing,
+         _WorkflowExecutionInfo'workerDeploymentName = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionInfo'priority = Prelude.Nothing,
+         _WorkflowExecutionInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "execution"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"execution") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "type"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"type'") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startTime") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "close_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"closeTime") y x)
+                        40
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "status"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"status") y x)
+                        48
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "history_length"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historyLength") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "parent_namespace_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentNamespaceId") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "parent_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentExecution") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "execution_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"executionTime") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "auto_reset_points"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"autoResetPoints") y x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                        112
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "state_transition_count"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"stateTransitionCount") y x)
+                        120
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "history_size_bytes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historySizeBytes") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "most_recent_worker_version_stamp"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"mostRecentWorkerVersionStamp") y
+                                     x)
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "execution_duration"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"executionDuration") y x)
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "root_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rootExecution") y x)
+                        154
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "assigned_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"assignedBuildId") y x)
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "inherited_build_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"inheritedBuildId") y x)
+                        170
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "first_run_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"firstRunId") y x)
+                        178
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "versioning_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningInfo") y x)
+                        186
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "worker_deployment_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workerDeploymentName") y x)
+                        194
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecutionInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'execution") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'type'") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'startTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'closeTime") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"status") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 40)
+                                  ((Prelude..)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        Prelude.fromIntegral)
+                                     Prelude.fromEnum _v))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v
+                                 = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"historyLength") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 48)
+                                     ((Prelude..)
+                                        Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral
+                                        _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"parentNamespaceId") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                        ((Prelude..)
+                                           (\ bs
+                                              -> (Data.Monoid.<>)
+                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                      (Prelude.fromIntegral
+                                                         (Data.ByteString.length bs)))
+                                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                           Data.Text.Encoding.encodeUtf8 _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'parentExecution") _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'executionTime") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field @"maybe'memo") _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field
+                                                     @"maybe'searchAttributes")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field
+                                                        @"maybe'autoResetPoints")
+                                                     _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field @"taskQueue")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             106)
+                                                          ((Prelude..)
+                                                             (\ bs
+                                                                -> (Data.Monoid.<>)
+                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                        (Prelude.fromIntegral
+                                                                           (Data.ByteString.length
+                                                                              bs)))
+                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                        bs))
+                                                             Data.Text.Encoding.encodeUtf8 _v))
+                                                 ((Data.Monoid.<>)
+                                                    (let
+                                                       _v
+                                                         = Lens.Family2.view
+                                                             (Data.ProtoLens.Field.field
+                                                                @"stateTransitionCount")
+                                                             _x
+                                                     in
+                                                       if (Prelude.==)
+                                                            _v Data.ProtoLens.fieldDefault then
+                                                           Data.Monoid.mempty
+                                                       else
+                                                           (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                112)
+                                                             ((Prelude..)
+                                                                Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                Prelude.fromIntegral _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"historySizeBytes")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   120)
+                                                                ((Prelude..)
+                                                                   Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   Prelude.fromIntegral _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'mostRecentWorkerVersionStamp")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       130)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          ((Data.Monoid.<>)
+                                                             (case
+                                                                  Lens.Family2.view
+                                                                    (Data.ProtoLens.Field.field
+                                                                       @"maybe'executionDuration")
+                                                                    _x
+                                                              of
+                                                                Prelude.Nothing
+                                                                  -> Data.Monoid.mempty
+                                                                (Prelude.Just _v)
+                                                                  -> (Data.Monoid.<>)
+                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                          138)
+                                                                       ((Prelude..)
+                                                                          (\ bs
+                                                                             -> (Data.Monoid.<>)
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                     (Prelude.fromIntegral
+                                                                                        (Data.ByteString.length
+                                                                                           bs)))
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                     bs))
+                                                                          Data.ProtoLens.encodeMessage
+                                                                          _v))
+                                                             ((Data.Monoid.<>)
+                                                                (case
+                                                                     Lens.Family2.view
+                                                                       (Data.ProtoLens.Field.field
+                                                                          @"maybe'rootExecution")
+                                                                       _x
+                                                                 of
+                                                                   Prelude.Nothing
+                                                                     -> Data.Monoid.mempty
+                                                                   (Prelude.Just _v)
+                                                                     -> (Data.Monoid.<>)
+                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                             146)
+                                                                          ((Prelude..)
+                                                                             (\ bs
+                                                                                -> (Data.Monoid.<>)
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                        (Prelude.fromIntegral
+                                                                                           (Data.ByteString.length
+                                                                                              bs)))
+                                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                        bs))
+                                                                             Data.ProtoLens.encodeMessage
+                                                                             _v))
+                                                                ((Data.Monoid.<>)
+                                                                   (let
+                                                                      _v
+                                                                        = Lens.Family2.view
+                                                                            (Data.ProtoLens.Field.field
+                                                                               @"assignedBuildId")
+                                                                            _x
+                                                                    in
+                                                                      if (Prelude.==)
+                                                                           _v
+                                                                           Data.ProtoLens.fieldDefault then
+                                                                          Data.Monoid.mempty
+                                                                      else
+                                                                          (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               154)
+                                                                            ((Prelude..)
+                                                                               (\ bs
+                                                                                  -> (Data.Monoid.<>)
+                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                          (Prelude.fromIntegral
+                                                                                             (Data.ByteString.length
+                                                                                                bs)))
+                                                                                       (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                          bs))
+                                                                               Data.Text.Encoding.encodeUtf8
+                                                                               _v))
+                                                                   ((Data.Monoid.<>)
+                                                                      (let
+                                                                         _v
+                                                                           = Lens.Family2.view
+                                                                               (Data.ProtoLens.Field.field
+                                                                                  @"inheritedBuildId")
+                                                                               _x
+                                                                       in
+                                                                         if (Prelude.==)
+                                                                              _v
+                                                                              Data.ProtoLens.fieldDefault then
+                                                                             Data.Monoid.mempty
+                                                                         else
+                                                                             (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  162)
+                                                                               ((Prelude..)
+                                                                                  (\ bs
+                                                                                     -> (Data.Monoid.<>)
+                                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                             (Prelude.fromIntegral
+                                                                                                (Data.ByteString.length
+                                                                                                   bs)))
+                                                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                             bs))
+                                                                                  Data.Text.Encoding.encodeUtf8
+                                                                                  _v))
+                                                                      ((Data.Monoid.<>)
+                                                                         (let
+                                                                            _v
+                                                                              = Lens.Family2.view
+                                                                                  (Data.ProtoLens.Field.field
+                                                                                     @"firstRunId")
+                                                                                  _x
+                                                                          in
+                                                                            if (Prelude.==)
+                                                                                 _v
+                                                                                 Data.ProtoLens.fieldDefault then
+                                                                                Data.Monoid.mempty
+                                                                            else
+                                                                                (Data.Monoid.<>)
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                     170)
+                                                                                  ((Prelude..)
+                                                                                     (\ bs
+                                                                                        -> (Data.Monoid.<>)
+                                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                (Prelude.fromIntegral
+                                                                                                   (Data.ByteString.length
+                                                                                                      bs)))
+                                                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                bs))
+                                                                                     Data.Text.Encoding.encodeUtf8
+                                                                                     _v))
+                                                                         ((Data.Monoid.<>)
+                                                                            (case
+                                                                                 Lens.Family2.view
+                                                                                   (Data.ProtoLens.Field.field
+                                                                                      @"maybe'versioningInfo")
+                                                                                   _x
+                                                                             of
+                                                                               Prelude.Nothing
+                                                                                 -> Data.Monoid.mempty
+                                                                               (Prelude.Just _v)
+                                                                                 -> (Data.Monoid.<>)
+                                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                         178)
+                                                                                      ((Prelude..)
+                                                                                         (\ bs
+                                                                                            -> (Data.Monoid.<>)
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                    (Prelude.fromIntegral
+                                                                                                       (Data.ByteString.length
+                                                                                                          bs)))
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                    bs))
+                                                                                         Data.ProtoLens.encodeMessage
+                                                                                         _v))
+                                                                            ((Data.Monoid.<>)
+                                                                               (let
+                                                                                  _v
+                                                                                    = Lens.Family2.view
+                                                                                        (Data.ProtoLens.Field.field
+                                                                                           @"workerDeploymentName")
+                                                                                        _x
+                                                                                in
+                                                                                  if (Prelude.==)
+                                                                                       _v
+                                                                                       Data.ProtoLens.fieldDefault then
+                                                                                      Data.Monoid.mempty
+                                                                                  else
+                                                                                      (Data.Monoid.<>)
+                                                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                           186)
+                                                                                        ((Prelude..)
+                                                                                           (\ bs
+                                                                                              -> (Data.Monoid.<>)
+                                                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                      (Prelude.fromIntegral
+                                                                                                         (Data.ByteString.length
+                                                                                                            bs)))
+                                                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                      bs))
+                                                                                           Data.Text.Encoding.encodeUtf8
+                                                                                           _v))
+                                                                               ((Data.Monoid.<>)
+                                                                                  (case
+                                                                                       Lens.Family2.view
+                                                                                         (Data.ProtoLens.Field.field
+                                                                                            @"maybe'priority")
+                                                                                         _x
+                                                                                   of
+                                                                                     Prelude.Nothing
+                                                                                       -> Data.Monoid.mempty
+                                                                                     (Prelude.Just _v)
+                                                                                       -> (Data.Monoid.<>)
+                                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                               194)
+                                                                                            ((Prelude..)
+                                                                                               (\ bs
+                                                                                                  -> (Data.Monoid.<>)
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                          (Prelude.fromIntegral
+                                                                                                             (Data.ByteString.length
+                                                                                                                bs)))
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                          bs))
+                                                                                               Data.ProtoLens.encodeMessage
+                                                                                               _v))
+                                                                                  (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                                     (Lens.Family2.view
+                                                                                        Data.ProtoLens.unknownFields
+                                                                                        _x)))))))))))))))))))))))))
+instance Control.DeepSeq.NFData WorkflowExecutionInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionInfo'execution x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionInfo'type' x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionInfo'startTime x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionInfo'closeTime x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionInfo'status x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowExecutionInfo'historyLength x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowExecutionInfo'parentNamespaceId x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkflowExecutionInfo'parentExecution x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkflowExecutionInfo'executionTime x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_WorkflowExecutionInfo'memo x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_WorkflowExecutionInfo'searchAttributes x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_WorkflowExecutionInfo'autoResetPoints x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_WorkflowExecutionInfo'taskQueue x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_WorkflowExecutionInfo'stateTransitionCount
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_WorkflowExecutionInfo'historySizeBytes
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_WorkflowExecutionInfo'mostRecentWorkerVersionStamp
+                                                                x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_WorkflowExecutionInfo'executionDuration
+                                                                   x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_WorkflowExecutionInfo'rootExecution
+                                                                      x__)
+                                                                   (Control.DeepSeq.deepseq
+                                                                      (_WorkflowExecutionInfo'assignedBuildId
+                                                                         x__)
+                                                                      (Control.DeepSeq.deepseq
+                                                                         (_WorkflowExecutionInfo'inheritedBuildId
+                                                                            x__)
+                                                                         (Control.DeepSeq.deepseq
+                                                                            (_WorkflowExecutionInfo'firstRunId
+                                                                               x__)
+                                                                            (Control.DeepSeq.deepseq
+                                                                               (_WorkflowExecutionInfo'versioningInfo
+                                                                                  x__)
+                                                                               (Control.DeepSeq.deepseq
+                                                                                  (_WorkflowExecutionInfo'workerDeploymentName
+                                                                                     x__)
+                                                                                  (Control.DeepSeq.deepseq
+                                                                                     (_WorkflowExecutionInfo'priority
+                                                                                        x__)
+                                                                                     ()))))))))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.versioningOverride' @:: Lens' WorkflowExecutionOptions VersioningOverride@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'versioningOverride' @:: Lens' WorkflowExecutionOptions (Prelude.Maybe VersioningOverride)@ -}
+data WorkflowExecutionOptions
+  = WorkflowExecutionOptions'_constructor {_WorkflowExecutionOptions'versioningOverride :: !(Prelude.Maybe VersioningOverride),
+                                           _WorkflowExecutionOptions'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionOptions where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptions "versioningOverride" VersioningOverride where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptions'versioningOverride
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionOptions'versioningOverride = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionOptions "maybe'versioningOverride" (Prelude.Maybe VersioningOverride) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionOptions'versioningOverride
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionOptions'versioningOverride = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionOptions where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.WorkflowExecutionOptions"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANWorkflowExecutionOptions\DC2]\n\
+      \\DC3versioning_override\CAN\SOH \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        versioningOverride__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_override"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor VersioningOverride)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versioningOverride")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionOptions
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, versioningOverride__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionOptions'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowExecutionOptions'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionOptions'_constructor
+        {_WorkflowExecutionOptions'versioningOverride = Prelude.Nothing,
+         _WorkflowExecutionOptions'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionOptions
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionOptions
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "versioning_override"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningOverride") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowExecutionOptions"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'versioningOverride") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowExecutionOptions where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionOptions'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionOptions'versioningOverride x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.behavior' @:: Lens' WorkflowExecutionVersioningInfo Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.deployment' @:: Lens' WorkflowExecutionVersioningInfo Proto.Temporal.Api.Deployment.V1.Message.Deployment@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'deployment' @:: Lens' WorkflowExecutionVersioningInfo (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.version' @:: Lens' WorkflowExecutionVersioningInfo Data.Text.Text@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.versioningOverride' @:: Lens' WorkflowExecutionVersioningInfo VersioningOverride@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'versioningOverride' @:: Lens' WorkflowExecutionVersioningInfo (Prelude.Maybe VersioningOverride)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.deploymentTransition' @:: Lens' WorkflowExecutionVersioningInfo DeploymentTransition@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'deploymentTransition' @:: Lens' WorkflowExecutionVersioningInfo (Prelude.Maybe DeploymentTransition)@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.versionTransition' @:: Lens' WorkflowExecutionVersioningInfo DeploymentVersionTransition@
+         * 'Proto.Temporal.Api.Workflow.V1.Message_Fields.maybe'versionTransition' @:: Lens' WorkflowExecutionVersioningInfo (Prelude.Maybe DeploymentVersionTransition)@ -}
+data WorkflowExecutionVersioningInfo
+  = WorkflowExecutionVersioningInfo'_constructor {_WorkflowExecutionVersioningInfo'behavior :: !Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior,
+                                                  _WorkflowExecutionVersioningInfo'deployment :: !(Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment),
+                                                  _WorkflowExecutionVersioningInfo'version :: !Data.Text.Text,
+                                                  _WorkflowExecutionVersioningInfo'versioningOverride :: !(Prelude.Maybe VersioningOverride),
+                                                  _WorkflowExecutionVersioningInfo'deploymentTransition :: !(Prelude.Maybe DeploymentTransition),
+                                                  _WorkflowExecutionVersioningInfo'versionTransition :: !(Prelude.Maybe DeploymentVersionTransition),
+                                                  _WorkflowExecutionVersioningInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowExecutionVersioningInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "behavior" Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'behavior
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionVersioningInfo'behavior = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "deployment" Proto.Temporal.Api.Deployment.V1.Message.Deployment where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'deployment
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionVersioningInfo'deployment = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "maybe'deployment" (Prelude.Maybe Proto.Temporal.Api.Deployment.V1.Message.Deployment) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'deployment
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionVersioningInfo'deployment = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "version" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'version
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionVersioningInfo'version = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "versioningOverride" VersioningOverride where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'versioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionVersioningInfo'versioningOverride = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "maybe'versioningOverride" (Prelude.Maybe VersioningOverride) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'versioningOverride
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionVersioningInfo'versioningOverride = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "deploymentTransition" DeploymentTransition where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'deploymentTransition
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionVersioningInfo'deploymentTransition = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "maybe'deploymentTransition" (Prelude.Maybe DeploymentTransition) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'deploymentTransition
+           (\ x__ y__
+              -> x__
+                   {_WorkflowExecutionVersioningInfo'deploymentTransition = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "versionTransition" DeploymentVersionTransition where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'versionTransition
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionVersioningInfo'versionTransition = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowExecutionVersioningInfo "maybe'versionTransition" (Prelude.Maybe DeploymentVersionTransition) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowExecutionVersioningInfo'versionTransition
+           (\ x__ y__
+              -> x__ {_WorkflowExecutionVersioningInfo'versionTransition = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowExecutionVersioningInfo where
+  messageName _
+    = Data.Text.pack
+        "temporal.api.workflow.v1.WorkflowExecutionVersioningInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\USWorkflowExecutionVersioningInfo\DC2E\n\
+      \\bbehavior\CAN\SOH \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\bbehavior\DC2J\n\
+      \\n\
+      \deployment\CAN\STX \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+      \deploymentB\STX\CAN\SOH\DC2\CAN\n\
+      \\aversion\CAN\ENQ \SOH(\tR\aversion\DC2]\n\
+      \\DC3versioning_override\CAN\ETX \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2g\n\
+      \\NAKdeployment_transition\CAN\EOT \SOH(\v2..temporal.api.workflow.v1.DeploymentTransitionR\DC4deploymentTransitionB\STX\CAN\SOH\DC2d\n\
+      \\DC2version_transition\CAN\ACK \SOH(\v25.temporal.api.workflow.v1.DeploymentVersionTransitionR\DC1versionTransition"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        behavior__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "behavior"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"behavior")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionVersioningInfo
+        deployment__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Deployment.V1.Message.Deployment)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deployment")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionVersioningInfo
+        version__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"version")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionVersioningInfo
+        versioningOverride__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_override"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor VersioningOverride)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versioningOverride")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionVersioningInfo
+        deploymentTransition__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_transition"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DeploymentTransition)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'deploymentTransition")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionVersioningInfo
+        versionTransition__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "version_transition"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DeploymentVersionTransition)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'versionTransition")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowExecutionVersioningInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, behavior__field_descriptor),
+           (Data.ProtoLens.Tag 2, deployment__field_descriptor),
+           (Data.ProtoLens.Tag 5, version__field_descriptor),
+           (Data.ProtoLens.Tag 3, versioningOverride__field_descriptor),
+           (Data.ProtoLens.Tag 4, deploymentTransition__field_descriptor),
+           (Data.ProtoLens.Tag 6, versionTransition__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowExecutionVersioningInfo'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowExecutionVersioningInfo'_unknownFields = y__})
+  defMessage
+    = WorkflowExecutionVersioningInfo'_constructor
+        {_WorkflowExecutionVersioningInfo'behavior = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionVersioningInfo'deployment = Prelude.Nothing,
+         _WorkflowExecutionVersioningInfo'version = Data.ProtoLens.fieldDefault,
+         _WorkflowExecutionVersioningInfo'versioningOverride = Prelude.Nothing,
+         _WorkflowExecutionVersioningInfo'deploymentTransition = Prelude.Nothing,
+         _WorkflowExecutionVersioningInfo'versionTransition = Prelude.Nothing,
+         _WorkflowExecutionVersioningInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowExecutionVersioningInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowExecutionVersioningInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "behavior"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"behavior") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deployment") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "version"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"version") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "versioning_override"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningOverride") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment_transition"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentTransition") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "version_transition"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versionTransition") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "WorkflowExecutionVersioningInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"behavior") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'deployment") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"version") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'versioningOverride") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'deploymentTransition") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'versionTransition") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                               (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))))
+instance Control.DeepSeq.NFData WorkflowExecutionVersioningInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowExecutionVersioningInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowExecutionVersioningInfo'behavior x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowExecutionVersioningInfo'deployment x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowExecutionVersioningInfo'version x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowExecutionVersioningInfo'versioningOverride x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowExecutionVersioningInfo'deploymentTransition x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowExecutionVersioningInfo'versionTransition x__) ()))))))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \&temporal/api/workflow/v1/message.proto\DC2\CANtemporal.api.workflow.v1\SUB\RSgoogle/protobuf/duration.proto\SUB\ESCgoogle/protobuf/empty.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB\"temporal/api/enums/v1/common.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB$temporal/api/common/v1/message.proto\SUB(temporal/api/deployment/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\SUB'temporal/api/taskqueue/v1/message.proto\SUB'temporal/api/sdk/v1/user_metadata.proto\"\139\f\n\
+    \\NAKWorkflowExecutionInfo\DC2G\n\
+    \\texecution\CAN\SOH \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\texecution\DC28\n\
+    \\EOTtype\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\EOTtype\DC29\n\
+    \\n\
+    \start_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC29\n\
+    \\n\
+    \close_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\tcloseTime\DC2F\n\
+    \\ACKstatus\CAN\ENQ \SOH(\SO2..temporal.api.enums.v1.WorkflowExecutionStatusR\ACKstatus\DC2%\n\
+    \\SOhistory_length\CAN\ACK \SOH(\ETXR\rhistoryLength\DC2.\n\
+    \\DC3parent_namespace_id\CAN\a \SOH(\tR\DC1parentNamespaceId\DC2T\n\
+    \\DLEparent_execution\CAN\b \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\SIparentExecution\DC2A\n\
+    \\SOexecution_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\rexecutionTime\DC20\n\
+    \\EOTmemo\CAN\n\
+    \ \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\v \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC2Q\n\
+    \\DC1auto_reset_points\CAN\f \SOH(\v2%.temporal.api.workflow.v1.ResetPointsR\SIautoResetPoints\DC2\GS\n\
+    \\n\
+    \task_queue\CAN\r \SOH(\tR\ttaskQueue\DC24\n\
+    \\SYNstate_transition_count\CAN\SO \SOH(\ETXR\DC4stateTransitionCount\DC2,\n\
+    \\DC2history_size_bytes\CAN\SI \SOH(\ETXR\DLEhistorySizeBytes\DC2r\n\
+    \ most_recent_worker_version_stamp\CAN\DLE \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\FSmostRecentWorkerVersionStamp\DC2H\n\
+    \\DC2execution_duration\CAN\DC1 \SOH(\v2\EM.google.protobuf.DurationR\DC1executionDuration\DC2P\n\
+    \\SOroot_execution\CAN\DC2 \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\rrootExecution\DC2*\n\
+    \\DC1assigned_build_id\CAN\DC3 \SOH(\tR\SIassignedBuildId\DC2,\n\
+    \\DC2inherited_build_id\CAN\DC4 \SOH(\tR\DLEinheritedBuildId\DC2 \n\
+    \\ffirst_run_id\CAN\NAK \SOH(\tR\n\
+    \firstRunId\DC2b\n\
+    \\SIversioning_info\CAN\SYN \SOH(\v29.temporal.api.workflow.v1.WorkflowExecutionVersioningInfoR\SOversioningInfo\DC24\n\
+    \\SYNworker_deployment_name\CAN\ETB \SOH(\tR\DC4workerDeploymentName\DC2<\n\
+    \\bpriority\CAN\CAN \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\160\ETX\n\
+    \\GSWorkflowExecutionExtendedInfo\DC2V\n\
+    \\EMexecution_expiration_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\ETBexecutionExpirationTime\DC2J\n\
+    \\DC3run_expiration_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\DC1runExpirationTime\DC2)\n\
+    \\DLEcancel_requested\CAN\ETX \SOH(\bR\SIcancelRequested\DC2B\n\
+    \\SIlast_reset_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\rlastResetTime\DC2J\n\
+    \\DC3original_start_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DC1originalStartTime\DC2 \n\
+    \\freset_run_id\CAN\ACK \SOH(\tR\n\
+    \resetRunId\"\252\ETX\n\
+    \\USWorkflowExecutionVersioningInfo\DC2E\n\
+    \\bbehavior\CAN\SOH \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\bbehavior\DC2J\n\
+    \\n\
+    \deployment\CAN\STX \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+    \deploymentB\STX\CAN\SOH\DC2\CAN\n\
+    \\aversion\CAN\ENQ \SOH(\tR\aversion\DC2]\n\
+    \\DC3versioning_override\CAN\ETX \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2g\n\
+    \\NAKdeployment_transition\CAN\EOT \SOH(\v2..temporal.api.workflow.v1.DeploymentTransitionR\DC4deploymentTransitionB\STX\CAN\SOH\DC2d\n\
+    \\DC2version_transition\CAN\ACK \SOH(\v25.temporal.api.workflow.v1.DeploymentVersionTransitionR\DC1versionTransition\"^\n\
+    \\DC4DeploymentTransition\DC2F\n\
+    \\n\
+    \deployment\CAN\SOH \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+    \deployment\"7\n\
+    \\ESCDeploymentVersionTransition\DC2\CAN\n\
+    \\aversion\CAN\SOH \SOH(\tR\aversion\"\170\ETX\n\
+    \\ETBWorkflowExecutionConfig\DC2C\n\
+    \\n\
+    \task_queue\CAN\SOH \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\ETX \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2\\\n\
+    \\GSdefault_workflow_task_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\SUBdefaultWorkflowTaskTimeout\DC2F\n\
+    \\ruser_metadata\CAN\ENQ \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\"\218\SO\n\
+    \\DC3PendingActivityInfo\DC2\US\n\
+    \\vactivity_id\CAN\SOH \SOH(\tR\n\
+    \activityId\DC2I\n\
+    \\ractivity_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.ActivityTypeR\factivityType\DC2A\n\
+    \\ENQstate\CAN\ETX \SOH(\SO2+.temporal.api.enums.v1.PendingActivityStateR\ENQstate\DC2M\n\
+    \\DC1heartbeat_details\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\DLEheartbeatDetails\DC2J\n\
+    \\DC3last_heartbeat_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DC1lastHeartbeatTime\DC2F\n\
+    \\DC1last_started_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\SIlastStartedTime\DC2\CAN\n\
+    \\aattempt\CAN\a \SOH(\ENQR\aattempt\DC2)\n\
+    \\DLEmaximum_attempts\CAN\b \SOH(\ENQR\SImaximumAttempts\DC2A\n\
+    \\SOscheduled_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2C\n\
+    \\SIexpiration_time\CAN\n\
+    \ \SOH(\v2\SUB.google.protobuf.TimestampR\SOexpirationTime\DC2C\n\
+    \\flast_failure\CAN\v \SOH(\v2 .temporal.api.failure.v1.FailureR\vlastFailure\DC20\n\
+    \\DC4last_worker_identity\CAN\f \SOH(\tR\DC2lastWorkerIdentity\DC2K\n\
+    \\NAKuse_workflow_build_id\CAN\r \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\DC2useWorkflowBuildId\DC2P\n\
+    \$last_independently_assigned_build_id\CAN\SO \SOH(\tH\NULR lastIndependentlyAssignedBuildId\DC2e\n\
+    \\EMlast_worker_version_stamp\CAN\SI \SOH(\v2*.temporal.api.common.v1.WorkerVersionStampR\SYNlastWorkerVersionStamp\DC2O\n\
+    \\SYNcurrent_retry_interval\CAN\DLE \SOH(\v2\EM.google.protobuf.DurationR\DC4currentRetryInterval\DC2W\n\
+    \\SUBlast_attempt_complete_time\CAN\DC1 \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2W\n\
+    \\SUBnext_attempt_schedule_time\CAN\DC2 \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2\SYN\n\
+    \\ACKpaused\CAN\DC3 \SOH(\bR\ACKpaused\DC2S\n\
+    \\SIlast_deployment\CAN\DC4 \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\SOlastDeploymentB\STX\CAN\SOH\DC2C\n\
+    \\RSlast_worker_deployment_version\CAN\NAK \SOH(\tR\ESClastWorkerDeploymentVersion\DC2<\n\
+    \\bpriority\CAN\SYN \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\DC2V\n\
+    \\n\
+    \pause_info\CAN\ETB \SOH(\v27.temporal.api.workflow.v1.PendingActivityInfo.PauseInfoR\tpauseInfo\SUB\134\STX\n\
+    \\tPauseInfo\DC29\n\
+    \\n\
+    \pause_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\tpauseTime\DC2X\n\
+    \\ACKmanual\CAN\STX \SOH(\v2>.temporal.api.workflow.v1.PendingActivityInfo.PauseInfo.ManualH\NULR\ACKmanual\DC2\EM\n\
+    \\arule_id\CAN\ETX \SOH(\tH\NULR\ACKruleId\SUB<\n\
+    \\ACKManual\DC2\SUB\n\
+    \\bidentity\CAN\SOH \SOH(\tR\bidentity\DC2\SYN\n\
+    \\ACKreason\CAN\STX \SOH(\tR\ACKreasonB\v\n\
+    \\tpaused_byB\DC3\n\
+    \\DC1assigned_build_id\"\254\SOH\n\
+    \\EMPendingChildExecutionInfo\DC2\US\n\
+    \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+    \workflowId\DC2\NAK\n\
+    \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\DC2,\n\
+    \\DC2workflow_type_name\CAN\ETX \SOH(\tR\DLEworkflowTypeName\DC2!\n\
+    \\finitiated_id\CAN\EOT \SOH(\ETXR\vinitiatedId\DC2X\n\
+    \\DC3parent_close_policy\CAN\ENQ \SOH(\SO2(.temporal.api.enums.v1.ParentClosePolicyR\DC1parentClosePolicy\"\208\STX\n\
+    \\ETBPendingWorkflowTaskInfo\DC2E\n\
+    \\ENQstate\CAN\SOH \SOH(\SO2/.temporal.api.enums.v1.PendingWorkflowTaskStateR\ENQstate\DC2A\n\
+    \\SOscheduled_time\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2R\n\
+    \\ETBoriginal_scheduled_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\NAKoriginalScheduledTime\DC2=\n\
+    \\fstarted_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\vstartedTime\DC2\CAN\n\
+    \\aattempt\CAN\ENQ \SOH(\ENQR\aattempt\"O\n\
+    \\vResetPoints\DC2@\n\
+    \\ACKpoints\CAN\SOH \ETX(\v2(.temporal.api.workflow.v1.ResetPointInfoR\ACKpoints\"\205\STX\n\
+    \\SOResetPointInfo\DC2\EM\n\
+    \\bbuild_id\CAN\a \SOH(\tR\abuildId\DC2'\n\
+    \\SIbinary_checksum\CAN\SOH \SOH(\tR\SObinaryChecksum\DC2\NAK\n\
+    \\ACKrun_id\CAN\STX \SOH(\tR\ENQrunId\DC2F\n\
+    \ first_workflow_task_completed_id\CAN\ETX \SOH(\ETXR\FSfirstWorkflowTaskCompletedId\DC2;\n\
+    \\vcreate_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \createTime\DC2;\n\
+    \\vexpire_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\n\
+    \expireTime\DC2\RS\n\
+    \\n\
+    \resettable\CAN\ACK \SOH(\bR\n\
+    \resettable\"\242\b\n\
+    \\CANNewWorkflowExecutionInfo\DC2\US\n\
+    \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+    \workflowId\DC2I\n\
+    \\rworkflow_type\CAN\STX \SOH(\v2$.temporal.api.common.v1.WorkflowTypeR\fworkflowType\DC2C\n\
+    \\n\
+    \task_queue\CAN\ETX \SOH(\v2$.temporal.api.taskqueue.v1.TaskQueueR\ttaskQueue\DC26\n\
+    \\ENQinput\CAN\EOT \SOH(\v2 .temporal.api.common.v1.PayloadsR\ENQinput\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2e\n\
+    \\CANworkflow_id_reuse_policy\CAN\b \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+    \\fretry_policy\CAN\t \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+    \\rcron_schedule\CAN\n\
+    \ \SOH(\tR\fcronSchedule\DC20\n\
+    \\EOTmemo\CAN\v \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\f \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC26\n\
+    \\ACKheader\CAN\r \SOH(\v2\RS.temporal.api.common.v1.HeaderR\ACKheader\DC2F\n\
+    \\ruser_metadata\CAN\SO \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC2]\n\
+    \\DC3versioning_override\CAN\SI \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\DC2<\n\
+    \\bpriority\CAN\DLE \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\"\236\ENQ\n\
+    \\fCallbackInfo\DC2<\n\
+    \\bcallback\CAN\SOH \SOH(\v2 .temporal.api.common.v1.CallbackR\bcallback\DC2H\n\
+    \\atrigger\CAN\STX \SOH(\v2..temporal.api.workflow.v1.CallbackInfo.TriggerR\atrigger\DC2G\n\
+    \\DC1registration_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\DLEregistrationTime\DC2:\n\
+    \\ENQstate\CAN\EOT \SOH(\SO2$.temporal.api.enums.v1.CallbackStateR\ENQstate\DC2\CAN\n\
+    \\aattempt\CAN\ENQ \SOH(\ENQR\aattempt\DC2W\n\
+    \\SUBlast_attempt_complete_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2R\n\
+    \\DC4last_attempt_failure\CAN\a \SOH(\v2 .temporal.api.failure.v1.FailureR\DC2lastAttemptFailure\DC2W\n\
+    \\SUBnext_attempt_schedule_time\CAN\b \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2%\n\
+    \\SOblocked_reason\CAN\t \SOH(\tR\rblockedReason\SUB\DLE\n\
+    \\SOWorkflowClosed\SUBv\n\
+    \\aTrigger\DC2`\n\
+    \\SIworkflow_closed\CAN\SOH \SOH(\v25.temporal.api.workflow.v1.CallbackInfo.WorkflowClosedH\NULR\SOworkflowClosedB\t\n\
+    \\avariant\"\249\ACK\n\
+    \\EMPendingNexusOperationInfo\DC2\SUB\n\
+    \\bendpoint\CAN\SOH \SOH(\tR\bendpoint\DC2\CAN\n\
+    \\aservice\CAN\STX \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\ETX \SOH(\tR\toperation\DC2!\n\
+    \\foperation_id\CAN\EOT \SOH(\tR\voperationId\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2A\n\
+    \\SOscheduled_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2G\n\
+    \\ENQstate\CAN\a \SOH(\SO21.temporal.api.enums.v1.PendingNexusOperationStateR\ENQstate\DC2\CAN\n\
+    \\aattempt\CAN\b \SOH(\ENQR\aattempt\DC2W\n\
+    \\SUBlast_attempt_complete_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2R\n\
+    \\DC4last_attempt_failure\CAN\n\
+    \ \SOH(\v2 .temporal.api.failure.v1.FailureR\DC2lastAttemptFailure\DC2W\n\
+    \\SUBnext_attempt_schedule_time\CAN\v \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2e\n\
+    \\DC1cancellation_info\CAN\f \SOH(\v28.temporal.api.workflow.v1.NexusOperationCancellationInfoR\DLEcancellationInfo\DC2,\n\
+    \\DC2scheduled_event_id\CAN\r \SOH(\ETXR\DLEscheduledEventId\DC2%\n\
+    \\SOblocked_reason\CAN\SO \SOH(\tR\rblockedReason\DC2'\n\
+    \\SIoperation_token\CAN\SI \SOH(\tR\SOoperationToken\"\248\ETX\n\
+    \\RSNexusOperationCancellationInfo\DC2A\n\
+    \\SOrequested_time\CAN\SOH \SOH(\v2\SUB.google.protobuf.TimestampR\rrequestedTime\DC2L\n\
+    \\ENQstate\CAN\STX \SOH(\SO26.temporal.api.enums.v1.NexusOperationCancellationStateR\ENQstate\DC2\CAN\n\
+    \\aattempt\CAN\ETX \SOH(\ENQR\aattempt\DC2W\n\
+    \\SUBlast_attempt_complete_time\CAN\EOT \SOH(\v2\SUB.google.protobuf.TimestampR\ETBlastAttemptCompleteTime\DC2R\n\
+    \\DC4last_attempt_failure\CAN\ENQ \SOH(\v2 .temporal.api.failure.v1.FailureR\DC2lastAttemptFailure\DC2W\n\
+    \\SUBnext_attempt_schedule_time\CAN\ACK \SOH(\v2\SUB.google.protobuf.TimestampR\ETBnextAttemptScheduleTime\DC2%\n\
+    \\SOblocked_reason\CAN\a \SOH(\tR\rblockedReason\"y\n\
+    \\CANWorkflowExecutionOptions\DC2]\n\
+    \\DC3versioning_override\CAN\SOH \SOH(\v2,.temporal.api.workflow.v1.VersioningOverrideR\DC2versioningOverride\"\206\SOH\n\
+    \\DC2VersioningOverride\DC2E\n\
+    \\bbehavior\CAN\SOH \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\bbehavior\DC2J\n\
+    \\n\
+    \deployment\CAN\STX \SOH(\v2&.temporal.api.deployment.v1.DeploymentR\n\
+    \deploymentB\STX\CAN\SOH\DC2%\n\
+    \\SOpinned_version\CAN\t \SOH(\tR\rpinnedVersion\"\162\SOH\n\
+    \\DC1OnConflictOptions\DC2*\n\
+    \\DC1attach_request_id\CAN\SOH \SOH(\bR\SIattachRequestId\DC2>\n\
+    \\ESCattach_completion_callbacks\CAN\STX \SOH(\bR\EMattachCompletionCallbacks\DC2!\n\
+    \\fattach_links\CAN\ETX \SOH(\bR\vattachLinksB\147\SOH\n\
+    \\ESCio.temporal.api.workflow.v1B\fMessageProtoP\SOHZ'go.temporal.io/api/workflow/v1;workflow\170\STX\SUBTemporalio.Api.Workflow.V1\234\STX\GSTemporalio::Api::Workflow::V1J\134\223\SOH\n\
+    \\a\DC2\ENQ\SYN\NUL\167\EOT\SOH\n\
+    \\241\b\n\
+    \\SOH\f\DC2\ETX\SYN\NUL\DC22\230\b The MIT License\n\
+    \\n\
+    \ Copyright (c) 2020 Temporal Technologies Inc.  All rights reserved.\n\
+    \\n\
+    \ Permission is hereby granted, free of charge, to any person obtaining a copy\n\
+    \ of this software and associated documentation files (the \"Software\"), to deal\n\
+    \ in the Software without restriction, including without limitation the rights\n\
+    \ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n\
+    \ copies of the Software, and to permit persons to whom the Software is\n\
+    \ furnished to do so, subject to the following conditions:\n\
+    \\n\
+    \ The above copyright notice and this permission notice shall be included in\n\
+    \ all copies or substantial portions of the Software.\n\
+    \\n\
+    \ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\
+    \ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\
+    \ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\
+    \ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\
+    \ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\
+    \ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n\
+    \ THE SOFTWARE.\n\
+    \\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\CAN\NUL!\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\SUB\NUL>\n\
+    \\t\n\
+    \\STX\b\v\DC2\ETX\SUB\NUL>\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ESC\NUL4\n\
+    \\t\n\
+    \\STX\b\SOH\DC2\ETX\ESC\NUL4\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\FS\NUL\"\n\
+    \\t\n\
+    \\STX\b\n\
+    \\DC2\ETX\FS\NUL\"\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\GS\NUL-\n\
+    \\t\n\
+    \\STX\b\b\DC2\ETX\GS\NUL-\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\RS\NUL6\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\RS\NUL6\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\US\NUL7\n\
+    \\t\n\
+    \\STX\b%\DC2\ETX\US\NUL7\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX!\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\"\NUL%\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX#\NUL)\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX%\NUL,\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX&\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX'\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX(\NUL2\n\
+    \\t\n\
+    \\STX\ETX\a\DC2\ETX)\NUL/\n\
+    \\t\n\
+    \\STX\ETX\b\DC2\ETX*\NUL1\n\
+    \\t\n\
+    \\STX\ETX\t\DC2\ETX+\NUL1\n\
+    \\156\SOH\n\
+    \\STX\EOT\NUL\DC2\EOT0\NULw\SOH\SUB\143\SOH Hold basic information about a workflow execution.\n\
+    \ This structure is a part of visibility, and thus contain a limited subset of information.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX0\b\GS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX1\EOT;\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX1\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX1-6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX19:\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX2\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX2\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX2(,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX2/0\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX3\EOT-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX3\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX3\RS(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX3+,\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX4\EOT-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX4\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX4\RS(\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX4+,\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX5\EOT=\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX5\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX528\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX5;<\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETX6\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ENQ\DC2\ETX6\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX6\n\
+    \\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX6\ESC\FS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETX7\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETX7\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX7\v\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX7!\"\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETX8\EOTB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ACK\DC2\ETX8\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETX8-=\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETX8@A\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\b\DC2\ETX9\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ACK\DC2\ETX9\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\SOH\DC2\ETX9\RS,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ETX\DC2\ETX9/0\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\t\DC2\ETX:\EOT*\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ACK\DC2\ETX:\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\SOH\DC2\ETX: $\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ETX\DC2\ETX:')\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\n\
+    \\DC2\ETX;\EOTC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ACK\DC2\ETX;\EOT+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\SOH\DC2\ETX;,=\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ETX\DC2\ETX;@B\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\v\DC2\ETX<\EOT'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ACK\DC2\ETX<\EOT\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\SOH\DC2\ETX<\DLE!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ETX\DC2\ETX<$&\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\f\DC2\ETX=\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ENQ\DC2\ETX=\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\SOH\DC2\ETX=\v\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ETX\DC2\ETX=\CAN\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\r\DC2\ETX>\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\ENQ\DC2\ETX>\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\SOH\DC2\ETX>\n\
+    \ \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\ETX\DC2\ETX>#%\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SO\DC2\ETX?\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\ENQ\DC2\ETX?\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\SOH\DC2\ETX?\n\
+    \\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\ETX\DC2\ETX?\US!\n\
+    \\209\SOH\n\
+    \\EOT\EOT\NUL\STX\SI\DC2\ETXB\EOTT\SUB\195\SOH If set, the most recent worker version stamp that appeared in a workflow task completion\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\ACK\DC2\ETXB\EOT-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\SOH\DC2\ETXB.N\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\ETX\DC2\ETXBQS\n\
+    \\164\SOH\n\
+    \\EOT\EOT\NUL\STX\DLE\DC2\ETXE\EOT5\SUB\150\SOH Workflow execution duration is defined as difference between close time and execution time.\n\
+    \ This field is only populated if the workflow is closed.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\ACK\DC2\ETXE\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\SOH\DC2\ETXE\GS/\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\ETX\DC2\ETXE24\n\
+    \\153\b\n\
+    \\EOT\EOT\NUL\STX\DC1\DC2\ETXW\EOTA\SUB\139\b Contains information about the root workflow execution.\n\
+    \ The root workflow execution is defined as follows:\n\
+    \ 1. A workflow without parent workflow is its own root workflow.\n\
+    \ 2. A workflow that has a parent workflow has the same root workflow as its parent workflow.\n\
+    \ Note: workflows continued as new or reseted may or may not have parents, check examples below.\n\
+    \\n\
+    \ Examples:\n\
+    \   Scenario 1: Workflow W1 starts child workflow W2, and W2 starts child workflow W3.\n\
+    \     - The root workflow of all three workflows is W1.\n\
+    \   Scenario 2: Workflow W1 starts child workflow W2, and W2 continued as new W3.\n\
+    \     - The root workflow of all three workflows is W1.\n\
+    \   Scenario 3: Workflow W1 continued as new W2.\n\
+    \     - The root workflow of W1 is W1 and the root workflow of W2 is W2.\n\
+    \   Scenario 4: Workflow W1 starts child workflow W2, and W2 is reseted, creating W3\n\
+    \     - The root workflow of all three workflows is W1.\n\
+    \   Scenario 5: Workflow W1 is reseted, creating W2.\n\
+    \     - The root workflow of W1 is W1 and the root workflow of W2 is W2.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\ACK\DC2\ETXW\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\SOH\DC2\ETXW-;\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\ETX\DC2\ETXW>@\n\
+    \\129\ENQ\n\
+    \\EOT\EOT\NUL\STX\DC2\DC2\ETX_\EOT\"\SUB\243\EOT The currently assigned build ID for this execution. Presence of this value means worker versioning is used\n\
+    \ for this execution. Assigned build ID is selected based on Worker Versioning Assignment Rules\n\
+    \ when the first workflow task of the execution is scheduled. If the first workflow task fails and is scheduled\n\
+    \ again, the assigned build ID may change according to the latest versioning rules.\n\
+    \ Assigned build ID can also change in the middle of a execution if Compatible Redirect Rules are applied to\n\
+    \ this execution.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\ENQ\DC2\ETX_\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\SOH\DC2\ETX_\v\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\ETX\DC2\ETX_\US!\n\
+    \\136\STX\n\
+    \\EOT\EOT\NUL\STX\DC3\DC2\ETXc\EOT#\SUB\250\SOH Build ID inherited from a previous/parent execution. If present, assigned_build_id will be set to this, instead\n\
+    \ of using the assignment rules.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\ENQ\DC2\ETXc\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\SOH\DC2\ETXc\v\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\ETX\DC2\ETXc \"\n\
+    \\214\SOH\n\
+    \\EOT\EOT\NUL\STX\DC4\DC2\ETXj\EOT\GS\SUB\200\SOH The first run ID in the execution chain.\n\
+    \ Executions created via the following operations are considered to be in the same chain\n\
+    \ - ContinueAsNew\n\
+    \ - Workflow Retry\n\
+    \ - Workflow Reset\n\
+    \ - Cron Schedule\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\ENQ\DC2\ETXj\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\SOH\DC2\ETXj\v\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\ETX\DC2\ETXj\SUB\FS\n\
+    \\173\STX\n\
+    \\EOT\EOT\NUL\STX\NAK\DC2\ETXo\EOT9\SUB\159\STX Absent value means the workflow execution is not versioned. When present, the execution might\n\
+    \ be versioned or unversioned, depending on `versioning_info.behavior` and `versioning_info.versioning_override`.\n\
+    \ Experimental. Versioning info is experimental and might change in the future.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\ACK\DC2\ETXo\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\SOH\DC2\ETXo$3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\ETX\DC2\ETXo68\n\
+    \\174\SOH\n\
+    \\EOT\EOT\NUL\STX\SYN\DC2\ETXs\EOT'\SUB\160\SOH The name of Worker Deployment that completed the most recent workflow task.\n\
+    \ Experimental. Worker Deployments are experimental and might change in the future.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\ENQ\DC2\ETXs\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\SOH\DC2\ETXs\v!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\ETX\DC2\ETXs$&\n\
+    \ \n\
+    \\EOT\EOT\NUL\STX\ETB\DC2\ETXv\EOT2\SUB\DC3 Priority metadata\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETB\ACK\DC2\ETXv\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETB\SOH\DC2\ETXv$,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETB\ETX\DC2\ETXv/1\n\
+    \g\n\
+    \\STX\EOT\SOH\DC2\ENQz\NUL\141\SOH\SOH\SUBZ Holds all the extra information about workflow execution that is not part of Visibility.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETXz\b%\n\
+    \\163\SOH\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX}\EOT<\SUB\149\SOH Workflow execution expiration time is defined as workflow start time plus expiration timeout.\n\
+    \ Workflow start time may change after workflow reset.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX}\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX}\RS7\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX}:;\n\
+    \u\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\EOT\128\SOH\EOT6\SUBg Workflow run expiration time is defined as current workflow run start time plus workflow run timeout.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\EOT\128\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\EOT\128\SOH\RS1\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\EOT\128\SOH45\n\
+    \C\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\EOT\131\SOH\EOT\RS\SUB5 indicates if the workflow received a cancel request\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\ENQ\DC2\EOT\131\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\EOT\131\SOH\t\EM\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\EOT\131\SOH\FS\GS\n\
+    \N\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\EOT\134\SOH\EOT2\SUB@ Last workflow reset time. Nil if the workflow was never reset.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\EOT\134\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\EOT\134\SOH\RS-\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\EOT\134\SOH01\n\
+    \-\n\
+    \\EOT\EOT\SOH\STX\EOT\DC2\EOT\137\SOH\EOT6\SUB\US Original workflow start time.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\EOT\137\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\EOT\137\SOH\RS1\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\EOT\137\SOH45\n\
+    \\152\SOH\n\
+    \\EOT\EOT\SOH\STX\ENQ\DC2\EOT\140\SOH\EOT\FS\SUB\137\SOH Reset Run ID points to the new run when this execution is reset. If the execution is reset multiple times, it points to the latest run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ENQ\DC2\EOT\140\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\EOT\140\SOH\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\EOT\140\SOH\SUB\ESC\n\
+    \\182\SOH\n\
+    \\STX\EOT\STX\DC2\ACK\145\SOH\NUL\219\SOH\SOH\SUB\167\SOH Holds all the information about worker versioning for a particular workflow execution.\n\
+    \ Experimental. Versioning info is experimental and might change in the future.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\STX\SOH\DC2\EOT\145\SOH\b'\n\
+    \\148\a\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\EOT\157\SOH\EOT:\SUB\133\a Versioning behavior determines how the server should treat this execution when workers are\n\
+    \ upgraded. When present it means this workflow execution is versioned; UNSPECIFIED means\n\
+    \ unversioned. See the comments in `VersioningBehavior` enum for more info about different\n\
+    \ behaviors.\n\
+    \ This field is first set after an execution completes its first workflow task on a versioned\n\
+    \ worker, and set again on completion of every subsequent workflow task.\n\
+    \ For child workflows of Pinned parents, this will be set to Pinned (along with `version`) when\n\
+    \ the the child starts so that child's first workflow task goes to the same Version as the\n\
+    \ parent. After the first workflow task, it depends on the child workflow itself if it wants\n\
+    \ to stay pinned or become unpinned (according to Versioning Behavior set in the worker).\n\
+    \ Note that `behavior` is overridden by `versioning_override` if the latter is present.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\EOT\157\SOH\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\157\SOH-5\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\157\SOH89\n\
+    \\196\EOT\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\EOT\165\SOH\EOTM\SUB\181\EOT The worker deployment that completed the last workflow task of this workflow execution. Must\n\
+    \ be present if `behavior` is set. Absent value means no workflow task is completed, or the\n\
+    \ last workflow task was completed by an unversioned worker. Unversioned workers may still send\n\
+    \ a deployment value which will be stored here, so the right way to check if an execution is\n\
+    \ versioned if an execution is versioned or not is via the `behavior` field.\n\
+    \ Note that `deployment` is overridden by `versioning_override` if the latter is present.\n\
+    \ Deprecated. Use `version`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\EOT\165\SOH\EOT)\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\165\SOH*4\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\165\SOH78\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\b\DC2\EOT\165\SOH9L\n\
+    \\SO\n\
+    \\ACK\EOT\STX\STX\SOH\b\ETX\DC2\EOT\165\SOH:K\n\
+    \\221\EOT\n\
+    \\EOT\EOT\STX\STX\STX\DC2\EOT\174\SOH\EOT\ETB\SUB\206\EOT The Worker Deployment Version that completed the last workflow task of this workflow\n\
+    \ execution, in the form \"<deployment_name>.<build_id>\".\n\
+    \ Must be present if and only if `behavior` is set. An absent value means no workflow task is\n\
+    \ completed, or the workflow is unversioned.\n\
+    \ For child workflows of Pinned parents, this will be set to parent's Pinned Version when the\n\
+    \ the child starts so that child's first workflow task goes to the same Version as the parent.\n\
+    \ Note that if `versioning_override.behavior` is PINNED then `versioning_override.pinned_version`\n\
+    \ will override this value.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\ENQ\DC2\EOT\174\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\174\SOH\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\174\SOH\NAK\SYN\n\
+    \\250\STX\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\EOT\180\SOH\EOT/\SUB\235\STX Present if user has set an execution-specific versioning override. This override takes\n\
+    \ precedence over SDK-sent `behavior` (and `version` when override is PINNED). An\n\
+    \ override can be set when starting a new execution, as well as afterwards by calling the\n\
+    \ `UpdateWorkflowExecutionOptions` API.\n\
+    \ Pinned overrides are automatically inherited by child workflows.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\ACK\DC2\EOT\180\SOH\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\EOT\180\SOH\ETB*\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\EOT\180\SOH-.\n\
+    \\244\n\
+    \\n\
+    \\EOT\EOT\STX\STX\EOT\DC2\EOT\199\SOH\EOTG\SUB\229\n\
+    \ When present, indicates the workflow is transitioning to a different deployment. Can\n\
+    \ indicate one of the following transitions: unversioned -> versioned, versioned -> versioned\n\
+    \ on a different deployment, or versioned -> unversioned.\n\
+    \ Not applicable to workflows with PINNED behavior.\n\
+    \ When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically\n\
+    \ start a transition to the task queue's current deployment if the task queue's current\n\
+    \ deployment is different from the workflow's deployment.\n\
+    \ If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those\n\
+    \ tasks will be redirected to the task queue's current deployment. As soon as a poller from\n\
+    \ that deployment is available to receive the task, the workflow will automatically start a\n\
+    \ transition to that deployment and continue execution there.\n\
+    \ A deployment transition can only exist while there is a pending or started workflow task.\n\
+    \ Once the pending workflow task completes on the transition's target deployment, the\n\
+    \ transition completes and the workflow's `deployment` and `behavior` fields are updated per\n\
+    \ the worker's task completion response.\n\
+    \ Pending activities will not start new attempts during a transition. Once the transition is\n\
+    \ completed, pending activities will start their next attempt on the new deployment.\n\
+    \ Deprecated. Use version_transition.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\ACK\DC2\EOT\199\SOH\EOT\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\SOH\DC2\EOT\199\SOH\EM.\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\ETX\DC2\EOT\199\SOH12\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\b\DC2\EOT\199\SOH3F\n\
+    \\SO\n\
+    \\ACK\EOT\STX\STX\EOT\b\ETX\DC2\EOT\199\SOH4E\n\
+    \\155\v\n\
+    \\EOT\EOT\STX\STX\ENQ\DC2\EOT\218\SOH\EOT7\SUB\140\v When present, indicates the workflow is transitioning to a different deployment version\n\
+    \ (which may belong to the same deployment name or another). Can indicate one of the following\n\
+    \ transitions: unversioned -> versioned, versioned -> versioned\n\
+    \ on a different deployment version, or versioned -> unversioned.\n\
+    \ Not applicable to workflows with PINNED behavior.\n\
+    \ When a workflow with AUTO_UPGRADE behavior creates a new workflow task, it will automatically\n\
+    \ start a transition to the task queue's current version if the task queue's current version is\n\
+    \ different from the workflow's current deployment version.\n\
+    \ If the AUTO_UPGRADE workflow is stuck due to backlogged activity or workflow tasks, those\n\
+    \ tasks will be redirected to the task queue's current version. As soon as a poller from\n\
+    \ that deployment version is available to receive the task, the workflow will automatically\n\
+    \ start a transition to that version and continue execution there.\n\
+    \ A version transition can only exist while there is a pending or started workflow task.\n\
+    \ Once the pending workflow task completes on the transition's target version, the\n\
+    \ transition completes and the workflow's `behavior`, and `version` fields are updated per the\n\
+    \ worker's task completion response.\n\
+    \ Pending activities will not start new attempts during a transition. Once the transition is\n\
+    \ completed, pending activities will start their next attempt on the new version.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ENQ\ACK\DC2\EOT\218\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\EOT\218\SOH 2\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\EOT\218\SOH56\n\
+    \\161\SOH\n\
+    \\STX\EOT\ETX\DC2\ACK\223\SOH\NUL\229\SOH\SOH\SUB\146\SOH Holds information about ongoing transition of a workflow execution from one deployment to another.\n\
+    \ Deprecated. Use DeploymentVersionTransition.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ETX\SOH\DC2\EOT\223\SOH\b\FS\n\
+    \\137\SOH\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\EOT\226\SOH\EOT9\SUB{ The target deployment of the transition. Null means a so-far-versioned workflow is\n\
+    \ transitioning to unversioned workers.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\EOT\226\SOH\EOT)\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\226\SOH*4\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\226\SOH78\n\
+    \\174\SOH\n\
+    \\STX\EOT\EOT\DC2\ACK\234\SOH\NUL\240\SOH\SOH\SUB\159\SOH Holds information about ongoing transition of a workflow execution from one worker\n\
+    \ deployment version to another.\n\
+    \ Experimental. Might change in the future.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\EOT\SOH\DC2\EOT\234\SOH\b#\n\
+    \\171\SOH\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\EOT\237\SOH\EOT\ETB\SUB\156\SOH Required. The target Version of the transition. May be `__unversioned__` which means a\n\
+    \ so-far-versioned workflow is transitioning to unversioned workers.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\237\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\237\SOH\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\237\SOH\NAK\SYN\n\
+    \\f\n\
+    \\STX\EOT\ENQ\DC2\ACK\242\SOH\NUL\249\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ENQ\SOH\DC2\EOT\242\SOH\b\US\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\243\SOH\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ACK\DC2\EOT\243\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\243\SOH(2\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\243\SOH56\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\244\SOH\EOT<\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\244\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\244\SOH\GS7\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\244\SOH:;\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\EOT\245\SOH\EOT6\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ACK\DC2\EOT\245\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\EOT\245\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\EOT\245\SOH45\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\ETX\DC2\EOT\246\SOH\EOT?\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ACK\DC2\EOT\246\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\SOH\DC2\EOT\246\SOH\GS:\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ETX\DC2\EOT\246\SOH=>\n\
+    \9\n\
+    \\EOT\EOT\ENQ\STX\EOT\DC2\EOT\248\SOH\EOT7\SUB+ User metadata provided on start workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\EOT\ACK\DC2\EOT\248\SOH\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\EOT\SOH\DC2\EOT\248\SOH%2\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\EOT\ETX\DC2\EOT\248\SOH56\n\
+    \\f\n\
+    \\STX\EOT\ACK\DC2\ACK\251\SOH\NUL\199\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ACK\SOH\DC2\EOT\251\SOH\b\ESC\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\252\SOH\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\252\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\252\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\252\SOH\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\EOT\253\SOH\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\EOT\253\SOH\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\EOT\253\SOH(5\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\EOT\253\SOH89\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\EOT\254\SOH\EOT9\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\EOT\254\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\EOT\254\SOH/4\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\EOT\254\SOH78\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\ETX\DC2\EOT\255\SOH\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\ACK\DC2\EOT\255\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\SOH\DC2\EOT\255\SOH$5\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ETX\ETX\DC2\EOT\255\SOH89\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\EOT\DC2\EOT\128\STX\EOT6\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\EOT\ACK\DC2\EOT\128\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\EOT\SOH\DC2\EOT\128\STX\RS1\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\EOT\ETX\DC2\EOT\128\STX45\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\ENQ\DC2\EOT\129\STX\EOT4\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ENQ\ACK\DC2\EOT\129\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ENQ\SOH\DC2\EOT\129\STX\RS/\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ENQ\ETX\DC2\EOT\129\STX23\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\ACK\DC2\EOT\130\STX\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ACK\ENQ\DC2\EOT\130\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ACK\SOH\DC2\EOT\130\STX\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\ACK\ETX\DC2\EOT\130\STX\DC4\NAK\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\a\DC2\EOT\131\STX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\a\ENQ\DC2\EOT\131\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\a\SOH\DC2\EOT\131\STX\n\
+    \\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\a\ETX\DC2\EOT\131\STX\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\b\DC2\EOT\132\STX\EOT1\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\b\ACK\DC2\EOT\132\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\b\SOH\DC2\EOT\132\STX\RS,\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\b\ETX\DC2\EOT\132\STX/0\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\t\DC2\EOT\133\STX\EOT3\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\t\ACK\DC2\EOT\133\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\t\SOH\DC2\EOT\133\STX\RS-\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\t\ETX\DC2\EOT\133\STX02\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\n\
+    \\DC2\EOT\134\STX\EOT6\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\n\
+    \\ACK\DC2\EOT\134\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\n\
+    \\SOH\DC2\EOT\134\STX$0\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\n\
+    \\ETX\DC2\EOT\134\STX35\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\v\DC2\EOT\135\STX\EOT%\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\v\ENQ\DC2\EOT\135\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\v\SOH\DC2\EOT\135\STX\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\v\ETX\DC2\EOT\135\STX\"$\n\
+    \\168\ETX\n\
+    \\EOT\EOT\ACK\b\NUL\DC2\ACK\140\STX\EOT\148\STX\ENQ\SUB\151\ETX Absence of `assigned_build_id` generally means this task is on an \"unversioned\" task queue.\n\
+    \ In rare cases, it can also mean that the task queue is versioned but we failed to write activity's\n\
+    \ independently-assigned build ID to the database. This case heals automatically once the task is dispatched.\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\b\NUL\SOH\DC2\EOT\140\STX\n\
+    \\ESC\n\
+    \a\n\
+    \\EOT\EOT\ACK\STX\f\DC2\EOT\142\STX\b9\SUBS When present, it means this activity is assigned to the build ID of its workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\f\ACK\DC2\EOT\142\STX\b\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\f\SOH\DC2\EOT\142\STX\RS3\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\f\ETX\DC2\EOT\142\STX68\n\
+    \\164\STX\n\
+    \\EOT\EOT\ACK\STX\r\DC2\EOT\147\STX\b9\SUB\149\STX This means the activity is independently versioned and not bound to the build ID of its workflow.\n\
+    \ The activity will use the build id in this field instead.\n\
+    \ If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning\n\
+    \ rules.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\r\ENQ\DC2\EOT\147\STX\b\SO\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\r\SOH\DC2\EOT\147\STX\SI3\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\r\ETX\DC2\EOT\147\STX68\n\
+    \\204\SOH\n\
+    \\EOT\EOT\ACK\STX\SO\DC2\EOT\151\STX\EOTM\SUB\189\SOH The version stamp of the worker to whom this activity was most recently dispatched\n\
+    \ Deprecated. This field should be cleaned up when versioning-2 API is removed. [cleanup-experimental-wv]\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SO\ACK\DC2\EOT\151\STX\EOT-\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SO\SOH\DC2\EOT\151\STX.G\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SO\ETX\DC2\EOT\151\STXJL\n\
+    \\136\STX\n\
+    \\EOT\EOT\ACK\STX\SI\DC2\EOT\157\STX\EOT9\SUB\249\SOH The time activity will wait until the next retry.\n\
+    \ If activity is currently running it will be next retry interval if activity failed.\n\
+    \ If activity is currently waiting it will be current retry interval.\n\
+    \ If there will be no retry it will be null.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SI\ACK\DC2\EOT\157\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SI\SOH\DC2\EOT\157\STX\GS3\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SI\ETX\DC2\EOT\157\STX68\n\
+    \\131\SOH\n\
+    \\EOT\EOT\ACK\STX\DLE\DC2\EOT\160\STX\EOT>\SUBu The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DLE\ACK\DC2\EOT\160\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DLE\SOH\DC2\EOT\160\STX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DLE\ETX\DC2\EOT\160\STX;=\n\
+    \z\n\
+    \\EOT\EOT\ACK\STX\DC1\DC2\EOT\164\STX\EOT>\SUBl Next time when activity will be scheduled.\n\
+    \ If activity is currently scheduled or started it will be null.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC1\ACK\DC2\EOT\164\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC1\SOH\DC2\EOT\164\STX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC1\ETX\DC2\EOT\164\STX;=\n\
+    \0\n\
+    \\EOT\EOT\ACK\STX\DC2\DC2\EOT\167\STX\EOT\NAK\SUB\" Indicates if activity is paused.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC2\ENQ\DC2\EOT\167\STX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC2\SOH\DC2\EOT\167\STX\t\SI\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC2\ETX\DC2\EOT\167\STX\DC2\DC4\n\
+    \\197\SOH\n\
+    \\EOT\EOT\ACK\STX\DC3\DC2\EOT\172\STX\EOTS\SUB\182\SOH The deployment this activity was dispatched to most recently. Present only if the activity\n\
+    \ was dispatched to a versioned worker.\n\
+    \ Deprecated. Use `last_worker_deployment_version`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC3\ACK\DC2\EOT\172\STX\EOT)\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC3\SOH\DC2\EOT\172\STX*9\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC3\ETX\DC2\EOT\172\STX<>\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC3\b\DC2\EOT\172\STX?R\n\
+    \\SO\n\
+    \\ACK\EOT\ACK\STX\DC3\b\ETX\DC2\EOT\172\STX@Q\n\
+    \\\\n\
+    \\EOT\EOT\ACK\STX\DC4\DC2\EOT\174\STX\EOT/\SUBN The Worker Deployment Version this activity was dispatched to most recently.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC4\ENQ\DC2\EOT\174\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC4\SOH\DC2\EOT\174\STX\v)\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\DC4\ETX\DC2\EOT\174\STX,.\n\
+    \!\n\
+    \\EOT\EOT\ACK\STX\NAK\DC2\EOT\177\STX\EOT2\SUB\DC3 Priority metadata\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NAK\ACK\DC2\EOT\177\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NAK\SOH\DC2\EOT\177\STX$,\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NAK\ETX\DC2\EOT\177\STX/1\n\
+    \\SO\n\
+    \\EOT\EOT\ACK\ETX\NUL\DC2\ACK\179\STX\EOT\196\STX\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\ETX\NUL\SOH\DC2\EOT\179\STX\f\NAK\n\
+    \8\n\
+    \\ACK\EOT\ACK\ETX\NUL\STX\NUL\DC2\EOT\181\STX\b1\SUB( The time when the activity was paused.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\NUL\ACK\DC2\EOT\181\STX\b!\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\NUL\SOH\DC2\EOT\181\STX\",\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\NUL\ETX\DC2\EOT\181\STX/0\n\
+    \\DLE\n\
+    \\ACK\EOT\ACK\ETX\NUL\ETX\NUL\DC2\ACK\183\STX\b\188\STX\t\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\ETX\NUL\SOH\DC2\EOT\183\STX\DLE\SYN\n\
+    \G\n\
+    \\b\EOT\ACK\ETX\NUL\ETX\NUL\STX\NUL\DC2\EOT\185\STX\f \SUB5 The identity of the actor that paused the activity.\n\
+    \\n\
+    \\DC1\n\
+    \\t\EOT\ACK\ETX\NUL\ETX\NUL\STX\NUL\ENQ\DC2\EOT\185\STX\f\DC2\n\
+    \\DC1\n\
+    \\t\EOT\ACK\ETX\NUL\ETX\NUL\STX\NUL\SOH\DC2\EOT\185\STX\DC3\ESC\n\
+    \\DC1\n\
+    \\t\EOT\ACK\ETX\NUL\ETX\NUL\STX\NUL\ETX\DC2\EOT\185\STX\RS\US\n\
+    \4\n\
+    \\b\EOT\ACK\ETX\NUL\ETX\NUL\STX\SOH\DC2\EOT\187\STX\f\RS\SUB\" Reason for pausing the activity.\n\
+    \\n\
+    \\DC1\n\
+    \\t\EOT\ACK\ETX\NUL\ETX\NUL\STX\SOH\ENQ\DC2\EOT\187\STX\f\DC2\n\
+    \\DC1\n\
+    \\t\EOT\ACK\ETX\NUL\ETX\NUL\STX\SOH\SOH\DC2\EOT\187\STX\DC3\EM\n\
+    \\DC1\n\
+    \\t\EOT\ACK\ETX\NUL\ETX\NUL\STX\SOH\ETX\DC2\EOT\187\STX\FS\GS\n\
+    \\DLE\n\
+    \\ACK\EOT\ACK\ETX\NUL\b\NUL\DC2\ACK\189\STX\b\195\STX\t\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\b\NUL\SOH\DC2\EOT\189\STX\SO\ETB\n\
+    \@\n\
+    \\ACK\EOT\ACK\ETX\NUL\STX\SOH\DC2\EOT\191\STX\f\RS\SUB0 activity was paused by the manual intervention\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\SOH\ACK\DC2\EOT\191\STX\f\DC2\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\SOH\SOH\DC2\EOT\191\STX\DC3\EM\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\SOH\ETX\DC2\EOT\191\STX\FS\GS\n\
+    \:\n\
+    \\ACK\EOT\ACK\ETX\NUL\STX\STX\DC2\EOT\194\STX\f\US\SUB* Id of the rule that paused the activity.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\STX\ENQ\DC2\EOT\194\STX\f\DC2\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\STX\SOH\DC2\EOT\194\STX\DC3\SUB\n\
+    \\SI\n\
+    \\a\EOT\ACK\ETX\NUL\STX\STX\ETX\DC2\EOT\194\STX\GS\RS\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\SYN\DC2\EOT\198\STX\EOT\RS\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SYN\ACK\DC2\EOT\198\STX\EOT\r\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SYN\SOH\DC2\EOT\198\STX\SO\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\SYN\ETX\DC2\EOT\198\STX\ESC\GS\n\
+    \\f\n\
+    \\STX\EOT\a\DC2\ACK\201\STX\NUL\208\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\201\STX\b!\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\202\STX\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\202\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\202\STX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\202\STX\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\203\STX\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\203\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\203\STX\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\203\STX\DC4\NAK\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\204\STX\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ENQ\DC2\EOT\204\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\204\STX\v\GS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\204\STX !\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\ETX\DC2\EOT\205\STX\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ENQ\DC2\EOT\205\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\SOH\DC2\EOT\205\STX\n\
+    \\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\ETX\ETX\DC2\EOT\205\STX\EM\SUB\n\
+    \7\n\
+    \\EOT\EOT\a\STX\EOT\DC2\EOT\207\STX\EOTD\SUB) Default: PARENT_CLOSE_POLICY_TERMINATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ACK\DC2\EOT\207\STX\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\SOH\DC2\EOT\207\STX,?\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\EOT\ETX\DC2\EOT\207\STXBC\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\210\STX\NUL\220\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\210\STX\b\US\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\211\STX\EOT=\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ACK\DC2\EOT\211\STX\EOT2\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\211\STX38\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\211\STX;<\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\SOH\DC2\EOT\212\STX\EOT1\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ACK\DC2\EOT\212\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\SOH\DC2\EOT\212\STX\RS,\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\SOH\ETX\DC2\EOT\212\STX/0\n\
+    \\151\ETX\n\
+    \\EOT\EOT\b\STX\STX\DC2\EOT\217\STX\EOT:\SUB\136\ETX original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat.\n\
+    \ Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command\n\
+    \ In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds\n\
+    \ some threshold, the workflow task will be forced timeout.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ACK\DC2\EOT\217\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\SOH\DC2\EOT\217\STX\RS5\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\STX\ETX\DC2\EOT\217\STX89\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\ETX\DC2\EOT\218\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\ACK\DC2\EOT\218\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\SOH\DC2\EOT\218\STX\RS*\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\ETX\ETX\DC2\EOT\218\STX-.\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\EOT\DC2\EOT\219\STX\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\EOT\ENQ\DC2\EOT\219\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\EOT\SOH\DC2\EOT\219\STX\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\EOT\ETX\DC2\EOT\219\STX\DC4\NAK\n\
+    \\f\n\
+    \\STX\EOT\t\DC2\ACK\222\STX\NUL\224\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\222\STX\b\DC3\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\223\STX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\EOT\DC2\EOT\223\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\223\STX\r\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\223\STX\FS\"\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\223\STX%&\n\
+    \\155\STX\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\229\STX\NUL\245\STX\SOH\SUB\140\STX ResetPointInfo records the workflow event id that is the first one processed by a given\n\
+    \ build id or binary checksum. A new reset point will be created if either build id or binary\n\
+    \ checksum changes (although in general only one or the other will be used at a time).\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\229\STX\b\SYN\n\
+    \ \n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\231\STX\EOT\CAN\SUB\DC2 Worker build id.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\EOT\231\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\231\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\231\STX\SYN\ETB\n\
+    \@\n\
+    \\EOT\EOT\n\
+    \\STX\SOH\DC2\EOT\233\STX\EOT\US\SUB2 A worker binary version identifier (deprecated).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ENQ\DC2\EOT\233\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\SOH\DC2\EOT\233\STX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\SOH\ETX\DC2\EOT\233\STX\GS\RS\n\
+    \^\n\
+    \\EOT\EOT\n\
+    \\STX\STX\DC2\EOT\235\STX\EOT\SYN\SUBP The first run ID in the execution chain that was touched by this worker build.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ENQ\DC2\EOT\235\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\SOH\DC2\EOT\235\STX\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\STX\ETX\DC2\EOT\235\STX\DC4\NAK\n\
+    \a\n\
+    \\EOT\EOT\n\
+    \\STX\ETX\DC2\EOT\237\STX\EOT/\SUBS Event ID of the first WorkflowTaskCompleted event processed by this worker build.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ENQ\DC2\EOT\237\STX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\SOH\DC2\EOT\237\STX\n\
+    \*\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ETX\ETX\DC2\EOT\237\STX-.\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\EOT\DC2\EOT\238\STX\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ACK\DC2\EOT\238\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\SOH\DC2\EOT\238\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\EOT\ETX\DC2\EOT\238\STX,-\n\
+    \\192\SOH\n\
+    \\EOT\EOT\n\
+    \\STX\ENQ\DC2\EOT\242\STX\EOT.\SUB\177\SOH (-- api-linter: core::0214::resource-expiry=disabled\n\
+    \     aip.dev/not-precedent: TTL is not defined for ResetPointInfo. --)\n\
+    \ The time that the run is deleted due to retention.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ACK\DC2\EOT\242\STX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\SOH\DC2\EOT\242\STX\RS)\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ENQ\ETX\DC2\EOT\242\STX,-\n\
+    \Y\n\
+    \\EOT\EOT\n\
+    \\STX\ACK\DC2\EOT\244\STX\EOT\CAN\SUBK false if the reset point has pending childWFs/reqCancels/signalExternals.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\ENQ\DC2\EOT\244\STX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\SOH\DC2\EOT\244\STX\t\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\ACK\ETX\DC2\EOT\244\STX\SYN\ETB\n\
+    \\153\SOH\n\
+    \\STX\EOT\v\DC2\ACK\249\STX\NUL\151\ETX\SOH\SUB\138\SOH NewWorkflowExecutionInfo is a shared message that encapsulates all the\n\
+    \ required arguments to starting a workflow in different contexts.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\249\STX\b \n\
+    \\f\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\250\STX\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\250\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\250\STX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\250\STX\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\251\STX\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ACK\DC2\EOT\251\STX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\251\STX(5\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\251\STX89\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\252\STX\EOT7\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ACK\DC2\EOT\252\STX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\252\STX(2\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\252\STX56\n\
+    \5\n\
+    \\EOT\EOT\v\STX\ETX\DC2\EOT\254\STX\EOT.\SUB' Serialized arguments to the workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ACK\DC2\EOT\254\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\254\STX$)\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\254\STX,-\n\
+    \W\n\
+    \\EOT\EOT\v\STX\EOT\DC2\EOT\128\ETX\EOT<\SUBI Total workflow execution timeout including retries and continue as new.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\ACK\DC2\EOT\128\ETX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\128\ETX\GS7\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\128\ETX:;\n\
+    \1\n\
+    \\EOT\EOT\v\STX\ENQ\DC2\EOT\130\ETX\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\ACK\DC2\EOT\130\ETX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\SOH\DC2\EOT\130\ETX\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\ETX\DC2\EOT\130\ETX45\n\
+    \2\n\
+    \\EOT\EOT\v\STX\ACK\DC2\EOT\132\ETX\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\ACK\DC2\EOT\132\ETX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\SOH\DC2\EOT\132\ETX\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\ETX\DC2\EOT\132\ETX56\n\
+    \B\n\
+    \\EOT\EOT\v\STX\a\DC2\EOT\134\ETX\EOTM\SUB4 Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\a\ACK\DC2\EOT\134\ETX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\a\SOH\DC2\EOT\134\ETX0H\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\a\ETX\DC2\EOT\134\ETXKL\n\
+    \b\n\
+    \\EOT\EOT\v\STX\b\DC2\EOT\136\ETX\EOT8\SUBT The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\b\ACK\DC2\EOT\136\ETX\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\b\SOH\DC2\EOT\136\ETX'3\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\b\ETX\DC2\EOT\136\ETX67\n\
+    \V\n\
+    \\EOT\EOT\v\STX\t\DC2\EOT\138\ETX\EOT\RS\SUBH See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\t\ENQ\DC2\EOT\138\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\t\SOH\DC2\EOT\138\ETX\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\t\ETX\DC2\EOT\138\ETX\ESC\GS\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\n\
+    \\DC2\EOT\139\ETX\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\n\
+    \\ACK\DC2\EOT\139\ETX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\n\
+    \\SOH\DC2\EOT\139\ETX $\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\n\
+    \\ETX\DC2\EOT\139\ETX')\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\v\DC2\EOT\140\ETX\EOTC\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\v\ACK\DC2\EOT\140\ETX\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\v\SOH\DC2\EOT\140\ETX,=\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\v\ETX\DC2\EOT\140\ETX@B\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\f\DC2\EOT\141\ETX\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\f\ACK\DC2\EOT\141\ETX\EOT!\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\f\SOH\DC2\EOT\141\ETX\"(\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\f\ETX\DC2\EOT\141\ETX+-\n\
+    \\210\SOH\n\
+    \\EOT\EOT\v\STX\r\DC2\EOT\145\ETX\EOT8\SUB\195\SOH Metadata on the workflow if it is started. This is carried over to the WorkflowExecutionConfig\n\
+    \ for use by user interfaces to display the fixed as-of-start summary and details of the\n\
+    \ workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\r\ACK\DC2\EOT\145\ETX\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\r\SOH\DC2\EOT\145\ETX%2\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\r\ETX\DC2\EOT\145\ETX57\n\
+    \\205\SOH\n\
+    \\EOT\EOT\v\STX\SO\DC2\EOT\148\ETX\EOT0\SUB\190\SOH If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.\n\
+    \ To unset the override after the workflow is running, use UpdateWorkflowExecutionOptions.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SO\ACK\DC2\EOT\148\ETX\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SO\SOH\DC2\EOT\148\ETX\ETB*\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SO\ETX\DC2\EOT\148\ETX-/\n\
+    \!\n\
+    \\EOT\EOT\v\STX\SI\DC2\EOT\150\ETX\EOT2\SUB\DC3 Priority metadata\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SI\ACK\DC2\EOT\150\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SI\SOH\DC2\EOT\150\ETX$,\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SI\ETX\DC2\EOT\150\ETX/1\n\
+    \Q\n\
+    \\STX\EOT\f\DC2\ACK\154\ETX\NUL\185\ETX\SOH\SUBC CallbackInfo contains the state of an attached workflow callback.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\154\ETX\b\DC4\n\
+    \8\n\
+    \\EOT\EOT\f\ETX\NUL\DC2\EOT\156\ETX\EOT\GS\SUB* Trigger for when the workflow is closed.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\ETX\NUL\SOH\DC2\EOT\156\ETX\f\SUB\n\
+    \\SO\n\
+    \\EOT\EOT\f\ETX\SOH\DC2\ACK\158\ETX\EOT\162\ETX\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\f\ETX\SOH\SOH\DC2\EOT\158\ETX\f\DC3\n\
+    \\DLE\n\
+    \\ACK\EOT\f\ETX\SOH\b\NUL\DC2\ACK\159\ETX\b\161\ETX\t\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\b\NUL\SOH\DC2\EOT\159\ETX\SO\NAK\n\
+    \\SO\n\
+    \\ACK\EOT\f\ETX\SOH\STX\NUL\DC2\EOT\160\ETX\f/\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\STX\NUL\ACK\DC2\EOT\160\ETX\f\SUB\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\STX\NUL\SOH\DC2\EOT\160\ETX\ESC*\n\
+    \\SI\n\
+    \\a\EOT\f\ETX\SOH\STX\NUL\ETX\DC2\EOT\160\ETX-.\n\
+    \[\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\165\ETX\EOT1\SUBM Information on how this callback should be invoked (e.g. its URL and type).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ACK\DC2\EOT\165\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\165\ETX$,\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\165\ETX/0\n\
+    \*\n\
+    \\EOT\EOT\f\STX\SOH\DC2\EOT\167\ETX\EOT\CAN\SUB\FS Trigger for this callback.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ACK\DC2\EOT\167\ETX\EOT\v\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\SOH\DC2\EOT\167\ETX\f\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\SOH\ETX\DC2\EOT\167\ETX\SYN\ETB\n\
+    \:\n\
+    \\EOT\EOT\f\STX\STX\DC2\EOT\169\ETX\EOT4\SUB, The time when the callback was registered.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ACK\DC2\EOT\169\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\SOH\DC2\EOT\169\ETX\RS/\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\STX\ETX\DC2\EOT\169\ETX23\n\
+    \\f\n\
+    \\EOT\EOT\f\STX\ETX\DC2\EOT\171\ETX\EOT2\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ACK\DC2\EOT\171\ETX\EOT'\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\SOH\DC2\EOT\171\ETX(-\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ETX\ETX\DC2\EOT\171\ETX01\n\
+    \\180\SOH\n\
+    \\EOT\EOT\f\STX\EOT\DC2\EOT\174\ETX\EOT\SYN\SUB\165\SOH The number of attempts made to deliver the callback.\n\
+    \ This number represents a minimum bound since the attempt is incremented after the callback request completes.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ENQ\DC2\EOT\174\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\SOH\DC2\EOT\174\ETX\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\EOT\ETX\DC2\EOT\174\ETX\DC4\NAK\n\
+    \9\n\
+    \\EOT\EOT\f\STX\ENQ\DC2\EOT\177\ETX\EOT=\SUB+ The time when the last attempt completed.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\ACK\DC2\EOT\177\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\SOH\DC2\EOT\177\ETX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ENQ\ETX\DC2\EOT\177\ETX;<\n\
+    \3\n\
+    \\EOT\EOT\f\STX\ACK\DC2\EOT\179\ETX\EOT=\SUB% The last attempt's failure, if any.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\ACK\DC2\EOT\179\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\SOH\DC2\EOT\179\ETX$8\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\ACK\ETX\DC2\EOT\179\ETX;<\n\
+    \<\n\
+    \\EOT\EOT\f\STX\a\DC2\EOT\181\ETX\EOT=\SUB. The time when the next attempt is scheduled.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\ACK\DC2\EOT\181\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\SOH\DC2\EOT\181\ETX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\a\ETX\DC2\EOT\181\ETX;<\n\
+    \X\n\
+    \\EOT\EOT\f\STX\b\DC2\EOT\184\ETX\EOT\RS\SUBJ If the state is BLOCKED, blocked reason provides additional information.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\ENQ\DC2\EOT\184\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\SOH\DC2\EOT\184\ETX\v\EM\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\b\ETX\DC2\EOT\184\ETX\FS\GS\n\
+    \Z\n\
+    \\STX\EOT\r\DC2\ACK\188\ETX\NUL\235\ETX\SOH\SUBL PendingNexusOperationInfo contains the state of a pending Nexus operation.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\188\ETX\b!\n\
+    \V\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\191\ETX\EOT\CAN\SUBH Endpoint name.\n\
+    \ Resolved to a URL via the cluster's endpoint registry.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ENQ\DC2\EOT\191\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\191\ETX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\191\ETX\SYN\ETB\n\
+    \\GS\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\193\ETX\EOT\ETB\SUB\SI Service name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ENQ\DC2\EOT\193\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\193\ETX\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\193\ETX\NAK\SYN\n\
+    \\US\n\
+    \\EOT\EOT\r\STX\STX\DC2\EOT\195\ETX\EOT\EM\SUB\DC1 Operation name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ENQ\DC2\EOT\195\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\195\ETX\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\195\ETX\ETB\CAN\n\
+    \\149\SOH\n\
+    \\EOT\EOT\r\STX\ETX\DC2\EOT\200\ETX\EOT\FS\SUB\134\SOH Operation ID. Only set for asynchronous operations after a successful StartOperation call.\n\
+    \\n\
+    \ Deprecated: Renamed to operation_token.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ENQ\DC2\EOT\200\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\200\ETX\v\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\200\ETX\SUB\ESC\n\
+    \\230\SOH\n\
+    \\EOT\EOT\r\STX\EOT\DC2\EOT\206\ETX\EOT;\SUB\215\SOH Schedule-to-close timeout for this operation.\n\
+    \ This is the only timeout settable by a workflow.\n\
+    \ (-- api-linter: core::0140::prepositions=disabled\n\
+    \     aip.dev/not-precedent: \"to\" is used to indicate interval. --)\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ACK\DC2\EOT\206\ETX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\SOH\DC2\EOT\206\ETX\GS6\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\EOT\ETX\DC2\EOT\206\ETX9:\n\
+    \:\n\
+    \\EOT\EOT\r\STX\ENQ\DC2\EOT\209\ETX\EOT1\SUB, The time when the operation was scheduled.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ACK\DC2\EOT\209\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\SOH\DC2\EOT\209\ETX\RS,\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ENQ\ETX\DC2\EOT\209\ETX/0\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\ACK\DC2\EOT\211\ETX\EOT?\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\ACK\DC2\EOT\211\ETX\EOT4\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\SOH\DC2\EOT\211\ETX5:\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ACK\ETX\DC2\EOT\211\ETX=>\n\
+    \\186\SOH\n\
+    \\EOT\EOT\r\STX\a\DC2\EOT\215\ETX\EOT\SYN\SUB\171\SOH The number of attempts made to deliver the start operation request.\n\
+    \ This number represents a minimum bound since the attempt is incremented after the request completes.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\a\ENQ\DC2\EOT\215\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\a\SOH\DC2\EOT\215\ETX\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\a\ETX\DC2\EOT\215\ETX\DC4\NAK\n\
+    \9\n\
+    \\EOT\EOT\r\STX\b\DC2\EOT\218\ETX\EOT=\SUB+ The time when the last attempt completed.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\b\ACK\DC2\EOT\218\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\b\SOH\DC2\EOT\218\ETX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\b\ETX\DC2\EOT\218\ETX;<\n\
+    \3\n\
+    \\EOT\EOT\r\STX\t\DC2\EOT\220\ETX\EOT>\SUB% The last attempt's failure, if any.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\t\ACK\DC2\EOT\220\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\t\SOH\DC2\EOT\220\ETX$8\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\t\ETX\DC2\EOT\220\ETX;=\n\
+    \<\n\
+    \\EOT\EOT\r\STX\n\
+    \\DC2\EOT\222\ETX\EOT>\SUB. The time when the next attempt is scheduled.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\n\
+    \\ACK\DC2\EOT\222\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\n\
+    \\SOH\DC2\EOT\222\ETX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\n\
+    \\ETX\DC2\EOT\222\ETX;=\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\v\DC2\EOT\224\ETX\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\v\ACK\DC2\EOT\224\ETX\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\v\SOH\DC2\EOT\224\ETX#4\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\v\ETX\DC2\EOT\224\ETX79\n\
+    \\171\SOH\n\
+    \\EOT\EOT\r\STX\f\DC2\EOT\228\ETX\EOT\"\SUB\156\SOH The event ID of the NexusOperationScheduled event. Can be used to correlate an operation in the\n\
+    \ DescribeWorkflowExecution response with workflow history.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\f\ENQ\DC2\EOT\228\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\f\SOH\DC2\EOT\228\ETX\n\
+    \\FS\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\f\ETX\DC2\EOT\228\ETX\US!\n\
+    \X\n\
+    \\EOT\EOT\r\STX\r\DC2\EOT\231\ETX\EOT\US\SUBJ If the state is BLOCKED, blocked reason provides additional information.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\r\ENQ\DC2\EOT\231\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\r\SOH\DC2\EOT\231\ETX\v\EM\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\r\ETX\DC2\EOT\231\ETX\FS\RS\n\
+    \m\n\
+    \\EOT\EOT\r\STX\SO\DC2\EOT\234\ETX\EOT \SUB_ Operation token. Only set for asynchronous operations after a successful StartOperation call.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SO\ENQ\DC2\EOT\234\ETX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SO\SOH\DC2\EOT\234\ETX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SO\ETX\DC2\EOT\234\ETX\GS\US\n\
+    \d\n\
+    \\STX\EOT\SO\DC2\ACK\238\ETX\NUL\129\EOT\SOH\SUBV NexusOperationCancellationInfo contains the state of a nexus operation cancellation.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\238\ETX\b&\n\
+    \9\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\240\ETX\EOT1\SUB+ The time when cancellation was requested.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ACK\DC2\EOT\240\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\240\ETX\RS,\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\240\ETX/0\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\EOT\242\ETX\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ACK\DC2\EOT\242\ETX\EOT9\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\242\ETX:?\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\242\ETXBC\n\
+    \\187\SOH\n\
+    \\EOT\EOT\SO\STX\STX\DC2\EOT\246\ETX\EOT\SYN\SUB\172\SOH The number of attempts made to deliver the cancel operation request.\n\
+    \ This number represents a minimum bound since the attempt is incremented after the request completes.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ENQ\DC2\EOT\246\ETX\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\SOH\DC2\EOT\246\ETX\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ETX\DC2\EOT\246\ETX\DC4\NAK\n\
+    \9\n\
+    \\EOT\EOT\SO\STX\ETX\DC2\EOT\249\ETX\EOT=\SUB+ The time when the last attempt completed.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ACK\DC2\EOT\249\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\SOH\DC2\EOT\249\ETX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ETX\DC2\EOT\249\ETX;<\n\
+    \3\n\
+    \\EOT\EOT\SO\STX\EOT\DC2\EOT\251\ETX\EOT=\SUB% The last attempt's failure, if any.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\ACK\DC2\EOT\251\ETX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\SOH\DC2\EOT\251\ETX$8\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\ETX\DC2\EOT\251\ETX;<\n\
+    \<\n\
+    \\EOT\EOT\SO\STX\ENQ\DC2\EOT\253\ETX\EOT=\SUB. The time when the next attempt is scheduled.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ACK\DC2\EOT\253\ETX\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\SOH\DC2\EOT\253\ETX\RS8\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ETX\DC2\EOT\253\ETX;<\n\
+    \X\n\
+    \\EOT\EOT\SO\STX\ACK\DC2\EOT\128\EOT\EOT\RS\SUBJ If the state is BLOCKED, blocked reason provides additional information.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\ENQ\DC2\EOT\128\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\SOH\DC2\EOT\128\EOT\v\EM\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\ETX\DC2\EOT\128\EOT\FS\GS\n\
+    \\f\n\
+    \\STX\EOT\SI\DC2\ACK\131\EOT\NUL\134\EOT\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\131\EOT\b \n\
+    \r\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\133\EOT\EOT/\SUBd If set, takes precedence over the Versioning Behavior sent by the SDK on Workflow Task completion.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ACK\DC2\EOT\133\EOT\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\133\EOT\ETB*\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\133\EOT-.\n\
+    \\166\ETX\n\
+    \\STX\EOT\DLE\DC2\ACK\141\EOT\NUL\154\EOT\SOH\SUB\151\ETX Used to override the versioning behavior (and pinned deployment version, if applicable) of a\n\
+    \ specific workflow execution. If set, takes precedence over the worker-sent values. See\n\
+    \ `WorkflowExecutionInfo.VersioningInfo` for more information. To remove the override, call\n\
+    \ `UpdateWorkflowExecutionOptions` with a null `VersioningOverride`, and use the `update_mask`\n\
+    \ to indicate that it should be mutated.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\141\EOT\b\SUB\n\
+    \\EM\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\143\EOT\EOT:\SUB\v Required.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ACK\DC2\EOT\143\EOT\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\143\EOT-5\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\143\EOT89\n\
+    \\187\SOH\n\
+    \\EOT\EOT\DLE\STX\SOH\DC2\EOT\148\EOT\EOTM\SUB\172\SOH Required if behavior is `PINNED`. Must be null if behavior is `AUTO_UPGRADE`.\n\
+    \ Identifies the worker deployment to pin the workflow to.\n\
+    \ Deprecated. Use `pinned_version`.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ACK\DC2\EOT\148\EOT\EOT)\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\148\EOT*4\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\148\EOT78\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\b\DC2\EOT\148\EOT9L\n\
+    \\SO\n\
+    \\ACK\EOT\DLE\STX\SOH\b\ETX\DC2\EOT\148\EOT:K\n\
+    \\207\SOH\n\
+    \\EOT\EOT\DLE\STX\STX\DC2\EOT\153\EOT\EOT\RS\SUB\192\SOH Required if behavior is `PINNED`. Must be absent if behavior is not `PINNED`.\n\
+    \ Identifies the worker deployment version to pin the workflow to, in the format\n\
+    \ \"<deployment_name>.<build_id>\".\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\ENQ\DC2\EOT\153\EOT\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\SOH\DC2\EOT\153\EOT\v\EM\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\ETX\DC2\EOT\153\EOT\FS\GS\n\
+    \\137\ETX\n\
+    \\STX\EOT\DC1\DC2\ACK\160\EOT\NUL\167\EOT\SOH\SUB\250\STX When StartWorkflowExecution uses the conflict policy WORKFLOW_ID_CONFLICT_POLICY_USE_EXISTING and\n\
+    \ there is already an existing running workflow, OnConflictOptions defines actions to be taken on\n\
+    \ the existing running workflow. In this case, it will create a WorkflowExecutionOptionsUpdatedEvent\n\
+    \ history event in the running workflow with the changes requested in this object.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\160\EOT\b\EM\n\
+    \@\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\162\EOT\EOT\US\SUB2 Attaches the request ID to the running workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ENQ\DC2\EOT\162\EOT\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\162\EOT\t\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\162\EOT\GS\RS\n\
+    \J\n\
+    \\EOT\EOT\DC1\STX\SOH\DC2\EOT\164\EOT\EOT)\SUB< Attaches the completion callbacks to the running workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ENQ\DC2\EOT\164\EOT\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\164\EOT\t$\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\164\EOT'(\n\
+    \]\n\
+    \\EOT\EOT\DC1\STX\STX\DC2\EOT\166\EOT\EOT\SUB\SUBO Attaches the links to the WorkflowExecutionOptionsUpdatedEvent history event.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ENQ\DC2\EOT\166\EOT\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\166\EOT\t\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\166\EOT\CAN\EMb\ACKproto3"
diff --git a/src/Proto/Temporal/Api/Workflow/V1/Message_Fields.hs b/src/Proto/Temporal/Api/Workflow/V1/Message_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Workflow/V1/Message_Fields.hs
@@ -0,0 +1,1127 @@
+{- This file was auto-generated from temporal/api/workflow/v1/message.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Workflow.V1.Message_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+assignedBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "assignedBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+assignedBuildId = Data.ProtoLens.Field.field @"assignedBuildId"
+attachCompletionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "attachCompletionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+attachCompletionCallbacks
+  = Data.ProtoLens.Field.field @"attachCompletionCallbacks"
+attachLinks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "attachLinks" a) =>
+  Lens.Family2.LensLike' f s a
+attachLinks = Data.ProtoLens.Field.field @"attachLinks"
+attachRequestId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "attachRequestId" a) =>
+  Lens.Family2.LensLike' f s a
+attachRequestId = Data.ProtoLens.Field.field @"attachRequestId"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+autoResetPoints ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "autoResetPoints" a) =>
+  Lens.Family2.LensLike' f s a
+autoResetPoints = Data.ProtoLens.Field.field @"autoResetPoints"
+behavior ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "behavior" a) =>
+  Lens.Family2.LensLike' f s a
+behavior = Data.ProtoLens.Field.field @"behavior"
+binaryChecksum ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "binaryChecksum" a) =>
+  Lens.Family2.LensLike' f s a
+binaryChecksum = Data.ProtoLens.Field.field @"binaryChecksum"
+blockedReason ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "blockedReason" a) =>
+  Lens.Family2.LensLike' f s a
+blockedReason = Data.ProtoLens.Field.field @"blockedReason"
+buildId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "buildId" a) =>
+  Lens.Family2.LensLike' f s a
+buildId = Data.ProtoLens.Field.field @"buildId"
+callback ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "callback" a) =>
+  Lens.Family2.LensLike' f s a
+callback = Data.ProtoLens.Field.field @"callback"
+cancelRequested ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelRequested" a) =>
+  Lens.Family2.LensLike' f s a
+cancelRequested = Data.ProtoLens.Field.field @"cancelRequested"
+cancellationInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancellationInfo" a) =>
+  Lens.Family2.LensLike' f s a
+cancellationInfo = Data.ProtoLens.Field.field @"cancellationInfo"
+closeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "closeTime" a) =>
+  Lens.Family2.LensLike' f s a
+closeTime = Data.ProtoLens.Field.field @"closeTime"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+cronSchedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronSchedule" a) =>
+  Lens.Family2.LensLike' f s a
+cronSchedule = Data.ProtoLens.Field.field @"cronSchedule"
+currentRetryInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentRetryInterval" a) =>
+  Lens.Family2.LensLike' f s a
+currentRetryInterval
+  = Data.ProtoLens.Field.field @"currentRetryInterval"
+defaultWorkflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "defaultWorkflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+defaultWorkflowTaskTimeout
+  = Data.ProtoLens.Field.field @"defaultWorkflowTaskTimeout"
+deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deployment" a) =>
+  Lens.Family2.LensLike' f s a
+deployment = Data.ProtoLens.Field.field @"deployment"
+deploymentTransition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentTransition" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentTransition
+  = Data.ProtoLens.Field.field @"deploymentTransition"
+endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+endpoint = Data.ProtoLens.Field.field @"endpoint"
+execution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "execution" a) =>
+  Lens.Family2.LensLike' f s a
+execution = Data.ProtoLens.Field.field @"execution"
+executionDuration ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "executionDuration" a) =>
+  Lens.Family2.LensLike' f s a
+executionDuration = Data.ProtoLens.Field.field @"executionDuration"
+executionExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "executionExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+executionExpirationTime
+  = Data.ProtoLens.Field.field @"executionExpirationTime"
+executionTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "executionTime" a) =>
+  Lens.Family2.LensLike' f s a
+executionTime = Data.ProtoLens.Field.field @"executionTime"
+expirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "expirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+expirationTime = Data.ProtoLens.Field.field @"expirationTime"
+expireTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "expireTime" a) =>
+  Lens.Family2.LensLike' f s a
+expireTime = Data.ProtoLens.Field.field @"expireTime"
+firstRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstRunId" a) =>
+  Lens.Family2.LensLike' f s a
+firstRunId = Data.ProtoLens.Field.field @"firstRunId"
+firstWorkflowTaskCompletedId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstWorkflowTaskCompletedId" a) =>
+  Lens.Family2.LensLike' f s a
+firstWorkflowTaskCompletedId
+  = Data.ProtoLens.Field.field @"firstWorkflowTaskCompletedId"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+heartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatDetails = Data.ProtoLens.Field.field @"heartbeatDetails"
+historyLength ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyLength" a) =>
+  Lens.Family2.LensLike' f s a
+historyLength = Data.ProtoLens.Field.field @"historyLength"
+historySizeBytes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historySizeBytes" a) =>
+  Lens.Family2.LensLike' f s a
+historySizeBytes = Data.ProtoLens.Field.field @"historySizeBytes"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+inheritedBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "inheritedBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+inheritedBuildId = Data.ProtoLens.Field.field @"inheritedBuildId"
+initiatedId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initiatedId" a) =>
+  Lens.Family2.LensLike' f s a
+initiatedId = Data.ProtoLens.Field.field @"initiatedId"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+lastAttemptCompleteTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastAttemptCompleteTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastAttemptCompleteTime
+  = Data.ProtoLens.Field.field @"lastAttemptCompleteTime"
+lastAttemptFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastAttemptFailure" a) =>
+  Lens.Family2.LensLike' f s a
+lastAttemptFailure
+  = Data.ProtoLens.Field.field @"lastAttemptFailure"
+lastDeployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastDeployment" a) =>
+  Lens.Family2.LensLike' f s a
+lastDeployment = Data.ProtoLens.Field.field @"lastDeployment"
+lastFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastFailure" a) =>
+  Lens.Family2.LensLike' f s a
+lastFailure = Data.ProtoLens.Field.field @"lastFailure"
+lastHeartbeatTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastHeartbeatTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastHeartbeatTime = Data.ProtoLens.Field.field @"lastHeartbeatTime"
+lastIndependentlyAssignedBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastIndependentlyAssignedBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+lastIndependentlyAssignedBuildId
+  = Data.ProtoLens.Field.field @"lastIndependentlyAssignedBuildId"
+lastResetTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastResetTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastResetTime = Data.ProtoLens.Field.field @"lastResetTime"
+lastStartedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastStartedTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastStartedTime = Data.ProtoLens.Field.field @"lastStartedTime"
+lastWorkerDeploymentVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastWorkerDeploymentVersion" a) =>
+  Lens.Family2.LensLike' f s a
+lastWorkerDeploymentVersion
+  = Data.ProtoLens.Field.field @"lastWorkerDeploymentVersion"
+lastWorkerIdentity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastWorkerIdentity" a) =>
+  Lens.Family2.LensLike' f s a
+lastWorkerIdentity
+  = Data.ProtoLens.Field.field @"lastWorkerIdentity"
+lastWorkerVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastWorkerVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+lastWorkerVersionStamp
+  = Data.ProtoLens.Field.field @"lastWorkerVersionStamp"
+manual ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "manual" a) =>
+  Lens.Family2.LensLike' f s a
+manual = Data.ProtoLens.Field.field @"manual"
+maximumAttempts ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maximumAttempts" a) =>
+  Lens.Family2.LensLike' f s a
+maximumAttempts = Data.ProtoLens.Field.field @"maximumAttempts"
+maybe'activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityType
+  = Data.ProtoLens.Field.field @"maybe'activityType"
+maybe'assignedBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'assignedBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'assignedBuildId
+  = Data.ProtoLens.Field.field @"maybe'assignedBuildId"
+maybe'autoResetPoints ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'autoResetPoints" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'autoResetPoints
+  = Data.ProtoLens.Field.field @"maybe'autoResetPoints"
+maybe'callback ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'callback" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'callback = Data.ProtoLens.Field.field @"maybe'callback"
+maybe'cancellationInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancellationInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancellationInfo
+  = Data.ProtoLens.Field.field @"maybe'cancellationInfo"
+maybe'closeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'closeTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'closeTime = Data.ProtoLens.Field.field @"maybe'closeTime"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'currentRetryInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'currentRetryInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'currentRetryInterval
+  = Data.ProtoLens.Field.field @"maybe'currentRetryInterval"
+maybe'defaultWorkflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'defaultWorkflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'defaultWorkflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'defaultWorkflowTaskTimeout"
+maybe'deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deployment" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deployment = Data.ProtoLens.Field.field @"maybe'deployment"
+maybe'deploymentTransition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deploymentTransition" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deploymentTransition
+  = Data.ProtoLens.Field.field @"maybe'deploymentTransition"
+maybe'execution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'execution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'execution = Data.ProtoLens.Field.field @"maybe'execution"
+maybe'executionDuration ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'executionDuration" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'executionDuration
+  = Data.ProtoLens.Field.field @"maybe'executionDuration"
+maybe'executionExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'executionExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'executionExpirationTime
+  = Data.ProtoLens.Field.field @"maybe'executionExpirationTime"
+maybe'executionTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'executionTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'executionTime
+  = Data.ProtoLens.Field.field @"maybe'executionTime"
+maybe'expirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'expirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'expirationTime
+  = Data.ProtoLens.Field.field @"maybe'expirationTime"
+maybe'expireTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'expireTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'expireTime = Data.ProtoLens.Field.field @"maybe'expireTime"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'heartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatDetails
+  = Data.ProtoLens.Field.field @"maybe'heartbeatDetails"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'lastAttemptCompleteTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastAttemptCompleteTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastAttemptCompleteTime
+  = Data.ProtoLens.Field.field @"maybe'lastAttemptCompleteTime"
+maybe'lastAttemptFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastAttemptFailure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastAttemptFailure
+  = Data.ProtoLens.Field.field @"maybe'lastAttemptFailure"
+maybe'lastDeployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastDeployment" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastDeployment
+  = Data.ProtoLens.Field.field @"maybe'lastDeployment"
+maybe'lastFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastFailure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastFailure = Data.ProtoLens.Field.field @"maybe'lastFailure"
+maybe'lastHeartbeatTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastHeartbeatTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastHeartbeatTime
+  = Data.ProtoLens.Field.field @"maybe'lastHeartbeatTime"
+maybe'lastIndependentlyAssignedBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastIndependentlyAssignedBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastIndependentlyAssignedBuildId
+  = Data.ProtoLens.Field.field
+      @"maybe'lastIndependentlyAssignedBuildId"
+maybe'lastResetTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastResetTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastResetTime
+  = Data.ProtoLens.Field.field @"maybe'lastResetTime"
+maybe'lastStartedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastStartedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastStartedTime
+  = Data.ProtoLens.Field.field @"maybe'lastStartedTime"
+maybe'lastWorkerVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastWorkerVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastWorkerVersionStamp
+  = Data.ProtoLens.Field.field @"maybe'lastWorkerVersionStamp"
+maybe'manual ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'manual" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'manual = Data.ProtoLens.Field.field @"maybe'manual"
+maybe'memo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'memo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'memo = Data.ProtoLens.Field.field @"maybe'memo"
+maybe'mostRecentWorkerVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'mostRecentWorkerVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'mostRecentWorkerVersionStamp
+  = Data.ProtoLens.Field.field @"maybe'mostRecentWorkerVersionStamp"
+maybe'nextAttemptScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'nextAttemptScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'nextAttemptScheduleTime
+  = Data.ProtoLens.Field.field @"maybe'nextAttemptScheduleTime"
+maybe'originalScheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'originalScheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'originalScheduledTime
+  = Data.ProtoLens.Field.field @"maybe'originalScheduledTime"
+maybe'originalStartTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'originalStartTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'originalStartTime
+  = Data.ProtoLens.Field.field @"maybe'originalStartTime"
+maybe'parentExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'parentExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'parentExecution
+  = Data.ProtoLens.Field.field @"maybe'parentExecution"
+maybe'pauseInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'pauseInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'pauseInfo = Data.ProtoLens.Field.field @"maybe'pauseInfo"
+maybe'pauseTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'pauseTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'pauseTime = Data.ProtoLens.Field.field @"maybe'pauseTime"
+maybe'pausedBy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'pausedBy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'pausedBy = Data.ProtoLens.Field.field @"maybe'pausedBy"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'registrationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'registrationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'registrationTime
+  = Data.ProtoLens.Field.field @"maybe'registrationTime"
+maybe'requestedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestedTime
+  = Data.ProtoLens.Field.field @"maybe'requestedTime"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'rootExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rootExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rootExecution
+  = Data.ProtoLens.Field.field @"maybe'rootExecution"
+maybe'ruleId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'ruleId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'ruleId = Data.ProtoLens.Field.field @"maybe'ruleId"
+maybe'runExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'runExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'runExpirationTime
+  = Data.ProtoLens.Field.field @"maybe'runExpirationTime"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduledTime
+  = Data.ProtoLens.Field.field @"maybe'scheduledTime"
+maybe'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'searchAttributes
+  = Data.ProtoLens.Field.field @"maybe'searchAttributes"
+maybe'startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTime = Data.ProtoLens.Field.field @"maybe'startTime"
+maybe'startedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startedTime = Data.ProtoLens.Field.field @"maybe'startedTime"
+maybe'taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueue = Data.ProtoLens.Field.field @"maybe'taskQueue"
+maybe'trigger ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'trigger" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'trigger = Data.ProtoLens.Field.field @"maybe'trigger"
+maybe'type' ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'type'" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'type' = Data.ProtoLens.Field.field @"maybe'type'"
+maybe'useWorkflowBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'useWorkflowBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'useWorkflowBuildId
+  = Data.ProtoLens.Field.field @"maybe'useWorkflowBuildId"
+maybe'userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'userMetadata
+  = Data.ProtoLens.Field.field @"maybe'userMetadata"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+maybe'versionTransition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versionTransition" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versionTransition
+  = Data.ProtoLens.Field.field @"maybe'versionTransition"
+maybe'versioningInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versioningInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versioningInfo
+  = Data.ProtoLens.Field.field @"maybe'versioningInfo"
+maybe'versioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versioningOverride
+  = Data.ProtoLens.Field.field @"maybe'versioningOverride"
+maybe'workflowClosed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowClosed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowClosed
+  = Data.ProtoLens.Field.field @"maybe'workflowClosed"
+maybe'workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout"
+maybe'workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowRunTimeout"
+maybe'workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout"
+maybe'workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowType
+  = Data.ProtoLens.Field.field @"maybe'workflowType"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+mostRecentWorkerVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "mostRecentWorkerVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+mostRecentWorkerVersionStamp
+  = Data.ProtoLens.Field.field @"mostRecentWorkerVersionStamp"
+nextAttemptScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nextAttemptScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+nextAttemptScheduleTime
+  = Data.ProtoLens.Field.field @"nextAttemptScheduleTime"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+operationId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationId" a) =>
+  Lens.Family2.LensLike' f s a
+operationId = Data.ProtoLens.Field.field @"operationId"
+operationToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationToken" a) =>
+  Lens.Family2.LensLike' f s a
+operationToken = Data.ProtoLens.Field.field @"operationToken"
+originalScheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "originalScheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+originalScheduledTime
+  = Data.ProtoLens.Field.field @"originalScheduledTime"
+originalStartTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "originalStartTime" a) =>
+  Lens.Family2.LensLike' f s a
+originalStartTime = Data.ProtoLens.Field.field @"originalStartTime"
+parentClosePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentClosePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+parentClosePolicy = Data.ProtoLens.Field.field @"parentClosePolicy"
+parentExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentExecution" a) =>
+  Lens.Family2.LensLike' f s a
+parentExecution = Data.ProtoLens.Field.field @"parentExecution"
+parentNamespaceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentNamespaceId" a) =>
+  Lens.Family2.LensLike' f s a
+parentNamespaceId = Data.ProtoLens.Field.field @"parentNamespaceId"
+pauseInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pauseInfo" a) =>
+  Lens.Family2.LensLike' f s a
+pauseInfo = Data.ProtoLens.Field.field @"pauseInfo"
+pauseTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pauseTime" a) =>
+  Lens.Family2.LensLike' f s a
+pauseTime = Data.ProtoLens.Field.field @"pauseTime"
+paused ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "paused" a) =>
+  Lens.Family2.LensLike' f s a
+paused = Data.ProtoLens.Field.field @"paused"
+pinnedVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pinnedVersion" a) =>
+  Lens.Family2.LensLike' f s a
+pinnedVersion = Data.ProtoLens.Field.field @"pinnedVersion"
+points ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "points" a) =>
+  Lens.Family2.LensLike' f s a
+points = Data.ProtoLens.Field.field @"points"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+registrationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "registrationTime" a) =>
+  Lens.Family2.LensLike' f s a
+registrationTime = Data.ProtoLens.Field.field @"registrationTime"
+requestedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestedTime" a) =>
+  Lens.Family2.LensLike' f s a
+requestedTime = Data.ProtoLens.Field.field @"requestedTime"
+resetRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetRunId" a) =>
+  Lens.Family2.LensLike' f s a
+resetRunId = Data.ProtoLens.Field.field @"resetRunId"
+resettable ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resettable" a) =>
+  Lens.Family2.LensLike' f s a
+resettable = Data.ProtoLens.Field.field @"resettable"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+rootExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rootExecution" a) =>
+  Lens.Family2.LensLike' f s a
+rootExecution = Data.ProtoLens.Field.field @"rootExecution"
+ruleId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "ruleId" a) =>
+  Lens.Family2.LensLike' f s a
+ruleId = Data.ProtoLens.Field.field @"ruleId"
+runExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "runExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+runExpirationTime = Data.ProtoLens.Field.field @"runExpirationTime"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduledEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledEventId" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledEventId = Data.ProtoLens.Field.field @"scheduledEventId"
+scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledTime = Data.ProtoLens.Field.field @"scheduledTime"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTime" a) =>
+  Lens.Family2.LensLike' f s a
+startTime = Data.ProtoLens.Field.field @"startTime"
+startedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedTime" a) =>
+  Lens.Family2.LensLike' f s a
+startedTime = Data.ProtoLens.Field.field @"startedTime"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+stateTransitionCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "stateTransitionCount" a) =>
+  Lens.Family2.LensLike' f s a
+stateTransitionCount
+  = Data.ProtoLens.Field.field @"stateTransitionCount"
+status ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "status" a) =>
+  Lens.Family2.LensLike' f s a
+status = Data.ProtoLens.Field.field @"status"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+trigger ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "trigger" a) =>
+  Lens.Family2.LensLike' f s a
+trigger = Data.ProtoLens.Field.field @"trigger"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+useWorkflowBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "useWorkflowBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+useWorkflowBuildId
+  = Data.ProtoLens.Field.field @"useWorkflowBuildId"
+userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+userMetadata = Data.ProtoLens.Field.field @"userMetadata"
+vec'points ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'points" a) =>
+  Lens.Family2.LensLike' f s a
+vec'points = Data.ProtoLens.Field.field @"vec'points"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
+versionTransition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versionTransition" a) =>
+  Lens.Family2.LensLike' f s a
+versionTransition = Data.ProtoLens.Field.field @"versionTransition"
+versioningInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningInfo" a) =>
+  Lens.Family2.LensLike' f s a
+versioningInfo = Data.ProtoLens.Field.field @"versioningInfo"
+versioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+versioningOverride
+  = Data.ProtoLens.Field.field @"versioningOverride"
+workerDeploymentName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerDeploymentName" a) =>
+  Lens.Family2.LensLike' f s a
+workerDeploymentName
+  = Data.ProtoLens.Field.field @"workerDeploymentName"
+workflowClosed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowClosed" a) =>
+  Lens.Family2.LensLike' f s a
+workflowClosed = Data.ProtoLens.Field.field @"workflowClosed"
+workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"workflowExecutionTimeout"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowIdReusePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowIdReusePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+workflowIdReusePolicy
+  = Data.ProtoLens.Field.field @"workflowIdReusePolicy"
+workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowRunTimeout
+  = Data.ProtoLens.Field.field @"workflowRunTimeout"
+workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"workflowTaskTimeout"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
+workflowTypeName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTypeName" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTypeName = Data.ProtoLens.Field.field @"workflowTypeName"
diff --git a/src/Proto/Temporal/Api/Workflowservice/V1/RequestResponse.hs b/src/Proto/Temporal/Api/Workflowservice/V1/RequestResponse.hs
new file mode 100644
# file too large to diff: src/Proto/Temporal/Api/Workflowservice/V1/RequestResponse.hs
diff --git a/src/Proto/Temporal/Api/Workflowservice/V1/RequestResponse_Fields.hs b/src/Proto/Temporal/Api/Workflowservice/V1/RequestResponse_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Workflowservice/V1/RequestResponse_Fields.hs
@@ -0,0 +1,2846 @@
+{- This file was auto-generated from temporal/api/workflowservice/v1/request_response.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Workflowservice.V1.RequestResponse_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.FieldMask
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Activity.V1.Message
+import qualified Proto.Temporal.Api.Batch.V1.Message
+import qualified Proto.Temporal.Api.Command.V1.Message
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Deployment.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.BatchOperation
+import qualified Proto.Temporal.Api.Enums.V1.Common
+import qualified Proto.Temporal.Api.Enums.V1.Deployment
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Namespace
+import qualified Proto.Temporal.Api.Enums.V1.Query
+import qualified Proto.Temporal.Api.Enums.V1.Reset
+import qualified Proto.Temporal.Api.Enums.V1.TaskQueue
+import qualified Proto.Temporal.Api.Enums.V1.Update
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Filter.V1.Message
+import qualified Proto.Temporal.Api.History.V1.Message
+import qualified Proto.Temporal.Api.Namespace.V1.Message
+import qualified Proto.Temporal.Api.Nexus.V1.Message
+import qualified Proto.Temporal.Api.Protocol.V1.Message
+import qualified Proto.Temporal.Api.Query.V1.Message
+import qualified Proto.Temporal.Api.Replication.V1.Message
+import qualified Proto.Temporal.Api.Rules.V1.Message
+import qualified Proto.Temporal.Api.Schedule.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Api.Taskqueue.V1.Message
+import qualified Proto.Temporal.Api.Update.V1.Message
+import qualified Proto.Temporal.Api.Version.V1.Message
+import qualified Proto.Temporal.Api.Workflow.V1.Message
+activeClusterName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activeClusterName" a) =>
+  Lens.Family2.LensLike' f s a
+activeClusterName = Data.ProtoLens.Field.field @"activeClusterName"
+activityFailureIncludeHeartbeat ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityFailureIncludeHeartbeat" a) =>
+  Lens.Family2.LensLike' f s a
+activityFailureIncludeHeartbeat
+  = Data.ProtoLens.Field.field @"activityFailureIncludeHeartbeat"
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityOptions" a) =>
+  Lens.Family2.LensLike' f s a
+activityOptions = Data.ProtoLens.Field.field @"activityOptions"
+activityPaused ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityPaused" a) =>
+  Lens.Family2.LensLike' f s a
+activityPaused = Data.ProtoLens.Field.field @"activityPaused"
+activityTaskQueuePartitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTaskQueuePartitions" a) =>
+  Lens.Family2.LensLike' f s a
+activityTaskQueuePartitions
+  = Data.ProtoLens.Field.field @"activityTaskQueuePartitions"
+activityTasks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityTasks" a) =>
+  Lens.Family2.LensLike' f s a
+activityTasks = Data.ProtoLens.Field.field @"activityTasks"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+addCompatibleRedirectRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "addCompatibleRedirectRule" a) =>
+  Lens.Family2.LensLike' f s a
+addCompatibleRedirectRule
+  = Data.ProtoLens.Field.field @"addCompatibleRedirectRule"
+addNewBuildIdInNewDefaultSet ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "addNewBuildIdInNewDefaultSet" a) =>
+  Lens.Family2.LensLike' f s a
+addNewBuildIdInNewDefaultSet
+  = Data.ProtoLens.Field.field @"addNewBuildIdInNewDefaultSet"
+addNewCompatibleBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "addNewCompatibleBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+addNewCompatibleBuildId
+  = Data.ProtoLens.Field.field @"addNewCompatibleBuildId"
+apiMode ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "apiMode" a) =>
+  Lens.Family2.LensLike' f s a
+apiMode = Data.ProtoLens.Field.field @"apiMode"
+applied ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "applied" a) =>
+  Lens.Family2.LensLike' f s a
+applied = Data.ProtoLens.Field.field @"applied"
+archived ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "archived" a) =>
+  Lens.Family2.LensLike' f s a
+archived = Data.ProtoLens.Field.field @"archived"
+assignmentRules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "assignmentRules" a) =>
+  Lens.Family2.LensLike' f s a
+assignmentRules = Data.ProtoLens.Field.field @"assignmentRules"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+backlogCountHint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backlogCountHint" a) =>
+  Lens.Family2.LensLike' f s a
+backlogCountHint = Data.ProtoLens.Field.field @"backlogCountHint"
+binaryChecksum ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "binaryChecksum" a) =>
+  Lens.Family2.LensLike' f s a
+binaryChecksum = Data.ProtoLens.Field.field @"binaryChecksum"
+buildIdBasedVersioning ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "buildIdBasedVersioning" a) =>
+  Lens.Family2.LensLike' f s a
+buildIdBasedVersioning
+  = Data.ProtoLens.Field.field @"buildIdBasedVersioning"
+buildIdReachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "buildIdReachability" a) =>
+  Lens.Family2.LensLike' f s a
+buildIdReachability
+  = Data.ProtoLens.Field.field @"buildIdReachability"
+buildIds ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "buildIds" a) =>
+  Lens.Family2.LensLike' f s a
+buildIds = Data.ProtoLens.Field.field @"buildIds"
+callbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "callbacks" a) =>
+  Lens.Family2.LensLike' f s a
+callbacks = Data.ProtoLens.Field.field @"callbacks"
+cancelRequested ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelRequested" a) =>
+  Lens.Family2.LensLike' f s a
+cancelRequested = Data.ProtoLens.Field.field @"cancelRequested"
+cancellationOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancellationOperation" a) =>
+  Lens.Family2.LensLike' f s a
+cancellationOperation
+  = Data.ProtoLens.Field.field @"cancellationOperation"
+capabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "capabilities" a) =>
+  Lens.Family2.LensLike' f s a
+capabilities = Data.ProtoLens.Field.field @"capabilities"
+cause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "cause" a) =>
+  Lens.Family2.LensLike' f s a
+cause = Data.ProtoLens.Field.field @"cause"
+closeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "closeTime" a) =>
+  Lens.Family2.LensLike' f s a
+closeTime = Data.ProtoLens.Field.field @"closeTime"
+clusterId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusterId" a) =>
+  Lens.Family2.LensLike' f s a
+clusterId = Data.ProtoLens.Field.field @"clusterId"
+clusterName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusterName" a) =>
+  Lens.Family2.LensLike' f s a
+clusterName = Data.ProtoLens.Field.field @"clusterName"
+clusters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "clusters" a) =>
+  Lens.Family2.LensLike' f s a
+clusters = Data.ProtoLens.Field.field @"clusters"
+commands ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "commands" a) =>
+  Lens.Family2.LensLike' f s a
+commands = Data.ProtoLens.Field.field @"commands"
+commitBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "commitBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+commitBuildId = Data.ProtoLens.Field.field @"commitBuildId"
+compatibleRedirectRules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "compatibleRedirectRules" a) =>
+  Lens.Family2.LensLike' f s a
+compatibleRedirectRules
+  = Data.ProtoLens.Field.field @"compatibleRedirectRules"
+completeOperationCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completeOperationCount" a) =>
+  Lens.Family2.LensLike' f s a
+completeOperationCount
+  = Data.ProtoLens.Field.field @"completeOperationCount"
+completedType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completedType" a) =>
+  Lens.Family2.LensLike' f s a
+completedType = Data.ProtoLens.Field.field @"completedType"
+completionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+completionCallbacks
+  = Data.ProtoLens.Field.field @"completionCallbacks"
+config ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "config" a) =>
+  Lens.Family2.LensLike' f s a
+config = Data.ProtoLens.Field.field @"config"
+conflictToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "conflictToken" a) =>
+  Lens.Family2.LensLike' f s a
+conflictToken = Data.ProtoLens.Field.field @"conflictToken"
+continuedFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continuedFailure" a) =>
+  Lens.Family2.LensLike' f s a
+continuedFailure = Data.ProtoLens.Field.field @"continuedFailure"
+control ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "control" a) =>
+  Lens.Family2.LensLike' f s a
+control = Data.ProtoLens.Field.field @"control"
+count ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "count" a) =>
+  Lens.Family2.LensLike' f s a
+count = Data.ProtoLens.Field.field @"count"
+countGroupByExecutionStatus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "countGroupByExecutionStatus" a) =>
+  Lens.Family2.LensLike' f s a
+countGroupByExecutionStatus
+  = Data.ProtoLens.Field.field @"countGroupByExecutionStatus"
+createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "createTime" a) =>
+  Lens.Family2.LensLike' f s a
+createTime = Data.ProtoLens.Field.field @"createTime"
+cronSchedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronSchedule" a) =>
+  Lens.Family2.LensLike' f s a
+cronSchedule = Data.ProtoLens.Field.field @"cronSchedule"
+currentAttemptScheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentAttemptScheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+currentAttemptScheduledTime
+  = Data.ProtoLens.Field.field @"currentAttemptScheduledTime"
+currentDeploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentDeploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+currentDeploymentInfo
+  = Data.ProtoLens.Field.field @"currentDeploymentInfo"
+data' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "data'" a) =>
+  Lens.Family2.LensLike' f s a
+data' = Data.ProtoLens.Field.field @"data'"
+deleteAssignmentRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deleteAssignmentRule" a) =>
+  Lens.Family2.LensLike' f s a
+deleteAssignmentRule
+  = Data.ProtoLens.Field.field @"deleteAssignmentRule"
+deleteBadBinary ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deleteBadBinary" a) =>
+  Lens.Family2.LensLike' f s a
+deleteBadBinary = Data.ProtoLens.Field.field @"deleteBadBinary"
+deleteCompatibleRedirectRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deleteCompatibleRedirectRule" a) =>
+  Lens.Family2.LensLike' f s a
+deleteCompatibleRedirectRule
+  = Data.ProtoLens.Field.field @"deleteCompatibleRedirectRule"
+deletionOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deletionOperation" a) =>
+  Lens.Family2.LensLike' f s a
+deletionOperation = Data.ProtoLens.Field.field @"deletionOperation"
+deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deployment" a) =>
+  Lens.Family2.LensLike' f s a
+deployment = Data.ProtoLens.Field.field @"deployment"
+deploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentInfo = Data.ProtoLens.Field.field @"deploymentInfo"
+deploymentName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentName" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentName = Data.ProtoLens.Field.field @"deploymentName"
+deploymentOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentOptions" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentOptions = Data.ProtoLens.Field.field @"deploymentOptions"
+deployments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deployments" a) =>
+  Lens.Family2.LensLike' f s a
+deployments = Data.ProtoLens.Field.field @"deployments"
+description ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "description" a) =>
+  Lens.Family2.LensLike' f s a
+description = Data.ProtoLens.Field.field @"description"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+discardSpeculativeWorkflowTaskWithEvents ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "discardSpeculativeWorkflowTaskWithEvents" a) =>
+  Lens.Family2.LensLike' f s a
+discardSpeculativeWorkflowTaskWithEvents
+  = Data.ProtoLens.Field.field
+      @"discardSpeculativeWorkflowTaskWithEvents"
+eagerWorkflowStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eagerWorkflowStart" a) =>
+  Lens.Family2.LensLike' f s a
+eagerWorkflowStart
+  = Data.ProtoLens.Field.field @"eagerWorkflowStart"
+eagerWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "eagerWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+eagerWorkflowTask = Data.ProtoLens.Field.field @"eagerWorkflowTask"
+encodedFailureAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "encodedFailureAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+encodedFailureAttributes
+  = Data.ProtoLens.Field.field @"encodedFailureAttributes"
+endTime ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "endTime" a) =>
+  Lens.Family2.LensLike' f s a
+endTime = Data.ProtoLens.Field.field @"endTime"
+error ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "error" a) =>
+  Lens.Family2.LensLike' f s a
+error = Data.ProtoLens.Field.field @"error"
+errorMessage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "errorMessage" a) =>
+  Lens.Family2.LensLike' f s a
+errorMessage = Data.ProtoLens.Field.field @"errorMessage"
+execution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "execution" a) =>
+  Lens.Family2.LensLike' f s a
+execution = Data.ProtoLens.Field.field @"execution"
+executionConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "executionConfig" a) =>
+  Lens.Family2.LensLike' f s a
+executionConfig = Data.ProtoLens.Field.field @"executionConfig"
+executionFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "executionFilter" a) =>
+  Lens.Family2.LensLike' f s a
+executionFilter = Data.ProtoLens.Field.field @"executionFilter"
+executions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "executions" a) =>
+  Lens.Family2.LensLike' f s a
+executions = Data.ProtoLens.Field.field @"executions"
+existingCompatibleBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "existingCompatibleBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+existingCompatibleBuildId
+  = Data.ProtoLens.Field.field @"existingCompatibleBuildId"
+failoverHistory ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failoverHistory" a) =>
+  Lens.Family2.LensLike' f s a
+failoverHistory = Data.ProtoLens.Field.field @"failoverHistory"
+failoverVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failoverVersion" a) =>
+  Lens.Family2.LensLike' f s a
+failoverVersion = Data.ProtoLens.Field.field @"failoverVersion"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+failureOperationCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failureOperationCount" a) =>
+  Lens.Family2.LensLike' f s a
+failureOperationCount
+  = Data.ProtoLens.Field.field @"failureOperationCount"
+failures ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failures" a) =>
+  Lens.Family2.LensLike' f s a
+failures = Data.ProtoLens.Field.field @"failures"
+firstExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+firstExecutionRunId
+  = Data.ProtoLens.Field.field @"firstExecutionRunId"
+force ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "force" a) =>
+  Lens.Family2.LensLike' f s a
+force = Data.ProtoLens.Field.field @"force"
+forceCreateNewWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "forceCreateNewWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+forceCreateNewWorkflowTask
+  = Data.ProtoLens.Field.field @"forceCreateNewWorkflowTask"
+forceScan ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "forceScan" a) =>
+  Lens.Family2.LensLike' f s a
+forceScan = Data.ProtoLens.Field.field @"forceScan"
+groupValues ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "groupValues" a) =>
+  Lens.Family2.LensLike' f s a
+groupValues = Data.ProtoLens.Field.field @"groupValues"
+groups ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "groups" a) =>
+  Lens.Family2.LensLike' f s a
+groups = Data.ProtoLens.Field.field @"groups"
+header ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "header" a) =>
+  Lens.Family2.LensLike' f s a
+header = Data.ProtoLens.Field.field @"header"
+heartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatDetails = Data.ProtoLens.Field.field @"heartbeatDetails"
+heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatTimeout = Data.ProtoLens.Field.field @"heartbeatTimeout"
+history ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "history" a) =>
+  Lens.Family2.LensLike' f s a
+history = Data.ProtoLens.Field.field @"history"
+historyArchivalState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyArchivalState" a) =>
+  Lens.Family2.LensLike' f s a
+historyArchivalState
+  = Data.ProtoLens.Field.field @"historyArchivalState"
+historyArchivalUri ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyArchivalUri" a) =>
+  Lens.Family2.LensLike' f s a
+historyArchivalUri
+  = Data.ProtoLens.Field.field @"historyArchivalUri"
+historyEventFilterType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyEventFilterType" a) =>
+  Lens.Family2.LensLike' f s a
+historyEventFilterType
+  = Data.ProtoLens.Field.field @"historyEventFilterType"
+historyShardCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyShardCount" a) =>
+  Lens.Family2.LensLike' f s a
+historyShardCount = Data.ProtoLens.Field.field @"historyShardCount"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+ignoreMissingTaskQueues ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ignoreMissingTaskQueues" a) =>
+  Lens.Family2.LensLike' f s a
+ignoreMissingTaskQueues
+  = Data.ProtoLens.Field.field @"ignoreMissingTaskQueues"
+includeTaskQueueStatus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "includeTaskQueueStatus" a) =>
+  Lens.Family2.LensLike' f s a
+includeTaskQueueStatus
+  = Data.ProtoLens.Field.field @"includeTaskQueueStatus"
+info ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "info" a) =>
+  Lens.Family2.LensLike' f s a
+info = Data.ProtoLens.Field.field @"info"
+initialPatch ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initialPatch" a) =>
+  Lens.Family2.LensLike' f s a
+initialPatch = Data.ProtoLens.Field.field @"initialPatch"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+insertAssignmentRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "insertAssignmentRule" a) =>
+  Lens.Family2.LensLike' f s a
+insertAssignmentRule
+  = Data.ProtoLens.Field.field @"insertAssignmentRule"
+internalErrorDifferentiation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "internalErrorDifferentiation" a) =>
+  Lens.Family2.LensLike' f s a
+internalErrorDifferentiation
+  = Data.ProtoLens.Field.field @"internalErrorDifferentiation"
+isGlobalNamespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "isGlobalNamespace" a) =>
+  Lens.Family2.LensLike' f s a
+isGlobalNamespace = Data.ProtoLens.Field.field @"isGlobalNamespace"
+jitter ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jitter" a) =>
+  Lens.Family2.LensLike' f s a
+jitter = Data.ProtoLens.Field.field @"jitter"
+jobId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jobId" a) =>
+  Lens.Family2.LensLike' f s a
+jobId = Data.ProtoLens.Field.field @"jobId"
+keepPaused ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "keepPaused" a) =>
+  Lens.Family2.LensLike' f s a
+keepPaused = Data.ProtoLens.Field.field @"keepPaused"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+keys ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "keys" a) =>
+  Lens.Family2.LensLike' f s a
+keys = Data.ProtoLens.Field.field @"keys"
+lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+lastCompletionResult
+  = Data.ProtoLens.Field.field @"lastCompletionResult"
+lastHeartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastHeartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+lastHeartbeatDetails
+  = Data.ProtoLens.Field.field @"lastHeartbeatDetails"
+lastUpdateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastUpdateTime" a) =>
+  Lens.Family2.LensLike' f s a
+lastUpdateTime = Data.ProtoLens.Field.field @"lastUpdateTime"
+links ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "links" a) =>
+  Lens.Family2.LensLike' f s a
+links = Data.ProtoLens.Field.field @"links"
+majorVersionSets ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "majorVersionSets" a) =>
+  Lens.Family2.LensLike' f s a
+majorVersionSets = Data.ProtoLens.Field.field @"majorVersionSets"
+makeSetDefault ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "makeSetDefault" a) =>
+  Lens.Family2.LensLike' f s a
+makeSetDefault = Data.ProtoLens.Field.field @"makeSetDefault"
+maxOperationsPerSecond ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maxOperationsPerSecond" a) =>
+  Lens.Family2.LensLike' f s a
+maxOperationsPerSecond
+  = Data.ProtoLens.Field.field @"maxOperationsPerSecond"
+maxSets ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "maxSets" a) =>
+  Lens.Family2.LensLike' f s a
+maxSets = Data.ProtoLens.Field.field @"maxSets"
+maximumPageSize ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maximumPageSize" a) =>
+  Lens.Family2.LensLike' f s a
+maximumPageSize = Data.ProtoLens.Field.field @"maximumPageSize"
+maybe'activity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activity = Data.ProtoLens.Field.field @"maybe'activity"
+maybe'activityOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityOptions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityOptions
+  = Data.ProtoLens.Field.field @"maybe'activityOptions"
+maybe'activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'activityType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'activityType
+  = Data.ProtoLens.Field.field @"maybe'activityType"
+maybe'addCompatibleRedirectRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'addCompatibleRedirectRule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'addCompatibleRedirectRule
+  = Data.ProtoLens.Field.field @"maybe'addCompatibleRedirectRule"
+maybe'addNewBuildIdInNewDefaultSet ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'addNewBuildIdInNewDefaultSet" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'addNewBuildIdInNewDefaultSet
+  = Data.ProtoLens.Field.field @"maybe'addNewBuildIdInNewDefaultSet"
+maybe'addNewCompatibleBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'addNewCompatibleBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'addNewCompatibleBuildId
+  = Data.ProtoLens.Field.field @"maybe'addNewCompatibleBuildId"
+maybe'cancellationOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancellationOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancellationOperation
+  = Data.ProtoLens.Field.field @"maybe'cancellationOperation"
+maybe'capabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'capabilities" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'capabilities
+  = Data.ProtoLens.Field.field @"maybe'capabilities"
+maybe'closeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'closeTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'closeTime = Data.ProtoLens.Field.field @"maybe'closeTime"
+maybe'commitBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'commitBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'commitBuildId
+  = Data.ProtoLens.Field.field @"maybe'commitBuildId"
+maybe'config ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'config" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'config = Data.ProtoLens.Field.field @"maybe'config"
+maybe'continuedFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'continuedFailure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'continuedFailure
+  = Data.ProtoLens.Field.field @"maybe'continuedFailure"
+maybe'createTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'createTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'createTime = Data.ProtoLens.Field.field @"maybe'createTime"
+maybe'currentAttemptScheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'currentAttemptScheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'currentAttemptScheduledTime
+  = Data.ProtoLens.Field.field @"maybe'currentAttemptScheduledTime"
+maybe'currentDeploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'currentDeploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'currentDeploymentInfo
+  = Data.ProtoLens.Field.field @"maybe'currentDeploymentInfo"
+maybe'deleteAssignmentRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deleteAssignmentRule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deleteAssignmentRule
+  = Data.ProtoLens.Field.field @"maybe'deleteAssignmentRule"
+maybe'deleteCompatibleRedirectRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deleteCompatibleRedirectRule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deleteCompatibleRedirectRule
+  = Data.ProtoLens.Field.field @"maybe'deleteCompatibleRedirectRule"
+maybe'deletionOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deletionOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deletionOperation
+  = Data.ProtoLens.Field.field @"maybe'deletionOperation"
+maybe'deployment ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deployment" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deployment = Data.ProtoLens.Field.field @"maybe'deployment"
+maybe'deploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deploymentInfo
+  = Data.ProtoLens.Field.field @"maybe'deploymentInfo"
+maybe'deploymentOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deploymentOptions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deploymentOptions
+  = Data.ProtoLens.Field.field @"maybe'deploymentOptions"
+maybe'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'details" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'details = Data.ProtoLens.Field.field @"maybe'details"
+maybe'eagerWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'eagerWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'eagerWorkflowTask
+  = Data.ProtoLens.Field.field @"maybe'eagerWorkflowTask"
+maybe'endTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'endTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'endTime = Data.ProtoLens.Field.field @"maybe'endTime"
+maybe'error ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'error" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'error = Data.ProtoLens.Field.field @"maybe'error"
+maybe'execution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'execution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'execution = Data.ProtoLens.Field.field @"maybe'execution"
+maybe'executionConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'executionConfig" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'executionConfig
+  = Data.ProtoLens.Field.field @"maybe'executionConfig"
+maybe'executionFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'executionFilter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'executionFilter
+  = Data.ProtoLens.Field.field @"maybe'executionFilter"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'filters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'filters" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'filters = Data.ProtoLens.Field.field @"maybe'filters"
+maybe'header ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'header" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'header = Data.ProtoLens.Field.field @"maybe'header"
+maybe'heartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatDetails
+  = Data.ProtoLens.Field.field @"maybe'heartbeatDetails"
+maybe'heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatTimeout
+  = Data.ProtoLens.Field.field @"maybe'heartbeatTimeout"
+maybe'history ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'history" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'history = Data.ProtoLens.Field.field @"maybe'history"
+maybe'id ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'id" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'id = Data.ProtoLens.Field.field @"maybe'id"
+maybe'info ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'info" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'info = Data.ProtoLens.Field.field @"maybe'info"
+maybe'initialPatch ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'initialPatch" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'initialPatch
+  = Data.ProtoLens.Field.field @"maybe'initialPatch"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'insertAssignmentRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'insertAssignmentRule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'insertAssignmentRule
+  = Data.ProtoLens.Field.field @"maybe'insertAssignmentRule"
+maybe'jitter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'jitter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'jitter = Data.ProtoLens.Field.field @"maybe'jitter"
+maybe'lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastCompletionResult
+  = Data.ProtoLens.Field.field @"maybe'lastCompletionResult"
+maybe'lastHeartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastHeartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastHeartbeatDetails
+  = Data.ProtoLens.Field.field @"maybe'lastHeartbeatDetails"
+maybe'lastUpdateTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastUpdateTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastUpdateTime
+  = Data.ProtoLens.Field.field @"maybe'lastUpdateTime"
+maybe'memo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'memo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'memo = Data.ProtoLens.Field.field @"maybe'memo"
+maybe'mergeSets ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'mergeSets" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'mergeSets = Data.ProtoLens.Field.field @"maybe'mergeSets"
+maybe'metadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'metadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'metadata = Data.ProtoLens.Field.field @"maybe'metadata"
+maybe'meteringMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'meteringMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'meteringMetadata
+  = Data.ProtoLens.Field.field @"maybe'meteringMetadata"
+maybe'namespaceFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'namespaceFilter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'namespaceFilter
+  = Data.ProtoLens.Field.field @"maybe'namespaceFilter"
+maybe'namespaceInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'namespaceInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'namespaceInfo
+  = Data.ProtoLens.Field.field @"maybe'namespaceInfo"
+maybe'onConflictOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'onConflictOptions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'onConflictOptions
+  = Data.ProtoLens.Field.field @"maybe'onConflictOptions"
+maybe'operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'operation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'operation = Data.ProtoLens.Field.field @"maybe'operation"
+maybe'outcome ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'outcome" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'outcome = Data.ProtoLens.Field.field @"maybe'outcome"
+maybe'patch ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'patch" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'patch = Data.ProtoLens.Field.field @"maybe'patch"
+maybe'pendingWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'pendingWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'pendingWorkflowTask
+  = Data.ProtoLens.Field.field @"maybe'pendingWorkflowTask"
+maybe'pollerScalingDecision ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'pollerScalingDecision" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'pollerScalingDecision
+  = Data.ProtoLens.Field.field @"maybe'pollerScalingDecision"
+maybe'previousDeploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'previousDeploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'previousDeploymentInfo
+  = Data.ProtoLens.Field.field @"maybe'previousDeploymentInfo"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'promoteBuildIdWithinSet ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'promoteBuildIdWithinSet" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'promoteBuildIdWithinSet
+  = Data.ProtoLens.Field.field @"maybe'promoteBuildIdWithinSet"
+maybe'promoteSetByBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'promoteSetByBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'promoteSetByBuildId
+  = Data.ProtoLens.Field.field @"maybe'promoteSetByBuildId"
+maybe'query ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'query" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'query = Data.ProtoLens.Field.field @"maybe'query"
+maybe'queryRejected ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'queryRejected" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'queryRejected
+  = Data.ProtoLens.Field.field @"maybe'queryRejected"
+maybe'queryResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'queryResult" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'queryResult = Data.ProtoLens.Field.field @"maybe'queryResult"
+maybe'replaceAssignmentRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'replaceAssignmentRule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'replaceAssignmentRule
+  = Data.ProtoLens.Field.field @"maybe'replaceAssignmentRule"
+maybe'replaceCompatibleRedirectRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'replaceCompatibleRedirectRule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'replaceCompatibleRedirectRule
+  = Data.ProtoLens.Field.field @"maybe'replaceCompatibleRedirectRule"
+maybe'replicationConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'replicationConfig" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'replicationConfig
+  = Data.ProtoLens.Field.field @"maybe'replicationConfig"
+maybe'request ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'request" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'request = Data.ProtoLens.Field.field @"maybe'request"
+maybe'resetOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resetOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resetOperation
+  = Data.ProtoLens.Field.field @"maybe'resetOperation"
+maybe'response ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'response" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'response = Data.ProtoLens.Field.field @"maybe'response"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'routingConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'routingConfig" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'routingConfig
+  = Data.ProtoLens.Field.field @"maybe'routingConfig"
+maybe'rule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rule = Data.ProtoLens.Field.field @"maybe'rule"
+maybe'schedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'schedule" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'schedule = Data.ProtoLens.Field.field @"maybe'schedule"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduledTime
+  = Data.ProtoLens.Field.field @"maybe'scheduledTime"
+maybe'sdkMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'sdkMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'sdkMetadata = Data.ProtoLens.Field.field @"maybe'sdkMetadata"
+maybe'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'searchAttributes
+  = Data.ProtoLens.Field.field @"maybe'searchAttributes"
+maybe'signalInput ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalInput" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalInput = Data.ProtoLens.Field.field @"maybe'signalInput"
+maybe'signalOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalOperation
+  = Data.ProtoLens.Field.field @"maybe'signalOperation"
+maybe'spec ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'spec" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'spec = Data.ProtoLens.Field.field @"maybe'spec"
+maybe'startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTime = Data.ProtoLens.Field.field @"maybe'startTime"
+maybe'startTimeFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTimeFilter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTimeFilter
+  = Data.ProtoLens.Field.field @"maybe'startTimeFilter"
+maybe'startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToCloseTimeout"
+maybe'startWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startWorkflow
+  = Data.ProtoLens.Field.field @"maybe'startWorkflow"
+maybe'startedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startedTime = Data.ProtoLens.Field.field @"maybe'startedTime"
+maybe'statusFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'statusFilter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'statusFilter
+  = Data.ProtoLens.Field.field @"maybe'statusFilter"
+maybe'stickyAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'stickyAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'stickyAttributes
+  = Data.ProtoLens.Field.field @"maybe'stickyAttributes"
+maybe'taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueue = Data.ProtoLens.Field.field @"maybe'taskQueue"
+maybe'taskQueueMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueueMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueueMetadata
+  = Data.ProtoLens.Field.field @"maybe'taskQueueMetadata"
+maybe'taskQueueStatus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'taskQueueStatus" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'taskQueueStatus
+  = Data.ProtoLens.Field.field @"maybe'taskQueueStatus"
+maybe'terminationOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'terminationOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'terminationOperation
+  = Data.ProtoLens.Field.field @"maybe'terminationOperation"
+maybe'type' ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'type'" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'type' = Data.ProtoLens.Field.field @"maybe'type'"
+maybe'typeFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'typeFilter" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'typeFilter = Data.ProtoLens.Field.field @"maybe'typeFilter"
+maybe'unpauseActivitiesOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'unpauseActivitiesOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'unpauseActivitiesOperation
+  = Data.ProtoLens.Field.field @"maybe'unpauseActivitiesOperation"
+maybe'unpauseAll ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'unpauseAll" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'unpauseAll = Data.ProtoLens.Field.field @"maybe'unpauseAll"
+maybe'updateInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateInfo = Data.ProtoLens.Field.field @"maybe'updateInfo"
+maybe'updateMask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateMask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateMask = Data.ProtoLens.Field.field @"maybe'updateMask"
+maybe'updateMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateMetadata
+  = Data.ProtoLens.Field.field @"maybe'updateMetadata"
+maybe'updateRef ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateRef" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateRef = Data.ProtoLens.Field.field @"maybe'updateRef"
+maybe'updateWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateWorkflow
+  = Data.ProtoLens.Field.field @"maybe'updateWorkflow"
+maybe'updateWorkflowOptionsOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateWorkflowOptionsOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateWorkflowOptionsOperation
+  = Data.ProtoLens.Field.field
+      @"maybe'updateWorkflowOptionsOperation"
+maybe'userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'userMetadata
+  = Data.ProtoLens.Field.field @"maybe'userMetadata"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'versionInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versionInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versionInfo = Data.ProtoLens.Field.field @"maybe'versionInfo"
+maybe'versioningInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versioningInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versioningInfo
+  = Data.ProtoLens.Field.field @"maybe'versioningInfo"
+maybe'versioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versioningOverride
+  = Data.ProtoLens.Field.field @"maybe'versioningOverride"
+maybe'versions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'versions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'versions = Data.ProtoLens.Field.field @"maybe'versions"
+maybe'waitPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'waitPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'waitPolicy = Data.ProtoLens.Field.field @"maybe'waitPolicy"
+maybe'workerDeploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerDeploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerDeploymentInfo
+  = Data.ProtoLens.Field.field @"maybe'workerDeploymentInfo"
+maybe'workerDeploymentVersionInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerDeploymentVersionInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerDeploymentVersionInfo
+  = Data.ProtoLens.Field.field @"maybe'workerDeploymentVersionInfo"
+maybe'workerVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerVersion" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerVersion
+  = Data.ProtoLens.Field.field @"maybe'workerVersion"
+maybe'workerVersionCapabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerVersionCapabilities" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerVersionCapabilities
+  = Data.ProtoLens.Field.field @"maybe'workerVersionCapabilities"
+maybe'workerVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workerVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workerVersionStamp
+  = Data.ProtoLens.Field.field @"maybe'workerVersionStamp"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+maybe'workflowExecutionInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionInfo
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionInfo"
+maybe'workflowExecutionOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionOptions" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionOptions
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionOptions"
+maybe'workflowExecutionRetentionPeriod ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionRetentionPeriod" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionRetentionPeriod
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionRetentionPeriod"
+maybe'workflowExecutionTaskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTaskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTaskQueue
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTaskQueue"
+maybe'workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout"
+maybe'workflowExtendedInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExtendedInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExtendedInfo
+  = Data.ProtoLens.Field.field @"maybe'workflowExtendedInfo"
+maybe'workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowRunTimeout"
+maybe'workflowStartDelay ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowStartDelay" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowStartDelay
+  = Data.ProtoLens.Field.field @"maybe'workflowStartDelay"
+maybe'workflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTask
+  = Data.ProtoLens.Field.field @"maybe'workflowTask"
+maybe'workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout"
+maybe'workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowType
+  = Data.ProtoLens.Field.field @"maybe'workflowType"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+mergeSets ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "mergeSets" a) =>
+  Lens.Family2.LensLike' f s a
+mergeSets = Data.ProtoLens.Field.field @"mergeSets"
+messages ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "messages" a) =>
+  Lens.Family2.LensLike' f s a
+messages = Data.ProtoLens.Field.field @"messages"
+metadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "metadata" a) =>
+  Lens.Family2.LensLike' f s a
+metadata = Data.ProtoLens.Field.field @"metadata"
+meteringMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "meteringMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+meteringMetadata = Data.ProtoLens.Field.field @"meteringMetadata"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+namespaceFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespaceFilter" a) =>
+  Lens.Family2.LensLike' f s a
+namespaceFilter = Data.ProtoLens.Field.field @"namespaceFilter"
+namespaceInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespaceInfo" a) =>
+  Lens.Family2.LensLike' f s a
+namespaceInfo = Data.ProtoLens.Field.field @"namespaceInfo"
+namespaces ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespaces" a) =>
+  Lens.Family2.LensLike' f s a
+namespaces = Data.ProtoLens.Field.field @"namespaces"
+newBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "newBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+newBuildId = Data.ProtoLens.Field.field @"newBuildId"
+nextPageToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nextPageToken" a) =>
+  Lens.Family2.LensLike' f s a
+nextPageToken = Data.ProtoLens.Field.field @"nextPageToken"
+nexus ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "nexus" a) =>
+  Lens.Family2.LensLike' f s a
+nexus = Data.ProtoLens.Field.field @"nexus"
+onConflictOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "onConflictOptions" a) =>
+  Lens.Family2.LensLike' f s a
+onConflictOptions = Data.ProtoLens.Field.field @"onConflictOptions"
+operationInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationInfo" a) =>
+  Lens.Family2.LensLike' f s a
+operationInfo = Data.ProtoLens.Field.field @"operationInfo"
+operationType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationType" a) =>
+  Lens.Family2.LensLike' f s a
+operationType = Data.ProtoLens.Field.field @"operationType"
+operations ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operations" a) =>
+  Lens.Family2.LensLike' f s a
+operations = Data.ProtoLens.Field.field @"operations"
+outcome ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "outcome" a) =>
+  Lens.Family2.LensLike' f s a
+outcome = Data.ProtoLens.Field.field @"outcome"
+ownerEmail ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ownerEmail" a) =>
+  Lens.Family2.LensLike' f s a
+ownerEmail = Data.ProtoLens.Field.field @"ownerEmail"
+pageSize ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pageSize" a) =>
+  Lens.Family2.LensLike' f s a
+pageSize = Data.ProtoLens.Field.field @"pageSize"
+patch ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "patch" a) =>
+  Lens.Family2.LensLike' f s a
+patch = Data.ProtoLens.Field.field @"patch"
+pendingActivities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pendingActivities" a) =>
+  Lens.Family2.LensLike' f s a
+pendingActivities = Data.ProtoLens.Field.field @"pendingActivities"
+pendingChildren ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pendingChildren" a) =>
+  Lens.Family2.LensLike' f s a
+pendingChildren = Data.ProtoLens.Field.field @"pendingChildren"
+pendingNexusOperations ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pendingNexusOperations" a) =>
+  Lens.Family2.LensLike' f s a
+pendingNexusOperations
+  = Data.ProtoLens.Field.field @"pendingNexusOperations"
+pendingWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pendingWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+pendingWorkflowTask
+  = Data.ProtoLens.Field.field @"pendingWorkflowTask"
+percentage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "percentage" a) =>
+  Lens.Family2.LensLike' f s a
+percentage = Data.ProtoLens.Field.field @"percentage"
+persistenceStore ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "persistenceStore" a) =>
+  Lens.Family2.LensLike' f s a
+persistenceStore = Data.ProtoLens.Field.field @"persistenceStore"
+pollerScalingDecision ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "pollerScalingDecision" a) =>
+  Lens.Family2.LensLike' f s a
+pollerScalingDecision
+  = Data.ProtoLens.Field.field @"pollerScalingDecision"
+pollers ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "pollers" a) =>
+  Lens.Family2.LensLike' f s a
+pollers = Data.ProtoLens.Field.field @"pollers"
+previousDeploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "previousDeploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+previousDeploymentInfo
+  = Data.ProtoLens.Field.field @"previousDeploymentInfo"
+previousPercentage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "previousPercentage" a) =>
+  Lens.Family2.LensLike' f s a
+previousPercentage
+  = Data.ProtoLens.Field.field @"previousPercentage"
+previousStartedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "previousStartedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+previousStartedEventId
+  = Data.ProtoLens.Field.field @"previousStartedEventId"
+previousVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "previousVersion" a) =>
+  Lens.Family2.LensLike' f s a
+previousVersion = Data.ProtoLens.Field.field @"previousVersion"
+primarySetBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "primarySetBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+primarySetBuildId = Data.ProtoLens.Field.field @"primarySetBuildId"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+promoteBuildIdWithinSet ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "promoteBuildIdWithinSet" a) =>
+  Lens.Family2.LensLike' f s a
+promoteBuildIdWithinSet
+  = Data.ProtoLens.Field.field @"promoteBuildIdWithinSet"
+promoteNamespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "promoteNamespace" a) =>
+  Lens.Family2.LensLike' f s a
+promoteNamespace = Data.ProtoLens.Field.field @"promoteNamespace"
+promoteSetByBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "promoteSetByBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+promoteSetByBuildId
+  = Data.ProtoLens.Field.field @"promoteSetByBuildId"
+queries ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "queries" a) =>
+  Lens.Family2.LensLike' f s a
+queries = Data.ProtoLens.Field.field @"queries"
+query ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "query" a) =>
+  Lens.Family2.LensLike' f s a
+query = Data.ProtoLens.Field.field @"query"
+queryRejectCondition ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryRejectCondition" a) =>
+  Lens.Family2.LensLike' f s a
+queryRejectCondition
+  = Data.ProtoLens.Field.field @"queryRejectCondition"
+queryRejected ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryRejected" a) =>
+  Lens.Family2.LensLike' f s a
+queryRejected = Data.ProtoLens.Field.field @"queryRejected"
+queryResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryResult" a) =>
+  Lens.Family2.LensLike' f s a
+queryResult = Data.ProtoLens.Field.field @"queryResult"
+queryResults ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryResults" a) =>
+  Lens.Family2.LensLike' f s a
+queryResults = Data.ProtoLens.Field.field @"queryResults"
+rawHistory ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rawHistory" a) =>
+  Lens.Family2.LensLike' f s a
+rawHistory = Data.ProtoLens.Field.field @"rawHistory"
+reachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "reachability" a) =>
+  Lens.Family2.LensLike' f s a
+reachability = Data.ProtoLens.Field.field @"reachability"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+removeEntries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "removeEntries" a) =>
+  Lens.Family2.LensLike' f s a
+removeEntries = Data.ProtoLens.Field.field @"removeEntries"
+replaceAssignmentRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "replaceAssignmentRule" a) =>
+  Lens.Family2.LensLike' f s a
+replaceAssignmentRule
+  = Data.ProtoLens.Field.field @"replaceAssignmentRule"
+replaceCompatibleRedirectRule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "replaceCompatibleRedirectRule" a) =>
+  Lens.Family2.LensLike' f s a
+replaceCompatibleRedirectRule
+  = Data.ProtoLens.Field.field @"replaceCompatibleRedirectRule"
+replicationConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "replicationConfig" a) =>
+  Lens.Family2.LensLike' f s a
+replicationConfig = Data.ProtoLens.Field.field @"replicationConfig"
+reportPollers ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "reportPollers" a) =>
+  Lens.Family2.LensLike' f s a
+reportPollers = Data.ProtoLens.Field.field @"reportPollers"
+reportStats ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "reportStats" a) =>
+  Lens.Family2.LensLike' f s a
+reportStats = Data.ProtoLens.Field.field @"reportStats"
+reportTaskReachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "reportTaskReachability" a) =>
+  Lens.Family2.LensLike' f s a
+reportTaskReachability
+  = Data.ProtoLens.Field.field @"reportTaskReachability"
+request ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "request" a) =>
+  Lens.Family2.LensLike' f s a
+request = Data.ProtoLens.Field.field @"request"
+requestEagerExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestEagerExecution" a) =>
+  Lens.Family2.LensLike' f s a
+requestEagerExecution
+  = Data.ProtoLens.Field.field @"requestEagerExecution"
+requestId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestId" a) =>
+  Lens.Family2.LensLike' f s a
+requestId = Data.ProtoLens.Field.field @"requestId"
+resetAttempts ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetAttempts" a) =>
+  Lens.Family2.LensLike' f s a
+resetAttempts = Data.ProtoLens.Field.field @"resetAttempts"
+resetHeartbeat ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetHeartbeat" a) =>
+  Lens.Family2.LensLike' f s a
+resetHeartbeat = Data.ProtoLens.Field.field @"resetHeartbeat"
+resetHistoryEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetHistoryEventId" a) =>
+  Lens.Family2.LensLike' f s a
+resetHistoryEventId
+  = Data.ProtoLens.Field.field @"resetHistoryEventId"
+resetOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetOperation" a) =>
+  Lens.Family2.LensLike' f s a
+resetOperation = Data.ProtoLens.Field.field @"resetOperation"
+resetReapplyExcludeTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetReapplyExcludeTypes" a) =>
+  Lens.Family2.LensLike' f s a
+resetReapplyExcludeTypes
+  = Data.ProtoLens.Field.field @"resetReapplyExcludeTypes"
+resetReapplyType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resetReapplyType" a) =>
+  Lens.Family2.LensLike' f s a
+resetReapplyType = Data.ProtoLens.Field.field @"resetReapplyType"
+response ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "response" a) =>
+  Lens.Family2.LensLike' f s a
+response = Data.ProtoLens.Field.field @"response"
+responses ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "responses" a) =>
+  Lens.Family2.LensLike' f s a
+responses = Data.ProtoLens.Field.field @"responses"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+returnNewWorkflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "returnNewWorkflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+returnNewWorkflowTask
+  = Data.ProtoLens.Field.field @"returnNewWorkflowTask"
+routingConfig ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "routingConfig" a) =>
+  Lens.Family2.LensLike' f s a
+routingConfig = Data.ProtoLens.Field.field @"routingConfig"
+rule ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "rule" a) =>
+  Lens.Family2.LensLike' f s a
+rule = Data.ProtoLens.Field.field @"rule"
+ruleId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "ruleId" a) =>
+  Lens.Family2.LensLike' f s a
+ruleId = Data.ProtoLens.Field.field @"ruleId"
+ruleIndex ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ruleIndex" a) =>
+  Lens.Family2.LensLike' f s a
+ruleIndex = Data.ProtoLens.Field.field @"ruleIndex"
+rules ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "rules" a) =>
+  Lens.Family2.LensLike' f s a
+rules = Data.ProtoLens.Field.field @"rules"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+schedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "schedule" a) =>
+  Lens.Family2.LensLike' f s a
+schedule = Data.ProtoLens.Field.field @"schedule"
+scheduleId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleId" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleId = Data.ProtoLens.Field.field @"scheduleId"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledTime = Data.ProtoLens.Field.field @"scheduledTime"
+schedules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "schedules" a) =>
+  Lens.Family2.LensLike' f s a
+schedules = Data.ProtoLens.Field.field @"schedules"
+sdkMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "sdkMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+sdkMetadata = Data.ProtoLens.Field.field @"sdkMetadata"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+secondarySetBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "secondarySetBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+secondarySetBuildId
+  = Data.ProtoLens.Field.field @"secondarySetBuildId"
+securityToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "securityToken" a) =>
+  Lens.Family2.LensLike' f s a
+securityToken = Data.ProtoLens.Field.field @"securityToken"
+seriesName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "seriesName" a) =>
+  Lens.Family2.LensLike' f s a
+seriesName = Data.ProtoLens.Field.field @"seriesName"
+serverVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "serverVersion" a) =>
+  Lens.Family2.LensLike' f s a
+serverVersion = Data.ProtoLens.Field.field @"serverVersion"
+signalAndQueryHeader ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalAndQueryHeader" a) =>
+  Lens.Family2.LensLike' f s a
+signalAndQueryHeader
+  = Data.ProtoLens.Field.field @"signalAndQueryHeader"
+signalInput ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalInput" a) =>
+  Lens.Family2.LensLike' f s a
+signalInput = Data.ProtoLens.Field.field @"signalInput"
+signalName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalName" a) =>
+  Lens.Family2.LensLike' f s a
+signalName = Data.ProtoLens.Field.field @"signalName"
+signalOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalOperation" a) =>
+  Lens.Family2.LensLike' f s a
+signalOperation = Data.ProtoLens.Field.field @"signalOperation"
+skipArchival ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "skipArchival" a) =>
+  Lens.Family2.LensLike' f s a
+skipArchival = Data.ProtoLens.Field.field @"skipArchival"
+skipDrainage ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "skipDrainage" a) =>
+  Lens.Family2.LensLike' f s a
+skipDrainage = Data.ProtoLens.Field.field @"skipDrainage"
+sourceBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "sourceBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+sourceBuildId = Data.ProtoLens.Field.field @"sourceBuildId"
+spec ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "spec" a) =>
+  Lens.Family2.LensLike' f s a
+spec = Data.ProtoLens.Field.field @"spec"
+stage ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "stage" a) =>
+  Lens.Family2.LensLike' f s a
+stage = Data.ProtoLens.Field.field @"stage"
+startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTime" a) =>
+  Lens.Family2.LensLike' f s a
+startTime = Data.ProtoLens.Field.field @"startTime"
+startTimeFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTimeFilter" a) =>
+  Lens.Family2.LensLike' f s a
+startTimeFilter = Data.ProtoLens.Field.field @"startTimeFilter"
+startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToCloseTimeout
+  = Data.ProtoLens.Field.field @"startToCloseTimeout"
+startWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+startWorkflow = Data.ProtoLens.Field.field @"startWorkflow"
+started ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "started" a) =>
+  Lens.Family2.LensLike' f s a
+started = Data.ProtoLens.Field.field @"started"
+startedEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedEventId" a) =>
+  Lens.Family2.LensLike' f s a
+startedEventId = Data.ProtoLens.Field.field @"startedEventId"
+startedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedTime" a) =>
+  Lens.Family2.LensLike' f s a
+startedTime = Data.ProtoLens.Field.field @"startedTime"
+state ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "state" a) =>
+  Lens.Family2.LensLike' f s a
+state = Data.ProtoLens.Field.field @"state"
+statusFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "statusFilter" a) =>
+  Lens.Family2.LensLike' f s a
+statusFilter = Data.ProtoLens.Field.field @"statusFilter"
+stickyAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "stickyAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+stickyAttributes = Data.ProtoLens.Field.field @"stickyAttributes"
+stickyTaskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "stickyTaskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+stickyTaskQueue = Data.ProtoLens.Field.field @"stickyTaskQueue"
+supportedClients ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "supportedClients" a) =>
+  Lens.Family2.LensLike' f s a
+supportedClients = Data.ProtoLens.Field.field @"supportedClients"
+supportsSchedules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "supportsSchedules" a) =>
+  Lens.Family2.LensLike' f s a
+supportsSchedules = Data.ProtoLens.Field.field @"supportsSchedules"
+targetBuildId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "targetBuildId" a) =>
+  Lens.Family2.LensLike' f s a
+targetBuildId = Data.ProtoLens.Field.field @"targetBuildId"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+taskQueueMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueueMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueueMetadata = Data.ProtoLens.Field.field @"taskQueueMetadata"
+taskQueueStatus ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueueStatus" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueueStatus = Data.ProtoLens.Field.field @"taskQueueStatus"
+taskQueueType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueueType" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueueType = Data.ProtoLens.Field.field @"taskQueueType"
+taskQueueTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueueTypes" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueueTypes = Data.ProtoLens.Field.field @"taskQueueTypes"
+taskQueues ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueues" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueues = Data.ProtoLens.Field.field @"taskQueues"
+taskToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskToken" a) =>
+  Lens.Family2.LensLike' f s a
+taskToken = Data.ProtoLens.Field.field @"taskToken"
+terminationOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "terminationOperation" a) =>
+  Lens.Family2.LensLike' f s a
+terminationOperation
+  = Data.ProtoLens.Field.field @"terminationOperation"
+totalOperationCount ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "totalOperationCount" a) =>
+  Lens.Family2.LensLike' f s a
+totalOperationCount
+  = Data.ProtoLens.Field.field @"totalOperationCount"
+type' ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "type'" a) =>
+  Lens.Family2.LensLike' f s a
+type' = Data.ProtoLens.Field.field @"type'"
+typeFilter ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "typeFilter" a) =>
+  Lens.Family2.LensLike' f s a
+typeFilter = Data.ProtoLens.Field.field @"typeFilter"
+unpauseActivitiesOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "unpauseActivitiesOperation" a) =>
+  Lens.Family2.LensLike' f s a
+unpauseActivitiesOperation
+  = Data.ProtoLens.Field.field @"unpauseActivitiesOperation"
+unpauseAll ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "unpauseAll" a) =>
+  Lens.Family2.LensLike' f s a
+unpauseAll = Data.ProtoLens.Field.field @"unpauseAll"
+updateInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateInfo" a) =>
+  Lens.Family2.LensLike' f s a
+updateInfo = Data.ProtoLens.Field.field @"updateInfo"
+updateMask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateMask" a) =>
+  Lens.Family2.LensLike' f s a
+updateMask = Data.ProtoLens.Field.field @"updateMask"
+updateMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+updateMetadata = Data.ProtoLens.Field.field @"updateMetadata"
+updateRef ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateRef" a) =>
+  Lens.Family2.LensLike' f s a
+updateRef = Data.ProtoLens.Field.field @"updateRef"
+updateWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+updateWorkflow = Data.ProtoLens.Field.field @"updateWorkflow"
+updateWorkflowOptionsOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateWorkflowOptionsOperation" a) =>
+  Lens.Family2.LensLike' f s a
+updateWorkflowOptionsOperation
+  = Data.ProtoLens.Field.field @"updateWorkflowOptionsOperation"
+upsertEntries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertEntries" a) =>
+  Lens.Family2.LensLike' f s a
+upsertEntries = Data.ProtoLens.Field.field @"upsertEntries"
+upsertMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertMemo" a) =>
+  Lens.Family2.LensLike' f s a
+upsertMemo = Data.ProtoLens.Field.field @"upsertMemo"
+userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+userMetadata = Data.ProtoLens.Field.field @"userMetadata"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'activityTaskQueuePartitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'activityTaskQueuePartitions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'activityTaskQueuePartitions
+  = Data.ProtoLens.Field.field @"vec'activityTaskQueuePartitions"
+vec'activityTasks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'activityTasks" a) =>
+  Lens.Family2.LensLike' f s a
+vec'activityTasks = Data.ProtoLens.Field.field @"vec'activityTasks"
+vec'assignmentRules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'assignmentRules" a) =>
+  Lens.Family2.LensLike' f s a
+vec'assignmentRules
+  = Data.ProtoLens.Field.field @"vec'assignmentRules"
+vec'buildIdReachability ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'buildIdReachability" a) =>
+  Lens.Family2.LensLike' f s a
+vec'buildIdReachability
+  = Data.ProtoLens.Field.field @"vec'buildIdReachability"
+vec'buildIds ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'buildIds" a) =>
+  Lens.Family2.LensLike' f s a
+vec'buildIds = Data.ProtoLens.Field.field @"vec'buildIds"
+vec'callbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'callbacks" a) =>
+  Lens.Family2.LensLike' f s a
+vec'callbacks = Data.ProtoLens.Field.field @"vec'callbacks"
+vec'clusters ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'clusters" a) =>
+  Lens.Family2.LensLike' f s a
+vec'clusters = Data.ProtoLens.Field.field @"vec'clusters"
+vec'commands ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'commands" a) =>
+  Lens.Family2.LensLike' f s a
+vec'commands = Data.ProtoLens.Field.field @"vec'commands"
+vec'compatibleRedirectRules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'compatibleRedirectRules" a) =>
+  Lens.Family2.LensLike' f s a
+vec'compatibleRedirectRules
+  = Data.ProtoLens.Field.field @"vec'compatibleRedirectRules"
+vec'completionCallbacks ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'completionCallbacks" a) =>
+  Lens.Family2.LensLike' f s a
+vec'completionCallbacks
+  = Data.ProtoLens.Field.field @"vec'completionCallbacks"
+vec'deployments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'deployments" a) =>
+  Lens.Family2.LensLike' f s a
+vec'deployments = Data.ProtoLens.Field.field @"vec'deployments"
+vec'executions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'executions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'executions = Data.ProtoLens.Field.field @"vec'executions"
+vec'failoverHistory ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'failoverHistory" a) =>
+  Lens.Family2.LensLike' f s a
+vec'failoverHistory
+  = Data.ProtoLens.Field.field @"vec'failoverHistory"
+vec'failures ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'failures" a) =>
+  Lens.Family2.LensLike' f s a
+vec'failures = Data.ProtoLens.Field.field @"vec'failures"
+vec'groupValues ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'groupValues" a) =>
+  Lens.Family2.LensLike' f s a
+vec'groupValues = Data.ProtoLens.Field.field @"vec'groupValues"
+vec'groups ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'groups" a) =>
+  Lens.Family2.LensLike' f s a
+vec'groups = Data.ProtoLens.Field.field @"vec'groups"
+vec'links ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'links" a) =>
+  Lens.Family2.LensLike' f s a
+vec'links = Data.ProtoLens.Field.field @"vec'links"
+vec'majorVersionSets ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'majorVersionSets" a) =>
+  Lens.Family2.LensLike' f s a
+vec'majorVersionSets
+  = Data.ProtoLens.Field.field @"vec'majorVersionSets"
+vec'messages ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'messages" a) =>
+  Lens.Family2.LensLike' f s a
+vec'messages = Data.ProtoLens.Field.field @"vec'messages"
+vec'namespaces ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'namespaces" a) =>
+  Lens.Family2.LensLike' f s a
+vec'namespaces = Data.ProtoLens.Field.field @"vec'namespaces"
+vec'operationInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'operationInfo" a) =>
+  Lens.Family2.LensLike' f s a
+vec'operationInfo = Data.ProtoLens.Field.field @"vec'operationInfo"
+vec'operations ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'operations" a) =>
+  Lens.Family2.LensLike' f s a
+vec'operations = Data.ProtoLens.Field.field @"vec'operations"
+vec'pendingActivities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'pendingActivities" a) =>
+  Lens.Family2.LensLike' f s a
+vec'pendingActivities
+  = Data.ProtoLens.Field.field @"vec'pendingActivities"
+vec'pendingChildren ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'pendingChildren" a) =>
+  Lens.Family2.LensLike' f s a
+vec'pendingChildren
+  = Data.ProtoLens.Field.field @"vec'pendingChildren"
+vec'pendingNexusOperations ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'pendingNexusOperations" a) =>
+  Lens.Family2.LensLike' f s a
+vec'pendingNexusOperations
+  = Data.ProtoLens.Field.field @"vec'pendingNexusOperations"
+vec'pollers ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'pollers" a) =>
+  Lens.Family2.LensLike' f s a
+vec'pollers = Data.ProtoLens.Field.field @"vec'pollers"
+vec'rawHistory ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'rawHistory" a) =>
+  Lens.Family2.LensLike' f s a
+vec'rawHistory = Data.ProtoLens.Field.field @"vec'rawHistory"
+vec'removeEntries ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'removeEntries" a) =>
+  Lens.Family2.LensLike' f s a
+vec'removeEntries = Data.ProtoLens.Field.field @"vec'removeEntries"
+vec'resetReapplyExcludeTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'resetReapplyExcludeTypes" a) =>
+  Lens.Family2.LensLike' f s a
+vec'resetReapplyExcludeTypes
+  = Data.ProtoLens.Field.field @"vec'resetReapplyExcludeTypes"
+vec'responses ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'responses" a) =>
+  Lens.Family2.LensLike' f s a
+vec'responses = Data.ProtoLens.Field.field @"vec'responses"
+vec'rules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'rules" a) =>
+  Lens.Family2.LensLike' f s a
+vec'rules = Data.ProtoLens.Field.field @"vec'rules"
+vec'schedules ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'schedules" a) =>
+  Lens.Family2.LensLike' f s a
+vec'schedules = Data.ProtoLens.Field.field @"vec'schedules"
+vec'startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'startTime" a) =>
+  Lens.Family2.LensLike' f s a
+vec'startTime = Data.ProtoLens.Field.field @"vec'startTime"
+vec'taskQueueTypes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'taskQueueTypes" a) =>
+  Lens.Family2.LensLike' f s a
+vec'taskQueueTypes
+  = Data.ProtoLens.Field.field @"vec'taskQueueTypes"
+vec'taskQueues ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'taskQueues" a) =>
+  Lens.Family2.LensLike' f s a
+vec'taskQueues = Data.ProtoLens.Field.field @"vec'taskQueues"
+vec'workerDeployments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'workerDeployments" a) =>
+  Lens.Family2.LensLike' f s a
+vec'workerDeployments
+  = Data.ProtoLens.Field.field @"vec'workerDeployments"
+vec'workflowTaskQueuePartitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'workflowTaskQueuePartitions" a) =>
+  Lens.Family2.LensLike' f s a
+vec'workflowTaskQueuePartitions
+  = Data.ProtoLens.Field.field @"vec'workflowTaskQueuePartitions"
+version ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "version" a) =>
+  Lens.Family2.LensLike' f s a
+version = Data.ProtoLens.Field.field @"version"
+versionInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versionInfo" a) =>
+  Lens.Family2.LensLike' f s a
+versionInfo = Data.ProtoLens.Field.field @"versionInfo"
+versioningBehavior ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningBehavior" a) =>
+  Lens.Family2.LensLike' f s a
+versioningBehavior
+  = Data.ProtoLens.Field.field @"versioningBehavior"
+versioningInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningInfo" a) =>
+  Lens.Family2.LensLike' f s a
+versioningInfo = Data.ProtoLens.Field.field @"versioningInfo"
+versioningOverride ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningOverride" a) =>
+  Lens.Family2.LensLike' f s a
+versioningOverride
+  = Data.ProtoLens.Field.field @"versioningOverride"
+versions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versions" a) =>
+  Lens.Family2.LensLike' f s a
+versions = Data.ProtoLens.Field.field @"versions"
+versionsInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versionsInfo" a) =>
+  Lens.Family2.LensLike' f s a
+versionsInfo = Data.ProtoLens.Field.field @"versionsInfo"
+visibilityArchivalState ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityArchivalState" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityArchivalState
+  = Data.ProtoLens.Field.field @"visibilityArchivalState"
+visibilityArchivalUri ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityArchivalUri" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityArchivalUri
+  = Data.ProtoLens.Field.field @"visibilityArchivalUri"
+visibilityQuery ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityQuery" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityQuery = Data.ProtoLens.Field.field @"visibilityQuery"
+visibilityStore ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "visibilityStore" a) =>
+  Lens.Family2.LensLike' f s a
+visibilityStore = Data.ProtoLens.Field.field @"visibilityStore"
+waitNewEvent ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "waitNewEvent" a) =>
+  Lens.Family2.LensLike' f s a
+waitNewEvent = Data.ProtoLens.Field.field @"waitNewEvent"
+waitPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "waitPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+waitPolicy = Data.ProtoLens.Field.field @"waitPolicy"
+workerDeploymentInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerDeploymentInfo" a) =>
+  Lens.Family2.LensLike' f s a
+workerDeploymentInfo
+  = Data.ProtoLens.Field.field @"workerDeploymentInfo"
+workerDeploymentVersionInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerDeploymentVersionInfo" a) =>
+  Lens.Family2.LensLike' f s a
+workerDeploymentVersionInfo
+  = Data.ProtoLens.Field.field @"workerDeploymentVersionInfo"
+workerDeployments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerDeployments" a) =>
+  Lens.Family2.LensLike' f s a
+workerDeployments = Data.ProtoLens.Field.field @"workerDeployments"
+workerVersion ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerVersion" a) =>
+  Lens.Family2.LensLike' f s a
+workerVersion = Data.ProtoLens.Field.field @"workerVersion"
+workerVersionCapabilities ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerVersionCapabilities" a) =>
+  Lens.Family2.LensLike' f s a
+workerVersionCapabilities
+  = Data.ProtoLens.Field.field @"workerVersionCapabilities"
+workerVersionStamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workerVersionStamp" a) =>
+  Lens.Family2.LensLike' f s a
+workerVersionStamp
+  = Data.ProtoLens.Field.field @"workerVersionStamp"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
+workflowExecutionInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionInfo" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionInfo
+  = Data.ProtoLens.Field.field @"workflowExecutionInfo"
+workflowExecutionOptions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionOptions" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionOptions
+  = Data.ProtoLens.Field.field @"workflowExecutionOptions"
+workflowExecutionRetentionPeriod ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionRetentionPeriod" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionRetentionPeriod
+  = Data.ProtoLens.Field.field @"workflowExecutionRetentionPeriod"
+workflowExecutionTaskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTaskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTaskQueue
+  = Data.ProtoLens.Field.field @"workflowExecutionTaskQueue"
+workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"workflowExecutionTimeout"
+workflowExtendedInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExtendedInfo" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExtendedInfo
+  = Data.ProtoLens.Field.field @"workflowExtendedInfo"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowIdConflictPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowIdConflictPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+workflowIdConflictPolicy
+  = Data.ProtoLens.Field.field @"workflowIdConflictPolicy"
+workflowIdReusePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowIdReusePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+workflowIdReusePolicy
+  = Data.ProtoLens.Field.field @"workflowIdReusePolicy"
+workflowNamespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowNamespace" a) =>
+  Lens.Family2.LensLike' f s a
+workflowNamespace = Data.ProtoLens.Field.field @"workflowNamespace"
+workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowRunTimeout
+  = Data.ProtoLens.Field.field @"workflowRunTimeout"
+workflowStartDelay ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowStartDelay" a) =>
+  Lens.Family2.LensLike' f s a
+workflowStartDelay
+  = Data.ProtoLens.Field.field @"workflowStartDelay"
+workflowTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTask" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTask = Data.ProtoLens.Field.field @"workflowTask"
+workflowTaskFinishEventId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskFinishEventId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskFinishEventId
+  = Data.ProtoLens.Field.field @"workflowTaskFinishEventId"
+workflowTaskQueuePartitions ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskQueuePartitions" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskQueuePartitions
+  = Data.ProtoLens.Field.field @"workflowTaskQueuePartitions"
+workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"workflowTaskTimeout"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Api/Workflowservice/V1/Service.hs b/src/Proto/Temporal/Api/Workflowservice/V1/Service.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Workflowservice/V1/Service.hs
@@ -0,0 +1,651 @@
+{- This file was auto-generated from temporal/api/workflowservice/v1/service.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Workflowservice.V1.Service (
+        WorkflowService(..)
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Api.Annotations
+import qualified Proto.Temporal.Api.Workflowservice.V1.RequestResponse
+data WorkflowService = WorkflowService {}
+instance Data.ProtoLens.Service.Types.Service WorkflowService where
+  type ServiceName WorkflowService = "WorkflowService"
+  type ServicePackage WorkflowService = "temporal.api.workflowservice.v1"
+  type ServiceMethods WorkflowService = '["countWorkflowExecutions",
+                                          "createSchedule",
+                                          "createWorkflowRule",
+                                          "deleteSchedule",
+                                          "deleteWorkerDeployment",
+                                          "deleteWorkerDeploymentVersion",
+                                          "deleteWorkflowExecution",
+                                          "deleteWorkflowRule",
+                                          "deprecateNamespace",
+                                          "describeBatchOperation",
+                                          "describeDeployment",
+                                          "describeNamespace",
+                                          "describeSchedule",
+                                          "describeTaskQueue",
+                                          "describeWorkerDeployment",
+                                          "describeWorkerDeploymentVersion",
+                                          "describeWorkflowExecution",
+                                          "describeWorkflowRule",
+                                          "executeMultiOperation",
+                                          "getClusterInfo",
+                                          "getCurrentDeployment",
+                                          "getDeploymentReachability",
+                                          "getSearchAttributes",
+                                          "getSystemInfo",
+                                          "getWorkerBuildIdCompatibility",
+                                          "getWorkerTaskReachability",
+                                          "getWorkerVersioningRules",
+                                          "getWorkflowExecutionHistory",
+                                          "getWorkflowExecutionHistoryReverse",
+                                          "listArchivedWorkflowExecutions",
+                                          "listBatchOperations",
+                                          "listClosedWorkflowExecutions",
+                                          "listDeployments",
+                                          "listNamespaces",
+                                          "listOpenWorkflowExecutions",
+                                          "listScheduleMatchingTimes",
+                                          "listSchedules",
+                                          "listTaskQueuePartitions",
+                                          "listWorkerDeployments",
+                                          "listWorkflowExecutions",
+                                          "listWorkflowRules",
+                                          "patchSchedule",
+                                          "pauseActivity",
+                                          "pollActivityTaskQueue",
+                                          "pollNexusTaskQueue",
+                                          "pollWorkflowExecutionUpdate",
+                                          "pollWorkflowTaskQueue",
+                                          "queryWorkflow",
+                                          "recordActivityTaskHeartbeat",
+                                          "recordActivityTaskHeartbeatById",
+                                          "registerNamespace",
+                                          "requestCancelWorkflowExecution",
+                                          "resetActivity",
+                                          "resetStickyTaskQueue",
+                                          "resetWorkflowExecution",
+                                          "respondActivityTaskCanceled",
+                                          "respondActivityTaskCanceledById",
+                                          "respondActivityTaskCompleted",
+                                          "respondActivityTaskCompletedById",
+                                          "respondActivityTaskFailed",
+                                          "respondActivityTaskFailedById",
+                                          "respondNexusTaskCompleted",
+                                          "respondNexusTaskFailed",
+                                          "respondQueryTaskCompleted",
+                                          "respondWorkflowTaskCompleted",
+                                          "respondWorkflowTaskFailed",
+                                          "scanWorkflowExecutions",
+                                          "setCurrentDeployment",
+                                          "setWorkerDeploymentCurrentVersion",
+                                          "setWorkerDeploymentRampingVersion",
+                                          "shutdownWorker",
+                                          "signalWithStartWorkflowExecution",
+                                          "signalWorkflowExecution",
+                                          "startBatchOperation",
+                                          "startWorkflowExecution",
+                                          "stopBatchOperation",
+                                          "terminateWorkflowExecution",
+                                          "triggerWorkflowRule",
+                                          "unpauseActivity",
+                                          "updateActivityOptions",
+                                          "updateNamespace",
+                                          "updateSchedule",
+                                          "updateWorkerBuildIdCompatibility",
+                                          "updateWorkerDeploymentVersionMetadata",
+                                          "updateWorkerVersioningRules",
+                                          "updateWorkflowExecution",
+                                          "updateWorkflowExecutionOptions"]
+  packedServiceDescriptor _
+    = "\n\
+      \\SIWorkflowService\DC2\195\SOH\n\
+      \\DC1RegisterNamespace\DC29.temporal.api.workflowservice.v1.RegisterNamespaceRequest\SUB:.temporal.api.workflowservice.v1.RegisterNamespaceResponse\"7\130\211\228\147\STX1\"\DC3/cluster/namespaces:\SOH*Z\ETB\"\DC2/api/v1/namespaces:\SOH*\DC2\213\SOH\n\
+      \\DC1DescribeNamespace\DC29.temporal.api.workflowservice.v1.DescribeNamespaceRequest\SUB:.temporal.api.workflowservice.v1.DescribeNamespaceResponse\"I\130\211\228\147\STXC\DC2\US/cluster/namespaces/{namespace}Z \DC2\RS/api/v1/namespaces/{namespace}\DC2\180\SOH\n\
+      \\SOListNamespaces\DC26.temporal.api.workflowservice.v1.ListNamespacesRequest\SUB7.temporal.api.workflowservice.v1.ListNamespacesResponse\"1\130\211\228\147\STX+\DC2\DC3/cluster/namespacesZ\DC4\DC2\DC2/api/v1/namespaces\DC2\227\SOH\n\
+      \\SIUpdateNamespace\DC27.temporal.api.workflowservice.v1.UpdateNamespaceRequest\SUB8.temporal.api.workflowservice.v1.UpdateNamespaceResponse\"]\130\211\228\147\STXW\"&/cluster/namespaces/{namespace}/update:\SOH*Z*\"%/api/v1/namespaces/{namespace}/update:\SOH*\DC2\143\SOH\n\
+      \\DC2DeprecateNamespace\DC2:.temporal.api.workflowservice.v1.DeprecateNamespaceRequest\SUB;.temporal.api.workflowservice.v1.DeprecateNamespaceResponse\"\NUL\DC2\146\STX\n\
+      \\SYNStartWorkflowExecution\DC2>.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest\SUB?.temporal.api.workflowservice.v1.StartWorkflowExecutionResponse\"w\130\211\228\147\STXq\"//namespaces/{namespace}/workflows/{workflow_id}:\SOH*Z;\"6/api/v1/namespaces/{namespace}/workflows/{workflow_id}:\SOH*\DC2\165\STX\n\
+      \\NAKExecuteMultiOperation\DC2=.temporal.api.workflowservice.v1.ExecuteMultiOperationRequest\SUB>.temporal.api.workflowservice.v1.ExecuteMultiOperationResponse\"\140\SOH\130\211\228\147\STX\133\SOH\"9/namespaces/{namespace}/workflows/execute-multi-operation:\SOH*ZE\"@/api/v1/namespaces/{namespace}/workflows/execute-multi-operation:\SOH*\DC2\193\STX\n\
+      \\ESCGetWorkflowExecutionHistory\DC2C.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest\SUBD.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse\"\150\SOH\130\211\228\147\STX\143\SOH\DC2A/namespaces/{namespace}/workflows/{execution.workflow_id}/historyZJ\DC2H/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history\DC2\230\STX\n\
+      \\"GetWorkflowExecutionHistoryReverse\DC2J.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseRequest\SUBK.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryReverseResponse\"\166\SOH\130\211\228\147\STX\159\SOH\DC2I/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverseZR\DC2P/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/history-reverse\DC2\152\SOH\n\
+      \\NAKPollWorkflowTaskQueue\DC2=.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest\SUB>.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse\"\NUL\DC2\173\SOH\n\
+      \\FSRespondWorkflowTaskCompleted\DC2D.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest\SUBE.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedResponse\"\NUL\DC2\164\SOH\n\
+      \\EMRespondWorkflowTaskFailed\DC2A.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedRequest\SUBB.temporal.api.workflowservice.v1.RespondWorkflowTaskFailedResponse\"\NUL\DC2\152\SOH\n\
+      \\NAKPollActivityTaskQueue\DC2=.temporal.api.workflowservice.v1.PollActivityTaskQueueRequest\SUB>.temporal.api.workflowservice.v1.PollActivityTaskQueueResponse\"\NUL\DC2\155\STX\n\
+      \\ESCRecordActivityTaskHeartbeat\DC2C.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatRequest\SUBD.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatResponse\"q\130\211\228\147\STXk\",/namespaces/{namespace}/activities/heartbeat:\SOH*Z8\"3/api/v1/namespaces/{namespace}/activities/heartbeat:\SOH*\DC2\179\STX\n\
+      \\USRecordActivityTaskHeartbeatById\DC2G.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdRequest\SUBH.temporal.api.workflowservice.v1.RecordActivityTaskHeartbeatByIdResponse\"}\130\211\228\147\STXw\"2/namespaces/{namespace}/activities/heartbeat-by-id:\SOH*Z>\"9/api/v1/namespaces/{namespace}/activities/heartbeat-by-id:\SOH*\DC2\156\STX\n\
+      \\FSRespondActivityTaskCompleted\DC2D.temporal.api.workflowservice.v1.RespondActivityTaskCompletedRequest\SUBE.temporal.api.workflowservice.v1.RespondActivityTaskCompletedResponse\"o\130\211\228\147\STXi\"+/namespaces/{namespace}/activities/complete:\SOH*Z7\"2/api/v1/namespaces/{namespace}/activities/complete:\SOH*\DC2\180\STX\n\
+      \ RespondActivityTaskCompletedById\DC2H.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdRequest\SUBI.temporal.api.workflowservice.v1.RespondActivityTaskCompletedByIdResponse\"{\130\211\228\147\STXu\"1/namespaces/{namespace}/activities/complete-by-id:\SOH*Z=\"8/api/v1/namespaces/{namespace}/activities/complete-by-id:\SOH*\DC2\139\STX\n\
+      \\EMRespondActivityTaskFailed\DC2A.temporal.api.workflowservice.v1.RespondActivityTaskFailedRequest\SUBB.temporal.api.workflowservice.v1.RespondActivityTaskFailedResponse\"g\130\211\228\147\STXa\"'/namespaces/{namespace}/activities/fail:\SOH*Z3\"./api/v1/namespaces/{namespace}/activities/fail:\SOH*\DC2\163\STX\n\
+      \\GSRespondActivityTaskFailedById\DC2E.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdRequest\SUBF.temporal.api.workflowservice.v1.RespondActivityTaskFailedByIdResponse\"s\130\211\228\147\STXm\"-/namespaces/{namespace}/activities/fail-by-id:\SOH*Z9\"4/api/v1/namespaces/{namespace}/activities/fail-by-id:\SOH*\DC2\149\STX\n\
+      \\ESCRespondActivityTaskCanceled\DC2C.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest\SUBD.temporal.api.workflowservice.v1.RespondActivityTaskCanceledResponse\"k\130\211\228\147\STXe\")/namespaces/{namespace}/activities/cancel:\SOH*Z5\"0/api/v1/namespaces/{namespace}/activities/cancel:\SOH*\DC2\173\STX\n\
+      \\USRespondActivityTaskCanceledById\DC2G.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdRequest\SUBH.temporal.api.workflowservice.v1.RespondActivityTaskCanceledByIdResponse\"w\130\211\228\147\STXq\"//namespaces/{namespace}/activities/cancel-by-id:\SOH*Z;\"6/api/v1/namespaces/{namespace}/activities/cancel-by-id:\SOH*\DC2\224\STX\n\
+      \\RSRequestCancelWorkflowExecution\DC2F.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest\SUBG.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionResponse\"\172\SOH\130\211\228\147\STX\165\SOH\"I/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\SOH*ZU\"P/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/cancel:\SOH*\DC2\231\STX\n\
+      \\ETBSignalWorkflowExecution\DC2?.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest\SUB@.temporal.api.workflowservice.v1.SignalWorkflowExecutionResponse\"\200\SOH\130\211\228\147\STX\193\SOH\"W/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\SOH*Zc\"^/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/signal/{signal_name}:\SOH*\DC2\242\STX\n\
+      \ SignalWithStartWorkflowExecution\DC2H.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest\SUBI.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionResponse\"\184\SOH\130\211\228\147\STX\177\SOH\"O/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\SOH*Z[\"V/api/v1/namespaces/{namespace}/workflows/{workflow_id}/signal-with-start/{signal_name}:\SOH*\DC2\198\STX\n\
+      \\SYNResetWorkflowExecution\DC2>.temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest\SUB?.temporal.api.workflowservice.v1.ResetWorkflowExecutionResponse\"\170\SOH\130\211\228\147\STX\163\SOH\"H/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\SOH*ZT\"O/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/reset:\SOH*\DC2\218\STX\n\
+      \\SUBTerminateWorkflowExecution\DC2B.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest\SUBC.temporal.api.workflowservice.v1.TerminateWorkflowExecutionResponse\"\178\SOH\130\211\228\147\STX\171\SOH\"L/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\SOH*ZX\"S/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/terminate:\SOH*\DC2\158\SOH\n\
+      \\ETBDeleteWorkflowExecution\DC2?.temporal.api.workflowservice.v1.DeleteWorkflowExecutionRequest\SUB@.temporal.api.workflowservice.v1.DeleteWorkflowExecutionResponse\"\NUL\DC2\167\SOH\n\
+      \\SUBListOpenWorkflowExecutions\DC2B.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsRequest\SUBC.temporal.api.workflowservice.v1.ListOpenWorkflowExecutionsResponse\"\NUL\DC2\173\SOH\n\
+      \\FSListClosedWorkflowExecutions\DC2D.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsRequest\SUBE.temporal.api.workflowservice.v1.ListClosedWorkflowExecutionsResponse\"\NUL\DC2\240\SOH\n\
+      \\SYNListWorkflowExecutions\DC2>.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest\SUB?.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse\"U\130\211\228\147\STXO\DC2!/namespaces/{namespace}/workflowsZ*\DC2(/api/v1/namespaces/{namespace}/workflows\DC2\154\STX\n\
+      \\RSListArchivedWorkflowExecutions\DC2F.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsRequest\SUBG.temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse\"g\130\211\228\147\STXa\DC2*/namespaces/{namespace}/archived-workflowsZ3\DC21/api/v1/namespaces/{namespace}/archived-workflows\DC2\155\SOH\n\
+      \\SYNScanWorkflowExecutions\DC2>.temporal.api.workflowservice.v1.ScanWorkflowExecutionsRequest\SUB?.temporal.api.workflowservice.v1.ScanWorkflowExecutionsResponse\"\NUL\DC2\253\SOH\n\
+      \\ETBCountWorkflowExecutions\DC2?.temporal.api.workflowservice.v1.CountWorkflowExecutionsRequest\SUB@.temporal.api.workflowservice.v1.CountWorkflowExecutionsResponse\"_\130\211\228\147\STXY\DC2&/namespaces/{namespace}/workflow-countZ/\DC2-/api/v1/namespaces/{namespace}/workflow-count\DC2\146\SOH\n\
+      \\DC3GetSearchAttributes\DC2;.temporal.api.workflowservice.v1.GetSearchAttributesRequest\SUB<.temporal.api.workflowservice.v1.GetSearchAttributesResponse\"\NUL\DC2\164\SOH\n\
+      \\EMRespondQueryTaskCompleted\DC2A.temporal.api.workflowservice.v1.RespondQueryTaskCompletedRequest\SUBB.temporal.api.workflowservice.v1.RespondQueryTaskCompletedResponse\"\NUL\DC2\149\SOH\n\
+      \\DC4ResetStickyTaskQueue\DC2<.temporal.api.workflowservice.v1.ResetStickyTaskQueueRequest\SUB=.temporal.api.workflowservice.v1.ResetStickyTaskQueueResponse\"\NUL\DC2\131\SOH\n\
+      \\SOShutdownWorker\DC26.temporal.api.workflowservice.v1.ShutdownWorkerRequest\SUB7.temporal.api.workflowservice.v1.ShutdownWorkerResponse\"\NUL\DC2\191\STX\n\
+      \\rQueryWorkflow\DC25.temporal.api.workflowservice.v1.QueryWorkflowRequest\SUB6.temporal.api.workflowservice.v1.QueryWorkflowResponse\"\190\SOH\130\211\228\147\STX\183\SOH\"R/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\SOH*Z^\"Y/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/query/{query.query_type}:\SOH*\DC2\170\STX\n\
+      \\EMDescribeWorkflowExecution\DC2A.temporal.api.workflowservice.v1.DescribeWorkflowExecutionRequest\SUBB.temporal.api.workflowservice.v1.DescribeWorkflowExecutionResponse\"\133\SOH\130\211\228\147\STX\DEL\DC29/namespaces/{namespace}/workflows/{execution.workflow_id}ZB\DC2@/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}\DC2\137\STX\n\
+      \\DC1DescribeTaskQueue\DC29.temporal.api.workflowservice.v1.DescribeTaskQueueRequest\SUB:.temporal.api.workflowservice.v1.DescribeTaskQueueResponse\"}\130\211\228\147\STXw\DC25/namespaces/{namespace}/task-queues/{task_queue.name}Z>\DC2</api/v1/namespaces/{namespace}/task-queues/{task_queue.name}\DC2\171\SOH\n\
+      \\SOGetClusterInfo\DC26.temporal.api.workflowservice.v1.GetClusterInfoRequest\SUB7.temporal.api.workflowservice.v1.GetClusterInfoResponse\"(\130\211\228\147\STX\"\DC2\b/clusterZ\SYN\DC2\DC4/api/v1/cluster-info\DC2\171\SOH\n\
+      \\rGetSystemInfo\DC25.temporal.api.workflowservice.v1.GetSystemInfoRequest\SUB6.temporal.api.workflowservice.v1.GetSystemInfoResponse\"+\130\211\228\147\STX%\DC2\f/system-infoZ\NAK\DC2\DC3/api/v1/system-info\DC2\158\SOH\n\
+      \\ETBListTaskQueuePartitions\DC2?.temporal.api.workflowservice.v1.ListTaskQueuePartitionsRequest\SUB@.temporal.api.workflowservice.v1.ListTaskQueuePartitionsResponse\"\NUL\DC2\250\SOH\n\
+      \\SOCreateSchedule\DC26.temporal.api.workflowservice.v1.CreateScheduleRequest\SUB7.temporal.api.workflowservice.v1.CreateScheduleResponse\"w\130\211\228\147\STXq\"//namespaces/{namespace}/schedules/{schedule_id}:\SOH*Z;\"6/api/v1/namespaces/{namespace}/schedules/{schedule_id}:\SOH*\DC2\250\SOH\n\
+      \\DLEDescribeSchedule\DC28.temporal.api.workflowservice.v1.DescribeScheduleRequest\SUB9.temporal.api.workflowservice.v1.DescribeScheduleResponse\"q\130\211\228\147\STXk\DC2//namespaces/{namespace}/schedules/{schedule_id}Z8\DC26/api/v1/namespaces/{namespace}/schedules/{schedule_id}\DC2\137\STX\n\
+      \\SOUpdateSchedule\DC26.temporal.api.workflowservice.v1.UpdateScheduleRequest\SUB7.temporal.api.workflowservice.v1.UpdateScheduleResponse\"\133\SOH\130\211\228\147\STX\DEL\"6/namespaces/{namespace}/schedules/{schedule_id}/update:\SOH*ZB\"=/api/v1/namespaces/{namespace}/schedules/{schedule_id}/update:\SOH*\DC2\132\STX\n\
+      \\rPatchSchedule\DC25.temporal.api.workflowservice.v1.PatchScheduleRequest\SUB6.temporal.api.workflowservice.v1.PatchScheduleResponse\"\131\SOH\130\211\228\147\STX}\"5/namespaces/{namespace}/schedules/{schedule_id}/patch:\SOH*ZA\"</api/v1/namespaces/{namespace}/schedules/{schedule_id}/patch:\SOH*\DC2\181\STX\n\
+      \\EMListScheduleMatchingTimes\DC2A.temporal.api.workflowservice.v1.ListScheduleMatchingTimesRequest\SUBB.temporal.api.workflowservice.v1.ListScheduleMatchingTimesResponse\"\144\SOH\130\211\228\147\STX\137\SOH\DC2>/namespaces/{namespace}/schedules/{schedule_id}/matching-timesZG\DC2E/api/v1/namespaces/{namespace}/schedules/{schedule_id}/matching-times\DC2\244\SOH\n\
+      \\SODeleteSchedule\DC26.temporal.api.workflowservice.v1.DeleteScheduleRequest\SUB7.temporal.api.workflowservice.v1.DeleteScheduleResponse\"q\130\211\228\147\STXk*//namespaces/{namespace}/schedules/{schedule_id}Z8*6/api/v1/namespaces/{namespace}/schedules/{schedule_id}\DC2\213\SOH\n\
+      \\rListSchedules\DC25.temporal.api.workflowservice.v1.ListSchedulesRequest\SUB6.temporal.api.workflowservice.v1.ListSchedulesResponse\"U\130\211\228\147\STXO\DC2!/namespaces/{namespace}/schedulesZ*\DC2(/api/v1/namespaces/{namespace}/schedules\DC2\185\SOH\n\
+      \ UpdateWorkerBuildIdCompatibility\DC2H.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityRequest\SUBI.temporal.api.workflowservice.v1.UpdateWorkerBuildIdCompatibilityResponse\"\NUL\DC2\225\STX\n\
+      \\GSGetWorkerBuildIdCompatibility\DC2E.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityRequest\SUBF.temporal.api.workflowservice.v1.GetWorkerBuildIdCompatibilityResponse\"\176\SOH\130\211\228\147\STX\169\SOH\DC2N/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibilityZW\DC2U/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-build-id-compatibility\DC2\170\SOH\n\
+      \\ESCUpdateWorkerVersioningRules\DC2C.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesRequest\SUBD.temporal.api.workflowservice.v1.UpdateWorkerVersioningRulesResponse\"\NUL\DC2\198\STX\n\
+      \\CANGetWorkerVersioningRules\DC2@.temporal.api.workflowservice.v1.GetWorkerVersioningRulesRequest\SUBA.temporal.api.workflowservice.v1.GetWorkerVersioningRulesResponse\"\164\SOH\130\211\228\147\STX\157\SOH\DC2H/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rulesZQ\DC2O/api/v1/namespaces/{namespace}/task-queues/{task_queue}/worker-versioning-rules\DC2\151\STX\n\
+      \\EMGetWorkerTaskReachability\DC2A.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityRequest\SUBB.temporal.api.workflowservice.v1.GetWorkerTaskReachabilityResponse\"s\130\211\228\147\STXm\DC20/namespaces/{namespace}/worker-task-reachabilityZ9\DC27/api/v1/namespaces/{namespace}/worker-task-reachability\DC2\200\STX\n\
+      \\DC2DescribeDeployment\DC2:.temporal.api.workflowservice.v1.DescribeDeploymentRequest\SUB;.temporal.api.workflowservice.v1.DescribeDeploymentResponse\"\184\SOH\130\211\228\147\STX\177\SOH\DC2R/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}Z[\DC2Y/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}\DC2\195\STX\n\
+      \\USDescribeWorkerDeploymentVersion\DC2G.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionRequest\SUBH.temporal.api.workflowservice.v1.DescribeWorkerDeploymentVersionResponse\"\140\SOH\130\211\228\147\STX\133\SOH\DC2</namespaces/{namespace}/worker-deployment-versions/{version}ZE\DC2C/api/v1/namespaces/{namespace}/worker-deployment-versions/{version}\DC2\223\SOH\n\
+      \\SIListDeployments\DC27.temporal.api.workflowservice.v1.ListDeploymentsRequest\SUB8.temporal.api.workflowservice.v1.ListDeploymentsResponse\"Y\130\211\228\147\STXS\DC2#/namespaces/{namespace}/deploymentsZ,\DC2*/api/v1/namespaces/{namespace}/deployments\DC2\247\STX\n\
+      \\EMGetDeploymentReachability\DC2A.temporal.api.workflowservice.v1.GetDeploymentReachabilityRequest\SUBB.temporal.api.workflowservice.v1.GetDeploymentReachabilityResponse\"\210\SOH\130\211\228\147\STX\203\SOH\DC2_/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachabilityZh\DC2f/api/v1/namespaces/{namespace}/deployments/{deployment.series_name}/{deployment.build_id}/reachability\DC2\153\STX\n\
+      \\DC4GetCurrentDeployment\DC2<.temporal.api.workflowservice.v1.GetCurrentDeploymentRequest\SUB=.temporal.api.workflowservice.v1.GetCurrentDeploymentResponse\"\131\SOH\130\211\228\147\STX}\DC28/namespaces/{namespace}/current-deployment/{series_name}ZA\DC2?/api/v1/namespaces/{namespace}/current-deployment/{series_name}\DC2\182\STX\n\
+      \\DC4SetCurrentDeployment\DC2<.temporal.api.workflowservice.v1.SetCurrentDeploymentRequest\SUB=.temporal.api.workflowservice.v1.SetCurrentDeploymentResponse\"\160\SOH\130\211\228\147\STX\153\SOH\"C/namespaces/{namespace}/current-deployment/{deployment.series_name}:\SOH*ZO\"J/api/v1/namespaces/{namespace}/current-deployment/{deployment.series_name}:\SOH*\DC2\247\STX\n\
+      \!SetWorkerDeploymentCurrentVersion\DC2I.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionRequest\SUBJ.temporal.api.workflowservice.v1.SetWorkerDeploymentCurrentVersionResponse\"\186\SOH\130\211\228\147\STX\179\SOH\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\SOH*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-current-version:\SOH*\DC2\174\STX\n\
+      \\CANDescribeWorkerDeployment\DC2@.temporal.api.workflowservice.v1.DescribeWorkerDeploymentRequest\SUBA.temporal.api.workflowservice.v1.DescribeWorkerDeploymentResponse\"\140\SOH\130\211\228\147\STX\133\SOH\DC2</namespaces/{namespace}/worker-deployments/{deployment_name}ZE\DC2C/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\DC2\168\STX\n\
+      \\SYNDeleteWorkerDeployment\DC2>.temporal.api.workflowservice.v1.DeleteWorkerDeploymentRequest\SUB?.temporal.api.workflowservice.v1.DeleteWorkerDeploymentResponse\"\140\SOH\130\211\228\147\STX\133\SOH*</namespaces/{namespace}/worker-deployments/{deployment_name}ZE*C/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}\DC2\189\STX\n\
+      \\GSDeleteWorkerDeploymentVersion\DC2E.temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionRequest\SUBF.temporal.api.workflowservice.v1.DeleteWorkerDeploymentVersionResponse\"\140\SOH\130\211\228\147\STX\133\SOH*</namespaces/{namespace}/worker-deployment-versions/{version}ZE*C/api/v1/namespaces/{namespace}/worker-deployment-versions/{version}\DC2\247\STX\n\
+      \!SetWorkerDeploymentRampingVersion\DC2I.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionRequest\SUBJ.temporal.api.workflowservice.v1.SetWorkerDeploymentRampingVersionResponse\"\186\SOH\130\211\228\147\STX\179\SOH\"P/namespaces/{namespace}/worker-deployments/{deployment_name}/set-ramping-version:\SOH*Z\\\"W/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-ramping-version:\SOH*\DC2\255\SOH\n\
+      \\NAKListWorkerDeployments\DC2=.temporal.api.workflowservice.v1.ListWorkerDeploymentsRequest\SUB>.temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse\"g\130\211\228\147\STXa\DC2*/namespaces/{namespace}/worker-deploymentsZ3\DC21/api/v1/namespaces/{namespace}/worker-deployments\DC2\251\STX\n\
+      \%UpdateWorkerDeploymentVersionMetadata\DC2M.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataRequest\SUBN.temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse\"\178\SOH\130\211\228\147\STX\171\SOH\"L/namespaces/{namespace}/worker-deployment-versions/{version}/update-metadata:\SOH*ZX\"S/api/v1/namespaces/{namespace}/worker-deployment-versions/{version}/update-metadata:\SOH*\DC2\245\STX\n\
+      \\ETBUpdateWorkflowExecution\DC2?.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest\SUB@.temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse\"\214\SOH\130\211\228\147\STX\207\SOH\"^/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\SOH*Zj\"e/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update/{request.input.name}:\SOH*\DC2\170\SOH\n\
+      \\ESCPollWorkflowExecutionUpdate\DC2C.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateRequest\SUBD.temporal.api.workflowservice.v1.PollWorkflowExecutionUpdateResponse\"\NUL\DC2\141\STX\n\
+      \\DC3StartBatchOperation\DC2;.temporal.api.workflowservice.v1.StartBatchOperationRequest\SUB<.temporal.api.workflowservice.v1.StartBatchOperationResponse\"{\130\211\228\147\STXu\"1/namespaces/{namespace}/batch-operations/{job_id}:\SOH*Z=\"8/api/v1/namespaces/{namespace}/batch-operations/{job_id}:\SOH*\DC2\149\STX\n\
+      \\DC2StopBatchOperation\DC2:.temporal.api.workflowservice.v1.StopBatchOperationRequest\SUB;.temporal.api.workflowservice.v1.StopBatchOperationResponse\"\133\SOH\130\211\228\147\STX\DEL\"6/namespaces/{namespace}/batch-operations/{job_id}/stop:\SOH*ZB\"=/api/v1/namespaces/{namespace}/batch-operations/{job_id}/stop:\SOH*\DC2\144\STX\n\
+      \\SYNDescribeBatchOperation\DC2>.temporal.api.workflowservice.v1.DescribeBatchOperationRequest\SUB?.temporal.api.workflowservice.v1.DescribeBatchOperationResponse\"u\130\211\228\147\STXo\DC21/namespaces/{namespace}/batch-operations/{job_id}Z:\DC28/api/v1/namespaces/{namespace}/batch-operations/{job_id}\DC2\245\SOH\n\
+      \\DC3ListBatchOperations\DC2;.temporal.api.workflowservice.v1.ListBatchOperationsRequest\SUB<.temporal.api.workflowservice.v1.ListBatchOperationsResponse\"c\130\211\228\147\STX]\DC2(/namespaces/{namespace}/batch-operationsZ1\DC2//api/v1/namespaces/{namespace}/batch-operations\DC2\143\SOH\n\
+      \\DC2PollNexusTaskQueue\DC2:.temporal.api.workflowservice.v1.PollNexusTaskQueueRequest\SUB;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponse\"\NUL\DC2\164\SOH\n\
+      \\EMRespondNexusTaskCompleted\DC2A.temporal.api.workflowservice.v1.RespondNexusTaskCompletedRequest\SUBB.temporal.api.workflowservice.v1.RespondNexusTaskCompletedResponse\"\NUL\DC2\155\SOH\n\
+      \\SYNRespondNexusTaskFailed\DC2>.temporal.api.workflowservice.v1.RespondNexusTaskFailedRequest\SUB?.temporal.api.workflowservice.v1.RespondNexusTaskFailedResponse\"\NUL\DC2\147\STX\n\
+      \\NAKUpdateActivityOptions\DC2=.temporal.api.workflowservice.v1.UpdateActivityOptionsRequest\SUB>.temporal.api.workflowservice.v1.UpdateActivityOptionsResponse\"{\130\211\228\147\STXu\"1/namespaces/{namespace}/activities/update-options:\SOH*Z=\"8/api/v1/namespaces/{namespace}/activities/update-options:\SOH*\DC2\240\STX\n\
+      \\RSUpdateWorkflowExecutionOptions\DC2F.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest\SUBG.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsResponse\"\188\SOH\130\211\228\147\STX\181\SOH\"Q/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\SOH*Z]\"X/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/update-options:\SOH*\DC2\233\SOH\n\
+      \\rPauseActivity\DC25.temporal.api.workflowservice.v1.PauseActivityRequest\SUB6.temporal.api.workflowservice.v1.PauseActivityResponse\"i\130\211\228\147\STXc\"(/namespaces/{namespace}/activities/pause:\SOH*Z4\"//api/v1/namespaces/{namespace}/activities/pause:\SOH*\DC2\243\SOH\n\
+      \\SIUnpauseActivity\DC27.temporal.api.workflowservice.v1.UnpauseActivityRequest\SUB8.temporal.api.workflowservice.v1.UnpauseActivityResponse\"m\130\211\228\147\STXg\"*/namespaces/{namespace}/activities/unpause:\SOH*Z6\"1/api/v1/namespaces/{namespace}/activities/unpause:\SOH*\DC2\233\SOH\n\
+      \\rResetActivity\DC25.temporal.api.workflowservice.v1.ResetActivityRequest\SUB6.temporal.api.workflowservice.v1.ResetActivityResponse\"i\130\211\228\147\STXc\"(/namespaces/{namespace}/activities/reset:\SOH*Z4\"//api/v1/namespaces/{namespace}/activities/reset:\SOH*\DC2\244\SOH\n\
+      \\DC2CreateWorkflowRule\DC2:.temporal.api.workflowservice.v1.CreateWorkflowRuleRequest\SUB;.temporal.api.workflowservice.v1.CreateWorkflowRuleResponse\"e\130\211\228\147\STX_\"&/namespaces/{namespace}/workflow-rules:\SOH*Z2\"-/api/v1/namespaces/{namespace}/workflow-rules:\SOH*\DC2\136\STX\n\
+      \\DC4DescribeWorkflowRule\DC2<.temporal.api.workflowservice.v1.DescribeWorkflowRuleRequest\SUB=.temporal.api.workflowservice.v1.DescribeWorkflowRuleResponse\"s\130\211\228\147\STXm\DC20/namespaces/{namespace}/workflow-rules/{rule_id}Z9\DC27/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\DC2\130\STX\n\
+      \\DC2DeleteWorkflowRule\DC2:.temporal.api.workflowservice.v1.DeleteWorkflowRuleRequest\SUB;.temporal.api.workflowservice.v1.DeleteWorkflowRuleResponse\"s\130\211\228\147\STXm*0/namespaces/{namespace}/workflow-rules/{rule_id}Z9*7/api/v1/namespaces/{namespace}/workflow-rules/{rule_id}\DC2\235\SOH\n\
+      \\DC1ListWorkflowRules\DC29.temporal.api.workflowservice.v1.ListWorkflowRulesRequest\SUB:.temporal.api.workflowservice.v1.ListWorkflowRulesResponse\"_\130\211\228\147\STXY\DC2&/namespaces/{namespace}/workflow-rulesZ/\DC2-/api/v1/namespaces/{namespace}/workflow-rules\DC2\185\STX\n\
+      \\DC3TriggerWorkflowRule\DC2;.temporal.api.workflowservice.v1.TriggerWorkflowRuleRequest\SUB<.temporal.api.workflowservice.v1.TriggerWorkflowRuleResponse\"\166\SOH\130\211\228\147\STX\159\SOH\"F/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\SOH*ZR\"M/api/v1/namespaces/{namespace}/workflows/{execution.workflow_id}/trigger-rule:\SOH*"
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "registerNamespace" where
+  type MethodName WorkflowService "registerNamespace" = "RegisterNamespace"
+  type MethodInput WorkflowService "registerNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RegisterNamespaceRequest
+  type MethodOutput WorkflowService "registerNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RegisterNamespaceResponse
+  type MethodStreamingType WorkflowService "registerNamespace" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeNamespace" where
+  type MethodName WorkflowService "describeNamespace" = "DescribeNamespace"
+  type MethodInput WorkflowService "describeNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeNamespaceRequest
+  type MethodOutput WorkflowService "describeNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeNamespaceResponse
+  type MethodStreamingType WorkflowService "describeNamespace" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listNamespaces" where
+  type MethodName WorkflowService "listNamespaces" = "ListNamespaces"
+  type MethodInput WorkflowService "listNamespaces" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListNamespacesRequest
+  type MethodOutput WorkflowService "listNamespaces" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListNamespacesResponse
+  type MethodStreamingType WorkflowService "listNamespaces" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateNamespace" where
+  type MethodName WorkflowService "updateNamespace" = "UpdateNamespace"
+  type MethodInput WorkflowService "updateNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateNamespaceRequest
+  type MethodOutput WorkflowService "updateNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateNamespaceResponse
+  type MethodStreamingType WorkflowService "updateNamespace" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "deprecateNamespace" where
+  type MethodName WorkflowService "deprecateNamespace" = "DeprecateNamespace"
+  type MethodInput WorkflowService "deprecateNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeprecateNamespaceRequest
+  type MethodOutput WorkflowService "deprecateNamespace" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeprecateNamespaceResponse
+  type MethodStreamingType WorkflowService "deprecateNamespace" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "startWorkflowExecution" where
+  type MethodName WorkflowService "startWorkflowExecution" = "StartWorkflowExecution"
+  type MethodInput WorkflowService "startWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.StartWorkflowExecutionRequest
+  type MethodOutput WorkflowService "startWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.StartWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "startWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "executeMultiOperation" where
+  type MethodName WorkflowService "executeMultiOperation" = "ExecuteMultiOperation"
+  type MethodInput WorkflowService "executeMultiOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ExecuteMultiOperationRequest
+  type MethodOutput WorkflowService "executeMultiOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ExecuteMultiOperationResponse
+  type MethodStreamingType WorkflowService "executeMultiOperation" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getWorkflowExecutionHistory" where
+  type MethodName WorkflowService "getWorkflowExecutionHistory" = "GetWorkflowExecutionHistory"
+  type MethodInput WorkflowService "getWorkflowExecutionHistory" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkflowExecutionHistoryRequest
+  type MethodOutput WorkflowService "getWorkflowExecutionHistory" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkflowExecutionHistoryResponse
+  type MethodStreamingType WorkflowService "getWorkflowExecutionHistory" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getWorkflowExecutionHistoryReverse" where
+  type MethodName WorkflowService "getWorkflowExecutionHistoryReverse" = "GetWorkflowExecutionHistoryReverse"
+  type MethodInput WorkflowService "getWorkflowExecutionHistoryReverse" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkflowExecutionHistoryReverseRequest
+  type MethodOutput WorkflowService "getWorkflowExecutionHistoryReverse" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkflowExecutionHistoryReverseResponse
+  type MethodStreamingType WorkflowService "getWorkflowExecutionHistoryReverse" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "pollWorkflowTaskQueue" where
+  type MethodName WorkflowService "pollWorkflowTaskQueue" = "PollWorkflowTaskQueue"
+  type MethodInput WorkflowService "pollWorkflowTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollWorkflowTaskQueueRequest
+  type MethodOutput WorkflowService "pollWorkflowTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollWorkflowTaskQueueResponse
+  type MethodStreamingType WorkflowService "pollWorkflowTaskQueue" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondWorkflowTaskCompleted" where
+  type MethodName WorkflowService "respondWorkflowTaskCompleted" = "RespondWorkflowTaskCompleted"
+  type MethodInput WorkflowService "respondWorkflowTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondWorkflowTaskCompletedRequest
+  type MethodOutput WorkflowService "respondWorkflowTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondWorkflowTaskCompletedResponse
+  type MethodStreamingType WorkflowService "respondWorkflowTaskCompleted" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondWorkflowTaskFailed" where
+  type MethodName WorkflowService "respondWorkflowTaskFailed" = "RespondWorkflowTaskFailed"
+  type MethodInput WorkflowService "respondWorkflowTaskFailed" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondWorkflowTaskFailedRequest
+  type MethodOutput WorkflowService "respondWorkflowTaskFailed" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondWorkflowTaskFailedResponse
+  type MethodStreamingType WorkflowService "respondWorkflowTaskFailed" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "pollActivityTaskQueue" where
+  type MethodName WorkflowService "pollActivityTaskQueue" = "PollActivityTaskQueue"
+  type MethodInput WorkflowService "pollActivityTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollActivityTaskQueueRequest
+  type MethodOutput WorkflowService "pollActivityTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollActivityTaskQueueResponse
+  type MethodStreamingType WorkflowService "pollActivityTaskQueue" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "recordActivityTaskHeartbeat" where
+  type MethodName WorkflowService "recordActivityTaskHeartbeat" = "RecordActivityTaskHeartbeat"
+  type MethodInput WorkflowService "recordActivityTaskHeartbeat" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RecordActivityTaskHeartbeatRequest
+  type MethodOutput WorkflowService "recordActivityTaskHeartbeat" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RecordActivityTaskHeartbeatResponse
+  type MethodStreamingType WorkflowService "recordActivityTaskHeartbeat" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "recordActivityTaskHeartbeatById" where
+  type MethodName WorkflowService "recordActivityTaskHeartbeatById" = "RecordActivityTaskHeartbeatById"
+  type MethodInput WorkflowService "recordActivityTaskHeartbeatById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RecordActivityTaskHeartbeatByIdRequest
+  type MethodOutput WorkflowService "recordActivityTaskHeartbeatById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RecordActivityTaskHeartbeatByIdResponse
+  type MethodStreamingType WorkflowService "recordActivityTaskHeartbeatById" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondActivityTaskCompleted" where
+  type MethodName WorkflowService "respondActivityTaskCompleted" = "RespondActivityTaskCompleted"
+  type MethodInput WorkflowService "respondActivityTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCompletedRequest
+  type MethodOutput WorkflowService "respondActivityTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCompletedResponse
+  type MethodStreamingType WorkflowService "respondActivityTaskCompleted" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondActivityTaskCompletedById" where
+  type MethodName WorkflowService "respondActivityTaskCompletedById" = "RespondActivityTaskCompletedById"
+  type MethodInput WorkflowService "respondActivityTaskCompletedById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCompletedByIdRequest
+  type MethodOutput WorkflowService "respondActivityTaskCompletedById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCompletedByIdResponse
+  type MethodStreamingType WorkflowService "respondActivityTaskCompletedById" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondActivityTaskFailed" where
+  type MethodName WorkflowService "respondActivityTaskFailed" = "RespondActivityTaskFailed"
+  type MethodInput WorkflowService "respondActivityTaskFailed" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskFailedRequest
+  type MethodOutput WorkflowService "respondActivityTaskFailed" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskFailedResponse
+  type MethodStreamingType WorkflowService "respondActivityTaskFailed" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondActivityTaskFailedById" where
+  type MethodName WorkflowService "respondActivityTaskFailedById" = "RespondActivityTaskFailedById"
+  type MethodInput WorkflowService "respondActivityTaskFailedById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskFailedByIdRequest
+  type MethodOutput WorkflowService "respondActivityTaskFailedById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskFailedByIdResponse
+  type MethodStreamingType WorkflowService "respondActivityTaskFailedById" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondActivityTaskCanceled" where
+  type MethodName WorkflowService "respondActivityTaskCanceled" = "RespondActivityTaskCanceled"
+  type MethodInput WorkflowService "respondActivityTaskCanceled" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCanceledRequest
+  type MethodOutput WorkflowService "respondActivityTaskCanceled" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCanceledResponse
+  type MethodStreamingType WorkflowService "respondActivityTaskCanceled" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondActivityTaskCanceledById" where
+  type MethodName WorkflowService "respondActivityTaskCanceledById" = "RespondActivityTaskCanceledById"
+  type MethodInput WorkflowService "respondActivityTaskCanceledById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCanceledByIdRequest
+  type MethodOutput WorkflowService "respondActivityTaskCanceledById" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondActivityTaskCanceledByIdResponse
+  type MethodStreamingType WorkflowService "respondActivityTaskCanceledById" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "requestCancelWorkflowExecution" where
+  type MethodName WorkflowService "requestCancelWorkflowExecution" = "RequestCancelWorkflowExecution"
+  type MethodInput WorkflowService "requestCancelWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RequestCancelWorkflowExecutionRequest
+  type MethodOutput WorkflowService "requestCancelWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RequestCancelWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "requestCancelWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "signalWorkflowExecution" where
+  type MethodName WorkflowService "signalWorkflowExecution" = "SignalWorkflowExecution"
+  type MethodInput WorkflowService "signalWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SignalWorkflowExecutionRequest
+  type MethodOutput WorkflowService "signalWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SignalWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "signalWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "signalWithStartWorkflowExecution" where
+  type MethodName WorkflowService "signalWithStartWorkflowExecution" = "SignalWithStartWorkflowExecution"
+  type MethodInput WorkflowService "signalWithStartWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SignalWithStartWorkflowExecutionRequest
+  type MethodOutput WorkflowService "signalWithStartWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SignalWithStartWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "signalWithStartWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "resetWorkflowExecution" where
+  type MethodName WorkflowService "resetWorkflowExecution" = "ResetWorkflowExecution"
+  type MethodInput WorkflowService "resetWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ResetWorkflowExecutionRequest
+  type MethodOutput WorkflowService "resetWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ResetWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "resetWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "terminateWorkflowExecution" where
+  type MethodName WorkflowService "terminateWorkflowExecution" = "TerminateWorkflowExecution"
+  type MethodInput WorkflowService "terminateWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.TerminateWorkflowExecutionRequest
+  type MethodOutput WorkflowService "terminateWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.TerminateWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "terminateWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "deleteWorkflowExecution" where
+  type MethodName WorkflowService "deleteWorkflowExecution" = "DeleteWorkflowExecution"
+  type MethodInput WorkflowService "deleteWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkflowExecutionRequest
+  type MethodOutput WorkflowService "deleteWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "deleteWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listOpenWorkflowExecutions" where
+  type MethodName WorkflowService "listOpenWorkflowExecutions" = "ListOpenWorkflowExecutions"
+  type MethodInput WorkflowService "listOpenWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListOpenWorkflowExecutionsRequest
+  type MethodOutput WorkflowService "listOpenWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListOpenWorkflowExecutionsResponse
+  type MethodStreamingType WorkflowService "listOpenWorkflowExecutions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listClosedWorkflowExecutions" where
+  type MethodName WorkflowService "listClosedWorkflowExecutions" = "ListClosedWorkflowExecutions"
+  type MethodInput WorkflowService "listClosedWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListClosedWorkflowExecutionsRequest
+  type MethodOutput WorkflowService "listClosedWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListClosedWorkflowExecutionsResponse
+  type MethodStreamingType WorkflowService "listClosedWorkflowExecutions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listWorkflowExecutions" where
+  type MethodName WorkflowService "listWorkflowExecutions" = "ListWorkflowExecutions"
+  type MethodInput WorkflowService "listWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListWorkflowExecutionsRequest
+  type MethodOutput WorkflowService "listWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListWorkflowExecutionsResponse
+  type MethodStreamingType WorkflowService "listWorkflowExecutions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listArchivedWorkflowExecutions" where
+  type MethodName WorkflowService "listArchivedWorkflowExecutions" = "ListArchivedWorkflowExecutions"
+  type MethodInput WorkflowService "listArchivedWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListArchivedWorkflowExecutionsRequest
+  type MethodOutput WorkflowService "listArchivedWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListArchivedWorkflowExecutionsResponse
+  type MethodStreamingType WorkflowService "listArchivedWorkflowExecutions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "scanWorkflowExecutions" where
+  type MethodName WorkflowService "scanWorkflowExecutions" = "ScanWorkflowExecutions"
+  type MethodInput WorkflowService "scanWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ScanWorkflowExecutionsRequest
+  type MethodOutput WorkflowService "scanWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ScanWorkflowExecutionsResponse
+  type MethodStreamingType WorkflowService "scanWorkflowExecutions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "countWorkflowExecutions" where
+  type MethodName WorkflowService "countWorkflowExecutions" = "CountWorkflowExecutions"
+  type MethodInput WorkflowService "countWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.CountWorkflowExecutionsRequest
+  type MethodOutput WorkflowService "countWorkflowExecutions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.CountWorkflowExecutionsResponse
+  type MethodStreamingType WorkflowService "countWorkflowExecutions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getSearchAttributes" where
+  type MethodName WorkflowService "getSearchAttributes" = "GetSearchAttributes"
+  type MethodInput WorkflowService "getSearchAttributes" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetSearchAttributesRequest
+  type MethodOutput WorkflowService "getSearchAttributes" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetSearchAttributesResponse
+  type MethodStreamingType WorkflowService "getSearchAttributes" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondQueryTaskCompleted" where
+  type MethodName WorkflowService "respondQueryTaskCompleted" = "RespondQueryTaskCompleted"
+  type MethodInput WorkflowService "respondQueryTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondQueryTaskCompletedRequest
+  type MethodOutput WorkflowService "respondQueryTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondQueryTaskCompletedResponse
+  type MethodStreamingType WorkflowService "respondQueryTaskCompleted" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "resetStickyTaskQueue" where
+  type MethodName WorkflowService "resetStickyTaskQueue" = "ResetStickyTaskQueue"
+  type MethodInput WorkflowService "resetStickyTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ResetStickyTaskQueueRequest
+  type MethodOutput WorkflowService "resetStickyTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ResetStickyTaskQueueResponse
+  type MethodStreamingType WorkflowService "resetStickyTaskQueue" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "shutdownWorker" where
+  type MethodName WorkflowService "shutdownWorker" = "ShutdownWorker"
+  type MethodInput WorkflowService "shutdownWorker" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ShutdownWorkerRequest
+  type MethodOutput WorkflowService "shutdownWorker" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ShutdownWorkerResponse
+  type MethodStreamingType WorkflowService "shutdownWorker" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "queryWorkflow" where
+  type MethodName WorkflowService "queryWorkflow" = "QueryWorkflow"
+  type MethodInput WorkflowService "queryWorkflow" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.QueryWorkflowRequest
+  type MethodOutput WorkflowService "queryWorkflow" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.QueryWorkflowResponse
+  type MethodStreamingType WorkflowService "queryWorkflow" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeWorkflowExecution" where
+  type MethodName WorkflowService "describeWorkflowExecution" = "DescribeWorkflowExecution"
+  type MethodInput WorkflowService "describeWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkflowExecutionRequest
+  type MethodOutput WorkflowService "describeWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "describeWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeTaskQueue" where
+  type MethodName WorkflowService "describeTaskQueue" = "DescribeTaskQueue"
+  type MethodInput WorkflowService "describeTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeTaskQueueRequest
+  type MethodOutput WorkflowService "describeTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeTaskQueueResponse
+  type MethodStreamingType WorkflowService "describeTaskQueue" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getClusterInfo" where
+  type MethodName WorkflowService "getClusterInfo" = "GetClusterInfo"
+  type MethodInput WorkflowService "getClusterInfo" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetClusterInfoRequest
+  type MethodOutput WorkflowService "getClusterInfo" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetClusterInfoResponse
+  type MethodStreamingType WorkflowService "getClusterInfo" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getSystemInfo" where
+  type MethodName WorkflowService "getSystemInfo" = "GetSystemInfo"
+  type MethodInput WorkflowService "getSystemInfo" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetSystemInfoRequest
+  type MethodOutput WorkflowService "getSystemInfo" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetSystemInfoResponse
+  type MethodStreamingType WorkflowService "getSystemInfo" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listTaskQueuePartitions" where
+  type MethodName WorkflowService "listTaskQueuePartitions" = "ListTaskQueuePartitions"
+  type MethodInput WorkflowService "listTaskQueuePartitions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListTaskQueuePartitionsRequest
+  type MethodOutput WorkflowService "listTaskQueuePartitions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListTaskQueuePartitionsResponse
+  type MethodStreamingType WorkflowService "listTaskQueuePartitions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "createSchedule" where
+  type MethodName WorkflowService "createSchedule" = "CreateSchedule"
+  type MethodInput WorkflowService "createSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.CreateScheduleRequest
+  type MethodOutput WorkflowService "createSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.CreateScheduleResponse
+  type MethodStreamingType WorkflowService "createSchedule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeSchedule" where
+  type MethodName WorkflowService "describeSchedule" = "DescribeSchedule"
+  type MethodInput WorkflowService "describeSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeScheduleRequest
+  type MethodOutput WorkflowService "describeSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeScheduleResponse
+  type MethodStreamingType WorkflowService "describeSchedule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateSchedule" where
+  type MethodName WorkflowService "updateSchedule" = "UpdateSchedule"
+  type MethodInput WorkflowService "updateSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateScheduleRequest
+  type MethodOutput WorkflowService "updateSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateScheduleResponse
+  type MethodStreamingType WorkflowService "updateSchedule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "patchSchedule" where
+  type MethodName WorkflowService "patchSchedule" = "PatchSchedule"
+  type MethodInput WorkflowService "patchSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PatchScheduleRequest
+  type MethodOutput WorkflowService "patchSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PatchScheduleResponse
+  type MethodStreamingType WorkflowService "patchSchedule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listScheduleMatchingTimes" where
+  type MethodName WorkflowService "listScheduleMatchingTimes" = "ListScheduleMatchingTimes"
+  type MethodInput WorkflowService "listScheduleMatchingTimes" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListScheduleMatchingTimesRequest
+  type MethodOutput WorkflowService "listScheduleMatchingTimes" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListScheduleMatchingTimesResponse
+  type MethodStreamingType WorkflowService "listScheduleMatchingTimes" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "deleteSchedule" where
+  type MethodName WorkflowService "deleteSchedule" = "DeleteSchedule"
+  type MethodInput WorkflowService "deleteSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteScheduleRequest
+  type MethodOutput WorkflowService "deleteSchedule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteScheduleResponse
+  type MethodStreamingType WorkflowService "deleteSchedule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listSchedules" where
+  type MethodName WorkflowService "listSchedules" = "ListSchedules"
+  type MethodInput WorkflowService "listSchedules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListSchedulesRequest
+  type MethodOutput WorkflowService "listSchedules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListSchedulesResponse
+  type MethodStreamingType WorkflowService "listSchedules" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateWorkerBuildIdCompatibility" where
+  type MethodName WorkflowService "updateWorkerBuildIdCompatibility" = "UpdateWorkerBuildIdCompatibility"
+  type MethodInput WorkflowService "updateWorkerBuildIdCompatibility" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkerBuildIdCompatibilityRequest
+  type MethodOutput WorkflowService "updateWorkerBuildIdCompatibility" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkerBuildIdCompatibilityResponse
+  type MethodStreamingType WorkflowService "updateWorkerBuildIdCompatibility" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getWorkerBuildIdCompatibility" where
+  type MethodName WorkflowService "getWorkerBuildIdCompatibility" = "GetWorkerBuildIdCompatibility"
+  type MethodInput WorkflowService "getWorkerBuildIdCompatibility" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkerBuildIdCompatibilityRequest
+  type MethodOutput WorkflowService "getWorkerBuildIdCompatibility" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkerBuildIdCompatibilityResponse
+  type MethodStreamingType WorkflowService "getWorkerBuildIdCompatibility" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateWorkerVersioningRules" where
+  type MethodName WorkflowService "updateWorkerVersioningRules" = "UpdateWorkerVersioningRules"
+  type MethodInput WorkflowService "updateWorkerVersioningRules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkerVersioningRulesRequest
+  type MethodOutput WorkflowService "updateWorkerVersioningRules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkerVersioningRulesResponse
+  type MethodStreamingType WorkflowService "updateWorkerVersioningRules" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getWorkerVersioningRules" where
+  type MethodName WorkflowService "getWorkerVersioningRules" = "GetWorkerVersioningRules"
+  type MethodInput WorkflowService "getWorkerVersioningRules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkerVersioningRulesRequest
+  type MethodOutput WorkflowService "getWorkerVersioningRules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkerVersioningRulesResponse
+  type MethodStreamingType WorkflowService "getWorkerVersioningRules" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getWorkerTaskReachability" where
+  type MethodName WorkflowService "getWorkerTaskReachability" = "GetWorkerTaskReachability"
+  type MethodInput WorkflowService "getWorkerTaskReachability" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkerTaskReachabilityRequest
+  type MethodOutput WorkflowService "getWorkerTaskReachability" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetWorkerTaskReachabilityResponse
+  type MethodStreamingType WorkflowService "getWorkerTaskReachability" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeDeployment" where
+  type MethodName WorkflowService "describeDeployment" = "DescribeDeployment"
+  type MethodInput WorkflowService "describeDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeDeploymentRequest
+  type MethodOutput WorkflowService "describeDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeDeploymentResponse
+  type MethodStreamingType WorkflowService "describeDeployment" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeWorkerDeploymentVersion" where
+  type MethodName WorkflowService "describeWorkerDeploymentVersion" = "DescribeWorkerDeploymentVersion"
+  type MethodInput WorkflowService "describeWorkerDeploymentVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkerDeploymentVersionRequest
+  type MethodOutput WorkflowService "describeWorkerDeploymentVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkerDeploymentVersionResponse
+  type MethodStreamingType WorkflowService "describeWorkerDeploymentVersion" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listDeployments" where
+  type MethodName WorkflowService "listDeployments" = "ListDeployments"
+  type MethodInput WorkflowService "listDeployments" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListDeploymentsRequest
+  type MethodOutput WorkflowService "listDeployments" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListDeploymentsResponse
+  type MethodStreamingType WorkflowService "listDeployments" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getDeploymentReachability" where
+  type MethodName WorkflowService "getDeploymentReachability" = "GetDeploymentReachability"
+  type MethodInput WorkflowService "getDeploymentReachability" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetDeploymentReachabilityRequest
+  type MethodOutput WorkflowService "getDeploymentReachability" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetDeploymentReachabilityResponse
+  type MethodStreamingType WorkflowService "getDeploymentReachability" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "getCurrentDeployment" where
+  type MethodName WorkflowService "getCurrentDeployment" = "GetCurrentDeployment"
+  type MethodInput WorkflowService "getCurrentDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetCurrentDeploymentRequest
+  type MethodOutput WorkflowService "getCurrentDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.GetCurrentDeploymentResponse
+  type MethodStreamingType WorkflowService "getCurrentDeployment" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "setCurrentDeployment" where
+  type MethodName WorkflowService "setCurrentDeployment" = "SetCurrentDeployment"
+  type MethodInput WorkflowService "setCurrentDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SetCurrentDeploymentRequest
+  type MethodOutput WorkflowService "setCurrentDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SetCurrentDeploymentResponse
+  type MethodStreamingType WorkflowService "setCurrentDeployment" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "setWorkerDeploymentCurrentVersion" where
+  type MethodName WorkflowService "setWorkerDeploymentCurrentVersion" = "SetWorkerDeploymentCurrentVersion"
+  type MethodInput WorkflowService "setWorkerDeploymentCurrentVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SetWorkerDeploymentCurrentVersionRequest
+  type MethodOutput WorkflowService "setWorkerDeploymentCurrentVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SetWorkerDeploymentCurrentVersionResponse
+  type MethodStreamingType WorkflowService "setWorkerDeploymentCurrentVersion" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeWorkerDeployment" where
+  type MethodName WorkflowService "describeWorkerDeployment" = "DescribeWorkerDeployment"
+  type MethodInput WorkflowService "describeWorkerDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkerDeploymentRequest
+  type MethodOutput WorkflowService "describeWorkerDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkerDeploymentResponse
+  type MethodStreamingType WorkflowService "describeWorkerDeployment" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "deleteWorkerDeployment" where
+  type MethodName WorkflowService "deleteWorkerDeployment" = "DeleteWorkerDeployment"
+  type MethodInput WorkflowService "deleteWorkerDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkerDeploymentRequest
+  type MethodOutput WorkflowService "deleteWorkerDeployment" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkerDeploymentResponse
+  type MethodStreamingType WorkflowService "deleteWorkerDeployment" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "deleteWorkerDeploymentVersion" where
+  type MethodName WorkflowService "deleteWorkerDeploymentVersion" = "DeleteWorkerDeploymentVersion"
+  type MethodInput WorkflowService "deleteWorkerDeploymentVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkerDeploymentVersionRequest
+  type MethodOutput WorkflowService "deleteWorkerDeploymentVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkerDeploymentVersionResponse
+  type MethodStreamingType WorkflowService "deleteWorkerDeploymentVersion" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "setWorkerDeploymentRampingVersion" where
+  type MethodName WorkflowService "setWorkerDeploymentRampingVersion" = "SetWorkerDeploymentRampingVersion"
+  type MethodInput WorkflowService "setWorkerDeploymentRampingVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SetWorkerDeploymentRampingVersionRequest
+  type MethodOutput WorkflowService "setWorkerDeploymentRampingVersion" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.SetWorkerDeploymentRampingVersionResponse
+  type MethodStreamingType WorkflowService "setWorkerDeploymentRampingVersion" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listWorkerDeployments" where
+  type MethodName WorkflowService "listWorkerDeployments" = "ListWorkerDeployments"
+  type MethodInput WorkflowService "listWorkerDeployments" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListWorkerDeploymentsRequest
+  type MethodOutput WorkflowService "listWorkerDeployments" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListWorkerDeploymentsResponse
+  type MethodStreamingType WorkflowService "listWorkerDeployments" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateWorkerDeploymentVersionMetadata" where
+  type MethodName WorkflowService "updateWorkerDeploymentVersionMetadata" = "UpdateWorkerDeploymentVersionMetadata"
+  type MethodInput WorkflowService "updateWorkerDeploymentVersionMetadata" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkerDeploymentVersionMetadataRequest
+  type MethodOutput WorkflowService "updateWorkerDeploymentVersionMetadata" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkerDeploymentVersionMetadataResponse
+  type MethodStreamingType WorkflowService "updateWorkerDeploymentVersionMetadata" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateWorkflowExecution" where
+  type MethodName WorkflowService "updateWorkflowExecution" = "UpdateWorkflowExecution"
+  type MethodInput WorkflowService "updateWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkflowExecutionRequest
+  type MethodOutput WorkflowService "updateWorkflowExecution" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkflowExecutionResponse
+  type MethodStreamingType WorkflowService "updateWorkflowExecution" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "pollWorkflowExecutionUpdate" where
+  type MethodName WorkflowService "pollWorkflowExecutionUpdate" = "PollWorkflowExecutionUpdate"
+  type MethodInput WorkflowService "pollWorkflowExecutionUpdate" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollWorkflowExecutionUpdateRequest
+  type MethodOutput WorkflowService "pollWorkflowExecutionUpdate" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollWorkflowExecutionUpdateResponse
+  type MethodStreamingType WorkflowService "pollWorkflowExecutionUpdate" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "startBatchOperation" where
+  type MethodName WorkflowService "startBatchOperation" = "StartBatchOperation"
+  type MethodInput WorkflowService "startBatchOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.StartBatchOperationRequest
+  type MethodOutput WorkflowService "startBatchOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.StartBatchOperationResponse
+  type MethodStreamingType WorkflowService "startBatchOperation" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "stopBatchOperation" where
+  type MethodName WorkflowService "stopBatchOperation" = "StopBatchOperation"
+  type MethodInput WorkflowService "stopBatchOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.StopBatchOperationRequest
+  type MethodOutput WorkflowService "stopBatchOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.StopBatchOperationResponse
+  type MethodStreamingType WorkflowService "stopBatchOperation" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeBatchOperation" where
+  type MethodName WorkflowService "describeBatchOperation" = "DescribeBatchOperation"
+  type MethodInput WorkflowService "describeBatchOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeBatchOperationRequest
+  type MethodOutput WorkflowService "describeBatchOperation" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeBatchOperationResponse
+  type MethodStreamingType WorkflowService "describeBatchOperation" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listBatchOperations" where
+  type MethodName WorkflowService "listBatchOperations" = "ListBatchOperations"
+  type MethodInput WorkflowService "listBatchOperations" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListBatchOperationsRequest
+  type MethodOutput WorkflowService "listBatchOperations" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListBatchOperationsResponse
+  type MethodStreamingType WorkflowService "listBatchOperations" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "pollNexusTaskQueue" where
+  type MethodName WorkflowService "pollNexusTaskQueue" = "PollNexusTaskQueue"
+  type MethodInput WorkflowService "pollNexusTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueRequest
+  type MethodOutput WorkflowService "pollNexusTaskQueue" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse
+  type MethodStreamingType WorkflowService "pollNexusTaskQueue" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondNexusTaskCompleted" where
+  type MethodName WorkflowService "respondNexusTaskCompleted" = "RespondNexusTaskCompleted"
+  type MethodInput WorkflowService "respondNexusTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondNexusTaskCompletedRequest
+  type MethodOutput WorkflowService "respondNexusTaskCompleted" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondNexusTaskCompletedResponse
+  type MethodStreamingType WorkflowService "respondNexusTaskCompleted" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "respondNexusTaskFailed" where
+  type MethodName WorkflowService "respondNexusTaskFailed" = "RespondNexusTaskFailed"
+  type MethodInput WorkflowService "respondNexusTaskFailed" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondNexusTaskFailedRequest
+  type MethodOutput WorkflowService "respondNexusTaskFailed" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.RespondNexusTaskFailedResponse
+  type MethodStreamingType WorkflowService "respondNexusTaskFailed" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateActivityOptions" where
+  type MethodName WorkflowService "updateActivityOptions" = "UpdateActivityOptions"
+  type MethodInput WorkflowService "updateActivityOptions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateActivityOptionsRequest
+  type MethodOutput WorkflowService "updateActivityOptions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateActivityOptionsResponse
+  type MethodStreamingType WorkflowService "updateActivityOptions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "updateWorkflowExecutionOptions" where
+  type MethodName WorkflowService "updateWorkflowExecutionOptions" = "UpdateWorkflowExecutionOptions"
+  type MethodInput WorkflowService "updateWorkflowExecutionOptions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkflowExecutionOptionsRequest
+  type MethodOutput WorkflowService "updateWorkflowExecutionOptions" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UpdateWorkflowExecutionOptionsResponse
+  type MethodStreamingType WorkflowService "updateWorkflowExecutionOptions" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "pauseActivity" where
+  type MethodName WorkflowService "pauseActivity" = "PauseActivity"
+  type MethodInput WorkflowService "pauseActivity" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PauseActivityRequest
+  type MethodOutput WorkflowService "pauseActivity" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PauseActivityResponse
+  type MethodStreamingType WorkflowService "pauseActivity" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "unpauseActivity" where
+  type MethodName WorkflowService "unpauseActivity" = "UnpauseActivity"
+  type MethodInput WorkflowService "unpauseActivity" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UnpauseActivityRequest
+  type MethodOutput WorkflowService "unpauseActivity" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.UnpauseActivityResponse
+  type MethodStreamingType WorkflowService "unpauseActivity" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "resetActivity" where
+  type MethodName WorkflowService "resetActivity" = "ResetActivity"
+  type MethodInput WorkflowService "resetActivity" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ResetActivityRequest
+  type MethodOutput WorkflowService "resetActivity" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ResetActivityResponse
+  type MethodStreamingType WorkflowService "resetActivity" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "createWorkflowRule" where
+  type MethodName WorkflowService "createWorkflowRule" = "CreateWorkflowRule"
+  type MethodInput WorkflowService "createWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.CreateWorkflowRuleRequest
+  type MethodOutput WorkflowService "createWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.CreateWorkflowRuleResponse
+  type MethodStreamingType WorkflowService "createWorkflowRule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "describeWorkflowRule" where
+  type MethodName WorkflowService "describeWorkflowRule" = "DescribeWorkflowRule"
+  type MethodInput WorkflowService "describeWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkflowRuleRequest
+  type MethodOutput WorkflowService "describeWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DescribeWorkflowRuleResponse
+  type MethodStreamingType WorkflowService "describeWorkflowRule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "deleteWorkflowRule" where
+  type MethodName WorkflowService "deleteWorkflowRule" = "DeleteWorkflowRule"
+  type MethodInput WorkflowService "deleteWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkflowRuleRequest
+  type MethodOutput WorkflowService "deleteWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.DeleteWorkflowRuleResponse
+  type MethodStreamingType WorkflowService "deleteWorkflowRule" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "listWorkflowRules" where
+  type MethodName WorkflowService "listWorkflowRules" = "ListWorkflowRules"
+  type MethodInput WorkflowService "listWorkflowRules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListWorkflowRulesRequest
+  type MethodOutput WorkflowService "listWorkflowRules" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.ListWorkflowRulesResponse
+  type MethodStreamingType WorkflowService "listWorkflowRules" = 'Data.ProtoLens.Service.Types.NonStreaming
+instance Data.ProtoLens.Service.Types.HasMethodImpl WorkflowService "triggerWorkflowRule" where
+  type MethodName WorkflowService "triggerWorkflowRule" = "TriggerWorkflowRule"
+  type MethodInput WorkflowService "triggerWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.TriggerWorkflowRuleRequest
+  type MethodOutput WorkflowService "triggerWorkflowRule" = Proto.Temporal.Api.Workflowservice.V1.RequestResponse.TriggerWorkflowRuleResponse
+  type MethodStreamingType WorkflowService "triggerWorkflowRule" = 'Data.ProtoLens.Service.Types.NonStreaming
diff --git a/src/Proto/Temporal/Api/Workflowservice/V1/Service_Fields.hs b/src/Proto/Temporal/Api/Workflowservice/V1/Service_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Api/Workflowservice/V1/Service_Fields.hs
@@ -0,0 +1,31 @@
+{- This file was auto-generated from temporal/api/workflowservice/v1/service.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Api.Workflowservice.V1.Service_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Api.Annotations
+import qualified Proto.Temporal.Api.Workflowservice.V1.RequestResponse
diff --git a/src/Proto/Temporal/Sdk/Core/ActivityResult/ActivityResult.hs b/src/Proto/Temporal/Sdk/Core/ActivityResult/ActivityResult.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ActivityResult/ActivityResult.hs
@@ -0,0 +1,1640 @@
+{- This file was auto-generated from temporal/sdk/core/activity_result/activity_result.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult (
+        ActivityExecutionResult(), ActivityExecutionResult'Status(..),
+        _ActivityExecutionResult'Completed,
+        _ActivityExecutionResult'Failed,
+        _ActivityExecutionResult'Cancelled,
+        _ActivityExecutionResult'WillCompleteAsync, ActivityResolution(),
+        ActivityResolution'Status(..), _ActivityResolution'Completed,
+        _ActivityResolution'Failed, _ActivityResolution'Cancelled,
+        _ActivityResolution'Backoff, Cancellation(), DoBackoff(),
+        Failure(), Success(), WillCompleteAsync()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Failure.V1.Message
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'status' @:: Lens' ActivityExecutionResult (Prelude.Maybe ActivityExecutionResult'Status)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'completed' @:: Lens' ActivityExecutionResult (Prelude.Maybe Success)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.completed' @:: Lens' ActivityExecutionResult Success@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'failed' @:: Lens' ActivityExecutionResult (Prelude.Maybe Failure)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.failed' @:: Lens' ActivityExecutionResult Failure@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'cancelled' @:: Lens' ActivityExecutionResult (Prelude.Maybe Cancellation)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.cancelled' @:: Lens' ActivityExecutionResult Cancellation@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'willCompleteAsync' @:: Lens' ActivityExecutionResult (Prelude.Maybe WillCompleteAsync)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.willCompleteAsync' @:: Lens' ActivityExecutionResult WillCompleteAsync@ -}
+data ActivityExecutionResult
+  = ActivityExecutionResult'_constructor {_ActivityExecutionResult'status :: !(Prelude.Maybe ActivityExecutionResult'Status),
+                                          _ActivityExecutionResult'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityExecutionResult where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ActivityExecutionResult'Status
+  = ActivityExecutionResult'Completed !Success |
+    ActivityExecutionResult'Failed !Failure |
+    ActivityExecutionResult'Cancelled !Cancellation |
+    ActivityExecutionResult'WillCompleteAsync !WillCompleteAsync
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "maybe'status" (Prelude.Maybe ActivityExecutionResult'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "maybe'completed" (Prelude.Maybe Success) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityExecutionResult'Completed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityExecutionResult'Completed y__))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "completed" Success where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityExecutionResult'Completed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityExecutionResult'Completed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "maybe'failed" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityExecutionResult'Failed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityExecutionResult'Failed y__))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "failed" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityExecutionResult'Failed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityExecutionResult'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "maybe'cancelled" (Prelude.Maybe Cancellation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityExecutionResult'Cancelled x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityExecutionResult'Cancelled y__))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "cancelled" Cancellation where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityExecutionResult'Cancelled x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityExecutionResult'Cancelled y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "maybe'willCompleteAsync" (Prelude.Maybe WillCompleteAsync) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityExecutionResult'WillCompleteAsync x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap ActivityExecutionResult'WillCompleteAsync y__))
+instance Data.ProtoLens.Field.HasField ActivityExecutionResult "willCompleteAsync" WillCompleteAsync where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityExecutionResult'status
+           (\ x__ y__ -> x__ {_ActivityExecutionResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityExecutionResult'WillCompleteAsync x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap ActivityExecutionResult'WillCompleteAsync y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ActivityExecutionResult where
+  messageName _
+    = Data.Text.pack "coresdk.activity_result.ActivityExecutionResult"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBActivityExecutionResult\DC2@\n\
+      \\tcompleted\CAN\SOH \SOH(\v2 .coresdk.activity_result.SuccessH\NULR\tcompleted\DC2:\n\
+      \\ACKfailed\CAN\STX \SOH(\v2 .coresdk.activity_result.FailureH\NULR\ACKfailed\DC2E\n\
+      \\tcancelled\CAN\ETX \SOH(\v2%.coresdk.activity_result.CancellationH\NULR\tcancelled\DC2\\\n\
+      \\DC3will_complete_async\CAN\EOT \SOH(\v2*.coresdk.activity_result.WillCompleteAsyncH\NULR\DC1willCompleteAsyncB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        completed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Success)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completed")) ::
+              Data.ProtoLens.FieldDescriptor ActivityExecutionResult
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor ActivityExecutionResult
+        cancelled__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancelled"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Cancellation)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelled")) ::
+              Data.ProtoLens.FieldDescriptor ActivityExecutionResult
+        willCompleteAsync__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "will_complete_async"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WillCompleteAsync)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'willCompleteAsync")) ::
+              Data.ProtoLens.FieldDescriptor ActivityExecutionResult
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, completed__field_descriptor),
+           (Data.ProtoLens.Tag 2, failed__field_descriptor),
+           (Data.ProtoLens.Tag 3, cancelled__field_descriptor),
+           (Data.ProtoLens.Tag 4, willCompleteAsync__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityExecutionResult'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityExecutionResult'_unknownFields = y__})
+  defMessage
+    = ActivityExecutionResult'_constructor
+        {_ActivityExecutionResult'status = Prelude.Nothing,
+         _ActivityExecutionResult'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityExecutionResult
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityExecutionResult
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "completed"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"completed") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancelled"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelled") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "will_complete_async"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"willCompleteAsync") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityExecutionResult"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (ActivityExecutionResult'Completed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ActivityExecutionResult'Failed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ActivityExecutionResult'Cancelled v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ActivityExecutionResult'WillCompleteAsync v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ActivityExecutionResult where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityExecutionResult'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ActivityExecutionResult'status x__) ())
+instance Control.DeepSeq.NFData ActivityExecutionResult'Status where
+  rnf (ActivityExecutionResult'Completed x__)
+    = Control.DeepSeq.rnf x__
+  rnf (ActivityExecutionResult'Failed x__) = Control.DeepSeq.rnf x__
+  rnf (ActivityExecutionResult'Cancelled x__)
+    = Control.DeepSeq.rnf x__
+  rnf (ActivityExecutionResult'WillCompleteAsync x__)
+    = Control.DeepSeq.rnf x__
+_ActivityExecutionResult'Completed ::
+  Data.ProtoLens.Prism.Prism' ActivityExecutionResult'Status Success
+_ActivityExecutionResult'Completed
+  = Data.ProtoLens.Prism.prism'
+      ActivityExecutionResult'Completed
+      (\ p__
+         -> case p__ of
+              (ActivityExecutionResult'Completed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityExecutionResult'Failed ::
+  Data.ProtoLens.Prism.Prism' ActivityExecutionResult'Status Failure
+_ActivityExecutionResult'Failed
+  = Data.ProtoLens.Prism.prism'
+      ActivityExecutionResult'Failed
+      (\ p__
+         -> case p__ of
+              (ActivityExecutionResult'Failed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityExecutionResult'Cancelled ::
+  Data.ProtoLens.Prism.Prism' ActivityExecutionResult'Status Cancellation
+_ActivityExecutionResult'Cancelled
+  = Data.ProtoLens.Prism.prism'
+      ActivityExecutionResult'Cancelled
+      (\ p__
+         -> case p__ of
+              (ActivityExecutionResult'Cancelled p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityExecutionResult'WillCompleteAsync ::
+  Data.ProtoLens.Prism.Prism' ActivityExecutionResult'Status WillCompleteAsync
+_ActivityExecutionResult'WillCompleteAsync
+  = Data.ProtoLens.Prism.prism'
+      ActivityExecutionResult'WillCompleteAsync
+      (\ p__
+         -> case p__ of
+              (ActivityExecutionResult'WillCompleteAsync p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'status' @:: Lens' ActivityResolution (Prelude.Maybe ActivityResolution'Status)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'completed' @:: Lens' ActivityResolution (Prelude.Maybe Success)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.completed' @:: Lens' ActivityResolution Success@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'failed' @:: Lens' ActivityResolution (Prelude.Maybe Failure)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.failed' @:: Lens' ActivityResolution Failure@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'cancelled' @:: Lens' ActivityResolution (Prelude.Maybe Cancellation)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.cancelled' @:: Lens' ActivityResolution Cancellation@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'backoff' @:: Lens' ActivityResolution (Prelude.Maybe DoBackoff)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.backoff' @:: Lens' ActivityResolution DoBackoff@ -}
+data ActivityResolution
+  = ActivityResolution'_constructor {_ActivityResolution'status :: !(Prelude.Maybe ActivityResolution'Status),
+                                     _ActivityResolution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityResolution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ActivityResolution'Status
+  = ActivityResolution'Completed !Success |
+    ActivityResolution'Failed !Failure |
+    ActivityResolution'Cancelled !Cancellation |
+    ActivityResolution'Backoff !DoBackoff
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ActivityResolution "maybe'status" (Prelude.Maybe ActivityResolution'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityResolution "maybe'completed" (Prelude.Maybe Success) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityResolution'Completed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityResolution'Completed y__))
+instance Data.ProtoLens.Field.HasField ActivityResolution "completed" Success where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityResolution'Completed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityResolution'Completed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityResolution "maybe'failed" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityResolution'Failed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityResolution'Failed y__))
+instance Data.ProtoLens.Field.HasField ActivityResolution "failed" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityResolution'Failed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityResolution'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityResolution "maybe'cancelled" (Prelude.Maybe Cancellation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityResolution'Cancelled x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityResolution'Cancelled y__))
+instance Data.ProtoLens.Field.HasField ActivityResolution "cancelled" Cancellation where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityResolution'Cancelled x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityResolution'Cancelled y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityResolution "maybe'backoff" (Prelude.Maybe DoBackoff) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityResolution'Backoff x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityResolution'Backoff y__))
+instance Data.ProtoLens.Field.HasField ActivityResolution "backoff" DoBackoff where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityResolution'status
+           (\ x__ y__ -> x__ {_ActivityResolution'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityResolution'Backoff x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityResolution'Backoff y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ActivityResolution where
+  messageName _
+    = Data.Text.pack "coresdk.activity_result.ActivityResolution"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2ActivityResolution\DC2@\n\
+      \\tcompleted\CAN\SOH \SOH(\v2 .coresdk.activity_result.SuccessH\NULR\tcompleted\DC2:\n\
+      \\ACKfailed\CAN\STX \SOH(\v2 .coresdk.activity_result.FailureH\NULR\ACKfailed\DC2E\n\
+      \\tcancelled\CAN\ETX \SOH(\v2%.coresdk.activity_result.CancellationH\NULR\tcancelled\DC2>\n\
+      \\abackoff\CAN\EOT \SOH(\v2\".coresdk.activity_result.DoBackoffH\NULR\abackoffB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        completed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Success)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completed")) ::
+              Data.ProtoLens.FieldDescriptor ActivityResolution
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor ActivityResolution
+        cancelled__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancelled"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Cancellation)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelled")) ::
+              Data.ProtoLens.FieldDescriptor ActivityResolution
+        backoff__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backoff"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DoBackoff)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'backoff")) ::
+              Data.ProtoLens.FieldDescriptor ActivityResolution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, completed__field_descriptor),
+           (Data.ProtoLens.Tag 2, failed__field_descriptor),
+           (Data.ProtoLens.Tag 3, cancelled__field_descriptor),
+           (Data.ProtoLens.Tag 4, backoff__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityResolution'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityResolution'_unknownFields = y__})
+  defMessage
+    = ActivityResolution'_constructor
+        {_ActivityResolution'status = Prelude.Nothing,
+         _ActivityResolution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityResolution
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityResolution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "completed"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"completed") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancelled"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelled") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "backoff"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"backoff") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityResolution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (ActivityResolution'Completed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ActivityResolution'Failed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ActivityResolution'Cancelled v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ActivityResolution'Backoff v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ActivityResolution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityResolution'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ActivityResolution'status x__) ())
+instance Control.DeepSeq.NFData ActivityResolution'Status where
+  rnf (ActivityResolution'Completed x__) = Control.DeepSeq.rnf x__
+  rnf (ActivityResolution'Failed x__) = Control.DeepSeq.rnf x__
+  rnf (ActivityResolution'Cancelled x__) = Control.DeepSeq.rnf x__
+  rnf (ActivityResolution'Backoff x__) = Control.DeepSeq.rnf x__
+_ActivityResolution'Completed ::
+  Data.ProtoLens.Prism.Prism' ActivityResolution'Status Success
+_ActivityResolution'Completed
+  = Data.ProtoLens.Prism.prism'
+      ActivityResolution'Completed
+      (\ p__
+         -> case p__ of
+              (ActivityResolution'Completed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityResolution'Failed ::
+  Data.ProtoLens.Prism.Prism' ActivityResolution'Status Failure
+_ActivityResolution'Failed
+  = Data.ProtoLens.Prism.prism'
+      ActivityResolution'Failed
+      (\ p__
+         -> case p__ of
+              (ActivityResolution'Failed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityResolution'Cancelled ::
+  Data.ProtoLens.Prism.Prism' ActivityResolution'Status Cancellation
+_ActivityResolution'Cancelled
+  = Data.ProtoLens.Prism.prism'
+      ActivityResolution'Cancelled
+      (\ p__
+         -> case p__ of
+              (ActivityResolution'Cancelled p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityResolution'Backoff ::
+  Data.ProtoLens.Prism.Prism' ActivityResolution'Status DoBackoff
+_ActivityResolution'Backoff
+  = Data.ProtoLens.Prism.prism'
+      ActivityResolution'Backoff
+      (\ p__
+         -> case p__ of
+              (ActivityResolution'Backoff p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.failure' @:: Lens' Cancellation Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'failure' @:: Lens' Cancellation (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data Cancellation
+  = Cancellation'_constructor {_Cancellation'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                               _Cancellation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Cancellation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Cancellation "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Cancellation'failure
+           (\ x__ y__ -> x__ {_Cancellation'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Cancellation "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Cancellation'failure
+           (\ x__ y__ -> x__ {_Cancellation'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Cancellation where
+  messageName _
+    = Data.Text.pack "coresdk.activity_result.Cancellation"
+  packedMessageDescriptor _
+    = "\n\
+      \\fCancellation\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Cancellation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Cancellation'_unknownFields
+        (\ x__ y__ -> x__ {_Cancellation'_unknownFields = y__})
+  defMessage
+    = Cancellation'_constructor
+        {_Cancellation'failure = Prelude.Nothing,
+         _Cancellation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Cancellation -> Data.ProtoLens.Encoding.Bytes.Parser Cancellation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Cancellation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Cancellation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Cancellation'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Cancellation'failure x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.attempt' @:: Lens' DoBackoff Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.backoffDuration' @:: Lens' DoBackoff Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'backoffDuration' @:: Lens' DoBackoff (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.originalScheduleTime' @:: Lens' DoBackoff Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'originalScheduleTime' @:: Lens' DoBackoff (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data DoBackoff
+  = DoBackoff'_constructor {_DoBackoff'attempt :: !Data.Word.Word32,
+                            _DoBackoff'backoffDuration :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                            _DoBackoff'originalScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                            _DoBackoff'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DoBackoff where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DoBackoff "attempt" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoBackoff'attempt (\ x__ y__ -> x__ {_DoBackoff'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoBackoff "backoffDuration" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoBackoff'backoffDuration
+           (\ x__ y__ -> x__ {_DoBackoff'backoffDuration = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DoBackoff "maybe'backoffDuration" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoBackoff'backoffDuration
+           (\ x__ y__ -> x__ {_DoBackoff'backoffDuration = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoBackoff "originalScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoBackoff'originalScheduleTime
+           (\ x__ y__ -> x__ {_DoBackoff'originalScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DoBackoff "maybe'originalScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoBackoff'originalScheduleTime
+           (\ x__ y__ -> x__ {_DoBackoff'originalScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DoBackoff where
+  messageName _ = Data.Text.pack "coresdk.activity_result.DoBackoff"
+  packedMessageDescriptor _
+    = "\n\
+      \\tDoBackoff\DC2\CAN\n\
+      \\aattempt\CAN\SOH \SOH(\rR\aattempt\DC2D\n\
+      \\DLEbackoff_duration\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SIbackoffDuration\DC2P\n\
+      \\SYNoriginal_schedule_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\DC4originalScheduleTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor DoBackoff
+        backoffDuration__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backoff_duration"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'backoffDuration")) ::
+              Data.ProtoLens.FieldDescriptor DoBackoff
+        originalScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "original_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'originalScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor DoBackoff
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 2, backoffDuration__field_descriptor),
+           (Data.ProtoLens.Tag 3, originalScheduleTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DoBackoff'_unknownFields
+        (\ x__ y__ -> x__ {_DoBackoff'_unknownFields = y__})
+  defMessage
+    = DoBackoff'_constructor
+        {_DoBackoff'attempt = Data.ProtoLens.fieldDefault,
+         _DoBackoff'backoffDuration = Prelude.Nothing,
+         _DoBackoff'originalScheduleTime = Prelude.Nothing,
+         _DoBackoff'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: DoBackoff -> Data.ProtoLens.Encoding.Bytes.Parser DoBackoff
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "backoff_duration"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"backoffDuration") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "original_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"originalScheduleTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "DoBackoff"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'backoffDuration") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'originalScheduleTime") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData DoBackoff where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DoBackoff'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DoBackoff'attempt x__)
+                (Control.DeepSeq.deepseq
+                   (_DoBackoff'backoffDuration x__)
+                   (Control.DeepSeq.deepseq
+                      (_DoBackoff'originalScheduleTime x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.failure' @:: Lens' Failure Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'failure' @:: Lens' Failure (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data Failure
+  = Failure'_constructor {_Failure'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                          _Failure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Failure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Failure "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failure (\ x__ y__ -> x__ {_Failure'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Failure "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failure (\ x__ y__ -> x__ {_Failure'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Failure where
+  messageName _ = Data.Text.pack "coresdk.activity_result.Failure"
+  packedMessageDescriptor _
+    = "\n\
+      \\aFailure\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Failure'_unknownFields
+        (\ x__ y__ -> x__ {_Failure'_unknownFields = y__})
+  defMessage
+    = Failure'_constructor
+        {_Failure'failure = Prelude.Nothing, _Failure'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Failure -> Data.ProtoLens.Encoding.Bytes.Parser Failure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Failure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Failure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Failure'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Failure'failure x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.result' @:: Lens' Success Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields.maybe'result' @:: Lens' Success (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data Success
+  = Success'_constructor {_Success'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                          _Success'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Success where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Success "result" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'result (\ x__ y__ -> x__ {_Success'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Success "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'result (\ x__ y__ -> x__ {_Success'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Success where
+  messageName _ = Data.Text.pack "coresdk.activity_result.Success"
+  packedMessageDescriptor _
+    = "\n\
+      \\aSuccess\DC27\n\
+      \\ACKresult\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor Success
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Success'_unknownFields
+        (\ x__ y__ -> x__ {_Success'_unknownFields = y__})
+  defMessage
+    = Success'_constructor
+        {_Success'result = Prelude.Nothing, _Success'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Success -> Data.ProtoLens.Encoding.Bytes.Parser Success
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Success"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Success where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Success'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Success'result x__) ())
+{- | Fields :
+      -}
+data WillCompleteAsync
+  = WillCompleteAsync'_constructor {_WillCompleteAsync'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WillCompleteAsync where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message WillCompleteAsync where
+  messageName _
+    = Data.Text.pack "coresdk.activity_result.WillCompleteAsync"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1WillCompleteAsync"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WillCompleteAsync'_unknownFields
+        (\ x__ y__ -> x__ {_WillCompleteAsync'_unknownFields = y__})
+  defMessage
+    = WillCompleteAsync'_constructor
+        {_WillCompleteAsync'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WillCompleteAsync
+          -> Data.ProtoLens.Encoding.Bytes.Parser WillCompleteAsync
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WillCompleteAsync"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData WillCompleteAsync where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WillCompleteAsync'_unknownFields x__) ()
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \7temporal/sdk/core/activity_result/activity_result.proto\DC2\ETBcoresdk.activity_result\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/common/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\"\198\STX\n\
+    \\ETBActivityExecutionResult\DC2@\n\
+    \\tcompleted\CAN\SOH \SOH(\v2 .coresdk.activity_result.SuccessH\NULR\tcompleted\DC2:\n\
+    \\ACKfailed\CAN\STX \SOH(\v2 .coresdk.activity_result.FailureH\NULR\ACKfailed\DC2E\n\
+    \\tcancelled\CAN\ETX \SOH(\v2%.coresdk.activity_result.CancellationH\NULR\tcancelled\DC2\\\n\
+    \\DC3will_complete_async\CAN\EOT \SOH(\v2*.coresdk.activity_result.WillCompleteAsyncH\NULR\DC1willCompleteAsyncB\b\n\
+    \\ACKstatus\"\163\STX\n\
+    \\DC2ActivityResolution\DC2@\n\
+    \\tcompleted\CAN\SOH \SOH(\v2 .coresdk.activity_result.SuccessH\NULR\tcompleted\DC2:\n\
+    \\ACKfailed\CAN\STX \SOH(\v2 .coresdk.activity_result.FailureH\NULR\ACKfailed\DC2E\n\
+    \\tcancelled\CAN\ETX \SOH(\v2%.coresdk.activity_result.CancellationH\NULR\tcancelled\DC2>\n\
+    \\abackoff\CAN\EOT \SOH(\v2\".coresdk.activity_result.DoBackoffH\NULR\abackoffB\b\n\
+    \\ACKstatus\"B\n\
+    \\aSuccess\DC27\n\
+    \\ACKresult\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult\"E\n\
+    \\aFailure\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"J\n\
+    \\fCancellation\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"\DC3\n\
+    \\DC1WillCompleteAsync\"\189\SOH\n\
+    \\tDoBackoff\DC2\CAN\n\
+    \\aattempt\CAN\SOH \SOH(\rR\aattempt\DC2D\n\
+    \\DLEbackoff_duration\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\SIbackoffDuration\DC2P\n\
+    \\SYNoriginal_schedule_time\CAN\ETX \SOH(\v2\SUB.google.protobuf.TimestampR\DC4originalScheduleTimeB4\234\STX1Temporalio::Internal::Bridge::Api::ActivityResultJ\230\DC4\n\
+    \\ACK\DC2\EOT\NUL\NULK\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL \n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULJ\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULJ\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\ENQ\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\ACK\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\a\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\b\NUL/\n\
+    \9\n\
+    \\STX\EOT\NUL\DC2\EOT\v\NUL\DC2\SOH\SUB- Used to report activity completions to core\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\v\b\US\n\
+    \\f\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT\f\EOT\DC1\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\f\n\
+    \\DLE\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\r\b\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\r\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\r\DLE\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\r\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\SO\b\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\SO\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\SO\DLE\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\SO\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\SI\b#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX\SI\b\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\SI\NAK\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\SI!\"\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX\DLE\b2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX\DLE\b\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX\DLE\SUB-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX\DLE01\n\
+    \~\n\
+    \\STX\EOT\SOH\DC2\EOT\SYN\NUL\GS\SOH\SUBr Used to report activity resolutions to lang. IE: This is what the activities are resolved with\n\
+    \ in the workflow.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\SYN\b\SUB\n\
+    \\f\n\
+    \\EOT\EOT\SOH\b\NUL\DC2\EOT\ETB\EOT\FS\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\b\NUL\SOH\DC2\ETX\ETB\n\
+    \\DLE\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\CAN\b\RS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX\CAN\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\CAN\DLE\EM\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\CAN\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX\EM\b\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX\EM\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX\EM\DLE\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX\EM\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX\SUB\b#\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX\SUB\b\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX\SUB\NAK\RS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX\SUB!\"\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETX\ESC\b\RS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETX\ESC\b\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX\ESC\DC2\EM\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX\ESC\FS\GS\n\
+    \U\n\
+    \\STX\EOT\STX\DC2\EOT \NUL\"\SOH\SUBI Used to report successful completion either when executing or resolving\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX \b\SI\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX!\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX!\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX!#)\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX!,-\n\
+    \P\n\
+    \\STX\EOT\ETX\DC2\EOT%\NUL'\SOH\SUBD Used to report activity failure either when executing or resolving\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX%\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX&\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\ETX&\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX&$+\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX&./\n\
+    \\164\STX\n\
+    \\STX\EOT\EOT\DC2\EOT/\NUL1\SOH\SUB\151\STX\n\
+    \ Used to report cancellation from both Core and Lang.\n\
+    \ When Lang reports a cancelled activity, it must put a CancelledFailure in the failure field.\n\
+    \ When Core reports a cancelled activity, it must put an ActivityFailure with CancelledFailure\n\
+    \ as the cause in the failure field.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX/\b\DC4\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETX0\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ACK\DC2\ETX0\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETX0$+\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETX0./\n\
+    \\200\SOH\n\
+    \\STX\EOT\ENQ\DC2\EOT7\NUL8\SOH\SUB\187\SOH\n\
+    \ Used in ActivityExecutionResult to notify Core that this Activity will complete asynchronously.\n\
+    \ Core will forget about this Activity and free up resources used to track this Activity.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETX7\b\EM\n\
+    \\131\EOT\n\
+    \\STX\EOT\ACK\DC2\EOTC\NULK\SOH\SUB\246\ETX\n\
+    \ Issued when a local activity needs to retry but also wants to back off more than would be\n\
+    \ reasonable to WFT heartbeat for. Lang is expected to schedule a timer for the duration\n\
+    \ and then start a local activity of the same type & same inputs with the provided attempt number\n\
+    \ after the timer has elapsed.\n\
+    \\n\
+    \ This exists because Core does not have a concept of starting commands by itself, they originate\n\
+    \ from lang. So expecting lang to start the timer / next pass of the activity fits more smoothly.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ACK\SOH\DC2\ETXC\b\DC1\n\
+    \\183\SOH\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\ETXF\EOT\ETB\SUB\169\SOH The attempt number that lang should provide when scheduling the retry. If the LA failed\n\
+    \ on attempt 4 and we told lang to back off with a timer, this number will be 5.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\ETXF\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\ETXF\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\ETXF\NAK\SYN\n\
+    \\v\n\
+    \\EOT\EOT\ACK\STX\SOH\DC2\ETXG\EOT2\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ACK\DC2\ETXG\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\SOH\DC2\ETXG\GS-\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\SOH\ETX\DC2\ETXG01\n\
+    \}\n\
+    \\EOT\EOT\ACK\STX\STX\DC2\ETXJ\EOT9\SUBp The time the first attempt of this local activity was scheduled. Must be passed with attempt\n\
+    \ to the retry LA.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ACK\DC2\ETXJ\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\SOH\DC2\ETXJ\RS4\n\
+    \\f\n\
+    \\ENQ\EOT\ACK\STX\STX\ETX\DC2\ETXJ78b\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/ActivityResult/ActivityResult_Fields.hs b/src/Proto/Temporal/Sdk/Core/ActivityResult/ActivityResult_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ActivityResult/ActivityResult_Fields.hs
@@ -0,0 +1,152 @@
+{- This file was auto-generated from temporal/sdk/core/activity_result/activity_result.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Failure.V1.Message
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+backoff ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "backoff" a) =>
+  Lens.Family2.LensLike' f s a
+backoff = Data.ProtoLens.Field.field @"backoff"
+backoffDuration ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "backoffDuration" a) =>
+  Lens.Family2.LensLike' f s a
+backoffDuration = Data.ProtoLens.Field.field @"backoffDuration"
+cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+cancelled = Data.ProtoLens.Field.field @"cancelled"
+completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completed" a) =>
+  Lens.Family2.LensLike' f s a
+completed = Data.ProtoLens.Field.field @"completed"
+failed ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failed" a) =>
+  Lens.Family2.LensLike' f s a
+failed = Data.ProtoLens.Field.field @"failed"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+maybe'backoff ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'backoff" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'backoff = Data.ProtoLens.Field.field @"maybe'backoff"
+maybe'backoffDuration ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'backoffDuration" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'backoffDuration
+  = Data.ProtoLens.Field.field @"maybe'backoffDuration"
+maybe'cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelled = Data.ProtoLens.Field.field @"maybe'cancelled"
+maybe'completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completed = Data.ProtoLens.Field.field @"maybe'completed"
+maybe'failed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failed = Data.ProtoLens.Field.field @"maybe'failed"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'originalScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'originalScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'originalScheduleTime
+  = Data.ProtoLens.Field.field @"maybe'originalScheduleTime"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'status ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'status" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'status = Data.ProtoLens.Field.field @"maybe'status"
+maybe'willCompleteAsync ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'willCompleteAsync" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'willCompleteAsync
+  = Data.ProtoLens.Field.field @"maybe'willCompleteAsync"
+originalScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "originalScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+originalScheduleTime
+  = Data.ProtoLens.Field.field @"originalScheduleTime"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+willCompleteAsync ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "willCompleteAsync" a) =>
+  Lens.Family2.LensLike' f s a
+willCompleteAsync = Data.ProtoLens.Field.field @"willCompleteAsync"
diff --git a/src/Proto/Temporal/Sdk/Core/ActivityTask/ActivityTask.hs b/src/Proto/Temporal/Sdk/Core/ActivityTask/ActivityTask.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ActivityTask/ActivityTask.hs
@@ -0,0 +1,2095 @@
+{- This file was auto-generated from temporal/sdk/core/activity_task/activity_task.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask (
+        ActivityCancelReason(..), ActivityCancelReason(),
+        ActivityCancelReason'UnrecognizedValue, ActivityTask(),
+        ActivityTask'Variant(..), _ActivityTask'Start,
+        _ActivityTask'Cancel, Cancel(), Start(), Start'HeaderFieldsEntry()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+newtype ActivityCancelReason'UnrecognizedValue
+  = ActivityCancelReason'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ActivityCancelReason
+  = NOT_FOUND |
+    CANCELLED |
+    TIMED_OUT |
+    WORKER_SHUTDOWN |
+    ActivityCancelReason'Unrecognized !ActivityCancelReason'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ActivityCancelReason where
+  maybeToEnum 0 = Prelude.Just NOT_FOUND
+  maybeToEnum 1 = Prelude.Just CANCELLED
+  maybeToEnum 2 = Prelude.Just TIMED_OUT
+  maybeToEnum 3 = Prelude.Just WORKER_SHUTDOWN
+  maybeToEnum k
+    = Prelude.Just
+        (ActivityCancelReason'Unrecognized
+           (ActivityCancelReason'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum NOT_FOUND = "NOT_FOUND"
+  showEnum CANCELLED = "CANCELLED"
+  showEnum TIMED_OUT = "TIMED_OUT"
+  showEnum WORKER_SHUTDOWN = "WORKER_SHUTDOWN"
+  showEnum
+    (ActivityCancelReason'Unrecognized (ActivityCancelReason'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "NOT_FOUND" = Prelude.Just NOT_FOUND
+    | (Prelude.==) k "CANCELLED" = Prelude.Just CANCELLED
+    | (Prelude.==) k "TIMED_OUT" = Prelude.Just TIMED_OUT
+    | (Prelude.==) k "WORKER_SHUTDOWN" = Prelude.Just WORKER_SHUTDOWN
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ActivityCancelReason where
+  minBound = NOT_FOUND
+  maxBound = WORKER_SHUTDOWN
+instance Prelude.Enum ActivityCancelReason where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ActivityCancelReason: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum NOT_FOUND = 0
+  fromEnum CANCELLED = 1
+  fromEnum TIMED_OUT = 2
+  fromEnum WORKER_SHUTDOWN = 3
+  fromEnum
+    (ActivityCancelReason'Unrecognized (ActivityCancelReason'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKER_SHUTDOWN
+    = Prelude.error
+        "ActivityCancelReason.succ: bad argument WORKER_SHUTDOWN. This value would be out of bounds."
+  succ NOT_FOUND = CANCELLED
+  succ CANCELLED = TIMED_OUT
+  succ TIMED_OUT = WORKER_SHUTDOWN
+  succ (ActivityCancelReason'Unrecognized _)
+    = Prelude.error
+        "ActivityCancelReason.succ: bad argument: unrecognized value"
+  pred NOT_FOUND
+    = Prelude.error
+        "ActivityCancelReason.pred: bad argument NOT_FOUND. This value would be out of bounds."
+  pred CANCELLED = NOT_FOUND
+  pred TIMED_OUT = CANCELLED
+  pred WORKER_SHUTDOWN = TIMED_OUT
+  pred (ActivityCancelReason'Unrecognized _)
+    = Prelude.error
+        "ActivityCancelReason.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ActivityCancelReason where
+  fieldDefault = NOT_FOUND
+instance Control.DeepSeq.NFData ActivityCancelReason where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.taskToken' @:: Lens' ActivityTask Data.ByteString.ByteString@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'variant' @:: Lens' ActivityTask (Prelude.Maybe ActivityTask'Variant)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'start' @:: Lens' ActivityTask (Prelude.Maybe Start)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.start' @:: Lens' ActivityTask Start@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'cancel' @:: Lens' ActivityTask (Prelude.Maybe Cancel)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.cancel' @:: Lens' ActivityTask Cancel@ -}
+data ActivityTask
+  = ActivityTask'_constructor {_ActivityTask'taskToken :: !Data.ByteString.ByteString,
+                               _ActivityTask'variant :: !(Prelude.Maybe ActivityTask'Variant),
+                               _ActivityTask'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTask where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ActivityTask'Variant
+  = ActivityTask'Start !Start | ActivityTask'Cancel !Cancel
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ActivityTask "taskToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTask'taskToken
+           (\ x__ y__ -> x__ {_ActivityTask'taskToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTask "maybe'variant" (Prelude.Maybe ActivityTask'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTask'variant
+           (\ x__ y__ -> x__ {_ActivityTask'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTask "maybe'start" (Prelude.Maybe Start) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTask'variant
+           (\ x__ y__ -> x__ {_ActivityTask'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityTask'Start x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityTask'Start y__))
+instance Data.ProtoLens.Field.HasField ActivityTask "start" Start where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTask'variant
+           (\ x__ y__ -> x__ {_ActivityTask'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityTask'Start x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityTask'Start y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ActivityTask "maybe'cancel" (Prelude.Maybe Cancel) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTask'variant
+           (\ x__ y__ -> x__ {_ActivityTask'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ActivityTask'Cancel x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ActivityTask'Cancel y__))
+instance Data.ProtoLens.Field.HasField ActivityTask "cancel" Cancel where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTask'variant
+           (\ x__ y__ -> x__ {_ActivityTask'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ActivityTask'Cancel x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ActivityTask'Cancel y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ActivityTask where
+  messageName _ = Data.Text.pack "coresdk.activity_task.ActivityTask"
+  packedMessageDescriptor _
+    = "\n\
+      \\fActivityTask\DC2\GS\n\
+      \\n\
+      \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC24\n\
+      \\ENQstart\CAN\ETX \SOH(\v2\FS.coresdk.activity_task.StartH\NULR\ENQstart\DC27\n\
+      \\ACKcancel\CAN\EOT \SOH(\v2\GS.coresdk.activity_task.CancelH\NULR\ACKcancelB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskToken")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTask
+        start__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Start)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'start")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTask
+        cancel__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Cancel)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancel")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTask
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskToken__field_descriptor),
+           (Data.ProtoLens.Tag 3, start__field_descriptor),
+           (Data.ProtoLens.Tag 4, cancel__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTask'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityTask'_unknownFields = y__})
+  defMessage
+    = ActivityTask'_constructor
+        {_ActivityTask'taskToken = Data.ProtoLens.fieldDefault,
+         _ActivityTask'variant = Prelude.Nothing,
+         _ActivityTask'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTask -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTask
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "task_token"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskToken") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"start") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cancel") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityTask"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskToken") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (ActivityTask'Start v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (ActivityTask'Cancel v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ActivityTask where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTask'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTask'taskToken x__)
+                (Control.DeepSeq.deepseq (_ActivityTask'variant x__) ()))
+instance Control.DeepSeq.NFData ActivityTask'Variant where
+  rnf (ActivityTask'Start x__) = Control.DeepSeq.rnf x__
+  rnf (ActivityTask'Cancel x__) = Control.DeepSeq.rnf x__
+_ActivityTask'Start ::
+  Data.ProtoLens.Prism.Prism' ActivityTask'Variant Start
+_ActivityTask'Start
+  = Data.ProtoLens.Prism.prism'
+      ActivityTask'Start
+      (\ p__
+         -> case p__ of
+              (ActivityTask'Start p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ActivityTask'Cancel ::
+  Data.ProtoLens.Prism.Prism' ActivityTask'Variant Cancel
+_ActivityTask'Cancel
+  = Data.ProtoLens.Prism.prism'
+      ActivityTask'Cancel
+      (\ p__
+         -> case p__ of
+              (ActivityTask'Cancel p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.reason' @:: Lens' Cancel ActivityCancelReason@ -}
+data Cancel
+  = Cancel'_constructor {_Cancel'reason :: !ActivityCancelReason,
+                         _Cancel'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Cancel where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Cancel "reason" ActivityCancelReason where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Cancel'reason (\ x__ y__ -> x__ {_Cancel'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Cancel where
+  messageName _ = Data.Text.pack "coresdk.activity_task.Cancel"
+  packedMessageDescriptor _
+    = "\n\
+      \\ACKCancel\DC2C\n\
+      \\ACKreason\CAN\SOH \SOH(\SO2+.coresdk.activity_task.ActivityCancelReasonR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityCancelReason)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor Cancel
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Cancel'_unknownFields
+        (\ x__ y__ -> x__ {_Cancel'_unknownFields = y__})
+  defMessage
+    = Cancel'_constructor
+        {_Cancel'reason = Data.ProtoLens.fieldDefault,
+         _Cancel'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Cancel -> Data.ProtoLens.Encoding.Bytes.Parser Cancel
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Cancel"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                         Prelude.fromEnum _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Cancel where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Cancel'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Cancel'reason x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.workflowNamespace' @:: Lens' Start Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.workflowType' @:: Lens' Start Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.workflowExecution' @:: Lens' Start Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'workflowExecution' @:: Lens' Start (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.activityId' @:: Lens' Start Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.activityType' @:: Lens' Start Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.headerFields' @:: Lens' Start (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.input' @:: Lens' Start [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.vec'input' @:: Lens' Start (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.heartbeatDetails' @:: Lens' Start [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.vec'heartbeatDetails' @:: Lens' Start (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.scheduledTime' @:: Lens' Start Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'scheduledTime' @:: Lens' Start (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.currentAttemptScheduledTime' @:: Lens' Start Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'currentAttemptScheduledTime' @:: Lens' Start (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.startedTime' @:: Lens' Start Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'startedTime' @:: Lens' Start (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.attempt' @:: Lens' Start Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.scheduleToCloseTimeout' @:: Lens' Start Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'scheduleToCloseTimeout' @:: Lens' Start (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.startToCloseTimeout' @:: Lens' Start Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'startToCloseTimeout' @:: Lens' Start (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.heartbeatTimeout' @:: Lens' Start Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'heartbeatTimeout' @:: Lens' Start (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.retryPolicy' @:: Lens' Start Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'retryPolicy' @:: Lens' Start (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.priority' @:: Lens' Start Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'priority' @:: Lens' Start (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.isLocal' @:: Lens' Start Prelude.Bool@ -}
+data Start
+  = Start'_constructor {_Start'workflowNamespace :: !Data.Text.Text,
+                        _Start'workflowType :: !Data.Text.Text,
+                        _Start'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                        _Start'activityId :: !Data.Text.Text,
+                        _Start'activityType :: !Data.Text.Text,
+                        _Start'headerFields :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                        _Start'input :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                        _Start'heartbeatDetails :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                        _Start'scheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                        _Start'currentAttemptScheduledTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                        _Start'startedTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                        _Start'attempt :: !Data.Word.Word32,
+                        _Start'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                        _Start'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                        _Start'heartbeatTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                        _Start'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                        _Start'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                        _Start'isLocal :: !Prelude.Bool,
+                        _Start'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Start where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Start "workflowNamespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'workflowNamespace
+           (\ x__ y__ -> x__ {_Start'workflowNamespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "workflowType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'workflowType (\ x__ y__ -> x__ {_Start'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "workflowExecution" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'workflowExecution
+           (\ x__ y__ -> x__ {_Start'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'workflowExecution
+           (\ x__ y__ -> x__ {_Start'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'activityId (\ x__ y__ -> x__ {_Start'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "activityType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'activityType (\ x__ y__ -> x__ {_Start'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "headerFields" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'headerFields (\ x__ y__ -> x__ {_Start'headerFields = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "input" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'input (\ x__ y__ -> x__ {_Start'input = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Start "vec'input" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'input (\ x__ y__ -> x__ {_Start'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "heartbeatDetails" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'heartbeatDetails
+           (\ x__ y__ -> x__ {_Start'heartbeatDetails = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Start "vec'heartbeatDetails" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'heartbeatDetails
+           (\ x__ y__ -> x__ {_Start'heartbeatDetails = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "scheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'scheduledTime
+           (\ x__ y__ -> x__ {_Start'scheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'scheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'scheduledTime
+           (\ x__ y__ -> x__ {_Start'scheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "currentAttemptScheduledTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'currentAttemptScheduledTime
+           (\ x__ y__ -> x__ {_Start'currentAttemptScheduledTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'currentAttemptScheduledTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'currentAttemptScheduledTime
+           (\ x__ y__ -> x__ {_Start'currentAttemptScheduledTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "startedTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'startedTime (\ x__ y__ -> x__ {_Start'startedTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'startedTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'startedTime (\ x__ y__ -> x__ {_Start'startedTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "attempt" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'attempt (\ x__ y__ -> x__ {_Start'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'scheduleToCloseTimeout
+           (\ x__ y__ -> x__ {_Start'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'scheduleToCloseTimeout
+           (\ x__ y__ -> x__ {_Start'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'startToCloseTimeout
+           (\ x__ y__ -> x__ {_Start'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'startToCloseTimeout
+           (\ x__ y__ -> x__ {_Start'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "heartbeatTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'heartbeatTimeout
+           (\ x__ y__ -> x__ {_Start'heartbeatTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'heartbeatTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'heartbeatTimeout
+           (\ x__ y__ -> x__ {_Start'heartbeatTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'retryPolicy (\ x__ y__ -> x__ {_Start'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'retryPolicy (\ x__ y__ -> x__ {_Start'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'priority (\ x__ y__ -> x__ {_Start'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'priority (\ x__ y__ -> x__ {_Start'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start "isLocal" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'isLocal (\ x__ y__ -> x__ {_Start'isLocal = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Start where
+  messageName _ = Data.Text.pack "coresdk.activity_task.Start"
+  packedMessageDescriptor _
+    = "\n\
+      \\ENQStart\DC2-\n\
+      \\DC2workflow_namespace\CAN\SOH \SOH(\tR\DC1workflowNamespace\DC2#\n\
+      \\rworkflow_type\CAN\STX \SOH(\tR\fworkflowType\DC2X\n\
+      \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\US\n\
+      \\vactivity_id\CAN\EOT \SOH(\tR\n\
+      \activityId\DC2#\n\
+      \\ractivity_type\CAN\ENQ \SOH(\tR\factivityType\DC2S\n\
+      \\rheader_fields\CAN\ACK \ETX(\v2..coresdk.activity_task.Start.HeaderFieldsEntryR\fheaderFields\DC25\n\
+      \\ENQinput\CAN\a \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2L\n\
+      \\DC1heartbeat_details\CAN\b \ETX(\v2\US.temporal.api.common.v1.PayloadR\DLEheartbeatDetails\DC2A\n\
+      \\SOscheduled_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2_\n\
+      \\RScurrent_attempt_scheduled_time\CAN\n\
+      \ \SOH(\v2\SUB.google.protobuf.TimestampR\ESCcurrentAttemptScheduledTime\DC2=\n\
+      \\fstarted_time\CAN\v \SOH(\v2\SUB.google.protobuf.TimestampR\vstartedTime\DC2\CAN\n\
+      \\aattempt\CAN\f \SOH(\rR\aattempt\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\r \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\SO \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+      \\DC1heartbeat_timeout\CAN\SI \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+      \\fretry_policy\CAN\DLE \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2<\n\
+      \\bpriority\CAN\DC2 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\DC2\EM\n\
+      \\bis_local\CAN\DC1 \SOH(\bR\aisLocal\SUB`\n\
+      \\DC1HeaderFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowNamespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowNamespace")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowType")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityType")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        headerFields__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "header_fields"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Start'HeaderFieldsEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headerFields")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"input")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        heartbeatDetails__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"heartbeatDetails")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        scheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        currentAttemptScheduledTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "current_attempt_scheduled_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'currentAttemptScheduledTime")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        startedTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startedTime")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        heartbeatTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor Start
+        isLocal__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_local"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"isLocal")) ::
+              Data.ProtoLens.FieldDescriptor Start
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowNamespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 4, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 5, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 6, headerFields__field_descriptor),
+           (Data.ProtoLens.Tag 7, input__field_descriptor),
+           (Data.ProtoLens.Tag 8, heartbeatDetails__field_descriptor),
+           (Data.ProtoLens.Tag 9, scheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 10, 
+            currentAttemptScheduledTime__field_descriptor),
+           (Data.ProtoLens.Tag 11, startedTime__field_descriptor),
+           (Data.ProtoLens.Tag 12, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 13, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 14, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 15, heartbeatTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 16, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 18, priority__field_descriptor),
+           (Data.ProtoLens.Tag 17, isLocal__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Start'_unknownFields
+        (\ x__ y__ -> x__ {_Start'_unknownFields = y__})
+  defMessage
+    = Start'_constructor
+        {_Start'workflowNamespace = Data.ProtoLens.fieldDefault,
+         _Start'workflowType = Data.ProtoLens.fieldDefault,
+         _Start'workflowExecution = Prelude.Nothing,
+         _Start'activityId = Data.ProtoLens.fieldDefault,
+         _Start'activityType = Data.ProtoLens.fieldDefault,
+         _Start'headerFields = Data.Map.empty,
+         _Start'input = Data.Vector.Generic.empty,
+         _Start'heartbeatDetails = Data.Vector.Generic.empty,
+         _Start'scheduledTime = Prelude.Nothing,
+         _Start'currentAttemptScheduledTime = Prelude.Nothing,
+         _Start'startedTime = Prelude.Nothing,
+         _Start'attempt = Data.ProtoLens.fieldDefault,
+         _Start'scheduleToCloseTimeout = Prelude.Nothing,
+         _Start'startToCloseTimeout = Prelude.Nothing,
+         _Start'heartbeatTimeout = Prelude.Nothing,
+         _Start'retryPolicy = Prelude.Nothing,
+         _Start'priority = Prelude.Nothing,
+         _Start'isLocal = Data.ProtoLens.fieldDefault,
+         _Start'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Start
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+                -> Data.ProtoLens.Encoding.Bytes.Parser Start
+        loop x mutable'heartbeatDetails mutable'input
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'heartbeatDetails <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                   (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                      mutable'heartbeatDetails)
+                      frozen'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'input)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'heartbeatDetails")
+                              frozen'heartbeatDetails
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'input") frozen'input x)))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_namespace"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowNamespace") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        50
+                          -> do !(entry :: Start'HeaderFieldsEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                         (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                             Data.ProtoLens.Encoding.Bytes.isolate
+                                                                               (Prelude.fromIntegral
+                                                                                  len)
+                                                                               Data.ProtoLens.parseMessage)
+                                                                         "header_fields"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headerFields")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'heartbeatDetails mutable'input)
+                        58
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "input"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'input y)
+                                loop x mutable'heartbeatDetails v
+                        66
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "heartbeat_details"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'heartbeatDetails y)
+                                loop x v mutable'input
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduledTime") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "current_attempt_scheduled_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"currentAttemptScheduledTime") y
+                                     x)
+                                  mutable'heartbeatDetails mutable'input
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "started_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startedTime") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        96
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "heartbeat_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"heartbeatTimeout") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        136
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_local"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"isLocal") y x)
+                                  mutable'heartbeatDetails mutable'input
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'heartbeatDetails mutable'input
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'heartbeatDetails <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            Data.ProtoLens.Encoding.Growing.new
+              mutable'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'heartbeatDetails mutable'input)
+          "Start"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"workflowNamespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowType") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (case
+                        Lens.Family2.view
+                          (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                    of
+                      Prelude.Nothing -> Data.Monoid.mempty
+                      (Prelude.Just _v)
+                        -> (Data.Monoid.<>)
+                             (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                             ((Prelude..)
+                                (\ bs
+                                   -> (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                Data.ProtoLens.encodeMessage _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v
+                              = Lens.Family2.view (Data.ProtoLens.Field.field @"activityType") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (Data.Monoid.mconcat
+                               (Prelude.map
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"value")
+                                                   (Prelude.snd _v)
+                                                   (Data.ProtoLens.defMessage ::
+                                                      Start'HeaderFieldsEntry)))))
+                                  (Data.Map.toList
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"headerFields") _x))))
+                            ((Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage _v))
+                                  (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'input") _x))
+                               ((Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage _v))
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"vec'heartbeatDetails") _x))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'scheduledTime") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'currentAttemptScheduledTime")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field @"maybe'startedTime")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field @"attempt") _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 96)
+                                                       ((Prelude..)
+                                                          Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          Prelude.fromIntegral _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field
+                                                           @"maybe'scheduleToCloseTimeout")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              106)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'startToCloseTimeout")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 114)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (case
+                                                            Lens.Family2.view
+                                                              (Data.ProtoLens.Field.field
+                                                                 @"maybe'heartbeatTimeout")
+                                                              _x
+                                                        of
+                                                          Prelude.Nothing -> Data.Monoid.mempty
+                                                          (Prelude.Just _v)
+                                                            -> (Data.Monoid.<>)
+                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                    122)
+                                                                 ((Prelude..)
+                                                                    (\ bs
+                                                                       -> (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               (Prelude.fromIntegral
+                                                                                  (Data.ByteString.length
+                                                                                     bs)))
+                                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                               bs))
+                                                                    Data.ProtoLens.encodeMessage
+                                                                    _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'retryPolicy")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       130)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          ((Data.Monoid.<>)
+                                                             (case
+                                                                  Lens.Family2.view
+                                                                    (Data.ProtoLens.Field.field
+                                                                       @"maybe'priority")
+                                                                    _x
+                                                              of
+                                                                Prelude.Nothing
+                                                                  -> Data.Monoid.mempty
+                                                                (Prelude.Just _v)
+                                                                  -> (Data.Monoid.<>)
+                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                          146)
+                                                                       ((Prelude..)
+                                                                          (\ bs
+                                                                             -> (Data.Monoid.<>)
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                     (Prelude.fromIntegral
+                                                                                        (Data.ByteString.length
+                                                                                           bs)))
+                                                                                  (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                     bs))
+                                                                          Data.ProtoLens.encodeMessage
+                                                                          _v))
+                                                             ((Data.Monoid.<>)
+                                                                (let
+                                                                   _v
+                                                                     = Lens.Family2.view
+                                                                         (Data.ProtoLens.Field.field
+                                                                            @"isLocal")
+                                                                         _x
+                                                                 in
+                                                                   if (Prelude.==)
+                                                                        _v
+                                                                        Data.ProtoLens.fieldDefault then
+                                                                       Data.Monoid.mempty
+                                                                   else
+                                                                       (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            136)
+                                                                         ((Prelude..)
+                                                                            Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (\ b
+                                                                               -> if b then
+                                                                                      1
+                                                                                  else
+                                                                                      0)
+                                                                            _v))
+                                                                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                   (Lens.Family2.view
+                                                                      Data.ProtoLens.unknownFields
+                                                                      _x)))))))))))))))))))
+instance Control.DeepSeq.NFData Start where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Start'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Start'workflowNamespace x__)
+                (Control.DeepSeq.deepseq
+                   (_Start'workflowType x__)
+                   (Control.DeepSeq.deepseq
+                      (_Start'workflowExecution x__)
+                      (Control.DeepSeq.deepseq
+                         (_Start'activityId x__)
+                         (Control.DeepSeq.deepseq
+                            (_Start'activityType x__)
+                            (Control.DeepSeq.deepseq
+                               (_Start'headerFields x__)
+                               (Control.DeepSeq.deepseq
+                                  (_Start'input x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_Start'heartbeatDetails x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_Start'scheduledTime x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_Start'currentAttemptScheduledTime x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_Start'startedTime x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_Start'attempt x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_Start'scheduleToCloseTimeout x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_Start'startToCloseTimeout x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_Start'heartbeatTimeout x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_Start'retryPolicy x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_Start'priority x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_Start'isLocal x__)
+                                                                   ()))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.key' @:: Lens' Start'HeaderFieldsEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.value' @:: Lens' Start'HeaderFieldsEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields.maybe'value' @:: Lens' Start'HeaderFieldsEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data Start'HeaderFieldsEntry
+  = Start'HeaderFieldsEntry'_constructor {_Start'HeaderFieldsEntry'key :: !Data.Text.Text,
+                                          _Start'HeaderFieldsEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                          _Start'HeaderFieldsEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Start'HeaderFieldsEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Start'HeaderFieldsEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'HeaderFieldsEntry'key
+           (\ x__ y__ -> x__ {_Start'HeaderFieldsEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Start'HeaderFieldsEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'HeaderFieldsEntry'value
+           (\ x__ y__ -> x__ {_Start'HeaderFieldsEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Start'HeaderFieldsEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Start'HeaderFieldsEntry'value
+           (\ x__ y__ -> x__ {_Start'HeaderFieldsEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Start'HeaderFieldsEntry where
+  messageName _
+    = Data.Text.pack "coresdk.activity_task.Start.HeaderFieldsEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1HeaderFieldsEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor Start'HeaderFieldsEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor Start'HeaderFieldsEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Start'HeaderFieldsEntry'_unknownFields
+        (\ x__ y__ -> x__ {_Start'HeaderFieldsEntry'_unknownFields = y__})
+  defMessage
+    = Start'HeaderFieldsEntry'_constructor
+        {_Start'HeaderFieldsEntry'key = Data.ProtoLens.fieldDefault,
+         _Start'HeaderFieldsEntry'value = Prelude.Nothing,
+         _Start'HeaderFieldsEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Start'HeaderFieldsEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser Start'HeaderFieldsEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeaderFieldsEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Start'HeaderFieldsEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Start'HeaderFieldsEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Start'HeaderFieldsEntry'key x__)
+                (Control.DeepSeq.deepseq (_Start'HeaderFieldsEntry'value x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \3temporal/sdk/core/activity_task/activity_task.proto\DC2\NAKcoresdk.activity_task\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/common/v1/message.proto\SUB%temporal/sdk/core/common/common.proto\"\167\SOH\n\
+    \\fActivityTask\DC2\GS\n\
+    \\n\
+    \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC24\n\
+    \\ENQstart\CAN\ETX \SOH(\v2\FS.coresdk.activity_task.StartH\NULR\ENQstart\DC27\n\
+    \\ACKcancel\CAN\EOT \SOH(\v2\GS.coresdk.activity_task.CancelH\NULR\ACKcancelB\t\n\
+    \\avariant\"\195\t\n\
+    \\ENQStart\DC2-\n\
+    \\DC2workflow_namespace\CAN\SOH \SOH(\tR\DC1workflowNamespace\DC2#\n\
+    \\rworkflow_type\CAN\STX \SOH(\tR\fworkflowType\DC2X\n\
+    \\DC2workflow_execution\CAN\ETX \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\DC1workflowExecution\DC2\US\n\
+    \\vactivity_id\CAN\EOT \SOH(\tR\n\
+    \activityId\DC2#\n\
+    \\ractivity_type\CAN\ENQ \SOH(\tR\factivityType\DC2S\n\
+    \\rheader_fields\CAN\ACK \ETX(\v2..coresdk.activity_task.Start.HeaderFieldsEntryR\fheaderFields\DC25\n\
+    \\ENQinput\CAN\a \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2L\n\
+    \\DC1heartbeat_details\CAN\b \ETX(\v2\US.temporal.api.common.v1.PayloadR\DLEheartbeatDetails\DC2A\n\
+    \\SOscheduled_time\CAN\t \SOH(\v2\SUB.google.protobuf.TimestampR\rscheduledTime\DC2_\n\
+    \\RScurrent_attempt_scheduled_time\CAN\n\
+    \ \SOH(\v2\SUB.google.protobuf.TimestampR\ESCcurrentAttemptScheduledTime\DC2=\n\
+    \\fstarted_time\CAN\v \SOH(\v2\SUB.google.protobuf.TimestampR\vstartedTime\DC2\CAN\n\
+    \\aattempt\CAN\f \SOH(\rR\aattempt\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\r \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\SO \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+    \\DC1heartbeat_timeout\CAN\SI \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+    \\fretry_policy\CAN\DLE \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2<\n\
+    \\bpriority\CAN\DC2 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\DC2\EM\n\
+    \\bis_local\CAN\DC1 \SOH(\bR\aisLocal\SUB`\n\
+    \\DC1HeaderFieldsEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"M\n\
+    \\ACKCancel\DC2C\n\
+    \\ACKreason\CAN\SOH \SOH(\SO2+.coresdk.activity_task.ActivityCancelReasonR\ACKreason*X\n\
+    \\DC4ActivityCancelReason\DC2\r\n\
+    \\tNOT_FOUND\DLE\NUL\DC2\r\n\
+    \\tCANCELLED\DLE\SOH\DC2\r\n\
+    \\tTIMED_OUT\DLE\STX\DC2\DC3\n\
+    \\SIWORKER_SHUTDOWN\DLE\ETXB2\234\STX/Temporalio::Internal::Bridge::Api::ActivityTaskJ\148\EM\n\
+    \\ACK\DC2\EOT\NUL\NULQ\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \a\n\
+    \\SOH\STX\DC2\ETX\ENQ\NUL\RS\SUBW*\n\
+    \ Definitions of the different activity tasks returned from [crate::Core::poll_task].\n\
+    \\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ACK\NULH\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ACK\NULH\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\b\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\t\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\n\
+    \\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\v\NUL/\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT\r\NUL\SYN\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\r\b\DC4\n\
+    \0\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\SI\EOT\EM\SUB# A unique identifier for this task\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\SI\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\SI\n\
+    \\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\SI\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT\DLE\EOT\NAK\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\DLE\n\
+    \\DC1\n\
+    \(\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\DC2\b\CAN\SUB\ESC Start activity execution.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\DC2\b\r\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\DC2\SO\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\DC2\SYN\ETB\n\
+    \4\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\DC4\b\SUB\SUB' Attempt to cancel activity execution.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX\DC4\b\SO\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\DC4\SI\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\DC4\CAN\EM\n\
+    \)\n\
+    \\STX\EOT\SOH\DC2\EOT\EM\NULA\SOH\SUB\GS Begin executing an activity\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\EM\b\r\n\
+    \2\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\ESC\EOT\"\SUB% The namespace the workflow lives in\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX\ESC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\ESC\v\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\ESC !\n\
+    \>\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX\GS\EOT\GS\SUB1 The workflow's type name or function identifier\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX\GS\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX\GS\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX\GS\ESC\FS\n\
+    \C\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX\US\EOTD\SUB6 The workflow execution which requested this activity\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX\US\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX\US-?\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX\USBC\n\
+    \ \n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETX!\EOT\ESC\SUB\DC3 The activity's ID\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETX!\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX!\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX!\EM\SUB\n\
+    \>\n\
+    \\EOT\EOT\SOH\STX\EOT\DC2\ETX#\EOT\GS\SUB1 The activity's type name or function identifier\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ENQ\DC2\ETX#\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETX#\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETX#\ESC\FS\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\ENQ\DC2\ETX$\EOTB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETX$\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETX$0=\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETX$@A\n\
+    \(\n\
+    \\EOT\EOT\SOH\STX\ACK\DC2\ETX&\EOT6\SUB\ESC Arguments to the activity\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\EOT\DC2\ETX&\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETX&\r+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETX&,1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETX&45\n\
+    \^\n\
+    \\EOT\EOT\SOH\STX\a\DC2\ETX(\EOTB\SUBQ The last details that were recorded by a heartbeat when this task was generated\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\EOT\DC2\ETX(\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETX(\r+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETX(,=\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETX(@A\n\
+    \2\n\
+    \\EOT\EOT\SOH\STX\b\DC2\ETX*\EOT1\SUB% When the task was *first* scheduled\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETX*\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETX*\RS,\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETX*/0\n\
+    \B\n\
+    \\EOT\EOT\SOH\STX\t\DC2\ETX,\EOTB\SUB5 When this current attempt at the task was scheduled\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETX,\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETX,\RS<\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETX,?A\n\
+    \_\n\
+    \\EOT\EOT\SOH\STX\n\
+    \\DC2\ETX.\EOT0\SUBR When this attempt was started, which is to say when core received it by polling.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\n\
+    \\ACK\DC2\ETX.\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\n\
+    \\SOH\DC2\ETX.\RS*\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\n\
+    \\ETX\DC2\ETX.-/\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\v\DC2\ETX/\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\v\ENQ\DC2\ETX/\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETX/\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETX/\NAK\ETB\n\
+    \A\n\
+    \\EOT\EOT\SOH\STX\f\DC2\ETX2\EOT<\SUB4 Timeout from the first schedule time to completion\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\f\ACK\DC2\ETX2\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\f\SOH\DC2\ETX2\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\f\ETX\DC2\ETX29;\n\
+    \G\n\
+    \\EOT\EOT\SOH\STX\r\DC2\ETX4\EOT9\SUB: Timeout from starting an attempt to reporting its result\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\r\ACK\DC2\ETX4\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\r\SOH\DC2\ETX4\GS3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\r\ETX\DC2\ETX468\n\
+    \G\n\
+    \\EOT\EOT\SOH\STX\SO\DC2\ETX6\EOT4\SUB: If set a heartbeat must be reported within this interval\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SO\ACK\DC2\ETX6\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SO\SOH\DC2\ETX6\GS.\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SO\ETX\DC2\ETX613\n\
+    \\134\STX\n\
+    \\EOT\EOT\SOH\STX\SI\DC2\ETX:\EOT9\SUB\248\SOH This is an actual retry policy the service uses. It can be different from the one provided\n\
+    \ (or not) during activity scheduling as the service can override the provided one in case its\n\
+    \ values are not specified or exceed configured system limits.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SI\ACK\DC2\ETX:\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SI\SOH\DC2\ETX:'3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SI\ETX\DC2\ETX:68\n\
+    \j\n\
+    \\EOT\EOT\SOH\STX\DLE\DC2\ETX<\EOT2\SUB] Priority of this activity. Local activities will always have this field set to the default.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\DLE\ACK\DC2\ETX<\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\DLE\SOH\DC2\ETX<$,\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\DLE\ETX\DC2\ETX</1\n\
+    \s\n\
+    \\EOT\EOT\SOH\STX\DC1\DC2\ETX@\EOT\ETB\SUBf Set to true if this is a local activity. Note that heartbeating does not apply to local\n\
+    \ activities.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\DC1\ENQ\DC2\ETX@\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\DC1\SOH\DC2\ETX@\t\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\DC1\ETX\DC2\ETX@\DC4\SYN\n\
+    \2\n\
+    \\STX\EOT\STX\DC2\EOTD\NULF\SOH\SUB& Attempt to cancel a running activity\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETXD\b\SO\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETXE\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETXE\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETXE\EM\US\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETXE\"#\n\
+    \\n\
+    \\n\
+    \\STX\ENQ\NUL\DC2\EOTH\NULQ\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\ENQ\NUL\SOH\DC2\ETXH\ENQ\EM\n\
+    \[\n\
+    \\EOT\ENQ\NUL\STX\NUL\DC2\ETXJ\EOT\DC2\SUBN The activity no longer exists according to server (may be already completed)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETXJ\EOT\r\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETXJ\DLE\DC1\n\
+    \0\n\
+    \\EOT\ENQ\NUL\STX\SOH\DC2\ETXL\EOT\DC2\SUB# Activity was explicitly cancelled\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETXL\EOT\r\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETXL\DLE\DC1\n\
+    \!\n\
+    \\EOT\ENQ\NUL\STX\STX\DC2\ETXN\EOT\DC2\SUB\DC4 Activity timed out\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETXN\EOT\r\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETXN\DLE\DC1\n\
+    \I\n\
+    \\EOT\ENQ\NUL\STX\ETX\DC2\ETXP\EOT\CAN\SUB< Core is shutting down and the graceful timeout has elapsed\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\ETX\SOH\DC2\ETXP\EOT\DC3\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\ETX\STX\DC2\ETXP\SYN\ETBb\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/ActivityTask/ActivityTask_Fields.hs b/src/Proto/Temporal/Sdk/Core/ActivityTask/ActivityTask_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ActivityTask/ActivityTask_Fields.hs
@@ -0,0 +1,269 @@
+{- This file was auto-generated from temporal/sdk/core/activity_task/activity_task.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+cancel ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "cancel" a) =>
+  Lens.Family2.LensLike' f s a
+cancel = Data.ProtoLens.Field.field @"cancel"
+currentAttemptScheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "currentAttemptScheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+currentAttemptScheduledTime
+  = Data.ProtoLens.Field.field @"currentAttemptScheduledTime"
+headerFields ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "headerFields" a) =>
+  Lens.Family2.LensLike' f s a
+headerFields = Data.ProtoLens.Field.field @"headerFields"
+heartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatDetails = Data.ProtoLens.Field.field @"heartbeatDetails"
+heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatTimeout = Data.ProtoLens.Field.field @"heartbeatTimeout"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+isLocal ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "isLocal" a) =>
+  Lens.Family2.LensLike' f s a
+isLocal = Data.ProtoLens.Field.field @"isLocal"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+maybe'cancel ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancel" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancel = Data.ProtoLens.Field.field @"maybe'cancel"
+maybe'currentAttemptScheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'currentAttemptScheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'currentAttemptScheduledTime
+  = Data.ProtoLens.Field.field @"maybe'currentAttemptScheduledTime"
+maybe'heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatTimeout
+  = Data.ProtoLens.Field.field @"maybe'heartbeatTimeout"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduledTime
+  = Data.ProtoLens.Field.field @"maybe'scheduledTime"
+maybe'start ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'start" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'start = Data.ProtoLens.Field.field @"maybe'start"
+maybe'startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToCloseTimeout"
+maybe'startedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startedTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startedTime = Data.ProtoLens.Field.field @"maybe'startedTime"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduledTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduledTime" a) =>
+  Lens.Family2.LensLike' f s a
+scheduledTime = Data.ProtoLens.Field.field @"scheduledTime"
+start ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "start" a) =>
+  Lens.Family2.LensLike' f s a
+start = Data.ProtoLens.Field.field @"start"
+startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToCloseTimeout
+  = Data.ProtoLens.Field.field @"startToCloseTimeout"
+startedTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedTime" a) =>
+  Lens.Family2.LensLike' f s a
+startedTime = Data.ProtoLens.Field.field @"startedTime"
+taskToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskToken" a) =>
+  Lens.Family2.LensLike' f s a
+taskToken = Data.ProtoLens.Field.field @"taskToken"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'heartbeatDetails ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'heartbeatDetails" a) =>
+  Lens.Family2.LensLike' f s a
+vec'heartbeatDetails
+  = Data.ProtoLens.Field.field @"vec'heartbeatDetails"
+vec'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'input" a) =>
+  Lens.Family2.LensLike' f s a
+vec'input = Data.ProtoLens.Field.field @"vec'input"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
+workflowNamespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowNamespace" a) =>
+  Lens.Family2.LensLike' f s a
+workflowNamespace = Data.ProtoLens.Field.field @"workflowNamespace"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Sdk/Core/ChildWorkflow/ChildWorkflow.hs b/src/Proto/Temporal/Sdk/Core/ChildWorkflow/ChildWorkflow.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ChildWorkflow/ChildWorkflow.hs
@@ -0,0 +1,1161 @@
+{- This file was auto-generated from temporal/sdk/core/child_workflow/child_workflow.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow (
+        Cancellation(), ChildWorkflowCancellationType(..),
+        ChildWorkflowCancellationType(),
+        ChildWorkflowCancellationType'UnrecognizedValue,
+        ChildWorkflowResult(), ChildWorkflowResult'Status(..),
+        _ChildWorkflowResult'Completed, _ChildWorkflowResult'Failed,
+        _ChildWorkflowResult'Cancelled, Failure(), ParentClosePolicy(..),
+        ParentClosePolicy(), ParentClosePolicy'UnrecognizedValue,
+        StartChildWorkflowExecutionFailedCause(..),
+        StartChildWorkflowExecutionFailedCause(),
+        StartChildWorkflowExecutionFailedCause'UnrecognizedValue, Success()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.failure' @:: Lens' Cancellation Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'failure' @:: Lens' Cancellation (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data Cancellation
+  = Cancellation'_constructor {_Cancellation'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                               _Cancellation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Cancellation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Cancellation "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Cancellation'failure
+           (\ x__ y__ -> x__ {_Cancellation'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Cancellation "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Cancellation'failure
+           (\ x__ y__ -> x__ {_Cancellation'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Cancellation where
+  messageName _
+    = Data.Text.pack "coresdk.child_workflow.Cancellation"
+  packedMessageDescriptor _
+    = "\n\
+      \\fCancellation\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Cancellation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Cancellation'_unknownFields
+        (\ x__ y__ -> x__ {_Cancellation'_unknownFields = y__})
+  defMessage
+    = Cancellation'_constructor
+        {_Cancellation'failure = Prelude.Nothing,
+         _Cancellation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Cancellation -> Data.ProtoLens.Encoding.Bytes.Parser Cancellation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Cancellation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Cancellation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Cancellation'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Cancellation'failure x__) ())
+newtype ChildWorkflowCancellationType'UnrecognizedValue
+  = ChildWorkflowCancellationType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ChildWorkflowCancellationType
+  = ABANDON |
+    TRY_CANCEL |
+    WAIT_CANCELLATION_COMPLETED |
+    WAIT_CANCELLATION_REQUESTED |
+    ChildWorkflowCancellationType'Unrecognized !ChildWorkflowCancellationType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ChildWorkflowCancellationType where
+  maybeToEnum 0 = Prelude.Just ABANDON
+  maybeToEnum 1 = Prelude.Just TRY_CANCEL
+  maybeToEnum 2 = Prelude.Just WAIT_CANCELLATION_COMPLETED
+  maybeToEnum 3 = Prelude.Just WAIT_CANCELLATION_REQUESTED
+  maybeToEnum k
+    = Prelude.Just
+        (ChildWorkflowCancellationType'Unrecognized
+           (ChildWorkflowCancellationType'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum ABANDON = "ABANDON"
+  showEnum TRY_CANCEL = "TRY_CANCEL"
+  showEnum WAIT_CANCELLATION_COMPLETED
+    = "WAIT_CANCELLATION_COMPLETED"
+  showEnum WAIT_CANCELLATION_REQUESTED
+    = "WAIT_CANCELLATION_REQUESTED"
+  showEnum
+    (ChildWorkflowCancellationType'Unrecognized (ChildWorkflowCancellationType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "ABANDON" = Prelude.Just ABANDON
+    | (Prelude.==) k "TRY_CANCEL" = Prelude.Just TRY_CANCEL
+    | (Prelude.==) k "WAIT_CANCELLATION_COMPLETED"
+    = Prelude.Just WAIT_CANCELLATION_COMPLETED
+    | (Prelude.==) k "WAIT_CANCELLATION_REQUESTED"
+    = Prelude.Just WAIT_CANCELLATION_REQUESTED
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ChildWorkflowCancellationType where
+  minBound = ABANDON
+  maxBound = WAIT_CANCELLATION_REQUESTED
+instance Prelude.Enum ChildWorkflowCancellationType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ChildWorkflowCancellationType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum ABANDON = 0
+  fromEnum TRY_CANCEL = 1
+  fromEnum WAIT_CANCELLATION_COMPLETED = 2
+  fromEnum WAIT_CANCELLATION_REQUESTED = 3
+  fromEnum
+    (ChildWorkflowCancellationType'Unrecognized (ChildWorkflowCancellationType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WAIT_CANCELLATION_REQUESTED
+    = Prelude.error
+        "ChildWorkflowCancellationType.succ: bad argument WAIT_CANCELLATION_REQUESTED. This value would be out of bounds."
+  succ ABANDON = TRY_CANCEL
+  succ TRY_CANCEL = WAIT_CANCELLATION_COMPLETED
+  succ WAIT_CANCELLATION_COMPLETED = WAIT_CANCELLATION_REQUESTED
+  succ (ChildWorkflowCancellationType'Unrecognized _)
+    = Prelude.error
+        "ChildWorkflowCancellationType.succ: bad argument: unrecognized value"
+  pred ABANDON
+    = Prelude.error
+        "ChildWorkflowCancellationType.pred: bad argument ABANDON. This value would be out of bounds."
+  pred TRY_CANCEL = ABANDON
+  pred WAIT_CANCELLATION_COMPLETED = TRY_CANCEL
+  pred WAIT_CANCELLATION_REQUESTED = WAIT_CANCELLATION_COMPLETED
+  pred (ChildWorkflowCancellationType'Unrecognized _)
+    = Prelude.error
+        "ChildWorkflowCancellationType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ChildWorkflowCancellationType where
+  fieldDefault = ABANDON
+instance Control.DeepSeq.NFData ChildWorkflowCancellationType where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'status' @:: Lens' ChildWorkflowResult (Prelude.Maybe ChildWorkflowResult'Status)@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'completed' @:: Lens' ChildWorkflowResult (Prelude.Maybe Success)@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.completed' @:: Lens' ChildWorkflowResult Success@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'failed' @:: Lens' ChildWorkflowResult (Prelude.Maybe Failure)@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.failed' @:: Lens' ChildWorkflowResult Failure@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'cancelled' @:: Lens' ChildWorkflowResult (Prelude.Maybe Cancellation)@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.cancelled' @:: Lens' ChildWorkflowResult Cancellation@ -}
+data ChildWorkflowResult
+  = ChildWorkflowResult'_constructor {_ChildWorkflowResult'status :: !(Prelude.Maybe ChildWorkflowResult'Status),
+                                      _ChildWorkflowResult'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ChildWorkflowResult where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ChildWorkflowResult'Status
+  = ChildWorkflowResult'Completed !Success |
+    ChildWorkflowResult'Failed !Failure |
+    ChildWorkflowResult'Cancelled !Cancellation
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "maybe'status" (Prelude.Maybe ChildWorkflowResult'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "maybe'completed" (Prelude.Maybe Success) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ChildWorkflowResult'Completed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ChildWorkflowResult'Completed y__))
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "completed" Success where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ChildWorkflowResult'Completed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ChildWorkflowResult'Completed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "maybe'failed" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ChildWorkflowResult'Failed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ChildWorkflowResult'Failed y__))
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "failed" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ChildWorkflowResult'Failed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ChildWorkflowResult'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "maybe'cancelled" (Prelude.Maybe Cancellation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ChildWorkflowResult'Cancelled x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap ChildWorkflowResult'Cancelled y__))
+instance Data.ProtoLens.Field.HasField ChildWorkflowResult "cancelled" Cancellation where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ChildWorkflowResult'status
+           (\ x__ y__ -> x__ {_ChildWorkflowResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ChildWorkflowResult'Cancelled x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap ChildWorkflowResult'Cancelled y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ChildWorkflowResult where
+  messageName _
+    = Data.Text.pack "coresdk.child_workflow.ChildWorkflowResult"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3ChildWorkflowResult\DC2?\n\
+      \\tcompleted\CAN\SOH \SOH(\v2\US.coresdk.child_workflow.SuccessH\NULR\tcompleted\DC29\n\
+      \\ACKfailed\CAN\STX \SOH(\v2\US.coresdk.child_workflow.FailureH\NULR\ACKfailed\DC2D\n\
+      \\tcancelled\CAN\ETX \SOH(\v2$.coresdk.child_workflow.CancellationH\NULR\tcancelledB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        completed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Success)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completed")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowResult
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowResult
+        cancelled__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancelled"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Cancellation)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelled")) ::
+              Data.ProtoLens.FieldDescriptor ChildWorkflowResult
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, completed__field_descriptor),
+           (Data.ProtoLens.Tag 2, failed__field_descriptor),
+           (Data.ProtoLens.Tag 3, cancelled__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ChildWorkflowResult'_unknownFields
+        (\ x__ y__ -> x__ {_ChildWorkflowResult'_unknownFields = y__})
+  defMessage
+    = ChildWorkflowResult'_constructor
+        {_ChildWorkflowResult'status = Prelude.Nothing,
+         _ChildWorkflowResult'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ChildWorkflowResult
+          -> Data.ProtoLens.Encoding.Bytes.Parser ChildWorkflowResult
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "completed"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"completed") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancelled"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelled") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ChildWorkflowResult"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (ChildWorkflowResult'Completed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ChildWorkflowResult'Failed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (ChildWorkflowResult'Cancelled v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ChildWorkflowResult where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ChildWorkflowResult'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ChildWorkflowResult'status x__) ())
+instance Control.DeepSeq.NFData ChildWorkflowResult'Status where
+  rnf (ChildWorkflowResult'Completed x__) = Control.DeepSeq.rnf x__
+  rnf (ChildWorkflowResult'Failed x__) = Control.DeepSeq.rnf x__
+  rnf (ChildWorkflowResult'Cancelled x__) = Control.DeepSeq.rnf x__
+_ChildWorkflowResult'Completed ::
+  Data.ProtoLens.Prism.Prism' ChildWorkflowResult'Status Success
+_ChildWorkflowResult'Completed
+  = Data.ProtoLens.Prism.prism'
+      ChildWorkflowResult'Completed
+      (\ p__
+         -> case p__ of
+              (ChildWorkflowResult'Completed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ChildWorkflowResult'Failed ::
+  Data.ProtoLens.Prism.Prism' ChildWorkflowResult'Status Failure
+_ChildWorkflowResult'Failed
+  = Data.ProtoLens.Prism.prism'
+      ChildWorkflowResult'Failed
+      (\ p__
+         -> case p__ of
+              (ChildWorkflowResult'Failed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ChildWorkflowResult'Cancelled ::
+  Data.ProtoLens.Prism.Prism' ChildWorkflowResult'Status Cancellation
+_ChildWorkflowResult'Cancelled
+  = Data.ProtoLens.Prism.prism'
+      ChildWorkflowResult'Cancelled
+      (\ p__
+         -> case p__ of
+              (ChildWorkflowResult'Cancelled p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.failure' @:: Lens' Failure Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'failure' @:: Lens' Failure (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data Failure
+  = Failure'_constructor {_Failure'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                          _Failure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Failure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Failure "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failure (\ x__ y__ -> x__ {_Failure'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Failure "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failure (\ x__ y__ -> x__ {_Failure'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Failure where
+  messageName _ = Data.Text.pack "coresdk.child_workflow.Failure"
+  packedMessageDescriptor _
+    = "\n\
+      \\aFailure\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Failure'_unknownFields
+        (\ x__ y__ -> x__ {_Failure'_unknownFields = y__})
+  defMessage
+    = Failure'_constructor
+        {_Failure'failure = Prelude.Nothing, _Failure'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Failure -> Data.ProtoLens.Encoding.Bytes.Parser Failure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Failure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Failure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Failure'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Failure'failure x__) ())
+newtype ParentClosePolicy'UnrecognizedValue
+  = ParentClosePolicy'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ParentClosePolicy
+  = PARENT_CLOSE_POLICY_UNSPECIFIED |
+    PARENT_CLOSE_POLICY_TERMINATE |
+    PARENT_CLOSE_POLICY_ABANDON |
+    PARENT_CLOSE_POLICY_REQUEST_CANCEL |
+    ParentClosePolicy'Unrecognized !ParentClosePolicy'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ParentClosePolicy where
+  maybeToEnum 0 = Prelude.Just PARENT_CLOSE_POLICY_UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just PARENT_CLOSE_POLICY_TERMINATE
+  maybeToEnum 2 = Prelude.Just PARENT_CLOSE_POLICY_ABANDON
+  maybeToEnum 3 = Prelude.Just PARENT_CLOSE_POLICY_REQUEST_CANCEL
+  maybeToEnum k
+    = Prelude.Just
+        (ParentClosePolicy'Unrecognized
+           (ParentClosePolicy'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum PARENT_CLOSE_POLICY_UNSPECIFIED
+    = "PARENT_CLOSE_POLICY_UNSPECIFIED"
+  showEnum PARENT_CLOSE_POLICY_TERMINATE
+    = "PARENT_CLOSE_POLICY_TERMINATE"
+  showEnum PARENT_CLOSE_POLICY_ABANDON
+    = "PARENT_CLOSE_POLICY_ABANDON"
+  showEnum PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    = "PARENT_CLOSE_POLICY_REQUEST_CANCEL"
+  showEnum
+    (ParentClosePolicy'Unrecognized (ParentClosePolicy'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_UNSPECIFIED"
+    = Prelude.Just PARENT_CLOSE_POLICY_UNSPECIFIED
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_TERMINATE"
+    = Prelude.Just PARENT_CLOSE_POLICY_TERMINATE
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_ABANDON"
+    = Prelude.Just PARENT_CLOSE_POLICY_ABANDON
+    | (Prelude.==) k "PARENT_CLOSE_POLICY_REQUEST_CANCEL"
+    = Prelude.Just PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ParentClosePolicy where
+  minBound = PARENT_CLOSE_POLICY_UNSPECIFIED
+  maxBound = PARENT_CLOSE_POLICY_REQUEST_CANCEL
+instance Prelude.Enum ParentClosePolicy where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ParentClosePolicy: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum PARENT_CLOSE_POLICY_UNSPECIFIED = 0
+  fromEnum PARENT_CLOSE_POLICY_TERMINATE = 1
+  fromEnum PARENT_CLOSE_POLICY_ABANDON = 2
+  fromEnum PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3
+  fromEnum
+    (ParentClosePolicy'Unrecognized (ParentClosePolicy'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    = Prelude.error
+        "ParentClosePolicy.succ: bad argument PARENT_CLOSE_POLICY_REQUEST_CANCEL. This value would be out of bounds."
+  succ PARENT_CLOSE_POLICY_UNSPECIFIED
+    = PARENT_CLOSE_POLICY_TERMINATE
+  succ PARENT_CLOSE_POLICY_TERMINATE = PARENT_CLOSE_POLICY_ABANDON
+  succ PARENT_CLOSE_POLICY_ABANDON
+    = PARENT_CLOSE_POLICY_REQUEST_CANCEL
+  succ (ParentClosePolicy'Unrecognized _)
+    = Prelude.error
+        "ParentClosePolicy.succ: bad argument: unrecognized value"
+  pred PARENT_CLOSE_POLICY_UNSPECIFIED
+    = Prelude.error
+        "ParentClosePolicy.pred: bad argument PARENT_CLOSE_POLICY_UNSPECIFIED. This value would be out of bounds."
+  pred PARENT_CLOSE_POLICY_TERMINATE
+    = PARENT_CLOSE_POLICY_UNSPECIFIED
+  pred PARENT_CLOSE_POLICY_ABANDON = PARENT_CLOSE_POLICY_TERMINATE
+  pred PARENT_CLOSE_POLICY_REQUEST_CANCEL
+    = PARENT_CLOSE_POLICY_ABANDON
+  pred (ParentClosePolicy'Unrecognized _)
+    = Prelude.error
+        "ParentClosePolicy.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ParentClosePolicy where
+  fieldDefault = PARENT_CLOSE_POLICY_UNSPECIFIED
+instance Control.DeepSeq.NFData ParentClosePolicy where
+  rnf x__ = Prelude.seq x__ ()
+newtype StartChildWorkflowExecutionFailedCause'UnrecognizedValue
+  = StartChildWorkflowExecutionFailedCause'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data StartChildWorkflowExecutionFailedCause
+  = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED |
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS |
+    StartChildWorkflowExecutionFailedCause'Unrecognized !StartChildWorkflowExecutionFailedCause'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum StartChildWorkflowExecutionFailedCause where
+  maybeToEnum 0
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maybeToEnum 1
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+  maybeToEnum k
+    = Prelude.Just
+        (StartChildWorkflowExecutionFailedCause'Unrecognized
+           (StartChildWorkflowExecutionFailedCause'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+  showEnum
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS"
+  showEnum
+    (StartChildWorkflowExecutionFailedCause'Unrecognized (StartChildWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==)
+        k "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED"
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    | (Prelude.==)
+        k
+        "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS"
+    = Prelude.Just
+        START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded StartChildWorkflowExecutionFailedCause where
+  minBound = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  maxBound
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+instance Prelude.Enum StartChildWorkflowExecutionFailedCause where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum StartChildWorkflowExecutionFailedCause: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = 0
+  fromEnum
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = 1
+  fromEnum
+    (StartChildWorkflowExecutionFailedCause'Unrecognized (StartChildWorkflowExecutionFailedCause'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.succ: bad argument START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS. This value would be out of bounds."
+  succ START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+  succ (StartChildWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.succ: bad argument: unrecognized value"
+  pred START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.pred: bad argument START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED. This value would be out of bounds."
+  pred
+    START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+  pred (StartChildWorkflowExecutionFailedCause'Unrecognized _)
+    = Prelude.error
+        "StartChildWorkflowExecutionFailedCause.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault StartChildWorkflowExecutionFailedCause where
+  fieldDefault
+    = START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED
+instance Control.DeepSeq.NFData StartChildWorkflowExecutionFailedCause where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.result' @:: Lens' Success Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields.maybe'result' @:: Lens' Success (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data Success
+  = Success'_constructor {_Success'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                          _Success'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Success where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Success "result" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'result (\ x__ y__ -> x__ {_Success'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Success "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'result (\ x__ y__ -> x__ {_Success'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Success where
+  messageName _ = Data.Text.pack "coresdk.child_workflow.Success"
+  packedMessageDescriptor _
+    = "\n\
+      \\aSuccess\DC27\n\
+      \\ACKresult\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor Success
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Success'_unknownFields
+        (\ x__ y__ -> x__ {_Success'_unknownFields = y__})
+  defMessage
+    = Success'_constructor
+        {_Success'result = Prelude.Nothing, _Success'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Success -> Data.ProtoLens.Encoding.Bytes.Parser Success
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Success"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData Success where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Success'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_Success'result x__) ())
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \5temporal/sdk/core/child_workflow/child_workflow.proto\DC2\SYNcoresdk.child_workflow\SUB$temporal/api/common/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\SUB%temporal/sdk/core/common/common.proto\"\225\SOH\n\
+    \\DC3ChildWorkflowResult\DC2?\n\
+    \\tcompleted\CAN\SOH \SOH(\v2\US.coresdk.child_workflow.SuccessH\NULR\tcompleted\DC29\n\
+    \\ACKfailed\CAN\STX \SOH(\v2\US.coresdk.child_workflow.FailureH\NULR\ACKfailed\DC2D\n\
+    \\tcancelled\CAN\ETX \SOH(\v2$.coresdk.child_workflow.CancellationH\NULR\tcancelledB\b\n\
+    \\ACKstatus\"B\n\
+    \\aSuccess\DC27\n\
+    \\ACKresult\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult\"E\n\
+    \\aFailure\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"J\n\
+    \\fCancellation\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure*\164\SOH\n\
+    \\DC1ParentClosePolicy\DC2#\n\
+    \\USPARENT_CLOSE_POLICY_UNSPECIFIED\DLE\NUL\DC2!\n\
+    \\GSPARENT_CLOSE_POLICY_TERMINATE\DLE\SOH\DC2\US\n\
+    \\ESCPARENT_CLOSE_POLICY_ABANDON\DLE\STX\DC2&\n\
+    \\"PARENT_CLOSE_POLICY_REQUEST_CANCEL\DLE\ETX*\174\SOH\n\
+    \&StartChildWorkflowExecutionFailedCause\DC2;\n\
+    \7START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED\DLE\NUL\DC2G\n\
+    \CSTART_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS\DLE\SOH*~\n\
+    \\GSChildWorkflowCancellationType\DC2\v\n\
+    \\aABANDON\DLE\NUL\DC2\SO\n\
+    \\n\
+    \TRY_CANCEL\DLE\SOH\DC2\US\n\
+    \\ESCWAIT_CANCELLATION_COMPLETED\DLE\STX\DC2\US\n\
+    \\ESCWAIT_CANCELLATION_REQUESTED\DLE\ETXB3\234\STX0Temporalio::Internal::Bridge::Api::ChildWorkflowJ\227\DLE\n\
+    \\ACK\DC2\EOT\NUL\NUL@\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL\US\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULI\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULI\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\ENQ\NUL.\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\ACK\NUL/\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\a\NUL/\n\
+    \@\n\
+    \\STX\EOT\NUL\DC2\EOT\n\
+    \\NUL\DLE\SOH\SUB4 Used by core to resolve child workflow executions.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\n\
+    \\b\ESC\n\
+    \\f\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT\v\EOT\SI\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\v\n\
+    \\DLE\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\f\b\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\f\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\f\DLE\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\f\FS\GS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\r\b\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\r\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\r\DLE\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\r\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\SO\b#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX\SO\b\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\SO\NAK\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\SO!\"\n\
+    \J\n\
+    \\STX\EOT\SOH\DC2\EOT\DC3\NUL\NAK\SOH\SUB> Used in ChildWorkflowResult to report successful completion.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\DC3\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\DC4\EOT.\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX\DC4\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\DC4#)\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\DC4,-\n\
+    \\150\SOH\n\
+    \\STX\EOT\STX\DC2\EOT\EM\NUL\ESC\SOH\SUB\137\SOH Used in ChildWorkflowResult to report non successful outcomes such as\n\
+    \ application failures, timeouts, terminations, and cancellations.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX\EM\b\SI\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX\SUB\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX\SUB\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX\SUB$+\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX\SUB./\n\
+    \\135\SOH\n\
+    \\STX\EOT\ETX\DC2\EOT\US\NUL!\SOH\SUB{ Used in ChildWorkflowResult to report cancellation.\n\
+    \ Failure should be ChildWorkflowFailure with a CanceledFailure cause.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX\US\b\DC4\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX \EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ACK\DC2\ETX \EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX $+\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX ./\n\
+    \j\n\
+    \\STX\ENQ\NUL\DC2\EOT%\NUL.\SOH\SUB^ Used by the service to determine the fate of a child workflow\n\
+    \ in case its parent is closed.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\ENQ\NUL\SOH\DC2\ETX%\ENQ\SYN\n\
+    \0\n\
+    \\EOT\ENQ\NUL\STX\NUL\DC2\ETX'\EOT(\SUB# Let's the server set the default.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETX'\EOT#\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETX'&'\n\
+    \>\n\
+    \\EOT\ENQ\NUL\STX\SOH\DC2\ETX)\EOT&\SUB1 Terminate means terminating the child workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETX)\EOT!\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETX)$%\n\
+    \F\n\
+    \\EOT\ENQ\NUL\STX\STX\DC2\ETX+\EOT$\SUB9 Abandon means not doing anything on the child workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETX+\EOT\US\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETX+\"#\n\
+    \J\n\
+    \\EOT\ENQ\NUL\STX\ETX\DC2\ETX-\EOT+\SUB= Cancel means requesting cancellation on the child workflow.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\ETX\SOH\DC2\ETX-\EOT&\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\ETX\STX\DC2\ETX-)*\n\
+    \B\n\
+    \\STX\ENQ\SOH\DC2\EOT1\NUL4\SOH\SUB6 Possible causes of failure to start a child workflow\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\ENQ\SOH\SOH\DC2\ETX1\ENQ+\n\
+    \\v\n\
+    \\EOT\ENQ\SOH\STX\NUL\DC2\ETX2\EOT@\n\
+    \\f\n\
+    \\ENQ\ENQ\SOH\STX\NUL\SOH\DC2\ETX2\EOT;\n\
+    \\f\n\
+    \\ENQ\ENQ\SOH\STX\NUL\STX\DC2\ETX2>?\n\
+    \\v\n\
+    \\EOT\ENQ\SOH\STX\SOH\DC2\ETX3\EOTL\n\
+    \\f\n\
+    \\ENQ\ENQ\SOH\STX\SOH\SOH\DC2\ETX3\EOTG\n\
+    \\f\n\
+    \\ENQ\ENQ\SOH\STX\SOH\STX\DC2\ETX3JK\n\
+    \_\n\
+    \\STX\ENQ\STX\DC2\EOT7\NUL@\SOH\SUBS Controls at which point to report back to lang when a child workflow is cancelled\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\ENQ\STX\SOH\DC2\ETX7\ENQ\"\n\
+    \U\n\
+    \\EOT\ENQ\STX\STX\NUL\DC2\ETX9\EOT\DLE\SUBH Do not request cancellation of the child workflow if already scheduled\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\NUL\SOH\DC2\ETX9\EOT\v\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\NUL\STX\DC2\ETX9\SO\SI\n\
+    \a\n\
+    \\EOT\ENQ\STX\STX\SOH\DC2\ETX;\EOT\DC3\SUBT Initiate a cancellation request and immediately report cancellation to the parent.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\SOH\SOH\DC2\ETX;\EOT\SO\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\SOH\STX\DC2\ETX;\DC1\DC2\n\
+    \6\n\
+    \\EOT\ENQ\STX\STX\STX\DC2\ETX=\EOT$\SUB) Wait for child cancellation completion.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\STX\SOH\DC2\ETX=\EOT\US\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\STX\STX\DC2\ETX=\"#\n\
+    \i\n\
+    \\EOT\ENQ\STX\STX\ETX\DC2\ETX?\EOT$\SUB\\ Request cancellation of the child and wait for confirmation that the request was received.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\ETX\SOH\DC2\ETX?\EOT\US\n\
+    \\f\n\
+    \\ENQ\ENQ\STX\STX\ETX\STX\DC2\ETX?\"#b\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/ChildWorkflow/ChildWorkflow_Fields.hs b/src/Proto/Temporal/Sdk/Core/ChildWorkflow/ChildWorkflow_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ChildWorkflow/ChildWorkflow_Fields.hs
@@ -0,0 +1,95 @@
+{- This file was auto-generated from temporal/sdk/core/child_workflow/child_workflow.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+cancelled = Data.ProtoLens.Field.field @"cancelled"
+completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completed" a) =>
+  Lens.Family2.LensLike' f s a
+completed = Data.ProtoLens.Field.field @"completed"
+failed ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failed" a) =>
+  Lens.Family2.LensLike' f s a
+failed = Data.ProtoLens.Field.field @"failed"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+maybe'cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelled = Data.ProtoLens.Field.field @"maybe'cancelled"
+maybe'completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completed = Data.ProtoLens.Field.field @"maybe'completed"
+maybe'failed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failed = Data.ProtoLens.Field.field @"maybe'failed"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'status ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'status" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'status = Data.ProtoLens.Field.field @"maybe'status"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
diff --git a/src/Proto/Temporal/Sdk/Core/Common/Common.hs b/src/Proto/Temporal/Sdk/Core/Common/Common.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/Common/Common.hs
@@ -0,0 +1,609 @@
+{- This file was auto-generated from temporal/sdk/core/common/common.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.Common.Common (
+        NamespacedWorkflowExecution(), VersioningIntent(..),
+        VersioningIntent(), VersioningIntent'UnrecognizedValue,
+        WorkerDeploymentVersion()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.Common.Common_Fields.namespace' @:: Lens' NamespacedWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.Common.Common_Fields.workflowId' @:: Lens' NamespacedWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.Common.Common_Fields.runId' @:: Lens' NamespacedWorkflowExecution Data.Text.Text@ -}
+data NamespacedWorkflowExecution
+  = NamespacedWorkflowExecution'_constructor {_NamespacedWorkflowExecution'namespace :: !Data.Text.Text,
+                                              _NamespacedWorkflowExecution'workflowId :: !Data.Text.Text,
+                                              _NamespacedWorkflowExecution'runId :: !Data.Text.Text,
+                                              _NamespacedWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NamespacedWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NamespacedWorkflowExecution "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespacedWorkflowExecution'namespace
+           (\ x__ y__ -> x__ {_NamespacedWorkflowExecution'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespacedWorkflowExecution "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespacedWorkflowExecution'workflowId
+           (\ x__ y__ -> x__ {_NamespacedWorkflowExecution'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NamespacedWorkflowExecution "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NamespacedWorkflowExecution'runId
+           (\ x__ y__ -> x__ {_NamespacedWorkflowExecution'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NamespacedWorkflowExecution where
+  messageName _
+    = Data.Text.pack "coresdk.common.NamespacedWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCNamespacedWorkflowExecution\DC2\FS\n\
+      \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2\NAK\n\
+      \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor NamespacedWorkflowExecution
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor NamespacedWorkflowExecution
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor NamespacedWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, runId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NamespacedWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_NamespacedWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = NamespacedWorkflowExecution'_constructor
+        {_NamespacedWorkflowExecution'namespace = Data.ProtoLens.fieldDefault,
+         _NamespacedWorkflowExecution'workflowId = Data.ProtoLens.fieldDefault,
+         _NamespacedWorkflowExecution'runId = Data.ProtoLens.fieldDefault,
+         _NamespacedWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NamespacedWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser NamespacedWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NamespacedWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData NamespacedWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NamespacedWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NamespacedWorkflowExecution'namespace x__)
+                (Control.DeepSeq.deepseq
+                   (_NamespacedWorkflowExecution'workflowId x__)
+                   (Control.DeepSeq.deepseq
+                      (_NamespacedWorkflowExecution'runId x__) ())))
+newtype VersioningIntent'UnrecognizedValue
+  = VersioningIntent'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data VersioningIntent
+  = UNSPECIFIED |
+    COMPATIBLE |
+    DEFAULT |
+    VersioningIntent'Unrecognized !VersioningIntent'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum VersioningIntent where
+  maybeToEnum 0 = Prelude.Just UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just COMPATIBLE
+  maybeToEnum 2 = Prelude.Just DEFAULT
+  maybeToEnum k
+    = Prelude.Just
+        (VersioningIntent'Unrecognized
+           (VersioningIntent'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum UNSPECIFIED = "UNSPECIFIED"
+  showEnum COMPATIBLE = "COMPATIBLE"
+  showEnum DEFAULT = "DEFAULT"
+  showEnum
+    (VersioningIntent'Unrecognized (VersioningIntent'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "UNSPECIFIED" = Prelude.Just UNSPECIFIED
+    | (Prelude.==) k "COMPATIBLE" = Prelude.Just COMPATIBLE
+    | (Prelude.==) k "DEFAULT" = Prelude.Just DEFAULT
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded VersioningIntent where
+  minBound = UNSPECIFIED
+  maxBound = DEFAULT
+instance Prelude.Enum VersioningIntent where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum VersioningIntent: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum UNSPECIFIED = 0
+  fromEnum COMPATIBLE = 1
+  fromEnum DEFAULT = 2
+  fromEnum
+    (VersioningIntent'Unrecognized (VersioningIntent'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ DEFAULT
+    = Prelude.error
+        "VersioningIntent.succ: bad argument DEFAULT. This value would be out of bounds."
+  succ UNSPECIFIED = COMPATIBLE
+  succ COMPATIBLE = DEFAULT
+  succ (VersioningIntent'Unrecognized _)
+    = Prelude.error
+        "VersioningIntent.succ: bad argument: unrecognized value"
+  pred UNSPECIFIED
+    = Prelude.error
+        "VersioningIntent.pred: bad argument UNSPECIFIED. This value would be out of bounds."
+  pred COMPATIBLE = UNSPECIFIED
+  pred DEFAULT = COMPATIBLE
+  pred (VersioningIntent'Unrecognized _)
+    = Prelude.error
+        "VersioningIntent.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault VersioningIntent where
+  fieldDefault = UNSPECIFIED
+instance Control.DeepSeq.NFData VersioningIntent where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.Common.Common_Fields.deploymentName' @:: Lens' WorkerDeploymentVersion Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.Common.Common_Fields.buildId' @:: Lens' WorkerDeploymentVersion Data.Text.Text@ -}
+data WorkerDeploymentVersion
+  = WorkerDeploymentVersion'_constructor {_WorkerDeploymentVersion'deploymentName :: !Data.Text.Text,
+                                          _WorkerDeploymentVersion'buildId :: !Data.Text.Text,
+                                          _WorkerDeploymentVersion'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkerDeploymentVersion where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersion "deploymentName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersion'deploymentName
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersion'deploymentName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkerDeploymentVersion "buildId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkerDeploymentVersion'buildId
+           (\ x__ y__ -> x__ {_WorkerDeploymentVersion'buildId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkerDeploymentVersion where
+  messageName _
+    = Data.Text.pack "coresdk.common.WorkerDeploymentVersion"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBWorkerDeploymentVersion\DC2'\n\
+      \\SIdeployment_name\CAN\SOH \SOH(\tR\SOdeploymentName\DC2\EM\n\
+      \\bbuild_id\CAN\STX \SOH(\tR\abuildId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        deploymentName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deploymentName")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersion
+        buildId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "build_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"buildId")) ::
+              Data.ProtoLens.FieldDescriptor WorkerDeploymentVersion
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, deploymentName__field_descriptor),
+           (Data.ProtoLens.Tag 2, buildId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkerDeploymentVersion'_unknownFields
+        (\ x__ y__ -> x__ {_WorkerDeploymentVersion'_unknownFields = y__})
+  defMessage
+    = WorkerDeploymentVersion'_constructor
+        {_WorkerDeploymentVersion'deploymentName = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersion'buildId = Data.ProtoLens.fieldDefault,
+         _WorkerDeploymentVersion'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkerDeploymentVersion
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkerDeploymentVersion
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "deployment_name"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentName") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "build_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"buildId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkerDeploymentVersion"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"deploymentName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"buildId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkerDeploymentVersion where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkerDeploymentVersion'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkerDeploymentVersion'deploymentName x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkerDeploymentVersion'buildId x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \%temporal/sdk/core/common/common.proto\DC2\SOcoresdk.common\SUB\RSgoogle/protobuf/duration.proto\"s\n\
+    \\ESCNamespacedWorkflowExecution\DC2\FS\n\
+    \\tnamespace\CAN\SOH \SOH(\tR\tnamespace\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2\NAK\n\
+    \\ACKrun_id\CAN\ETX \SOH(\tR\ENQrunId\"]\n\
+    \\ETBWorkerDeploymentVersion\DC2'\n\
+    \\SIdeployment_name\CAN\SOH \SOH(\tR\SOdeploymentName\DC2\EM\n\
+    \\bbuild_id\CAN\STX \SOH(\tR\abuildId*@\n\
+    \\DLEVersioningIntent\DC2\SI\n\
+    \\vUNSPECIFIED\DLE\NUL\DC2\SO\n\
+    \\n\
+    \COMPATIBLE\DLE\SOH\DC2\v\n\
+    \\aDEFAULT\DLE\STXB,\234\STX)Temporalio::Internal::Bridge::Api::CommonJ\242\n\
+    \\n\
+    \\ACK\DC2\EOT\NUL\NUL$\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL\ETB\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULB\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULB\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\ENQ\NUL(\n\
+    \`\n\
+    \\STX\EOT\NUL\DC2\EOT\b\NUL\SI\SOH\SUBT Identifying information about a particular workflow execution, including namespace\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\b\b#\n\
+    \7\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\n\
+    \\EOT\EM\SUB* Namespace the workflow run is located in\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\n\
+    \\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\n\
+    \\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\n\
+    \\ETB\CAN\n\
+    \!\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\f\EOT\ESC\SUB\DC4 Can never be empty\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\f\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\f\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\f\EM\SUB\n\
+    \f\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\SO\EOT\SYN\SUBY May be empty if the most recent run of the workflow with the given ID is being targeted\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX\SO\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\SO\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\SO\DC4\NAK\n\
+    \\128\SOH\n\
+    \\STX\ENQ\NUL\DC2\EOT\DC3\NUL\US\SOH\SUBt An indication of user's intent concerning what Build ID versioning approach should be used for\n\
+    \ a specific command\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\ENQ\NUL\SOH\DC2\ETX\DC3\ENQ\NAK\n\
+    \\204\SOH\n\
+    \\EOT\ENQ\NUL\STX\NUL\DC2\ETX\ETB\EOT\DC4\SUB\190\SOH Indicates that core should choose the most sensible default behavior for the type of\n\
+    \ command, accounting for whether the command will be run on the same task queue as the current\n\
+    \ worker.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETX\ETB\EOT\SI\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETX\ETB\DC2\DC3\n\
+    \\215\SOH\n\
+    \\EOT\ENQ\NUL\STX\SOH\DC2\ETX\ESC\EOT\DC3\SUB\201\SOH Indicates that the command should run on a worker with compatible version if possible. It may\n\
+    \ not be possible if the target task queue does not also have knowledge of the current worker's\n\
+    \ build ID.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETX\ESC\EOT\SO\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETX\ESC\DC1\DC2\n\
+    \r\n\
+    \\EOT\ENQ\NUL\STX\STX\DC2\ETX\RS\EOT\DLE\SUBe Indicates that the command should run on the target task queue's current overall-default\n\
+    \ build ID.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\ETX\RS\EOT\v\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\STX\STX\DC2\ETX\RS\SO\SI\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT!\NUL$\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX!\b\US\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\"\EOT\US\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX\"\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\"\v\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\"\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX#\EOT\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX#\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX#\v\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX#\SYN\ETBb\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/Common/Common_Fields.hs b/src/Proto/Temporal/Sdk/Core/Common/Common_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/Common/Common_Fields.hs
@@ -0,0 +1,58 @@
+{- This file was auto-generated from temporal/sdk/core/common/common.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.Common.Common_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+buildId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "buildId" a) =>
+  Lens.Family2.LensLike' f s a
+buildId = Data.ProtoLens.Field.field @"buildId"
+deploymentName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentName" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentName = Data.ProtoLens.Field.field @"deploymentName"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
diff --git a/src/Proto/Temporal/Sdk/Core/CoreInterface.hs b/src/Proto/Temporal/Sdk/Core/CoreInterface.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/CoreInterface.hs
@@ -0,0 +1,1130 @@
+{- This file was auto-generated from temporal/sdk/core/core_interface.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.CoreInterface (
+        ActivityHeartbeat(), ActivitySlotInfo(), ActivityTaskCompletion(),
+        LocalActivitySlotInfo(), NexusSlotInfo(), WorkflowSlotInfo()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult
+import qualified Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+import qualified Proto.Temporal.Sdk.Core.ExternalData.ExternalData
+import qualified Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation
+import qualified Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands
+import qualified Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.taskToken' @:: Lens' ActivityHeartbeat Data.ByteString.ByteString@
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.details' @:: Lens' ActivityHeartbeat [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.vec'details' @:: Lens' ActivityHeartbeat (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data ActivityHeartbeat
+  = ActivityHeartbeat'_constructor {_ActivityHeartbeat'taskToken :: !Data.ByteString.ByteString,
+                                    _ActivityHeartbeat'details :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                    _ActivityHeartbeat'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityHeartbeat where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityHeartbeat "taskToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityHeartbeat'taskToken
+           (\ x__ y__ -> x__ {_ActivityHeartbeat'taskToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityHeartbeat "details" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityHeartbeat'details
+           (\ x__ y__ -> x__ {_ActivityHeartbeat'details = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ActivityHeartbeat "vec'details" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityHeartbeat'details
+           (\ x__ y__ -> x__ {_ActivityHeartbeat'details = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityHeartbeat where
+  messageName _ = Data.Text.pack "coresdk.ActivityHeartbeat"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1ActivityHeartbeat\DC2\GS\n\
+      \\n\
+      \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC29\n\
+      \\adetails\CAN\STX \ETX(\v2\US.temporal.api.common.v1.PayloadR\adetails"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskToken")) ::
+              Data.ProtoLens.FieldDescriptor ActivityHeartbeat
+        details__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "details"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"details")) ::
+              Data.ProtoLens.FieldDescriptor ActivityHeartbeat
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskToken__field_descriptor),
+           (Data.ProtoLens.Tag 2, details__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityHeartbeat'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityHeartbeat'_unknownFields = y__})
+  defMessage
+    = ActivityHeartbeat'_constructor
+        {_ActivityHeartbeat'taskToken = Data.ProtoLens.fieldDefault,
+         _ActivityHeartbeat'details = Data.Vector.Generic.empty,
+         _ActivityHeartbeat'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityHeartbeat
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser ActivityHeartbeat
+        loop x mutable'details
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'details <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                          (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                             mutable'details)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'details") frozen'details x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "task_token"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskToken") y x)
+                                  mutable'details
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "details"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'details y)
+                                loop x v
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'details
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'details <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                   Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'details)
+          "ActivityHeartbeat"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskToken") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'details") _x))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ActivityHeartbeat where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityHeartbeat'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityHeartbeat'taskToken x__)
+                (Control.DeepSeq.deepseq (_ActivityHeartbeat'details x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.activityType' @:: Lens' ActivitySlotInfo Data.Text.Text@ -}
+data ActivitySlotInfo
+  = ActivitySlotInfo'_constructor {_ActivitySlotInfo'activityType :: !Data.Text.Text,
+                                   _ActivitySlotInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivitySlotInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivitySlotInfo "activityType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivitySlotInfo'activityType
+           (\ x__ y__ -> x__ {_ActivitySlotInfo'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivitySlotInfo where
+  messageName _ = Data.Text.pack "coresdk.ActivitySlotInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEActivitySlotInfo\DC2#\n\
+      \\ractivity_type\CAN\SOH \SOH(\tR\factivityType"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityType")) ::
+              Data.ProtoLens.FieldDescriptor ActivitySlotInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activityType__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivitySlotInfo'_unknownFields
+        (\ x__ y__ -> x__ {_ActivitySlotInfo'_unknownFields = y__})
+  defMessage
+    = ActivitySlotInfo'_constructor
+        {_ActivitySlotInfo'activityType = Data.ProtoLens.fieldDefault,
+         _ActivitySlotInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivitySlotInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivitySlotInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivitySlotInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"activityType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ActivitySlotInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivitySlotInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_ActivitySlotInfo'activityType x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.taskToken' @:: Lens' ActivityTaskCompletion Data.ByteString.ByteString@
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.result' @:: Lens' ActivityTaskCompletion Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityExecutionResult@
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.maybe'result' @:: Lens' ActivityTaskCompletion (Prelude.Maybe Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityExecutionResult)@ -}
+data ActivityTaskCompletion
+  = ActivityTaskCompletion'_constructor {_ActivityTaskCompletion'taskToken :: !Data.ByteString.ByteString,
+                                         _ActivityTaskCompletion'result :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityExecutionResult),
+                                         _ActivityTaskCompletion'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ActivityTaskCompletion where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletion "taskToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletion'taskToken
+           (\ x__ y__ -> x__ {_ActivityTaskCompletion'taskToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletion "result" Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityExecutionResult where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletion'result
+           (\ x__ y__ -> x__ {_ActivityTaskCompletion'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ActivityTaskCompletion "maybe'result" (Prelude.Maybe Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityExecutionResult) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ActivityTaskCompletion'result
+           (\ x__ y__ -> x__ {_ActivityTaskCompletion'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ActivityTaskCompletion where
+  messageName _ = Data.Text.pack "coresdk.ActivityTaskCompletion"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNActivityTaskCompletion\DC2\GS\n\
+      \\n\
+      \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC2H\n\
+      \\ACKresult\CAN\STX \SOH(\v20.coresdk.activity_result.ActivityExecutionResultR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskToken")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletion
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityExecutionResult)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor ActivityTaskCompletion
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskToken__field_descriptor),
+           (Data.ProtoLens.Tag 2, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ActivityTaskCompletion'_unknownFields
+        (\ x__ y__ -> x__ {_ActivityTaskCompletion'_unknownFields = y__})
+  defMessage
+    = ActivityTaskCompletion'_constructor
+        {_ActivityTaskCompletion'taskToken = Data.ProtoLens.fieldDefault,
+         _ActivityTaskCompletion'result = Prelude.Nothing,
+         _ActivityTaskCompletion'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ActivityTaskCompletion
+          -> Data.ProtoLens.Encoding.Bytes.Parser ActivityTaskCompletion
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "task_token"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskToken") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ActivityTaskCompletion"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskToken") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ActivityTaskCompletion where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ActivityTaskCompletion'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ActivityTaskCompletion'taskToken x__)
+                (Control.DeepSeq.deepseq (_ActivityTaskCompletion'result x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.activityType' @:: Lens' LocalActivitySlotInfo Data.Text.Text@ -}
+data LocalActivitySlotInfo
+  = LocalActivitySlotInfo'_constructor {_LocalActivitySlotInfo'activityType :: !Data.Text.Text,
+                                        _LocalActivitySlotInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show LocalActivitySlotInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField LocalActivitySlotInfo "activityType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivitySlotInfo'activityType
+           (\ x__ y__ -> x__ {_LocalActivitySlotInfo'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message LocalActivitySlotInfo where
+  messageName _ = Data.Text.pack "coresdk.LocalActivitySlotInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKLocalActivitySlotInfo\DC2#\n\
+      \\ractivity_type\CAN\SOH \SOH(\tR\factivityType"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityType")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivitySlotInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, activityType__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _LocalActivitySlotInfo'_unknownFields
+        (\ x__ y__ -> x__ {_LocalActivitySlotInfo'_unknownFields = y__})
+  defMessage
+    = LocalActivitySlotInfo'_constructor
+        {_LocalActivitySlotInfo'activityType = Data.ProtoLens.fieldDefault,
+         _LocalActivitySlotInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          LocalActivitySlotInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser LocalActivitySlotInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "LocalActivitySlotInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"activityType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData LocalActivitySlotInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_LocalActivitySlotInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_LocalActivitySlotInfo'activityType x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.service' @:: Lens' NexusSlotInfo Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.operation' @:: Lens' NexusSlotInfo Data.Text.Text@ -}
+data NexusSlotInfo
+  = NexusSlotInfo'_constructor {_NexusSlotInfo'service :: !Data.Text.Text,
+                                _NexusSlotInfo'operation :: !Data.Text.Text,
+                                _NexusSlotInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusSlotInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NexusSlotInfo "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusSlotInfo'service
+           (\ x__ y__ -> x__ {_NexusSlotInfo'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusSlotInfo "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusSlotInfo'operation
+           (\ x__ y__ -> x__ {_NexusSlotInfo'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NexusSlotInfo where
+  messageName _ = Data.Text.pack "coresdk.NexusSlotInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\rNexusSlotInfo\DC2\CAN\n\
+      \\aservice\CAN\SOH \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\STX \SOH(\tR\toperation"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor NexusSlotInfo
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor NexusSlotInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, service__field_descriptor),
+           (Data.ProtoLens.Tag 2, operation__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusSlotInfo'_unknownFields
+        (\ x__ y__ -> x__ {_NexusSlotInfo'_unknownFields = y__})
+  defMessage
+    = NexusSlotInfo'_constructor
+        {_NexusSlotInfo'service = Data.ProtoLens.fieldDefault,
+         _NexusSlotInfo'operation = Data.ProtoLens.fieldDefault,
+         _NexusSlotInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusSlotInfo -> Data.ProtoLens.Encoding.Bytes.Parser NexusSlotInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusSlotInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NexusSlotInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusSlotInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusSlotInfo'service x__)
+                (Control.DeepSeq.deepseq (_NexusSlotInfo'operation x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.workflowType' @:: Lens' WorkflowSlotInfo Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.CoreInterface_Fields.isSticky' @:: Lens' WorkflowSlotInfo Prelude.Bool@ -}
+data WorkflowSlotInfo
+  = WorkflowSlotInfo'_constructor {_WorkflowSlotInfo'workflowType :: !Data.Text.Text,
+                                   _WorkflowSlotInfo'isSticky :: !Prelude.Bool,
+                                   _WorkflowSlotInfo'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowSlotInfo where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowSlotInfo "workflowType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowSlotInfo'workflowType
+           (\ x__ y__ -> x__ {_WorkflowSlotInfo'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowSlotInfo "isSticky" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowSlotInfo'isSticky
+           (\ x__ y__ -> x__ {_WorkflowSlotInfo'isSticky = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowSlotInfo where
+  messageName _ = Data.Text.pack "coresdk.WorkflowSlotInfo"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEWorkflowSlotInfo\DC2#\n\
+      \\rworkflow_type\CAN\SOH \SOH(\tR\fworkflowType\DC2\ESC\n\
+      \\tis_sticky\CAN\STX \SOH(\bR\bisSticky"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowType")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowSlotInfo
+        isSticky__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_sticky"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"isSticky")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowSlotInfo
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 2, isSticky__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowSlotInfo'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowSlotInfo'_unknownFields = y__})
+  defMessage
+    = WorkflowSlotInfo'_constructor
+        {_WorkflowSlotInfo'workflowType = Data.ProtoLens.fieldDefault,
+         _WorkflowSlotInfo'isSticky = Data.ProtoLens.fieldDefault,
+         _WorkflowSlotInfo'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowSlotInfo
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowSlotInfo
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_sticky"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"isSticky") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowSlotInfo"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"isSticky") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowSlotInfo where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowSlotInfo'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowSlotInfo'workflowType x__)
+                (Control.DeepSeq.deepseq (_WorkflowSlotInfo'isSticky x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \&temporal/sdk/core/core_interface.proto\DC2\acoresdk\SUB\RSgoogle/protobuf/duration.proto\SUB\ESCgoogle/protobuf/empty.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB$temporal/api/common/v1/message.proto\SUB7temporal/sdk/core/activity_result/activity_result.proto\SUB3temporal/sdk/core/activity_task/activity_task.proto\SUB%temporal/sdk/core/common/common.proto\SUB3temporal/sdk/core/external_data/external_data.proto\SUB?temporal/sdk/core/workflow_activation/workflow_activation.proto\SUB;temporal/sdk/core/workflow_commands/workflow_commands.proto\SUB?temporal/sdk/core/workflow_completion/workflow_completion.proto\"m\n\
+    \\DC1ActivityHeartbeat\DC2\GS\n\
+    \\n\
+    \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC29\n\
+    \\adetails\CAN\STX \ETX(\v2\US.temporal.api.common.v1.PayloadR\adetails\"\129\SOH\n\
+    \\SYNActivityTaskCompletion\DC2\GS\n\
+    \\n\
+    \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC2H\n\
+    \\ACKresult\CAN\STX \SOH(\v20.coresdk.activity_result.ActivityExecutionResultR\ACKresult\"T\n\
+    \\DLEWorkflowSlotInfo\DC2#\n\
+    \\rworkflow_type\CAN\SOH \SOH(\tR\fworkflowType\DC2\ESC\n\
+    \\tis_sticky\CAN\STX \SOH(\bR\bisSticky\"7\n\
+    \\DLEActivitySlotInfo\DC2#\n\
+    \\ractivity_type\CAN\SOH \SOH(\tR\factivityType\"<\n\
+    \\NAKLocalActivitySlotInfo\DC2#\n\
+    \\ractivity_type\CAN\SOH \SOH(\tR\factivityType\"G\n\
+    \\rNexusSlotInfo\DC2\CAN\n\
+    \\aservice\CAN\SOH \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\STX \SOH(\tR\toperationB3\234\STX0Temporalio::Internal::Bridge::Api::CoreInterfaceJ\233\n\
+    \\n\
+    \\ACK\DC2\EOT\NUL\NUL4\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL\DLE\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULI\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULI\n\
+    \\130\STX\n\
+    \\STX\ETX\NUL\DC2\ETX\b\NUL(\SUB\246\SOH Note: Intellij will think the Google imports don't work because of the slightly odd nature of\n\
+    \ the include paths. You can make it work by going to the \"Protobuf Support\" settings section\n\
+    \ and adding the \"api_upstream\" subdir as an include path.\n\
+    \\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\t\NUL%\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\n\
+    \\NUL)\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\v\NUL.\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX\f\NULA\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX\r\NUL=\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX\SO\NUL/\n\
+    \\t\n\
+    \\STX\ETX\a\DC2\ETX\SI\NUL=\n\
+    \\t\n\
+    \\STX\ETX\b\DC2\ETX\DLE\NULI\n\
+    \\t\n\
+    \\STX\ETX\t\DC2\ETX\DC1\NULE\n\
+    \\t\n\
+    \\STX\ETX\n\
+    \\DC2\ETX\DC2\NULI\n\
+    \?\n\
+    \\STX\EOT\NUL\DC2\EOT\NAK\NUL\CAN\SOH\SUB3 A request as given to `record_activity_heartbeat`\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\NAK\b\EM\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\SYN\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\SYN\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\SYN\n\
+    \\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\SYN\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\ETB\EOT8\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\EOT\DC2\ETX\ETB\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\ETB\r+\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\ETB,3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\ETB67\n\
+    \<\n\
+    \\STX\EOT\SOH\DC2\EOT\ESC\NUL\RS\SOH\SUB0 A request as given to `complete_activity_task`\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\ESC\b\RS\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\FS\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX\FS\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\FS\n\
+    \\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\FS\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX\GS\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX\GS\EOT+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX\GS,2\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX\GS56\n\
+    \1\n\
+    \\STX\EOT\STX\DC2\EOT!\NUL$\SOH\SUB% Info about workflow task slot usage\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX!\b\CAN\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX\"\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX\"\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX\"\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX\"\ESC\FS\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX#\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\ETX#\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX#\t\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX#\NAK\SYN\n\
+    \1\n\
+    \\STX\EOT\ETX\DC2\EOT'\NUL)\SOH\SUB% Info about activity task slot usage\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX'\b\CAN\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX(\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX(\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX(\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX(\ESC\FS\n\
+    \2\n\
+    \\STX\EOT\EOT\DC2\EOT,\NUL.\SOH\SUB& Info about local activity slot usage\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETX,\b\GS\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETX-\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETX-\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETX-\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETX-\ESC\FS\n\
+    \.\n\
+    \\STX\EOT\ENQ\DC2\EOT1\NUL4\SOH\SUB\" Info about nexus task slot usage\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ENQ\SOH\DC2\ETX1\b\NAK\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\ETX2\EOT\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\ETX2\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\ETX2\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\ETX2\NAK\SYN\n\
+    \\v\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\ETX3\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ENQ\DC2\ETX3\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\ETX3\v\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\ETX3\ETB\CANb\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/CoreInterface_Fields.hs b/src/Proto/Temporal/Sdk/Core/CoreInterface_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/CoreInterface_Fields.hs
@@ -0,0 +1,97 @@
+{- This file was auto-generated from temporal/sdk/core/core_interface.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.CoreInterface_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult
+import qualified Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+import qualified Proto.Temporal.Sdk.Core.ExternalData.ExternalData
+import qualified Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation
+import qualified Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands
+import qualified Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+details ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "details" a) =>
+  Lens.Family2.LensLike' f s a
+details = Data.ProtoLens.Field.field @"details"
+isSticky ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "isSticky" a) =>
+  Lens.Family2.LensLike' f s a
+isSticky = Data.ProtoLens.Field.field @"isSticky"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+taskToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskToken" a) =>
+  Lens.Family2.LensLike' f s a
+taskToken = Data.ProtoLens.Field.field @"taskToken"
+vec'details ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'details" a) =>
+  Lens.Family2.LensLike' f s a
+vec'details = Data.ProtoLens.Field.field @"vec'details"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Sdk/Core/ExternalData/ExternalData.hs b/src/Proto/Temporal/Sdk/Core/ExternalData/ExternalData.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ExternalData/ExternalData.hs
@@ -0,0 +1,734 @@
+{- This file was auto-generated from temporal/sdk/core/external_data/external_data.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ExternalData.ExternalData (
+        LocalActivityMarkerData(), PatchedMarkerData()
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.seq' @:: Lens' LocalActivityMarkerData Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.attempt' @:: Lens' LocalActivityMarkerData Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.activityId' @:: Lens' LocalActivityMarkerData Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.activityType' @:: Lens' LocalActivityMarkerData Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.completeTime' @:: Lens' LocalActivityMarkerData Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.maybe'completeTime' @:: Lens' LocalActivityMarkerData (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.backoff' @:: Lens' LocalActivityMarkerData Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.maybe'backoff' @:: Lens' LocalActivityMarkerData (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.originalScheduleTime' @:: Lens' LocalActivityMarkerData Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.maybe'originalScheduleTime' @:: Lens' LocalActivityMarkerData (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@ -}
+data LocalActivityMarkerData
+  = LocalActivityMarkerData'_constructor {_LocalActivityMarkerData'seq :: !Data.Word.Word32,
+                                          _LocalActivityMarkerData'attempt :: !Data.Word.Word32,
+                                          _LocalActivityMarkerData'activityId :: !Data.Text.Text,
+                                          _LocalActivityMarkerData'activityType :: !Data.Text.Text,
+                                          _LocalActivityMarkerData'completeTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                          _LocalActivityMarkerData'backoff :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                          _LocalActivityMarkerData'originalScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                          _LocalActivityMarkerData'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show LocalActivityMarkerData where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'seq
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "attempt" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'attempt
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'activityId
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "activityType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'activityType
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "completeTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'completeTime
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'completeTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "maybe'completeTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'completeTime
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'completeTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "backoff" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'backoff
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'backoff = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "maybe'backoff" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'backoff
+           (\ x__ y__ -> x__ {_LocalActivityMarkerData'backoff = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "originalScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'originalScheduleTime
+           (\ x__ y__
+              -> x__ {_LocalActivityMarkerData'originalScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField LocalActivityMarkerData "maybe'originalScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _LocalActivityMarkerData'originalScheduleTime
+           (\ x__ y__
+              -> x__ {_LocalActivityMarkerData'originalScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message LocalActivityMarkerData where
+  messageName _
+    = Data.Text.pack "coresdk.external_data.LocalActivityMarkerData"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBLocalActivityMarkerData\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\CAN\n\
+      \\aattempt\CAN\STX \SOH(\rR\aattempt\DC2\US\n\
+      \\vactivity_id\CAN\ETX \SOH(\tR\n\
+      \activityId\DC2#\n\
+      \\ractivity_type\CAN\EOT \SOH(\tR\factivityType\DC2?\n\
+      \\rcomplete_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\fcompleteTime\DC23\n\
+      \\abackoff\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\abackoff\DC2P\n\
+      \\SYNoriginal_schedule_time\CAN\a \SOH(\v2\SUB.google.protobuf.TimestampR\DC4originalScheduleTime"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityType")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+        completeTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "complete_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completeTime")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+        backoff__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "backoff"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'backoff")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+        originalScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "original_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'originalScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor LocalActivityMarkerData
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 3, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 4, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 5, completeTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, backoff__field_descriptor),
+           (Data.ProtoLens.Tag 7, originalScheduleTime__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _LocalActivityMarkerData'_unknownFields
+        (\ x__ y__ -> x__ {_LocalActivityMarkerData'_unknownFields = y__})
+  defMessage
+    = LocalActivityMarkerData'_constructor
+        {_LocalActivityMarkerData'seq = Data.ProtoLens.fieldDefault,
+         _LocalActivityMarkerData'attempt = Data.ProtoLens.fieldDefault,
+         _LocalActivityMarkerData'activityId = Data.ProtoLens.fieldDefault,
+         _LocalActivityMarkerData'activityType = Data.ProtoLens.fieldDefault,
+         _LocalActivityMarkerData'completeTime = Prelude.Nothing,
+         _LocalActivityMarkerData'backoff = Prelude.Nothing,
+         _LocalActivityMarkerData'originalScheduleTime = Prelude.Nothing,
+         _LocalActivityMarkerData'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          LocalActivityMarkerData
+          -> Data.ProtoLens.Encoding.Bytes.Parser LocalActivityMarkerData
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "complete_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"completeTime") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "backoff"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"backoff") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "original_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"originalScheduleTime") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "LocalActivityMarkerData"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"activityType") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'completeTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'backoff") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'originalScheduleTime") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData LocalActivityMarkerData where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_LocalActivityMarkerData'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_LocalActivityMarkerData'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_LocalActivityMarkerData'attempt x__)
+                   (Control.DeepSeq.deepseq
+                      (_LocalActivityMarkerData'activityId x__)
+                      (Control.DeepSeq.deepseq
+                         (_LocalActivityMarkerData'activityType x__)
+                         (Control.DeepSeq.deepseq
+                            (_LocalActivityMarkerData'completeTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_LocalActivityMarkerData'backoff x__)
+                               (Control.DeepSeq.deepseq
+                                  (_LocalActivityMarkerData'originalScheduleTime x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.id' @:: Lens' PatchedMarkerData Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields.deprecated' @:: Lens' PatchedMarkerData Prelude.Bool@ -}
+data PatchedMarkerData
+  = PatchedMarkerData'_constructor {_PatchedMarkerData'id :: !Data.Text.Text,
+                                    _PatchedMarkerData'deprecated :: !Prelude.Bool,
+                                    _PatchedMarkerData'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show PatchedMarkerData where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField PatchedMarkerData "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PatchedMarkerData'id
+           (\ x__ y__ -> x__ {_PatchedMarkerData'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField PatchedMarkerData "deprecated" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _PatchedMarkerData'deprecated
+           (\ x__ y__ -> x__ {_PatchedMarkerData'deprecated = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message PatchedMarkerData where
+  messageName _
+    = Data.Text.pack "coresdk.external_data.PatchedMarkerData"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC1PatchedMarkerData\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid\DC2\RS\n\
+      \\n\
+      \deprecated\CAN\STX \SOH(\bR\n\
+      \deprecated"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor PatchedMarkerData
+        deprecated__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deprecated"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deprecated")) ::
+              Data.ProtoLens.FieldDescriptor PatchedMarkerData
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, id__field_descriptor),
+           (Data.ProtoLens.Tag 2, deprecated__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _PatchedMarkerData'_unknownFields
+        (\ x__ y__ -> x__ {_PatchedMarkerData'_unknownFields = y__})
+  defMessage
+    = PatchedMarkerData'_constructor
+        {_PatchedMarkerData'id = Data.ProtoLens.fieldDefault,
+         _PatchedMarkerData'deprecated = Data.ProtoLens.fieldDefault,
+         _PatchedMarkerData'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          PatchedMarkerData
+          -> Data.ProtoLens.Encoding.Bytes.Parser PatchedMarkerData
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "deprecated"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "PatchedMarkerData"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"deprecated") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData PatchedMarkerData where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_PatchedMarkerData'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_PatchedMarkerData'id x__)
+                (Control.DeepSeq.deepseq (_PatchedMarkerData'deprecated x__) ()))
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \3temporal/sdk/core/external_data/external_data.proto\DC2\NAKcoresdk.external_data\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\"\211\STX\n\
+    \\ETBLocalActivityMarkerData\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\CAN\n\
+    \\aattempt\CAN\STX \SOH(\rR\aattempt\DC2\US\n\
+    \\vactivity_id\CAN\ETX \SOH(\tR\n\
+    \activityId\DC2#\n\
+    \\ractivity_type\CAN\EOT \SOH(\tR\factivityType\DC2?\n\
+    \\rcomplete_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\fcompleteTime\DC23\n\
+    \\abackoff\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\abackoff\DC2P\n\
+    \\SYNoriginal_schedule_time\CAN\a \SOH(\v2\SUB.google.protobuf.TimestampR\DC4originalScheduleTime\"C\n\
+    \\DC1PatchedMarkerData\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\DC2\RS\n\
+    \\n\
+    \deprecated\CAN\STX \SOH(\bR\n\
+    \deprecatedB2\234\STX/Temporalio::Internal::Bridge::Api::ExternalDataJ\231\r\n\
+    \\ACK\DC2\EOT\NUL\NUL%\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL\RS\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULH\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULH\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\ENQ\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\ACK\NUL)\n\
+    \\166\STX\n\
+    \\STX\EOT\NUL\DC2\EOT\f\NUL\RS\SOH2\153\STX This file defines data that Core might write externally. The first motivating case being\n\
+    \ storing data in markers in event history. Defining such data as protos provides an easy way\n\
+    \ for consumers which would like to just depend on the proto package to make sense of marker data.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\f\b\US\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\r\STX\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\r\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\r\t\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\r\SI\DLE\n\
+    \\186\SOH\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\DLE\STX\NAK\SUB\172\SOH The number of attempts at execution before we recorded this result. Typically starts at 1,\n\
+    \ but it is possible to start at a higher number when backing off using a timer.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ENQ\DC2\ETX\DLE\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\DLE\t\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\DLE\DC3\DC4\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\DC1\STX\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETX\DC1\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\DC1\t\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\DC1\ETB\CAN\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX\DC2\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETX\DC2\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX\DC2\t\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX\DC2\EM\SUB\n\
+    \\128\STX\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX\SYN\STX.\SUB\242\SOH You can think of this as \"perceived completion time\". It is the time the local activity thought\n\
+    \ it was when it completed. Which could be different from wall-clock time because of workflow\n\
+    \ replay. It's the WFT start time + the LA's runtime\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX\SYN\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX\SYN\FS)\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX\SYN,-\n\
+    \\240\SOH\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETX\SUB\STX'\SUB\226\SOH If set, this local activity conceptually is retrying after the specified backoff.\n\
+    \ Implementation wise, they are really two different LA machines, but with the same type & input.\n\
+    \ The retry starts with an attempt number > 1.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX\SUB\STX\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX\SUB\ESC\"\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX\SUB%&\n\
+    \\160\SOH\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETX\GS\STX7\SUB\146\SOH The time the LA was originally scheduled (wall clock time). This is used to track\n\
+    \ schedule-to-close timeouts when timer-based backoffs are used\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX\GS\STX\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX\GS\FS2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX\GS56\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT \NUL%\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX \b\EM\n\
+    \\ESC\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\"\STX\DLE\SUB\SO The patch id\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX\"\STX\b\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\"\t\v\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\"\SO\SI\n\
+    \=\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX$\STX\SYN\SUB0 Whether or not the patch is marked deprecated.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX$\STX\ACK\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX$\a\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX$\DC4\NAKb\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/ExternalData/ExternalData_Fields.hs b/src/Proto/Temporal/Sdk/Core/ExternalData/ExternalData_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/ExternalData/ExternalData_Fields.hs
@@ -0,0 +1,102 @@
+{- This file was auto-generated from temporal/sdk/core/external_data/external_data.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Timestamp
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+backoff ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "backoff" a) =>
+  Lens.Family2.LensLike' f s a
+backoff = Data.ProtoLens.Field.field @"backoff"
+completeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completeTime" a) =>
+  Lens.Family2.LensLike' f s a
+completeTime = Data.ProtoLens.Field.field @"completeTime"
+deprecated ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deprecated" a) =>
+  Lens.Family2.LensLike' f s a
+deprecated = Data.ProtoLens.Field.field @"deprecated"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+maybe'backoff ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'backoff" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'backoff = Data.ProtoLens.Field.field @"maybe'backoff"
+maybe'completeTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completeTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completeTime
+  = Data.ProtoLens.Field.field @"maybe'completeTime"
+maybe'originalScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'originalScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'originalScheduleTime
+  = Data.ProtoLens.Field.field @"maybe'originalScheduleTime"
+originalScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "originalScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+originalScheduleTime
+  = Data.ProtoLens.Field.field @"originalScheduleTime"
+seq ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "seq" a) =>
+  Lens.Family2.LensLike' f s a
+seq = Data.ProtoLens.Field.field @"seq"
diff --git a/src/Proto/Temporal/Sdk/Core/Nexus/Nexus.hs b/src/Proto/Temporal/Sdk/Core/Nexus/Nexus.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/Nexus/Nexus.hs
@@ -0,0 +1,1414 @@
+{- This file was auto-generated from temporal/sdk/core/nexus/nexus.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.Nexus.Nexus (
+        CancelNexusTask(), NexusOperationResult(),
+        NexusOperationResult'Status(..), _NexusOperationResult'Completed,
+        _NexusOperationResult'Failed, _NexusOperationResult'Cancelled,
+        _NexusOperationResult'TimedOut, NexusTask(), NexusTask'Variant(..),
+        _NexusTask'Task, _NexusTask'CancelTask, NexusTaskCancelReason(..),
+        NexusTaskCancelReason(), NexusTaskCancelReason'UnrecognizedValue,
+        NexusTaskCompletion(), NexusTaskCompletion'Status(..),
+        _NexusTaskCompletion'Completed, _NexusTaskCompletion'Error,
+        _NexusTaskCompletion'AckCancel
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Nexus.V1.Message
+import qualified Proto.Temporal.Api.Workflowservice.V1.RequestResponse
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.taskToken' @:: Lens' CancelNexusTask Data.ByteString.ByteString@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.reason' @:: Lens' CancelNexusTask NexusTaskCancelReason@ -}
+data CancelNexusTask
+  = CancelNexusTask'_constructor {_CancelNexusTask'taskToken :: !Data.ByteString.ByteString,
+                                  _CancelNexusTask'reason :: !NexusTaskCancelReason,
+                                  _CancelNexusTask'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelNexusTask where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelNexusTask "taskToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelNexusTask'taskToken
+           (\ x__ y__ -> x__ {_CancelNexusTask'taskToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CancelNexusTask "reason" NexusTaskCancelReason where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelNexusTask'reason
+           (\ x__ y__ -> x__ {_CancelNexusTask'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelNexusTask where
+  messageName _ = Data.Text.pack "coresdk.nexus.CancelNexusTask"
+  packedMessageDescriptor _
+    = "\n\
+      \\SICancelNexusTask\DC2\GS\n\
+      \\n\
+      \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC2<\n\
+      \\ACKreason\CAN\STX \SOH(\SO2$.coresdk.nexus.NexusTaskCancelReasonR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskToken")) ::
+              Data.ProtoLens.FieldDescriptor CancelNexusTask
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor NexusTaskCancelReason)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor CancelNexusTask
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskToken__field_descriptor),
+           (Data.ProtoLens.Tag 2, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelNexusTask'_unknownFields
+        (\ x__ y__ -> x__ {_CancelNexusTask'_unknownFields = y__})
+  defMessage
+    = CancelNexusTask'_constructor
+        {_CancelNexusTask'taskToken = Data.ProtoLens.fieldDefault,
+         _CancelNexusTask'reason = Data.ProtoLens.fieldDefault,
+         _CancelNexusTask'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelNexusTask
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelNexusTask
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "task_token"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskToken") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelNexusTask"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskToken") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData CancelNexusTask where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelNexusTask'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CancelNexusTask'taskToken x__)
+                (Control.DeepSeq.deepseq (_CancelNexusTask'reason x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'status' @:: Lens' NexusOperationResult (Prelude.Maybe NexusOperationResult'Status)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'completed' @:: Lens' NexusOperationResult (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.completed' @:: Lens' NexusOperationResult Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'failed' @:: Lens' NexusOperationResult (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.failed' @:: Lens' NexusOperationResult Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'cancelled' @:: Lens' NexusOperationResult (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.cancelled' @:: Lens' NexusOperationResult Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'timedOut' @:: Lens' NexusOperationResult (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.timedOut' @:: Lens' NexusOperationResult Proto.Temporal.Api.Failure.V1.Message.Failure@ -}
+data NexusOperationResult
+  = NexusOperationResult'_constructor {_NexusOperationResult'status :: !(Prelude.Maybe NexusOperationResult'Status),
+                                       _NexusOperationResult'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusOperationResult where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data NexusOperationResult'Status
+  = NexusOperationResult'Completed !Proto.Temporal.Api.Common.V1.Message.Payload |
+    NexusOperationResult'Failed !Proto.Temporal.Api.Failure.V1.Message.Failure |
+    NexusOperationResult'Cancelled !Proto.Temporal.Api.Failure.V1.Message.Failure |
+    NexusOperationResult'TimedOut !Proto.Temporal.Api.Failure.V1.Message.Failure
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField NexusOperationResult "maybe'status" (Prelude.Maybe NexusOperationResult'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusOperationResult "maybe'completed" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusOperationResult'Completed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusOperationResult'Completed y__))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "completed" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusOperationResult'Completed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusOperationResult'Completed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "maybe'failed" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusOperationResult'Failed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusOperationResult'Failed y__))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "failed" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusOperationResult'Failed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusOperationResult'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "maybe'cancelled" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusOperationResult'Cancelled x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusOperationResult'Cancelled y__))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "cancelled" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusOperationResult'Cancelled x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusOperationResult'Cancelled y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "maybe'timedOut" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusOperationResult'TimedOut x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusOperationResult'TimedOut y__))
+instance Data.ProtoLens.Field.HasField NexusOperationResult "timedOut" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusOperationResult'status
+           (\ x__ y__ -> x__ {_NexusOperationResult'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusOperationResult'TimedOut x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusOperationResult'TimedOut y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message NexusOperationResult where
+  messageName _ = Data.Text.pack "coresdk.nexus.NexusOperationResult"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4NexusOperationResult\DC2?\n\
+      \\tcompleted\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadH\NULR\tcompleted\DC2:\n\
+      \\ACKfailed\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\ACKfailed\DC2@\n\
+      \\tcancelled\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\tcancelled\DC2?\n\
+      \\ttimed_out\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\btimedOutB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        completed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completed")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationResult
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationResult
+        cancelled__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancelled"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelled")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationResult
+        timedOut__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timed_out"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'timedOut")) ::
+              Data.ProtoLens.FieldDescriptor NexusOperationResult
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, completed__field_descriptor),
+           (Data.ProtoLens.Tag 2, failed__field_descriptor),
+           (Data.ProtoLens.Tag 3, cancelled__field_descriptor),
+           (Data.ProtoLens.Tag 4, timedOut__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusOperationResult'_unknownFields
+        (\ x__ y__ -> x__ {_NexusOperationResult'_unknownFields = y__})
+  defMessage
+    = NexusOperationResult'_constructor
+        {_NexusOperationResult'status = Prelude.Nothing,
+         _NexusOperationResult'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusOperationResult
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusOperationResult
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "completed"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"completed") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancelled"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelled") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timed_out"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"timedOut") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusOperationResult"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (NexusOperationResult'Completed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (NexusOperationResult'Failed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (NexusOperationResult'Cancelled v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (NexusOperationResult'TimedOut v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NexusOperationResult where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusOperationResult'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_NexusOperationResult'status x__) ())
+instance Control.DeepSeq.NFData NexusOperationResult'Status where
+  rnf (NexusOperationResult'Completed x__) = Control.DeepSeq.rnf x__
+  rnf (NexusOperationResult'Failed x__) = Control.DeepSeq.rnf x__
+  rnf (NexusOperationResult'Cancelled x__) = Control.DeepSeq.rnf x__
+  rnf (NexusOperationResult'TimedOut x__) = Control.DeepSeq.rnf x__
+_NexusOperationResult'Completed ::
+  Data.ProtoLens.Prism.Prism' NexusOperationResult'Status Proto.Temporal.Api.Common.V1.Message.Payload
+_NexusOperationResult'Completed
+  = Data.ProtoLens.Prism.prism'
+      NexusOperationResult'Completed
+      (\ p__
+         -> case p__ of
+              (NexusOperationResult'Completed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_NexusOperationResult'Failed ::
+  Data.ProtoLens.Prism.Prism' NexusOperationResult'Status Proto.Temporal.Api.Failure.V1.Message.Failure
+_NexusOperationResult'Failed
+  = Data.ProtoLens.Prism.prism'
+      NexusOperationResult'Failed
+      (\ p__
+         -> case p__ of
+              (NexusOperationResult'Failed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_NexusOperationResult'Cancelled ::
+  Data.ProtoLens.Prism.Prism' NexusOperationResult'Status Proto.Temporal.Api.Failure.V1.Message.Failure
+_NexusOperationResult'Cancelled
+  = Data.ProtoLens.Prism.prism'
+      NexusOperationResult'Cancelled
+      (\ p__
+         -> case p__ of
+              (NexusOperationResult'Cancelled p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_NexusOperationResult'TimedOut ::
+  Data.ProtoLens.Prism.Prism' NexusOperationResult'Status Proto.Temporal.Api.Failure.V1.Message.Failure
+_NexusOperationResult'TimedOut
+  = Data.ProtoLens.Prism.prism'
+      NexusOperationResult'TimedOut
+      (\ p__
+         -> case p__ of
+              (NexusOperationResult'TimedOut p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'variant' @:: Lens' NexusTask (Prelude.Maybe NexusTask'Variant)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'task' @:: Lens' NexusTask (Prelude.Maybe Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.task' @:: Lens' NexusTask Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'cancelTask' @:: Lens' NexusTask (Prelude.Maybe CancelNexusTask)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.cancelTask' @:: Lens' NexusTask CancelNexusTask@ -}
+data NexusTask
+  = NexusTask'_constructor {_NexusTask'variant :: !(Prelude.Maybe NexusTask'Variant),
+                            _NexusTask'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusTask where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data NexusTask'Variant
+  = NexusTask'Task !Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse |
+    NexusTask'CancelTask !CancelNexusTask
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField NexusTask "maybe'variant" (Prelude.Maybe NexusTask'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTask'variant (\ x__ y__ -> x__ {_NexusTask'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusTask "maybe'task" (Prelude.Maybe Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTask'variant (\ x__ y__ -> x__ {_NexusTask'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusTask'Task x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusTask'Task y__))
+instance Data.ProtoLens.Field.HasField NexusTask "task" Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTask'variant (\ x__ y__ -> x__ {_NexusTask'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusTask'Task x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusTask'Task y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField NexusTask "maybe'cancelTask" (Prelude.Maybe CancelNexusTask) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTask'variant (\ x__ y__ -> x__ {_NexusTask'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusTask'CancelTask x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusTask'CancelTask y__))
+instance Data.ProtoLens.Field.HasField NexusTask "cancelTask" CancelNexusTask where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTask'variant (\ x__ y__ -> x__ {_NexusTask'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusTask'CancelTask x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusTask'CancelTask y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message NexusTask where
+  messageName _ = Data.Text.pack "coresdk.nexus.NexusTask"
+  packedMessageDescriptor _
+    = "\n\
+      \\tNexusTask\DC2Q\n\
+      \\EOTtask\CAN\SOH \SOH(\v2;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\NULR\EOTtask\DC2A\n\
+      \\vcancel_task\CAN\STX \SOH(\v2\RS.coresdk.nexus.CancelNexusTaskH\NULR\n\
+      \cancelTaskB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        task__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'task")) ::
+              Data.ProtoLens.FieldDescriptor NexusTask
+        cancelTask__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_task"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelNexusTask)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelTask")) ::
+              Data.ProtoLens.FieldDescriptor NexusTask
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, task__field_descriptor),
+           (Data.ProtoLens.Tag 2, cancelTask__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusTask'_unknownFields
+        (\ x__ y__ -> x__ {_NexusTask'_unknownFields = y__})
+  defMessage
+    = NexusTask'_constructor
+        {_NexusTask'variant = Prelude.Nothing,
+         _NexusTask'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: NexusTask -> Data.ProtoLens.Encoding.Bytes.Parser NexusTask
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "task"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"task") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_task"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelTask") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusTask"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (NexusTask'Task v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (NexusTask'CancelTask v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NexusTask where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusTask'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_NexusTask'variant x__) ())
+instance Control.DeepSeq.NFData NexusTask'Variant where
+  rnf (NexusTask'Task x__) = Control.DeepSeq.rnf x__
+  rnf (NexusTask'CancelTask x__) = Control.DeepSeq.rnf x__
+_NexusTask'Task ::
+  Data.ProtoLens.Prism.Prism' NexusTask'Variant Proto.Temporal.Api.Workflowservice.V1.RequestResponse.PollNexusTaskQueueResponse
+_NexusTask'Task
+  = Data.ProtoLens.Prism.prism'
+      NexusTask'Task
+      (\ p__
+         -> case p__ of
+              (NexusTask'Task p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_NexusTask'CancelTask ::
+  Data.ProtoLens.Prism.Prism' NexusTask'Variant CancelNexusTask
+_NexusTask'CancelTask
+  = Data.ProtoLens.Prism.prism'
+      NexusTask'CancelTask
+      (\ p__
+         -> case p__ of
+              (NexusTask'CancelTask p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+newtype NexusTaskCancelReason'UnrecognizedValue
+  = NexusTaskCancelReason'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data NexusTaskCancelReason
+  = TIMED_OUT |
+    WORKER_SHUTDOWN |
+    NexusTaskCancelReason'Unrecognized !NexusTaskCancelReason'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum NexusTaskCancelReason where
+  maybeToEnum 0 = Prelude.Just TIMED_OUT
+  maybeToEnum 1 = Prelude.Just WORKER_SHUTDOWN
+  maybeToEnum k
+    = Prelude.Just
+        (NexusTaskCancelReason'Unrecognized
+           (NexusTaskCancelReason'UnrecognizedValue (Prelude.fromIntegral k)))
+  showEnum TIMED_OUT = "TIMED_OUT"
+  showEnum WORKER_SHUTDOWN = "WORKER_SHUTDOWN"
+  showEnum
+    (NexusTaskCancelReason'Unrecognized (NexusTaskCancelReason'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "TIMED_OUT" = Prelude.Just TIMED_OUT
+    | (Prelude.==) k "WORKER_SHUTDOWN" = Prelude.Just WORKER_SHUTDOWN
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded NexusTaskCancelReason where
+  minBound = TIMED_OUT
+  maxBound = WORKER_SHUTDOWN
+instance Prelude.Enum NexusTaskCancelReason where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum NexusTaskCancelReason: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum TIMED_OUT = 0
+  fromEnum WORKER_SHUTDOWN = 1
+  fromEnum
+    (NexusTaskCancelReason'Unrecognized (NexusTaskCancelReason'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ WORKER_SHUTDOWN
+    = Prelude.error
+        "NexusTaskCancelReason.succ: bad argument WORKER_SHUTDOWN. This value would be out of bounds."
+  succ TIMED_OUT = WORKER_SHUTDOWN
+  succ (NexusTaskCancelReason'Unrecognized _)
+    = Prelude.error
+        "NexusTaskCancelReason.succ: bad argument: unrecognized value"
+  pred TIMED_OUT
+    = Prelude.error
+        "NexusTaskCancelReason.pred: bad argument TIMED_OUT. This value would be out of bounds."
+  pred WORKER_SHUTDOWN = TIMED_OUT
+  pred (NexusTaskCancelReason'Unrecognized _)
+    = Prelude.error
+        "NexusTaskCancelReason.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault NexusTaskCancelReason where
+  fieldDefault = TIMED_OUT
+instance Control.DeepSeq.NFData NexusTaskCancelReason where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.taskToken' @:: Lens' NexusTaskCompletion Data.ByteString.ByteString@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'status' @:: Lens' NexusTaskCompletion (Prelude.Maybe NexusTaskCompletion'Status)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'completed' @:: Lens' NexusTaskCompletion (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Response)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.completed' @:: Lens' NexusTaskCompletion Proto.Temporal.Api.Nexus.V1.Message.Response@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'error' @:: Lens' NexusTaskCompletion (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.HandlerError)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.error' @:: Lens' NexusTaskCompletion Proto.Temporal.Api.Nexus.V1.Message.HandlerError@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.maybe'ackCancel' @:: Lens' NexusTaskCompletion (Prelude.Maybe Prelude.Bool)@
+         * 'Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields.ackCancel' @:: Lens' NexusTaskCompletion Prelude.Bool@ -}
+data NexusTaskCompletion
+  = NexusTaskCompletion'_constructor {_NexusTaskCompletion'taskToken :: !Data.ByteString.ByteString,
+                                      _NexusTaskCompletion'status :: !(Prelude.Maybe NexusTaskCompletion'Status),
+                                      _NexusTaskCompletion'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NexusTaskCompletion where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data NexusTaskCompletion'Status
+  = NexusTaskCompletion'Completed !Proto.Temporal.Api.Nexus.V1.Message.Response |
+    NexusTaskCompletion'Error !Proto.Temporal.Api.Nexus.V1.Message.HandlerError |
+    NexusTaskCompletion'AckCancel !Prelude.Bool
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "taskToken" Data.ByteString.ByteString where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'taskToken
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'taskToken = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "maybe'status" (Prelude.Maybe NexusTaskCompletion'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "maybe'completed" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.Response) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusTaskCompletion'Completed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusTaskCompletion'Completed y__))
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "completed" Proto.Temporal.Api.Nexus.V1.Message.Response where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusTaskCompletion'Completed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusTaskCompletion'Completed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "maybe'error" (Prelude.Maybe Proto.Temporal.Api.Nexus.V1.Message.HandlerError) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusTaskCompletion'Error x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusTaskCompletion'Error y__))
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "error" Proto.Temporal.Api.Nexus.V1.Message.HandlerError where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusTaskCompletion'Error x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusTaskCompletion'Error y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "maybe'ackCancel" (Prelude.Maybe Prelude.Bool) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (NexusTaskCompletion'AckCancel x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap NexusTaskCompletion'AckCancel y__))
+instance Data.ProtoLens.Field.HasField NexusTaskCompletion "ackCancel" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NexusTaskCompletion'status
+           (\ x__ y__ -> x__ {_NexusTaskCompletion'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (NexusTaskCompletion'AckCancel x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap NexusTaskCompletion'AckCancel y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message NexusTaskCompletion where
+  messageName _ = Data.Text.pack "coresdk.nexus.NexusTaskCompletion"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC3NexusTaskCompletion\DC2\GS\n\
+      \\n\
+      \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC2?\n\
+      \\tcompleted\CAN\STX \SOH(\v2\US.temporal.api.nexus.v1.ResponseH\NULR\tcompleted\DC2;\n\
+      \\ENQerror\CAN\ETX \SOH(\v2#.temporal.api.nexus.v1.HandlerErrorH\NULR\ENQerror\DC2\US\n\
+      \\n\
+      \ack_cancel\CAN\EOT \SOH(\bH\NULR\tackCancelB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        taskToken__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_token"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BytesField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.ByteString.ByteString)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskToken")) ::
+              Data.ProtoLens.FieldDescriptor NexusTaskCompletion
+        completed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.Response)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completed")) ::
+              Data.ProtoLens.FieldDescriptor NexusTaskCompletion
+        error__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "error"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Nexus.V1.Message.HandlerError)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'error")) ::
+              Data.ProtoLens.FieldDescriptor NexusTaskCompletion
+        ackCancel__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "ack_cancel"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'ackCancel")) ::
+              Data.ProtoLens.FieldDescriptor NexusTaskCompletion
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, taskToken__field_descriptor),
+           (Data.ProtoLens.Tag 2, completed__field_descriptor),
+           (Data.ProtoLens.Tag 3, error__field_descriptor),
+           (Data.ProtoLens.Tag 4, ackCancel__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NexusTaskCompletion'_unknownFields
+        (\ x__ y__ -> x__ {_NexusTaskCompletion'_unknownFields = y__})
+  defMessage
+    = NexusTaskCompletion'_constructor
+        {_NexusTaskCompletion'taskToken = Data.ProtoLens.fieldDefault,
+         _NexusTaskCompletion'status = Prelude.Nothing,
+         _NexusTaskCompletion'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NexusTaskCompletion
+          -> Data.ProtoLens.Encoding.Bytes.Parser NexusTaskCompletion
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getBytes
+                                             (Prelude.fromIntegral len))
+                                       "task_token"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskToken") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "completed"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"completed") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "error"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"error") y x)
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "ack_cancel"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"ackCancel") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusTaskCompletion"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskToken") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((\ bs
+                          -> (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                  (Prelude.fromIntegral (Data.ByteString.length bs)))
+                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (NexusTaskCompletion'Completed v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (NexusTaskCompletion'Error v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (NexusTaskCompletion'AckCancel v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                          ((Prelude..)
+                             Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                             v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData NexusTaskCompletion where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NexusTaskCompletion'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_NexusTaskCompletion'taskToken x__)
+                (Control.DeepSeq.deepseq (_NexusTaskCompletion'status x__) ()))
+instance Control.DeepSeq.NFData NexusTaskCompletion'Status where
+  rnf (NexusTaskCompletion'Completed x__) = Control.DeepSeq.rnf x__
+  rnf (NexusTaskCompletion'Error x__) = Control.DeepSeq.rnf x__
+  rnf (NexusTaskCompletion'AckCancel x__) = Control.DeepSeq.rnf x__
+_NexusTaskCompletion'Completed ::
+  Data.ProtoLens.Prism.Prism' NexusTaskCompletion'Status Proto.Temporal.Api.Nexus.V1.Message.Response
+_NexusTaskCompletion'Completed
+  = Data.ProtoLens.Prism.prism'
+      NexusTaskCompletion'Completed
+      (\ p__
+         -> case p__ of
+              (NexusTaskCompletion'Completed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_NexusTaskCompletion'Error ::
+  Data.ProtoLens.Prism.Prism' NexusTaskCompletion'Status Proto.Temporal.Api.Nexus.V1.Message.HandlerError
+_NexusTaskCompletion'Error
+  = Data.ProtoLens.Prism.prism'
+      NexusTaskCompletion'Error
+      (\ p__
+         -> case p__ of
+              (NexusTaskCompletion'Error p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_NexusTaskCompletion'AckCancel ::
+  Data.ProtoLens.Prism.Prism' NexusTaskCompletion'Status Prelude.Bool
+_NexusTaskCompletion'AckCancel
+  = Data.ProtoLens.Prism.prism'
+      NexusTaskCompletion'AckCancel
+      (\ p__
+         -> case p__ of
+              (NexusTaskCompletion'AckCancel p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \#temporal/sdk/core/nexus/nexus.proto\DC2\rcoresdk.nexus\SUB$temporal/api/common/v1/message.proto\SUB%temporal/api/failure/v1/message.proto\SUB#temporal/api/nexus/v1/message.proto\SUB6temporal/api/workflowservice/v1/request_response.proto\SUB%temporal/sdk/core/common/common.proto\"\160\STX\n\
+    \\DC4NexusOperationResult\DC2?\n\
+    \\tcompleted\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadH\NULR\tcompleted\DC2:\n\
+    \\ACKfailed\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\ACKfailed\DC2@\n\
+    \\tcancelled\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\tcancelled\DC2?\n\
+    \\ttimed_out\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\btimedOutB\b\n\
+    \\ACKstatus\"\221\SOH\n\
+    \\DC3NexusTaskCompletion\DC2\GS\n\
+    \\n\
+    \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC2?\n\
+    \\tcompleted\CAN\STX \SOH(\v2\US.temporal.api.nexus.v1.ResponseH\NULR\tcompleted\DC2;\n\
+    \\ENQerror\CAN\ETX \SOH(\v2#.temporal.api.nexus.v1.HandlerErrorH\NULR\ENQerror\DC2\US\n\
+    \\n\
+    \ack_cancel\CAN\EOT \SOH(\bH\NULR\tackCancelB\b\n\
+    \\ACKstatus\"\172\SOH\n\
+    \\tNexusTask\DC2Q\n\
+    \\EOTtask\CAN\SOH \SOH(\v2;.temporal.api.workflowservice.v1.PollNexusTaskQueueResponseH\NULR\EOTtask\DC2A\n\
+    \\vcancel_task\CAN\STX \SOH(\v2\RS.coresdk.nexus.CancelNexusTaskH\NULR\n\
+    \cancelTaskB\t\n\
+    \\avariant\"n\n\
+    \\SICancelNexusTask\DC2\GS\n\
+    \\n\
+    \task_token\CAN\SOH \SOH(\fR\ttaskToken\DC2<\n\
+    \\ACKreason\CAN\STX \SOH(\SO2$.coresdk.nexus.NexusTaskCancelReasonR\ACKreason*;\n\
+    \\NAKNexusTaskCancelReason\DC2\r\n\
+    \\tTIMED_OUT\DLE\NUL\DC2\DC3\n\
+    \\SIWORKER_SHUTDOWN\DLE\SOHB+\234\STX(Temporalio::Internal::Bridge::Api::NexusJ\254\DC3\n\
+    \\ACK\DC2\EOT\NUL\NULF\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL\SYN\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULA\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULA\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\ENQ\NUL.\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\ACK\NUL/\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\a\NUL-\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\b\NUL@\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX\t\NUL/\n\
+    \7\n\
+    \\STX\EOT\NUL\DC2\EOT\f\NUL\DC3\SOH\SUB+ Used by core to resolve nexus operations.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\f\b\FS\n\
+    \\f\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT\r\EOT\DC2\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\r\n\
+    \\DLE\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\SO\b5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\SO\b&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\SO'0\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\SO34\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\SI\b3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\SI\b'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\SI(.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\SI12\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\DLE\b6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX\DLE\b'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\DLE(1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\DLE45\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX\DC1\b6\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX\DC1\b'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX\DC1(1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX\DC145\n\
+    \(\n\
+    \\STX\EOT\SOH\DC2\EOT\SYN\NUL%\SOH\SUB\FS A response to a Nexus task\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\SYN\b\ESC\n\
+    \P\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\CAN\EOT\EM\SUBC The unique identifier for this task provided in the poll response\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX\CAN\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\CAN\n\
+    \\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\CAN\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\SOH\b\NUL\DC2\EOT\EM\EOT$\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\b\NUL\SOH\DC2\ETX\EM\n\
+    \\DLE\n\
+    \\135\SOH\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX\FS\b5\SUBz The handler completed (successfully or not). Note that the response kind must match the\n\
+    \ request kind (start or cancel).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX\FS\b&\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX\FS'0\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX\FS34\n\
+    \J\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX\RS\b5\SUB= The handler could not complete the request for some reason.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX\RS\b*\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX\RS+0\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX\RS34\n\
+    \\163\STX\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETX#\b\FS\SUB\149\STX The lang SDK acknowledges that it is responding to a `CancelNexusTask` and thus the\n\
+    \ response is irrelevant. This is not the only way to respond to a cancel, the other\n\
+    \ variants can still be used, but this variant should be used when the handler was aborted\n\
+    \ by cancellation.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ENQ\DC2\ETX#\b\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETX#\r\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETX#\SUB\ESC\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT'\NUL8\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX'\b\DC1\n\
+    \\f\n\
+    \\EOT\EOT\STX\b\NUL\DC2\EOT(\EOT7\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\STX\b\NUL\SOH\DC2\ETX(\n\
+    \\DC1\n\
+    \'\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX*\bL\SUB\SUB A nexus task from server\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX*\bB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX*CG\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX*JK\n\
+    \\178\ENQ\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX6\b(\SUB\164\ENQ A request by Core to notify an in-progress operation handler that it should cancel. This\n\
+    \ is distinct from a `CancelOperationRequest` from the server, which results from the user\n\
+    \ requesting the cancellation of an operation. Handling this variant should result in\n\
+    \ something like cancelling a cancellation token given to the user's operation handler.\n\
+    \\n\
+    \ These do not count as a separate task for the purposes of completing all issued tasks,\n\
+    \ but rather count as a sort of modification to the already-issued task which is being\n\
+    \ cancelled.\n\
+    \\n\
+    \ EX: Core knows the nexus operation has timed out, and it does not make sense for the\n\
+    \ user's operation handler to continue doing work.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX6\b\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX6\CAN#\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX6&'\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT:\NUL?\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX:\b\ETB\n\
+    \A\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETX<\EOT\EM\SUB4 The task token from the PollNexusTaskQueueResponse\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETX<\EOT\t\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETX<\n\
+    \\DC4\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETX<\ETB\CAN\n\
+    \D\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETX>\EOT%\SUB7 Why Core is asking for this operation to be cancelled\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ACK\DC2\ETX>\EOT\EM\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETX>\SUB \n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETX>#$\n\
+    \\n\
+    \\n\
+    \\STX\ENQ\NUL\DC2\EOTA\NULF\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\ENQ\NUL\SOH\DC2\ETXA\ENQ\SUB\n\
+    \8\n\
+    \\EOT\ENQ\NUL\STX\NUL\DC2\ETXC\EOT\DC2\SUB+ The nexus task is known to have timed out\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\ETXC\EOT\r\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\ETXC\DLE\DC1\n\
+    \*\n\
+    \\EOT\ENQ\NUL\STX\SOH\DC2\ETXE\EOT\CAN\SUB\GS The worker is shutting down\n\
+    \\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\ETXE\EOT\DC3\n\
+    \\f\n\
+    \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\ETXE\SYN\ETBb\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/Nexus/Nexus_Fields.hs b/src/Proto/Temporal/Sdk/Core/Nexus/Nexus_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/Nexus/Nexus_Fields.hs
@@ -0,0 +1,150 @@
+{- This file was auto-generated from temporal/sdk/core/nexus/nexus.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Nexus.V1.Message
+import qualified Proto.Temporal.Api.Workflowservice.V1.RequestResponse
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+ackCancel ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "ackCancel" a) =>
+  Lens.Family2.LensLike' f s a
+ackCancel = Data.ProtoLens.Field.field @"ackCancel"
+cancelTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelTask" a) =>
+  Lens.Family2.LensLike' f s a
+cancelTask = Data.ProtoLens.Field.field @"cancelTask"
+cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+cancelled = Data.ProtoLens.Field.field @"cancelled"
+completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completed" a) =>
+  Lens.Family2.LensLike' f s a
+completed = Data.ProtoLens.Field.field @"completed"
+error ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "error" a) =>
+  Lens.Family2.LensLike' f s a
+error = Data.ProtoLens.Field.field @"error"
+failed ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failed" a) =>
+  Lens.Family2.LensLike' f s a
+failed = Data.ProtoLens.Field.field @"failed"
+maybe'ackCancel ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'ackCancel" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'ackCancel = Data.ProtoLens.Field.field @"maybe'ackCancel"
+maybe'cancelTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelTask = Data.ProtoLens.Field.field @"maybe'cancelTask"
+maybe'cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelled = Data.ProtoLens.Field.field @"maybe'cancelled"
+maybe'completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completed = Data.ProtoLens.Field.field @"maybe'completed"
+maybe'error ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'error" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'error = Data.ProtoLens.Field.field @"maybe'error"
+maybe'failed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failed = Data.ProtoLens.Field.field @"maybe'failed"
+maybe'status ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'status" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'status = Data.ProtoLens.Field.field @"maybe'status"
+maybe'task ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'task" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'task = Data.ProtoLens.Field.field @"maybe'task"
+maybe'timedOut ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timedOut" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timedOut = Data.ProtoLens.Field.field @"maybe'timedOut"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+task ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "task" a) =>
+  Lens.Family2.LensLike' f s a
+task = Data.ProtoLens.Field.field @"task"
+taskToken ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskToken" a) =>
+  Lens.Family2.LensLike' f s a
+taskToken = Data.ProtoLens.Field.field @"taskToken"
+timedOut ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timedOut" a) =>
+  Lens.Family2.LensLike' f s a
+timedOut = Data.ProtoLens.Field.field @"timedOut"
diff --git a/src/Proto/Temporal/Sdk/Core/WorkflowActivation/WorkflowActivation.hs b/src/Proto/Temporal/Sdk/Core/WorkflowActivation/WorkflowActivation.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/WorkflowActivation/WorkflowActivation.hs
@@ -0,0 +1,9403 @@
+{- This file was auto-generated from temporal/sdk/core/workflow_activation/workflow_activation.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation (
+        CancelWorkflow(), DoUpdate(), DoUpdate'HeadersEntry(), FireTimer(),
+        InitializeWorkflow(), InitializeWorkflow'HeadersEntry(),
+        NotifyHasPatch(), QueryWorkflow(), QueryWorkflow'HeadersEntry(),
+        RemoveFromCache(), RemoveFromCache'EvictionReason(..),
+        RemoveFromCache'EvictionReason(),
+        RemoveFromCache'EvictionReason'UnrecognizedValue,
+        ResolveActivity(), ResolveChildWorkflowExecution(),
+        ResolveChildWorkflowExecutionStart(),
+        ResolveChildWorkflowExecutionStart'Status(..),
+        _ResolveChildWorkflowExecutionStart'Succeeded,
+        _ResolveChildWorkflowExecutionStart'Failed,
+        _ResolveChildWorkflowExecutionStart'Cancelled,
+        ResolveChildWorkflowExecutionStartCancelled(),
+        ResolveChildWorkflowExecutionStartFailure(),
+        ResolveChildWorkflowExecutionStartSuccess(),
+        ResolveNexusOperation(), ResolveNexusOperationStart(),
+        ResolveNexusOperationStart'Status(..),
+        _ResolveNexusOperationStart'OperationId,
+        _ResolveNexusOperationStart'StartedSync,
+        _ResolveNexusOperationStart'CancelledBeforeStart,
+        ResolveRequestCancelExternalWorkflow(),
+        ResolveSignalExternalWorkflow(), SignalWorkflow(),
+        SignalWorkflow'HeadersEntry(), UpdateRandomSeed(),
+        WorkflowActivation(), WorkflowActivationJob(),
+        WorkflowActivationJob'Variant(..),
+        _WorkflowActivationJob'InitializeWorkflow,
+        _WorkflowActivationJob'FireTimer,
+        _WorkflowActivationJob'UpdateRandomSeed,
+        _WorkflowActivationJob'QueryWorkflow,
+        _WorkflowActivationJob'CancelWorkflow,
+        _WorkflowActivationJob'SignalWorkflow,
+        _WorkflowActivationJob'ResolveActivity,
+        _WorkflowActivationJob'NotifyHasPatch,
+        _WorkflowActivationJob'ResolveChildWorkflowExecutionStart,
+        _WorkflowActivationJob'ResolveChildWorkflowExecution,
+        _WorkflowActivationJob'ResolveSignalExternalWorkflow,
+        _WorkflowActivationJob'ResolveRequestCancelExternalWorkflow,
+        _WorkflowActivationJob'DoUpdate,
+        _WorkflowActivationJob'ResolveNexusOperationStart,
+        _WorkflowActivationJob'ResolveNexusOperation,
+        _WorkflowActivationJob'RemoveFromCache
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Update.V1.Message
+import qualified Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult
+import qualified Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+import qualified Proto.Temporal.Sdk.Core.Nexus.Nexus
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.reason' @:: Lens' CancelWorkflow Data.Text.Text@ -}
+data CancelWorkflow
+  = CancelWorkflow'_constructor {_CancelWorkflow'reason :: !Data.Text.Text,
+                                 _CancelWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelWorkflow "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelWorkflow'reason
+           (\ x__ y__ -> x__ {_CancelWorkflow'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelWorkflow where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.CancelWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOCancelWorkflow\DC2\SYN\n\
+      \\ACKreason\CAN\SOH \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor CancelWorkflow
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelWorkflow'_unknownFields
+        (\ x__ y__ -> x__ {_CancelWorkflow'_unknownFields = y__})
+  defMessage
+    = CancelWorkflow'_constructor
+        {_CancelWorkflow'reason = Data.ProtoLens.fieldDefault,
+         _CancelWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelWorkflow
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelWorkflow
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CancelWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CancelWorkflow'reason x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.id' @:: Lens' DoUpdate Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.protocolInstanceId' @:: Lens' DoUpdate Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.name' @:: Lens' DoUpdate Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.input' @:: Lens' DoUpdate [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.vec'input' @:: Lens' DoUpdate (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.headers' @:: Lens' DoUpdate (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.meta' @:: Lens' DoUpdate Proto.Temporal.Api.Update.V1.Message.Meta@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'meta' @:: Lens' DoUpdate (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Meta)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.runValidator' @:: Lens' DoUpdate Prelude.Bool@ -}
+data DoUpdate
+  = DoUpdate'_constructor {_DoUpdate'id :: !Data.Text.Text,
+                           _DoUpdate'protocolInstanceId :: !Data.Text.Text,
+                           _DoUpdate'name :: !Data.Text.Text,
+                           _DoUpdate'input :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                           _DoUpdate'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                           _DoUpdate'meta :: !(Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Meta),
+                           _DoUpdate'runValidator :: !Prelude.Bool,
+                           _DoUpdate'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DoUpdate where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DoUpdate "id" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'id (\ x__ y__ -> x__ {_DoUpdate'id = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate "protocolInstanceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'protocolInstanceId
+           (\ x__ y__ -> x__ {_DoUpdate'protocolInstanceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate "name" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'name (\ x__ y__ -> x__ {_DoUpdate'name = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate "input" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'input (\ x__ y__ -> x__ {_DoUpdate'input = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField DoUpdate "vec'input" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'input (\ x__ y__ -> x__ {_DoUpdate'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'headers (\ x__ y__ -> x__ {_DoUpdate'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate "meta" Proto.Temporal.Api.Update.V1.Message.Meta where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'meta (\ x__ y__ -> x__ {_DoUpdate'meta = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DoUpdate "maybe'meta" (Prelude.Maybe Proto.Temporal.Api.Update.V1.Message.Meta) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'meta (\ x__ y__ -> x__ {_DoUpdate'meta = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate "runValidator" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'runValidator
+           (\ x__ y__ -> x__ {_DoUpdate'runValidator = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DoUpdate where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.DoUpdate"
+  packedMessageDescriptor _
+    = "\n\
+      \\bDoUpdate\DC2\SO\n\
+      \\STXid\CAN\SOH \SOH(\tR\STXid\DC20\n\
+      \\DC4protocol_instance_id\CAN\STX \SOH(\tR\DC2protocolInstanceId\DC2\DC2\n\
+      \\EOTname\CAN\ETX \SOH(\tR\EOTname\DC25\n\
+      \\ENQinput\CAN\EOT \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2L\n\
+      \\aheaders\CAN\ENQ \ETX(\v22.coresdk.workflow_activation.DoUpdate.HeadersEntryR\aheaders\DC20\n\
+      \\EOTmeta\CAN\ACK \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC2#\n\
+      \\rrun_validator\CAN\a \SOH(\bR\frunValidator\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        id__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"id")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+        protocolInstanceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "protocol_instance_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"protocolInstanceId")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+        name__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"name")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"input")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DoUpdate'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+        meta__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "meta"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Update.V1.Message.Meta)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'meta")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+        runValidator__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_validator"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"runValidator")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, id__field_descriptor),
+           (Data.ProtoLens.Tag 2, protocolInstanceId__field_descriptor),
+           (Data.ProtoLens.Tag 3, name__field_descriptor),
+           (Data.ProtoLens.Tag 4, input__field_descriptor),
+           (Data.ProtoLens.Tag 5, headers__field_descriptor),
+           (Data.ProtoLens.Tag 6, meta__field_descriptor),
+           (Data.ProtoLens.Tag 7, runValidator__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DoUpdate'_unknownFields
+        (\ x__ y__ -> x__ {_DoUpdate'_unknownFields = y__})
+  defMessage
+    = DoUpdate'_constructor
+        {_DoUpdate'id = Data.ProtoLens.fieldDefault,
+         _DoUpdate'protocolInstanceId = Data.ProtoLens.fieldDefault,
+         _DoUpdate'name = Data.ProtoLens.fieldDefault,
+         _DoUpdate'input = Data.Vector.Generic.empty,
+         _DoUpdate'headers = Data.Map.empty,
+         _DoUpdate'meta = Prelude.Nothing,
+         _DoUpdate'runValidator = Data.ProtoLens.fieldDefault,
+         _DoUpdate'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DoUpdate
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser DoUpdate
+        loop x mutable'input
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'input)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'input") frozen'input x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"id") y x)
+                                  mutable'input
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "protocol_instance_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"protocolInstanceId") y x)
+                                  mutable'input
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"name") y x)
+                                  mutable'input
+                        34
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "input"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'input y)
+                                loop x v
+                        42
+                          -> do !(entry :: DoUpdate'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                                                             (Prelude.fromIntegral
+                                                                                len)
+                                                                             Data.ProtoLens.parseMessage)
+                                                                       "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'input)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "meta"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"meta") y x)
+                                  mutable'input
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "run_validator"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"runValidator") y x)
+                                  mutable'input
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'input
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'input)
+          "DoUpdate"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"id") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"protocolInstanceId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"name") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                         (\ _v
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                 ((Prelude..)
+                                    (\ bs
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                               (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                            (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                    Data.ProtoLens.encodeMessage _v))
+                         (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'input") _x))
+                      ((Data.Monoid.<>)
+                         (Data.Monoid.mconcat
+                            (Prelude.map
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"value")
+                                                (Prelude.snd _v)
+                                                (Data.ProtoLens.defMessage ::
+                                                   DoUpdate'HeadersEntry)))))
+                               (Data.Map.toList
+                                  (Lens.Family2.view (Data.ProtoLens.Field.field @"headers") _x))))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'meta") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"runValidator") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        ((Prelude..)
+                                           Data.ProtoLens.Encoding.Bytes.putVarInt
+                                           (\ b -> if b then 1 else 0) _v))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData DoUpdate where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DoUpdate'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DoUpdate'id x__)
+                (Control.DeepSeq.deepseq
+                   (_DoUpdate'protocolInstanceId x__)
+                   (Control.DeepSeq.deepseq
+                      (_DoUpdate'name x__)
+                      (Control.DeepSeq.deepseq
+                         (_DoUpdate'input x__)
+                         (Control.DeepSeq.deepseq
+                            (_DoUpdate'headers x__)
+                            (Control.DeepSeq.deepseq
+                               (_DoUpdate'meta x__)
+                               (Control.DeepSeq.deepseq (_DoUpdate'runValidator x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.key' @:: Lens' DoUpdate'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.value' @:: Lens' DoUpdate'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'value' @:: Lens' DoUpdate'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data DoUpdate'HeadersEntry
+  = DoUpdate'HeadersEntry'_constructor {_DoUpdate'HeadersEntry'key :: !Data.Text.Text,
+                                        _DoUpdate'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                        _DoUpdate'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show DoUpdate'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField DoUpdate'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'HeadersEntry'key
+           (\ x__ y__ -> x__ {_DoUpdate'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField DoUpdate'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'HeadersEntry'value
+           (\ x__ y__ -> x__ {_DoUpdate'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField DoUpdate'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _DoUpdate'HeadersEntry'value
+           (\ x__ y__ -> x__ {_DoUpdate'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message DoUpdate'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.DoUpdate.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor DoUpdate'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _DoUpdate'HeadersEntry'_unknownFields
+        (\ x__ y__ -> x__ {_DoUpdate'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = DoUpdate'HeadersEntry'_constructor
+        {_DoUpdate'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _DoUpdate'HeadersEntry'value = Prelude.Nothing,
+         _DoUpdate'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          DoUpdate'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser DoUpdate'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData DoUpdate'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_DoUpdate'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_DoUpdate'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq (_DoUpdate'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' FireTimer Data.Word.Word32@ -}
+data FireTimer
+  = FireTimer'_constructor {_FireTimer'seq :: !Data.Word.Word32,
+                            _FireTimer'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show FireTimer where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField FireTimer "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FireTimer'seq (\ x__ y__ -> x__ {_FireTimer'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message FireTimer where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.FireTimer"
+  packedMessageDescriptor _
+    = "\n\
+      \\tFireTimer\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor FireTimer
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, seq__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _FireTimer'_unknownFields
+        (\ x__ y__ -> x__ {_FireTimer'_unknownFields = y__})
+  defMessage
+    = FireTimer'_constructor
+        {_FireTimer'seq = Data.ProtoLens.fieldDefault,
+         _FireTimer'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: FireTimer -> Data.ProtoLens.Encoding.Bytes.Parser FireTimer
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "FireTimer"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData FireTimer where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_FireTimer'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_FireTimer'seq x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowType' @:: Lens' InitializeWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowId' @:: Lens' InitializeWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.arguments' @:: Lens' InitializeWorkflow [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.vec'arguments' @:: Lens' InitializeWorkflow (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.randomnessSeed' @:: Lens' InitializeWorkflow Data.Word.Word64@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.headers' @:: Lens' InitializeWorkflow (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.identity' @:: Lens' InitializeWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.parentWorkflowInfo' @:: Lens' InitializeWorkflow Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'parentWorkflowInfo' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowExecutionTimeout' @:: Lens' InitializeWorkflow Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'workflowExecutionTimeout' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowRunTimeout' @:: Lens' InitializeWorkflow Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'workflowRunTimeout' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowTaskTimeout' @:: Lens' InitializeWorkflow Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'workflowTaskTimeout' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.continuedFromExecutionRunId' @:: Lens' InitializeWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.continuedInitiator' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.continuedFailure' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'continuedFailure' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.lastCompletionResult' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Common.V1.Message.Payloads@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'lastCompletionResult' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.firstExecutionRunId' @:: Lens' InitializeWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.retryPolicy' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'retryPolicy' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.attempt' @:: Lens' InitializeWorkflow Data.Int.Int32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.cronSchedule' @:: Lens' InitializeWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowExecutionExpirationTime' @:: Lens' InitializeWorkflow Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'workflowExecutionExpirationTime' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.cronScheduleToScheduleInterval' @:: Lens' InitializeWorkflow Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'cronScheduleToScheduleInterval' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.memo' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'memo' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.searchAttributes' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Common.V1.Message.SearchAttributes@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'searchAttributes' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.startTime' @:: Lens' InitializeWorkflow Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'startTime' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.rootWorkflow' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Common.V1.Message.WorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'rootWorkflow' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.priority' @:: Lens' InitializeWorkflow Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'priority' @:: Lens' InitializeWorkflow (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data InitializeWorkflow
+  = InitializeWorkflow'_constructor {_InitializeWorkflow'workflowType :: !Data.Text.Text,
+                                     _InitializeWorkflow'workflowId :: !Data.Text.Text,
+                                     _InitializeWorkflow'arguments :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                     _InitializeWorkflow'randomnessSeed :: !Data.Word.Word64,
+                                     _InitializeWorkflow'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                     _InitializeWorkflow'identity :: !Data.Text.Text,
+                                     _InitializeWorkflow'parentWorkflowInfo :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution),
+                                     _InitializeWorkflow'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                     _InitializeWorkflow'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                     _InitializeWorkflow'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                     _InitializeWorkflow'continuedFromExecutionRunId :: !Data.Text.Text,
+                                     _InitializeWorkflow'continuedInitiator :: !Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator,
+                                     _InitializeWorkflow'continuedFailure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                     _InitializeWorkflow'lastCompletionResult :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads),
+                                     _InitializeWorkflow'firstExecutionRunId :: !Data.Text.Text,
+                                     _InitializeWorkflow'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                     _InitializeWorkflow'attempt :: !Data.Int.Int32,
+                                     _InitializeWorkflow'cronSchedule :: !Data.Text.Text,
+                                     _InitializeWorkflow'workflowExecutionExpirationTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                     _InitializeWorkflow'cronScheduleToScheduleInterval :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                     _InitializeWorkflow'memo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                     _InitializeWorkflow'searchAttributes :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes),
+                                     _InitializeWorkflow'startTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                     _InitializeWorkflow'rootWorkflow :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution),
+                                     _InitializeWorkflow'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                     _InitializeWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show InitializeWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "workflowType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowType
+           (\ x__ y__ -> x__ {_InitializeWorkflow'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowId
+           (\ x__ y__ -> x__ {_InitializeWorkflow'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "arguments" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'arguments
+           (\ x__ y__ -> x__ {_InitializeWorkflow'arguments = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "vec'arguments" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'arguments
+           (\ x__ y__ -> x__ {_InitializeWorkflow'arguments = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "randomnessSeed" Data.Word.Word64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'randomnessSeed
+           (\ x__ y__ -> x__ {_InitializeWorkflow'randomnessSeed = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'headers
+           (\ x__ y__ -> x__ {_InitializeWorkflow'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'identity
+           (\ x__ y__ -> x__ {_InitializeWorkflow'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "parentWorkflowInfo" Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'parentWorkflowInfo
+           (\ x__ y__ -> x__ {_InitializeWorkflow'parentWorkflowInfo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'parentWorkflowInfo" (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'parentWorkflowInfo
+           (\ x__ y__ -> x__ {_InitializeWorkflow'parentWorkflowInfo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowRunTimeout
+           (\ x__ y__ -> x__ {_InitializeWorkflow'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowRunTimeout
+           (\ x__ y__ -> x__ {_InitializeWorkflow'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowTaskTimeout
+           (\ x__ y__ -> x__ {_InitializeWorkflow'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowTaskTimeout
+           (\ x__ y__ -> x__ {_InitializeWorkflow'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "continuedFromExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'continuedFromExecutionRunId
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'continuedFromExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "continuedInitiator" Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'continuedInitiator
+           (\ x__ y__ -> x__ {_InitializeWorkflow'continuedInitiator = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "continuedFailure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'continuedFailure
+           (\ x__ y__ -> x__ {_InitializeWorkflow'continuedFailure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'continuedFailure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'continuedFailure
+           (\ x__ y__ -> x__ {_InitializeWorkflow'continuedFailure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "lastCompletionResult" Proto.Temporal.Api.Common.V1.Message.Payloads where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'lastCompletionResult
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'lastCompletionResult = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'lastCompletionResult" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payloads) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'lastCompletionResult
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'lastCompletionResult = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "firstExecutionRunId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'firstExecutionRunId
+           (\ x__ y__ -> x__ {_InitializeWorkflow'firstExecutionRunId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'retryPolicy
+           (\ x__ y__ -> x__ {_InitializeWorkflow'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'retryPolicy
+           (\ x__ y__ -> x__ {_InitializeWorkflow'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "attempt" Data.Int.Int32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'attempt
+           (\ x__ y__ -> x__ {_InitializeWorkflow'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'cronSchedule
+           (\ x__ y__ -> x__ {_InitializeWorkflow'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "workflowExecutionExpirationTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowExecutionExpirationTime
+           (\ x__ y__
+              -> x__
+                   {_InitializeWorkflow'workflowExecutionExpirationTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'workflowExecutionExpirationTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'workflowExecutionExpirationTime
+           (\ x__ y__
+              -> x__
+                   {_InitializeWorkflow'workflowExecutionExpirationTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "cronScheduleToScheduleInterval" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'cronScheduleToScheduleInterval
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'cronScheduleToScheduleInterval = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'cronScheduleToScheduleInterval" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'cronScheduleToScheduleInterval
+           (\ x__ y__
+              -> x__ {_InitializeWorkflow'cronScheduleToScheduleInterval = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "memo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'memo
+           (\ x__ y__ -> x__ {_InitializeWorkflow'memo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'memo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'memo
+           (\ x__ y__ -> x__ {_InitializeWorkflow'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "searchAttributes" Proto.Temporal.Api.Common.V1.Message.SearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'searchAttributes
+           (\ x__ y__ -> x__ {_InitializeWorkflow'searchAttributes = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'searchAttributes" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.SearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'searchAttributes
+           (\ x__ y__ -> x__ {_InitializeWorkflow'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "startTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'startTime
+           (\ x__ y__ -> x__ {_InitializeWorkflow'startTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'startTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'startTime
+           (\ x__ y__ -> x__ {_InitializeWorkflow'startTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "rootWorkflow" Proto.Temporal.Api.Common.V1.Message.WorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'rootWorkflow
+           (\ x__ y__ -> x__ {_InitializeWorkflow'rootWorkflow = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'rootWorkflow" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.WorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'rootWorkflow
+           (\ x__ y__ -> x__ {_InitializeWorkflow'rootWorkflow = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'priority
+           (\ x__ y__ -> x__ {_InitializeWorkflow'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'priority
+           (\ x__ y__ -> x__ {_InitializeWorkflow'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message InitializeWorkflow where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.InitializeWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2InitializeWorkflow\DC2#\n\
+      \\rworkflow_type\CAN\SOH \SOH(\tR\fworkflowType\DC2\US\n\
+      \\vworkflow_id\CAN\STX \SOH(\tR\n\
+      \workflowId\DC2=\n\
+      \\targuments\CAN\ETX \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2'\n\
+      \\SIrandomness_seed\CAN\EOT \SOH(\EOTR\SOrandomnessSeed\DC2V\n\
+      \\aheaders\CAN\ENQ \ETX(\v2<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntryR\aheaders\DC2\SUB\n\
+      \\bidentity\CAN\ACK \SOH(\tR\bidentity\DC2]\n\
+      \\DC4parent_workflow_info\CAN\a \SOH(\v2+.coresdk.common.NamespacedWorkflowExecutionR\DC2parentWorkflowInfo\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\n\
+      \ \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2D\n\
+      \\UScontinued_from_execution_run_id\CAN\v \SOH(\tR\ESCcontinuedFromExecutionRunId\DC2^\n\
+      \\DC3continued_initiator\CAN\f \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\DC2continuedInitiator\DC2M\n\
+      \\DC1continued_failure\CAN\r \SOH(\v2 .temporal.api.failure.v1.FailureR\DLEcontinuedFailure\DC2V\n\
+      \\SYNlast_completion_result\CAN\SO \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC23\n\
+      \\SYNfirst_execution_run_id\CAN\SI \SOH(\tR\DC3firstExecutionRunId\DC2F\n\
+      \\fretry_policy\CAN\DLE \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2\CAN\n\
+      \\aattempt\CAN\DC1 \SOH(\ENQR\aattempt\DC2#\n\
+      \\rcron_schedule\CAN\DC2 \SOH(\tR\fcronSchedule\DC2g\n\
+      \\"workflow_execution_expiration_time\CAN\DC3 \SOH(\v2\SUB.google.protobuf.TimestampR\USworkflowExecutionExpirationTime\DC2e\n\
+      \\"cron_schedule_to_schedule_interval\CAN\DC4 \SOH(\v2\EM.google.protobuf.DurationR\RScronScheduleToScheduleInterval\DC20\n\
+      \\EOTmemo\CAN\NAK \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+      \\DC1search_attributes\CAN\SYN \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC29\n\
+      \\n\
+      \start_time\CAN\ETB \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC2N\n\
+      \\rroot_workflow\CAN\CAN \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\frootWorkflow\DC2<\n\
+      \\bpriority\CAN\EM \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowType")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        arguments__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "arguments"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"arguments")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        randomnessSeed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "randomness_seed"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"randomnessSeed")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor InitializeWorkflow'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        parentWorkflowInfo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_workflow_info"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'parentWorkflowInfo")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        continuedFromExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continued_from_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"continuedFromExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        continuedInitiator__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continued_initiator"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.ContinueAsNewInitiator)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"continuedInitiator")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        continuedFailure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continued_failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'continuedFailure")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        lastCompletionResult__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "last_completion_result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payloads)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'lastCompletionResult")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        firstExecutionRunId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "first_execution_run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"firstExecutionRunId")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.Int32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Int.Int32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        workflowExecutionExpirationTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_expiration_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'workflowExecutionExpirationTime")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        cronScheduleToScheduleInterval__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule_to_schedule_interval"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'cronScheduleToScheduleInterval")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'memo")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.SearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        startTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startTime")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        rootWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "root_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.WorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rootWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 3, arguments__field_descriptor),
+           (Data.ProtoLens.Tag 4, randomnessSeed__field_descriptor),
+           (Data.ProtoLens.Tag 5, headers__field_descriptor),
+           (Data.ProtoLens.Tag 6, identity__field_descriptor),
+           (Data.ProtoLens.Tag 7, parentWorkflowInfo__field_descriptor),
+           (Data.ProtoLens.Tag 8, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            continuedFromExecutionRunId__field_descriptor),
+           (Data.ProtoLens.Tag 12, continuedInitiator__field_descriptor),
+           (Data.ProtoLens.Tag 13, continuedFailure__field_descriptor),
+           (Data.ProtoLens.Tag 14, lastCompletionResult__field_descriptor),
+           (Data.ProtoLens.Tag 15, firstExecutionRunId__field_descriptor),
+           (Data.ProtoLens.Tag 16, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 17, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 18, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 19, 
+            workflowExecutionExpirationTime__field_descriptor),
+           (Data.ProtoLens.Tag 20, 
+            cronScheduleToScheduleInterval__field_descriptor),
+           (Data.ProtoLens.Tag 21, memo__field_descriptor),
+           (Data.ProtoLens.Tag 22, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 23, startTime__field_descriptor),
+           (Data.ProtoLens.Tag 24, rootWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 25, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _InitializeWorkflow'_unknownFields
+        (\ x__ y__ -> x__ {_InitializeWorkflow'_unknownFields = y__})
+  defMessage
+    = InitializeWorkflow'_constructor
+        {_InitializeWorkflow'workflowType = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'workflowId = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'arguments = Data.Vector.Generic.empty,
+         _InitializeWorkflow'randomnessSeed = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'headers = Data.Map.empty,
+         _InitializeWorkflow'identity = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'parentWorkflowInfo = Prelude.Nothing,
+         _InitializeWorkflow'workflowExecutionTimeout = Prelude.Nothing,
+         _InitializeWorkflow'workflowRunTimeout = Prelude.Nothing,
+         _InitializeWorkflow'workflowTaskTimeout = Prelude.Nothing,
+         _InitializeWorkflow'continuedFromExecutionRunId = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'continuedInitiator = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'continuedFailure = Prelude.Nothing,
+         _InitializeWorkflow'lastCompletionResult = Prelude.Nothing,
+         _InitializeWorkflow'firstExecutionRunId = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'retryPolicy = Prelude.Nothing,
+         _InitializeWorkflow'attempt = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'cronSchedule = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'workflowExecutionExpirationTime = Prelude.Nothing,
+         _InitializeWorkflow'cronScheduleToScheduleInterval = Prelude.Nothing,
+         _InitializeWorkflow'memo = Prelude.Nothing,
+         _InitializeWorkflow'searchAttributes = Prelude.Nothing,
+         _InitializeWorkflow'startTime = Prelude.Nothing,
+         _InitializeWorkflow'rootWorkflow = Prelude.Nothing,
+         _InitializeWorkflow'priority = Prelude.Nothing,
+         _InitializeWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          InitializeWorkflow
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser InitializeWorkflow
+        loop x mutable'arguments
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'arguments)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'arguments") frozen'arguments x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                                  mutable'arguments
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                                  mutable'arguments
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "arguments"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'arguments y)
+                                loop x v
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       Data.ProtoLens.Encoding.Bytes.getVarInt "randomness_seed"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"randomnessSeed") y x)
+                                  mutable'arguments
+                        42
+                          -> do !(entry :: InitializeWorkflow'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                 (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                     Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                       (Prelude.fromIntegral
+                                                                                          len)
+                                                                                       Data.ProtoLens.parseMessage)
+                                                                                 "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                                  mutable'arguments
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "parent_workflow_info"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentWorkflowInfo") y x)
+                                  mutable'arguments
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                                  mutable'arguments
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                                  mutable'arguments
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                                  mutable'arguments
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "continued_from_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continuedFromExecutionRunId") y
+                                     x)
+                                  mutable'arguments
+                        96
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "continued_initiator"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continuedInitiator") y x)
+                                  mutable'arguments
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "continued_failure"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continuedFailure") y x)
+                                  mutable'arguments
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "last_completion_result"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"lastCompletionResult") y x)
+                                  mutable'arguments
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "first_execution_run_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"firstExecutionRunId") y x)
+                                  mutable'arguments
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'arguments
+                        136
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                                  mutable'arguments
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                                  mutable'arguments
+                        154
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_expiration_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionExpirationTime")
+                                     y x)
+                                  mutable'arguments
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cron_schedule_to_schedule_interval"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronScheduleToScheduleInterval")
+                                     y x)
+                                  mutable'arguments
+                        170
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "memo"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"memo") y x)
+                                  mutable'arguments
+                        178
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"searchAttributes") y x)
+                                  mutable'arguments
+                        186
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_time"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startTime") y x)
+                                  mutable'arguments
+                        194
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "root_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"rootWorkflow") y x)
+                                  mutable'arguments
+                        202
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                                  mutable'arguments
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'arguments
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'arguments)
+          "InitializeWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'arguments") _x))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"randomnessSeed") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt _v))
+                      ((Data.Monoid.<>)
+                         (Data.Monoid.mconcat
+                            (Prelude.map
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"value")
+                                                (Prelude.snd _v)
+                                                (Data.ProtoLens.defMessage ::
+                                                   InitializeWorkflow'HeadersEntry)))))
+                               (Data.Map.toList
+                                  (Lens.Family2.view (Data.ProtoLens.Field.field @"headers") _x))))
+                         ((Data.Monoid.<>)
+                            (let
+                               _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                             in
+                               if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((Prelude..)
+                                        (\ bs
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                   (Prelude.fromIntegral
+                                                      (Data.ByteString.length bs)))
+                                                (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        Data.Text.Encoding.encodeUtf8 _v))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'parentWorkflowInfo") _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field
+                                            @"maybe'workflowExecutionTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'workflowTaskTimeout")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"continuedFromExecutionRunId")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                    ((Prelude..)
+                                                       (\ bs
+                                                          -> (Data.Monoid.<>)
+                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                  (Prelude.fromIntegral
+                                                                     (Data.ByteString.length bs)))
+                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                  bs))
+                                                       Data.Text.Encoding.encodeUtf8 _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field
+                                                          @"continuedInitiator")
+                                                       _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 96)
+                                                       ((Prelude..)
+                                                          ((Prelude..)
+                                                             Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             Prelude.fromIntegral)
+                                                          Prelude.fromEnum _v))
+                                              ((Data.Monoid.<>)
+                                                 (case
+                                                      Lens.Family2.view
+                                                        (Data.ProtoLens.Field.field
+                                                           @"maybe'continuedFailure")
+                                                        _x
+                                                  of
+                                                    Prelude.Nothing -> Data.Monoid.mempty
+                                                    (Prelude.Just _v)
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              106)
+                                                           ((Prelude..)
+                                                              (\ bs
+                                                                 -> (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         (Prelude.fromIntegral
+                                                                            (Data.ByteString.length
+                                                                               bs)))
+                                                                      (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                         bs))
+                                                              Data.ProtoLens.encodeMessage _v))
+                                                 ((Data.Monoid.<>)
+                                                    (case
+                                                         Lens.Family2.view
+                                                           (Data.ProtoLens.Field.field
+                                                              @"maybe'lastCompletionResult")
+                                                           _x
+                                                     of
+                                                       Prelude.Nothing -> Data.Monoid.mempty
+                                                       (Prelude.Just _v)
+                                                         -> (Data.Monoid.<>)
+                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                 114)
+                                                              ((Prelude..)
+                                                                 (\ bs
+                                                                    -> (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            (Prelude.fromIntegral
+                                                                               (Data.ByteString.length
+                                                                                  bs)))
+                                                                         (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                            bs))
+                                                                 Data.ProtoLens.encodeMessage _v))
+                                                    ((Data.Monoid.<>)
+                                                       (let
+                                                          _v
+                                                            = Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"firstExecutionRunId")
+                                                                _x
+                                                        in
+                                                          if (Prelude.==)
+                                                               _v Data.ProtoLens.fieldDefault then
+                                                              Data.Monoid.mempty
+                                                          else
+                                                              (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   122)
+                                                                ((Prelude..)
+                                                                   (\ bs
+                                                                      -> (Data.Monoid.<>)
+                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                              (Prelude.fromIntegral
+                                                                                 (Data.ByteString.length
+                                                                                    bs)))
+                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                              bs))
+                                                                   Data.Text.Encoding.encodeUtf8
+                                                                   _v))
+                                                       ((Data.Monoid.<>)
+                                                          (case
+                                                               Lens.Family2.view
+                                                                 (Data.ProtoLens.Field.field
+                                                                    @"maybe'retryPolicy")
+                                                                 _x
+                                                           of
+                                                             Prelude.Nothing -> Data.Monoid.mempty
+                                                             (Prelude.Just _v)
+                                                               -> (Data.Monoid.<>)
+                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                       130)
+                                                                    ((Prelude..)
+                                                                       (\ bs
+                                                                          -> (Data.Monoid.<>)
+                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                  (Prelude.fromIntegral
+                                                                                     (Data.ByteString.length
+                                                                                        bs)))
+                                                                               (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                  bs))
+                                                                       Data.ProtoLens.encodeMessage
+                                                                       _v))
+                                                          ((Data.Monoid.<>)
+                                                             (let
+                                                                _v
+                                                                  = Lens.Family2.view
+                                                                      (Data.ProtoLens.Field.field
+                                                                         @"attempt")
+                                                                      _x
+                                                              in
+                                                                if (Prelude.==)
+                                                                     _v
+                                                                     Data.ProtoLens.fieldDefault then
+                                                                    Data.Monoid.mempty
+                                                                else
+                                                                    (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         136)
+                                                                      ((Prelude..)
+                                                                         Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         Prelude.fromIntegral _v))
+                                                             ((Data.Monoid.<>)
+                                                                (let
+                                                                   _v
+                                                                     = Lens.Family2.view
+                                                                         (Data.ProtoLens.Field.field
+                                                                            @"cronSchedule")
+                                                                         _x
+                                                                 in
+                                                                   if (Prelude.==)
+                                                                        _v
+                                                                        Data.ProtoLens.fieldDefault then
+                                                                       Data.Monoid.mempty
+                                                                   else
+                                                                       (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            146)
+                                                                         ((Prelude..)
+                                                                            (\ bs
+                                                                               -> (Data.Monoid.<>)
+                                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                       (Prelude.fromIntegral
+                                                                                          (Data.ByteString.length
+                                                                                             bs)))
+                                                                                    (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                       bs))
+                                                                            Data.Text.Encoding.encodeUtf8
+                                                                            _v))
+                                                                ((Data.Monoid.<>)
+                                                                   (case
+                                                                        Lens.Family2.view
+                                                                          (Data.ProtoLens.Field.field
+                                                                             @"maybe'workflowExecutionExpirationTime")
+                                                                          _x
+                                                                    of
+                                                                      Prelude.Nothing
+                                                                        -> Data.Monoid.mempty
+                                                                      (Prelude.Just _v)
+                                                                        -> (Data.Monoid.<>)
+                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                154)
+                                                                             ((Prelude..)
+                                                                                (\ bs
+                                                                                   -> (Data.Monoid.<>)
+                                                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                           (Prelude.fromIntegral
+                                                                                              (Data.ByteString.length
+                                                                                                 bs)))
+                                                                                        (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                           bs))
+                                                                                Data.ProtoLens.encodeMessage
+                                                                                _v))
+                                                                   ((Data.Monoid.<>)
+                                                                      (case
+                                                                           Lens.Family2.view
+                                                                             (Data.ProtoLens.Field.field
+                                                                                @"maybe'cronScheduleToScheduleInterval")
+                                                                             _x
+                                                                       of
+                                                                         Prelude.Nothing
+                                                                           -> Data.Monoid.mempty
+                                                                         (Prelude.Just _v)
+                                                                           -> (Data.Monoid.<>)
+                                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                   162)
+                                                                                ((Prelude..)
+                                                                                   (\ bs
+                                                                                      -> (Data.Monoid.<>)
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                              (Prelude.fromIntegral
+                                                                                                 (Data.ByteString.length
+                                                                                                    bs)))
+                                                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                              bs))
+                                                                                   Data.ProtoLens.encodeMessage
+                                                                                   _v))
+                                                                      ((Data.Monoid.<>)
+                                                                         (case
+                                                                              Lens.Family2.view
+                                                                                (Data.ProtoLens.Field.field
+                                                                                   @"maybe'memo")
+                                                                                _x
+                                                                          of
+                                                                            Prelude.Nothing
+                                                                              -> Data.Monoid.mempty
+                                                                            (Prelude.Just _v)
+                                                                              -> (Data.Monoid.<>)
+                                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                      170)
+                                                                                   ((Prelude..)
+                                                                                      (\ bs
+                                                                                         -> (Data.Monoid.<>)
+                                                                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                 (Prelude.fromIntegral
+                                                                                                    (Data.ByteString.length
+                                                                                                       bs)))
+                                                                                              (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                 bs))
+                                                                                      Data.ProtoLens.encodeMessage
+                                                                                      _v))
+                                                                         ((Data.Monoid.<>)
+                                                                            (case
+                                                                                 Lens.Family2.view
+                                                                                   (Data.ProtoLens.Field.field
+                                                                                      @"maybe'searchAttributes")
+                                                                                   _x
+                                                                             of
+                                                                               Prelude.Nothing
+                                                                                 -> Data.Monoid.mempty
+                                                                               (Prelude.Just _v)
+                                                                                 -> (Data.Monoid.<>)
+                                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                         178)
+                                                                                      ((Prelude..)
+                                                                                         (\ bs
+                                                                                            -> (Data.Monoid.<>)
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                    (Prelude.fromIntegral
+                                                                                                       (Data.ByteString.length
+                                                                                                          bs)))
+                                                                                                 (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                    bs))
+                                                                                         Data.ProtoLens.encodeMessage
+                                                                                         _v))
+                                                                            ((Data.Monoid.<>)
+                                                                               (case
+                                                                                    Lens.Family2.view
+                                                                                      (Data.ProtoLens.Field.field
+                                                                                         @"maybe'startTime")
+                                                                                      _x
+                                                                                of
+                                                                                  Prelude.Nothing
+                                                                                    -> Data.Monoid.mempty
+                                                                                  (Prelude.Just _v)
+                                                                                    -> (Data.Monoid.<>)
+                                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                            186)
+                                                                                         ((Prelude..)
+                                                                                            (\ bs
+                                                                                               -> (Data.Monoid.<>)
+                                                                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                       (Prelude.fromIntegral
+                                                                                                          (Data.ByteString.length
+                                                                                                             bs)))
+                                                                                                    (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                       bs))
+                                                                                            Data.ProtoLens.encodeMessage
+                                                                                            _v))
+                                                                               ((Data.Monoid.<>)
+                                                                                  (case
+                                                                                       Lens.Family2.view
+                                                                                         (Data.ProtoLens.Field.field
+                                                                                            @"maybe'rootWorkflow")
+                                                                                         _x
+                                                                                   of
+                                                                                     Prelude.Nothing
+                                                                                       -> Data.Monoid.mempty
+                                                                                     (Prelude.Just _v)
+                                                                                       -> (Data.Monoid.<>)
+                                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                               194)
+                                                                                            ((Prelude..)
+                                                                                               (\ bs
+                                                                                                  -> (Data.Monoid.<>)
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                          (Prelude.fromIntegral
+                                                                                                             (Data.ByteString.length
+                                                                                                                bs)))
+                                                                                                       (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                          bs))
+                                                                                               Data.ProtoLens.encodeMessage
+                                                                                               _v))
+                                                                                  ((Data.Monoid.<>)
+                                                                                     (case
+                                                                                          Lens.Family2.view
+                                                                                            (Data.ProtoLens.Field.field
+                                                                                               @"maybe'priority")
+                                                                                            _x
+                                                                                      of
+                                                                                        Prelude.Nothing
+                                                                                          -> Data.Monoid.mempty
+                                                                                        (Prelude.Just _v)
+                                                                                          -> (Data.Monoid.<>)
+                                                                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                  202)
+                                                                                               ((Prelude..)
+                                                                                                  (\ bs
+                                                                                                     -> (Data.Monoid.<>)
+                                                                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                                             (Prelude.fromIntegral
+                                                                                                                (Data.ByteString.length
+                                                                                                                   bs)))
+                                                                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                                             bs))
+                                                                                                  Data.ProtoLens.encodeMessage
+                                                                                                  _v))
+                                                                                     (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                                        (Lens.Family2.view
+                                                                                           Data.ProtoLens.unknownFields
+                                                                                           _x))))))))))))))))))))))))))
+instance Control.DeepSeq.NFData InitializeWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_InitializeWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_InitializeWorkflow'workflowType x__)
+                (Control.DeepSeq.deepseq
+                   (_InitializeWorkflow'workflowId x__)
+                   (Control.DeepSeq.deepseq
+                      (_InitializeWorkflow'arguments x__)
+                      (Control.DeepSeq.deepseq
+                         (_InitializeWorkflow'randomnessSeed x__)
+                         (Control.DeepSeq.deepseq
+                            (_InitializeWorkflow'headers x__)
+                            (Control.DeepSeq.deepseq
+                               (_InitializeWorkflow'identity x__)
+                               (Control.DeepSeq.deepseq
+                                  (_InitializeWorkflow'parentWorkflowInfo x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_InitializeWorkflow'workflowExecutionTimeout x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_InitializeWorkflow'workflowRunTimeout x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_InitializeWorkflow'workflowTaskTimeout x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_InitializeWorkflow'continuedFromExecutionRunId x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_InitializeWorkflow'continuedInitiator x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_InitializeWorkflow'continuedFailure x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_InitializeWorkflow'lastCompletionResult
+                                                          x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_InitializeWorkflow'firstExecutionRunId
+                                                             x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_InitializeWorkflow'retryPolicy x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_InitializeWorkflow'attempt x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_InitializeWorkflow'cronSchedule
+                                                                      x__)
+                                                                   (Control.DeepSeq.deepseq
+                                                                      (_InitializeWorkflow'workflowExecutionExpirationTime
+                                                                         x__)
+                                                                      (Control.DeepSeq.deepseq
+                                                                         (_InitializeWorkflow'cronScheduleToScheduleInterval
+                                                                            x__)
+                                                                         (Control.DeepSeq.deepseq
+                                                                            (_InitializeWorkflow'memo
+                                                                               x__)
+                                                                            (Control.DeepSeq.deepseq
+                                                                               (_InitializeWorkflow'searchAttributes
+                                                                                  x__)
+                                                                               (Control.DeepSeq.deepseq
+                                                                                  (_InitializeWorkflow'startTime
+                                                                                     x__)
+                                                                                  (Control.DeepSeq.deepseq
+                                                                                     (_InitializeWorkflow'rootWorkflow
+                                                                                        x__)
+                                                                                     (Control.DeepSeq.deepseq
+                                                                                        (_InitializeWorkflow'priority
+                                                                                           x__)
+                                                                                        ())))))))))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.key' @:: Lens' InitializeWorkflow'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.value' @:: Lens' InitializeWorkflow'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'value' @:: Lens' InitializeWorkflow'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data InitializeWorkflow'HeadersEntry
+  = InitializeWorkflow'HeadersEntry'_constructor {_InitializeWorkflow'HeadersEntry'key :: !Data.Text.Text,
+                                                  _InitializeWorkflow'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                  _InitializeWorkflow'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show InitializeWorkflow'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField InitializeWorkflow'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'HeadersEntry'key
+           (\ x__ y__ -> x__ {_InitializeWorkflow'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField InitializeWorkflow'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'HeadersEntry'value
+           (\ x__ y__ -> x__ {_InitializeWorkflow'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField InitializeWorkflow'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _InitializeWorkflow'HeadersEntry'value
+           (\ x__ y__ -> x__ {_InitializeWorkflow'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message InitializeWorkflow'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.InitializeWorkflow.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor InitializeWorkflow'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _InitializeWorkflow'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_InitializeWorkflow'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = InitializeWorkflow'HeadersEntry'_constructor
+        {_InitializeWorkflow'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _InitializeWorkflow'HeadersEntry'value = Prelude.Nothing,
+         _InitializeWorkflow'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          InitializeWorkflow'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser InitializeWorkflow'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData InitializeWorkflow'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_InitializeWorkflow'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_InitializeWorkflow'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_InitializeWorkflow'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.patchId' @:: Lens' NotifyHasPatch Data.Text.Text@ -}
+data NotifyHasPatch
+  = NotifyHasPatch'_constructor {_NotifyHasPatch'patchId :: !Data.Text.Text,
+                                 _NotifyHasPatch'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show NotifyHasPatch where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField NotifyHasPatch "patchId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _NotifyHasPatch'patchId
+           (\ x__ y__ -> x__ {_NotifyHasPatch'patchId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message NotifyHasPatch where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.NotifyHasPatch"
+  packedMessageDescriptor _
+    = "\n\
+      \\SONotifyHasPatch\DC2\EM\n\
+      \\bpatch_id\CAN\SOH \SOH(\tR\apatchId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        patchId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "patch_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"patchId")) ::
+              Data.ProtoLens.FieldDescriptor NotifyHasPatch
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, patchId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _NotifyHasPatch'_unknownFields
+        (\ x__ y__ -> x__ {_NotifyHasPatch'_unknownFields = y__})
+  defMessage
+    = NotifyHasPatch'_constructor
+        {_NotifyHasPatch'patchId = Data.ProtoLens.fieldDefault,
+         _NotifyHasPatch'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          NotifyHasPatch
+          -> Data.ProtoLens.Encoding.Bytes.Parser NotifyHasPatch
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "patch_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"patchId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NotifyHasPatch"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"patchId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData NotifyHasPatch where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_NotifyHasPatch'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_NotifyHasPatch'patchId x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.queryId' @:: Lens' QueryWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.queryType' @:: Lens' QueryWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.arguments' @:: Lens' QueryWorkflow [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.vec'arguments' @:: Lens' QueryWorkflow (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.headers' @:: Lens' QueryWorkflow (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data QueryWorkflow
+  = QueryWorkflow'_constructor {_QueryWorkflow'queryId :: !Data.Text.Text,
+                                _QueryWorkflow'queryType :: !Data.Text.Text,
+                                _QueryWorkflow'arguments :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                _QueryWorkflow'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                _QueryWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show QueryWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField QueryWorkflow "queryId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'queryId
+           (\ x__ y__ -> x__ {_QueryWorkflow'queryId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField QueryWorkflow "queryType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'queryType
+           (\ x__ y__ -> x__ {_QueryWorkflow'queryType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField QueryWorkflow "arguments" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'arguments
+           (\ x__ y__ -> x__ {_QueryWorkflow'arguments = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField QueryWorkflow "vec'arguments" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'arguments
+           (\ x__ y__ -> x__ {_QueryWorkflow'arguments = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField QueryWorkflow "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'headers
+           (\ x__ y__ -> x__ {_QueryWorkflow'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message QueryWorkflow where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.QueryWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \\rQueryWorkflow\DC2\EM\n\
+      \\bquery_id\CAN\SOH \SOH(\tR\aqueryId\DC2\GS\n\
+      \\n\
+      \query_type\CAN\STX \SOH(\tR\tqueryType\DC2=\n\
+      \\targuments\CAN\ETX \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2Q\n\
+      \\aheaders\CAN\ENQ \ETX(\v27.coresdk.workflow_activation.QueryWorkflow.HeadersEntryR\aheaders\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        queryId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"queryId")) ::
+              Data.ProtoLens.FieldDescriptor QueryWorkflow
+        queryType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"queryType")) ::
+              Data.ProtoLens.FieldDescriptor QueryWorkflow
+        arguments__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "arguments"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"arguments")) ::
+              Data.ProtoLens.FieldDescriptor QueryWorkflow
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor QueryWorkflow'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor QueryWorkflow
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, queryId__field_descriptor),
+           (Data.ProtoLens.Tag 2, queryType__field_descriptor),
+           (Data.ProtoLens.Tag 3, arguments__field_descriptor),
+           (Data.ProtoLens.Tag 5, headers__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _QueryWorkflow'_unknownFields
+        (\ x__ y__ -> x__ {_QueryWorkflow'_unknownFields = y__})
+  defMessage
+    = QueryWorkflow'_constructor
+        {_QueryWorkflow'queryId = Data.ProtoLens.fieldDefault,
+         _QueryWorkflow'queryType = Data.ProtoLens.fieldDefault,
+         _QueryWorkflow'arguments = Data.Vector.Generic.empty,
+         _QueryWorkflow'headers = Data.Map.empty,
+         _QueryWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          QueryWorkflow
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser QueryWorkflow
+        loop x mutable'arguments
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'arguments)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'arguments") frozen'arguments x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "query_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"queryId") y x)
+                                  mutable'arguments
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "query_type"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"queryType") y x)
+                                  mutable'arguments
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "arguments"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'arguments y)
+                                loop x v
+                        42
+                          -> do !(entry :: QueryWorkflow'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                            (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                  (Prelude.fromIntegral
+                                                                                     len)
+                                                                                  Data.ProtoLens.parseMessage)
+                                                                            "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'arguments
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'arguments)
+          "QueryWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"queryId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"queryType") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'arguments") _x))
+                   ((Data.Monoid.<>)
+                      (Data.Monoid.mconcat
+                         (Prelude.map
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                             (Data.ProtoLens.defMessage ::
+                                                QueryWorkflow'HeadersEntry)))))
+                            (Data.Map.toList
+                               (Lens.Family2.view (Data.ProtoLens.Field.field @"headers") _x))))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData QueryWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_QueryWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_QueryWorkflow'queryId x__)
+                (Control.DeepSeq.deepseq
+                   (_QueryWorkflow'queryType x__)
+                   (Control.DeepSeq.deepseq
+                      (_QueryWorkflow'arguments x__)
+                      (Control.DeepSeq.deepseq (_QueryWorkflow'headers x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.key' @:: Lens' QueryWorkflow'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.value' @:: Lens' QueryWorkflow'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'value' @:: Lens' QueryWorkflow'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data QueryWorkflow'HeadersEntry
+  = QueryWorkflow'HeadersEntry'_constructor {_QueryWorkflow'HeadersEntry'key :: !Data.Text.Text,
+                                             _QueryWorkflow'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                             _QueryWorkflow'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show QueryWorkflow'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField QueryWorkflow'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'HeadersEntry'key
+           (\ x__ y__ -> x__ {_QueryWorkflow'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField QueryWorkflow'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'HeadersEntry'value
+           (\ x__ y__ -> x__ {_QueryWorkflow'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField QueryWorkflow'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryWorkflow'HeadersEntry'value
+           (\ x__ y__ -> x__ {_QueryWorkflow'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message QueryWorkflow'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.QueryWorkflow.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor QueryWorkflow'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor QueryWorkflow'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _QueryWorkflow'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_QueryWorkflow'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = QueryWorkflow'HeadersEntry'_constructor
+        {_QueryWorkflow'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _QueryWorkflow'HeadersEntry'value = Prelude.Nothing,
+         _QueryWorkflow'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          QueryWorkflow'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser QueryWorkflow'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData QueryWorkflow'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_QueryWorkflow'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_QueryWorkflow'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_QueryWorkflow'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.message' @:: Lens' RemoveFromCache Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.reason' @:: Lens' RemoveFromCache RemoveFromCache'EvictionReason@ -}
+data RemoveFromCache
+  = RemoveFromCache'_constructor {_RemoveFromCache'message :: !Data.Text.Text,
+                                  _RemoveFromCache'reason :: !RemoveFromCache'EvictionReason,
+                                  _RemoveFromCache'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RemoveFromCache where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RemoveFromCache "message" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RemoveFromCache'message
+           (\ x__ y__ -> x__ {_RemoveFromCache'message = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RemoveFromCache "reason" RemoveFromCache'EvictionReason where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RemoveFromCache'reason
+           (\ x__ y__ -> x__ {_RemoveFromCache'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RemoveFromCache where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.RemoveFromCache"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIRemoveFromCache\DC2\CAN\n\
+      \\amessage\CAN\SOH \SOH(\tR\amessage\DC2S\n\
+      \\ACKreason\CAN\STX \SOH(\SO2;.coresdk.workflow_activation.RemoveFromCache.EvictionReasonR\ACKreason\"\238\SOH\n\
+      \\SOEvictionReason\DC2\SI\n\
+      \\vUNSPECIFIED\DLE\NUL\DC2\SO\n\
+      \\n\
+      \CACHE_FULL\DLE\SOH\DC2\SO\n\
+      \\n\
+      \CACHE_MISS\DLE\STX\DC2\DC2\n\
+      \\SONONDETERMINISM\DLE\ETX\DC2\r\n\
+      \\tLANG_FAIL\DLE\EOT\DC2\DC2\n\
+      \\SOLANG_REQUESTED\DLE\ENQ\DC2\DC2\n\
+      \\SOTASK_NOT_FOUND\DLE\ACK\DC2\NAK\n\
+      \\DC1UNHANDLED_COMMAND\DLE\a\DC2\t\n\
+      \\ENQFATAL\DLE\b\DC2\US\n\
+      \\ESCPAGINATION_OR_HISTORY_FETCH\DLE\t\DC2\GS\n\
+      \\EMWORKFLOW_EXECUTION_ENDING\DLE\n"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        message__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "message"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"message")) ::
+              Data.ProtoLens.FieldDescriptor RemoveFromCache
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor RemoveFromCache'EvictionReason)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor RemoveFromCache
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, message__field_descriptor),
+           (Data.ProtoLens.Tag 2, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RemoveFromCache'_unknownFields
+        (\ x__ y__ -> x__ {_RemoveFromCache'_unknownFields = y__})
+  defMessage
+    = RemoveFromCache'_constructor
+        {_RemoveFromCache'message = Data.ProtoLens.fieldDefault,
+         _RemoveFromCache'reason = Data.ProtoLens.fieldDefault,
+         _RemoveFromCache'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RemoveFromCache
+          -> Data.ProtoLens.Encoding.Bytes.Parser RemoveFromCache
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "message"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"message") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RemoveFromCache"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"message") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData RemoveFromCache where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RemoveFromCache'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RemoveFromCache'message x__)
+                (Control.DeepSeq.deepseq (_RemoveFromCache'reason x__) ()))
+newtype RemoveFromCache'EvictionReason'UnrecognizedValue
+  = RemoveFromCache'EvictionReason'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data RemoveFromCache'EvictionReason
+  = RemoveFromCache'UNSPECIFIED |
+    RemoveFromCache'CACHE_FULL |
+    RemoveFromCache'CACHE_MISS |
+    RemoveFromCache'NONDETERMINISM |
+    RemoveFromCache'LANG_FAIL |
+    RemoveFromCache'LANG_REQUESTED |
+    RemoveFromCache'TASK_NOT_FOUND |
+    RemoveFromCache'UNHANDLED_COMMAND |
+    RemoveFromCache'FATAL |
+    RemoveFromCache'PAGINATION_OR_HISTORY_FETCH |
+    RemoveFromCache'WORKFLOW_EXECUTION_ENDING |
+    RemoveFromCache'EvictionReason'Unrecognized !RemoveFromCache'EvictionReason'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum RemoveFromCache'EvictionReason where
+  maybeToEnum 0 = Prelude.Just RemoveFromCache'UNSPECIFIED
+  maybeToEnum 1 = Prelude.Just RemoveFromCache'CACHE_FULL
+  maybeToEnum 2 = Prelude.Just RemoveFromCache'CACHE_MISS
+  maybeToEnum 3 = Prelude.Just RemoveFromCache'NONDETERMINISM
+  maybeToEnum 4 = Prelude.Just RemoveFromCache'LANG_FAIL
+  maybeToEnum 5 = Prelude.Just RemoveFromCache'LANG_REQUESTED
+  maybeToEnum 6 = Prelude.Just RemoveFromCache'TASK_NOT_FOUND
+  maybeToEnum 7 = Prelude.Just RemoveFromCache'UNHANDLED_COMMAND
+  maybeToEnum 8 = Prelude.Just RemoveFromCache'FATAL
+  maybeToEnum 9
+    = Prelude.Just RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+  maybeToEnum 10
+    = Prelude.Just RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+  maybeToEnum k
+    = Prelude.Just
+        (RemoveFromCache'EvictionReason'Unrecognized
+           (RemoveFromCache'EvictionReason'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum RemoveFromCache'UNSPECIFIED = "UNSPECIFIED"
+  showEnum RemoveFromCache'CACHE_FULL = "CACHE_FULL"
+  showEnum RemoveFromCache'CACHE_MISS = "CACHE_MISS"
+  showEnum RemoveFromCache'NONDETERMINISM = "NONDETERMINISM"
+  showEnum RemoveFromCache'LANG_FAIL = "LANG_FAIL"
+  showEnum RemoveFromCache'LANG_REQUESTED = "LANG_REQUESTED"
+  showEnum RemoveFromCache'TASK_NOT_FOUND = "TASK_NOT_FOUND"
+  showEnum RemoveFromCache'UNHANDLED_COMMAND = "UNHANDLED_COMMAND"
+  showEnum RemoveFromCache'FATAL = "FATAL"
+  showEnum RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+    = "PAGINATION_OR_HISTORY_FETCH"
+  showEnum RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+    = "WORKFLOW_EXECUTION_ENDING"
+  showEnum
+    (RemoveFromCache'EvictionReason'Unrecognized (RemoveFromCache'EvictionReason'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "UNSPECIFIED"
+    = Prelude.Just RemoveFromCache'UNSPECIFIED
+    | (Prelude.==) k "CACHE_FULL"
+    = Prelude.Just RemoveFromCache'CACHE_FULL
+    | (Prelude.==) k "CACHE_MISS"
+    = Prelude.Just RemoveFromCache'CACHE_MISS
+    | (Prelude.==) k "NONDETERMINISM"
+    = Prelude.Just RemoveFromCache'NONDETERMINISM
+    | (Prelude.==) k "LANG_FAIL"
+    = Prelude.Just RemoveFromCache'LANG_FAIL
+    | (Prelude.==) k "LANG_REQUESTED"
+    = Prelude.Just RemoveFromCache'LANG_REQUESTED
+    | (Prelude.==) k "TASK_NOT_FOUND"
+    = Prelude.Just RemoveFromCache'TASK_NOT_FOUND
+    | (Prelude.==) k "UNHANDLED_COMMAND"
+    = Prelude.Just RemoveFromCache'UNHANDLED_COMMAND
+    | (Prelude.==) k "FATAL" = Prelude.Just RemoveFromCache'FATAL
+    | (Prelude.==) k "PAGINATION_OR_HISTORY_FETCH"
+    = Prelude.Just RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+    | (Prelude.==) k "WORKFLOW_EXECUTION_ENDING"
+    = Prelude.Just RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded RemoveFromCache'EvictionReason where
+  minBound = RemoveFromCache'UNSPECIFIED
+  maxBound = RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+instance Prelude.Enum RemoveFromCache'EvictionReason where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum EvictionReason: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum RemoveFromCache'UNSPECIFIED = 0
+  fromEnum RemoveFromCache'CACHE_FULL = 1
+  fromEnum RemoveFromCache'CACHE_MISS = 2
+  fromEnum RemoveFromCache'NONDETERMINISM = 3
+  fromEnum RemoveFromCache'LANG_FAIL = 4
+  fromEnum RemoveFromCache'LANG_REQUESTED = 5
+  fromEnum RemoveFromCache'TASK_NOT_FOUND = 6
+  fromEnum RemoveFromCache'UNHANDLED_COMMAND = 7
+  fromEnum RemoveFromCache'FATAL = 8
+  fromEnum RemoveFromCache'PAGINATION_OR_HISTORY_FETCH = 9
+  fromEnum RemoveFromCache'WORKFLOW_EXECUTION_ENDING = 10
+  fromEnum
+    (RemoveFromCache'EvictionReason'Unrecognized (RemoveFromCache'EvictionReason'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+    = Prelude.error
+        "RemoveFromCache'EvictionReason.succ: bad argument RemoveFromCache'WORKFLOW_EXECUTION_ENDING. This value would be out of bounds."
+  succ RemoveFromCache'UNSPECIFIED = RemoveFromCache'CACHE_FULL
+  succ RemoveFromCache'CACHE_FULL = RemoveFromCache'CACHE_MISS
+  succ RemoveFromCache'CACHE_MISS = RemoveFromCache'NONDETERMINISM
+  succ RemoveFromCache'NONDETERMINISM = RemoveFromCache'LANG_FAIL
+  succ RemoveFromCache'LANG_FAIL = RemoveFromCache'LANG_REQUESTED
+  succ RemoveFromCache'LANG_REQUESTED
+    = RemoveFromCache'TASK_NOT_FOUND
+  succ RemoveFromCache'TASK_NOT_FOUND
+    = RemoveFromCache'UNHANDLED_COMMAND
+  succ RemoveFromCache'UNHANDLED_COMMAND = RemoveFromCache'FATAL
+  succ RemoveFromCache'FATAL
+    = RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+  succ RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+    = RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+  succ (RemoveFromCache'EvictionReason'Unrecognized _)
+    = Prelude.error
+        "RemoveFromCache'EvictionReason.succ: bad argument: unrecognized value"
+  pred RemoveFromCache'UNSPECIFIED
+    = Prelude.error
+        "RemoveFromCache'EvictionReason.pred: bad argument RemoveFromCache'UNSPECIFIED. This value would be out of bounds."
+  pred RemoveFromCache'CACHE_FULL = RemoveFromCache'UNSPECIFIED
+  pred RemoveFromCache'CACHE_MISS = RemoveFromCache'CACHE_FULL
+  pred RemoveFromCache'NONDETERMINISM = RemoveFromCache'CACHE_MISS
+  pred RemoveFromCache'LANG_FAIL = RemoveFromCache'NONDETERMINISM
+  pred RemoveFromCache'LANG_REQUESTED = RemoveFromCache'LANG_FAIL
+  pred RemoveFromCache'TASK_NOT_FOUND
+    = RemoveFromCache'LANG_REQUESTED
+  pred RemoveFromCache'UNHANDLED_COMMAND
+    = RemoveFromCache'TASK_NOT_FOUND
+  pred RemoveFromCache'FATAL = RemoveFromCache'UNHANDLED_COMMAND
+  pred RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+    = RemoveFromCache'FATAL
+  pred RemoveFromCache'WORKFLOW_EXECUTION_ENDING
+    = RemoveFromCache'PAGINATION_OR_HISTORY_FETCH
+  pred (RemoveFromCache'EvictionReason'Unrecognized _)
+    = Prelude.error
+        "RemoveFromCache'EvictionReason.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault RemoveFromCache'EvictionReason where
+  fieldDefault = RemoveFromCache'UNSPECIFIED
+instance Control.DeepSeq.NFData RemoveFromCache'EvictionReason where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveActivity Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.result' @:: Lens' ResolveActivity Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityResolution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'result' @:: Lens' ResolveActivity (Prelude.Maybe Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityResolution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.isLocal' @:: Lens' ResolveActivity Prelude.Bool@ -}
+data ResolveActivity
+  = ResolveActivity'_constructor {_ResolveActivity'seq :: !Data.Word.Word32,
+                                  _ResolveActivity'result :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityResolution),
+                                  _ResolveActivity'isLocal :: !Prelude.Bool,
+                                  _ResolveActivity'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveActivity where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveActivity "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveActivity'seq
+           (\ x__ y__ -> x__ {_ResolveActivity'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveActivity "result" Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityResolution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveActivity'result
+           (\ x__ y__ -> x__ {_ResolveActivity'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResolveActivity "maybe'result" (Prelude.Maybe Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityResolution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveActivity'result
+           (\ x__ y__ -> x__ {_ResolveActivity'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveActivity "isLocal" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveActivity'isLocal
+           (\ x__ y__ -> x__ {_ResolveActivity'isLocal = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveActivity where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.ResolveActivity"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIResolveActivity\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2C\n\
+      \\ACKresult\CAN\STX \SOH(\v2+.coresdk.activity_result.ActivityResolutionR\ACKresult\DC2\EM\n\
+      \\bis_local\CAN\ETX \SOH(\bR\aisLocal"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveActivity
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult.ActivityResolution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor ResolveActivity
+        isLocal__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_local"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"isLocal")) ::
+              Data.ProtoLens.FieldDescriptor ResolveActivity
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, result__field_descriptor),
+           (Data.ProtoLens.Tag 3, isLocal__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveActivity'_unknownFields
+        (\ x__ y__ -> x__ {_ResolveActivity'_unknownFields = y__})
+  defMessage
+    = ResolveActivity'_constructor
+        {_ResolveActivity'seq = Data.ProtoLens.fieldDefault,
+         _ResolveActivity'result = Prelude.Nothing,
+         _ResolveActivity'isLocal = Data.ProtoLens.fieldDefault,
+         _ResolveActivity'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveActivity
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveActivity
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_local"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"isLocal") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResolveActivity"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"isLocal") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData ResolveActivity where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveActivity'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveActivity'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveActivity'result x__)
+                   (Control.DeepSeq.deepseq (_ResolveActivity'isLocal x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveChildWorkflowExecution Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.result' @:: Lens' ResolveChildWorkflowExecution Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowResult@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'result' @:: Lens' ResolveChildWorkflowExecution (Prelude.Maybe Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowResult)@ -}
+data ResolveChildWorkflowExecution
+  = ResolveChildWorkflowExecution'_constructor {_ResolveChildWorkflowExecution'seq :: !Data.Word.Word32,
+                                                _ResolveChildWorkflowExecution'result :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowResult),
+                                                _ResolveChildWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveChildWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecution "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecution'seq
+           (\ x__ y__ -> x__ {_ResolveChildWorkflowExecution'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecution "result" Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowResult where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecution'result
+           (\ x__ y__ -> x__ {_ResolveChildWorkflowExecution'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecution "maybe'result" (Prelude.Maybe Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowResult) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecution'result
+           (\ x__ y__ -> x__ {_ResolveChildWorkflowExecution'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveChildWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveChildWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSResolveChildWorkflowExecution\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2C\n\
+      \\ACKresult\CAN\STX \SOH(\v2+.coresdk.child_workflow.ChildWorkflowResultR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecution
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowResult)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveChildWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_ResolveChildWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = ResolveChildWorkflowExecution'_constructor
+        {_ResolveChildWorkflowExecution'seq = Data.ProtoLens.fieldDefault,
+         _ResolveChildWorkflowExecution'result = Prelude.Nothing,
+         _ResolveChildWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveChildWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveChildWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResolveChildWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResolveChildWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveChildWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveChildWorkflowExecution'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveChildWorkflowExecution'result x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveChildWorkflowExecutionStart Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'status' @:: Lens' ResolveChildWorkflowExecutionStart (Prelude.Maybe ResolveChildWorkflowExecutionStart'Status)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'succeeded' @:: Lens' ResolveChildWorkflowExecutionStart (Prelude.Maybe ResolveChildWorkflowExecutionStartSuccess)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.succeeded' @:: Lens' ResolveChildWorkflowExecutionStart ResolveChildWorkflowExecutionStartSuccess@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'failed' @:: Lens' ResolveChildWorkflowExecutionStart (Prelude.Maybe ResolveChildWorkflowExecutionStartFailure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.failed' @:: Lens' ResolveChildWorkflowExecutionStart ResolveChildWorkflowExecutionStartFailure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'cancelled' @:: Lens' ResolveChildWorkflowExecutionStart (Prelude.Maybe ResolveChildWorkflowExecutionStartCancelled)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.cancelled' @:: Lens' ResolveChildWorkflowExecutionStart ResolveChildWorkflowExecutionStartCancelled@ -}
+data ResolveChildWorkflowExecutionStart
+  = ResolveChildWorkflowExecutionStart'_constructor {_ResolveChildWorkflowExecutionStart'seq :: !Data.Word.Word32,
+                                                     _ResolveChildWorkflowExecutionStart'status :: !(Prelude.Maybe ResolveChildWorkflowExecutionStart'Status),
+                                                     _ResolveChildWorkflowExecutionStart'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveChildWorkflowExecutionStart where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ResolveChildWorkflowExecutionStart'Status
+  = ResolveChildWorkflowExecutionStart'Succeeded !ResolveChildWorkflowExecutionStartSuccess |
+    ResolveChildWorkflowExecutionStart'Failed !ResolveChildWorkflowExecutionStartFailure |
+    ResolveChildWorkflowExecutionStart'Cancelled !ResolveChildWorkflowExecutionStartCancelled
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'seq
+           (\ x__ y__ -> x__ {_ResolveChildWorkflowExecutionStart'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "maybe'status" (Prelude.Maybe ResolveChildWorkflowExecutionStart'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "maybe'succeeded" (Prelude.Maybe ResolveChildWorkflowExecutionStartSuccess) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResolveChildWorkflowExecutionStart'Succeeded x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap ResolveChildWorkflowExecutionStart'Succeeded y__))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "succeeded" ResolveChildWorkflowExecutionStartSuccess where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResolveChildWorkflowExecutionStart'Succeeded x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap ResolveChildWorkflowExecutionStart'Succeeded y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "maybe'failed" (Prelude.Maybe ResolveChildWorkflowExecutionStartFailure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResolveChildWorkflowExecutionStart'Failed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap ResolveChildWorkflowExecutionStart'Failed y__))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "failed" ResolveChildWorkflowExecutionStartFailure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResolveChildWorkflowExecutionStart'Failed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap ResolveChildWorkflowExecutionStart'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "maybe'cancelled" (Prelude.Maybe ResolveChildWorkflowExecutionStartCancelled) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResolveChildWorkflowExecutionStart'Cancelled x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap ResolveChildWorkflowExecutionStart'Cancelled y__))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStart "cancelled" ResolveChildWorkflowExecutionStartCancelled where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStart'status
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStart'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResolveChildWorkflowExecutionStart'Cancelled x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap ResolveChildWorkflowExecutionStart'Cancelled y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ResolveChildWorkflowExecutionStart where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveChildWorkflowExecutionStart"
+  packedMessageDescriptor _
+    = "\n\
+      \\"ResolveChildWorkflowExecutionStart\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2f\n\
+      \\tsucceeded\CAN\STX \SOH(\v2F.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\NULR\tsucceeded\DC2`\n\
+      \\ACKfailed\CAN\ETX \SOH(\v2F.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\NULR\ACKfailed\DC2h\n\
+      \\tcancelled\CAN\EOT \SOH(\v2H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\NULR\tcancelledB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStart
+        succeeded__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "succeeded"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveChildWorkflowExecutionStartSuccess)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'succeeded")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStart
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveChildWorkflowExecutionStartFailure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStart
+        cancelled__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancelled"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveChildWorkflowExecutionStartCancelled)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelled")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStart
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, succeeded__field_descriptor),
+           (Data.ProtoLens.Tag 3, failed__field_descriptor),
+           (Data.ProtoLens.Tag 4, cancelled__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveChildWorkflowExecutionStart'_unknownFields
+        (\ x__ y__
+           -> x__ {_ResolveChildWorkflowExecutionStart'_unknownFields = y__})
+  defMessage
+    = ResolveChildWorkflowExecutionStart'_constructor
+        {_ResolveChildWorkflowExecutionStart'seq = Data.ProtoLens.fieldDefault,
+         _ResolveChildWorkflowExecutionStart'status = Prelude.Nothing,
+         _ResolveChildWorkflowExecutionStart'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveChildWorkflowExecutionStart
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveChildWorkflowExecutionStart
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "succeeded"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"succeeded") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancelled"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelled") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ResolveChildWorkflowExecutionStart"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (ResolveChildWorkflowExecutionStart'Succeeded v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (ResolveChildWorkflowExecutionStart'Failed v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (ResolveChildWorkflowExecutionStart'Cancelled v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResolveChildWorkflowExecutionStart where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveChildWorkflowExecutionStart'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveChildWorkflowExecutionStart'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveChildWorkflowExecutionStart'status x__) ()))
+instance Control.DeepSeq.NFData ResolveChildWorkflowExecutionStart'Status where
+  rnf (ResolveChildWorkflowExecutionStart'Succeeded x__)
+    = Control.DeepSeq.rnf x__
+  rnf (ResolveChildWorkflowExecutionStart'Failed x__)
+    = Control.DeepSeq.rnf x__
+  rnf (ResolveChildWorkflowExecutionStart'Cancelled x__)
+    = Control.DeepSeq.rnf x__
+_ResolveChildWorkflowExecutionStart'Succeeded ::
+  Data.ProtoLens.Prism.Prism' ResolveChildWorkflowExecutionStart'Status ResolveChildWorkflowExecutionStartSuccess
+_ResolveChildWorkflowExecutionStart'Succeeded
+  = Data.ProtoLens.Prism.prism'
+      ResolveChildWorkflowExecutionStart'Succeeded
+      (\ p__
+         -> case p__ of
+              (ResolveChildWorkflowExecutionStart'Succeeded p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResolveChildWorkflowExecutionStart'Failed ::
+  Data.ProtoLens.Prism.Prism' ResolveChildWorkflowExecutionStart'Status ResolveChildWorkflowExecutionStartFailure
+_ResolveChildWorkflowExecutionStart'Failed
+  = Data.ProtoLens.Prism.prism'
+      ResolveChildWorkflowExecutionStart'Failed
+      (\ p__
+         -> case p__ of
+              (ResolveChildWorkflowExecutionStart'Failed p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResolveChildWorkflowExecutionStart'Cancelled ::
+  Data.ProtoLens.Prism.Prism' ResolveChildWorkflowExecutionStart'Status ResolveChildWorkflowExecutionStartCancelled
+_ResolveChildWorkflowExecutionStart'Cancelled
+  = Data.ProtoLens.Prism.prism'
+      ResolveChildWorkflowExecutionStart'Cancelled
+      (\ p__
+         -> case p__ of
+              (ResolveChildWorkflowExecutionStart'Cancelled p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.failure' @:: Lens' ResolveChildWorkflowExecutionStartCancelled Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'failure' @:: Lens' ResolveChildWorkflowExecutionStartCancelled (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data ResolveChildWorkflowExecutionStartCancelled
+  = ResolveChildWorkflowExecutionStartCancelled'_constructor {_ResolveChildWorkflowExecutionStartCancelled'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                              _ResolveChildWorkflowExecutionStartCancelled'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveChildWorkflowExecutionStartCancelled where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStartCancelled "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStartCancelled'failure
+           (\ x__ y__
+              -> x__
+                   {_ResolveChildWorkflowExecutionStartCancelled'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStartCancelled "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStartCancelled'failure
+           (\ x__ y__
+              -> x__
+                   {_ResolveChildWorkflowExecutionStartCancelled'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveChildWorkflowExecutionStartCancelled where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelled"
+  packedMessageDescriptor _
+    = "\n\
+      \+ResolveChildWorkflowExecutionStartCancelled\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStartCancelled
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveChildWorkflowExecutionStartCancelled'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ResolveChildWorkflowExecutionStartCancelled'_unknownFields = y__})
+  defMessage
+    = ResolveChildWorkflowExecutionStartCancelled'_constructor
+        {_ResolveChildWorkflowExecutionStartCancelled'failure = Prelude.Nothing,
+         _ResolveChildWorkflowExecutionStartCancelled'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveChildWorkflowExecutionStartCancelled
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveChildWorkflowExecutionStartCancelled
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ResolveChildWorkflowExecutionStartCancelled"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ResolveChildWorkflowExecutionStartCancelled where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveChildWorkflowExecutionStartCancelled'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveChildWorkflowExecutionStartCancelled'failure x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowId' @:: Lens' ResolveChildWorkflowExecutionStartFailure Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.workflowType' @:: Lens' ResolveChildWorkflowExecutionStartFailure Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.cause' @:: Lens' ResolveChildWorkflowExecutionStartFailure Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.StartChildWorkflowExecutionFailedCause@ -}
+data ResolveChildWorkflowExecutionStartFailure
+  = ResolveChildWorkflowExecutionStartFailure'_constructor {_ResolveChildWorkflowExecutionStartFailure'workflowId :: !Data.Text.Text,
+                                                            _ResolveChildWorkflowExecutionStartFailure'workflowType :: !Data.Text.Text,
+                                                            _ResolveChildWorkflowExecutionStartFailure'cause :: !Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.StartChildWorkflowExecutionFailedCause,
+                                                            _ResolveChildWorkflowExecutionStartFailure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveChildWorkflowExecutionStartFailure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStartFailure "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStartFailure'workflowId
+           (\ x__ y__
+              -> x__
+                   {_ResolveChildWorkflowExecutionStartFailure'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStartFailure "workflowType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStartFailure'workflowType
+           (\ x__ y__
+              -> x__
+                   {_ResolveChildWorkflowExecutionStartFailure'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStartFailure "cause" Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.StartChildWorkflowExecutionFailedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStartFailure'cause
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStartFailure'cause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveChildWorkflowExecutionStartFailure where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailure"
+  packedMessageDescriptor _
+    = "\n\
+      \)ResolveChildWorkflowExecutionStartFailure\DC2\US\n\
+      \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+      \workflowId\DC2#\n\
+      \\rworkflow_type\CAN\STX \SOH(\tR\fworkflowType\DC2T\n\
+      \\ENQcause\CAN\ETX \SOH(\SO2>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCauseR\ENQcause"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStartFailure
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStartFailure
+        cause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.StartChildWorkflowExecutionFailedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"cause")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStartFailure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 3, cause__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveChildWorkflowExecutionStartFailure'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ResolveChildWorkflowExecutionStartFailure'_unknownFields = y__})
+  defMessage
+    = ResolveChildWorkflowExecutionStartFailure'_constructor
+        {_ResolveChildWorkflowExecutionStartFailure'workflowId = Data.ProtoLens.fieldDefault,
+         _ResolveChildWorkflowExecutionStartFailure'workflowType = Data.ProtoLens.fieldDefault,
+         _ResolveChildWorkflowExecutionStartFailure'cause = Data.ProtoLens.fieldDefault,
+         _ResolveChildWorkflowExecutionStartFailure'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveChildWorkflowExecutionStartFailure
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveChildWorkflowExecutionStartFailure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cause"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"cause") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ResolveChildWorkflowExecutionStartFailure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowType") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"cause") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData ResolveChildWorkflowExecutionStartFailure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveChildWorkflowExecutionStartFailure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveChildWorkflowExecutionStartFailure'workflowId x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveChildWorkflowExecutionStartFailure'workflowType x__)
+                   (Control.DeepSeq.deepseq
+                      (_ResolveChildWorkflowExecutionStartFailure'cause x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.runId' @:: Lens' ResolveChildWorkflowExecutionStartSuccess Data.Text.Text@ -}
+data ResolveChildWorkflowExecutionStartSuccess
+  = ResolveChildWorkflowExecutionStartSuccess'_constructor {_ResolveChildWorkflowExecutionStartSuccess'runId :: !Data.Text.Text,
+                                                            _ResolveChildWorkflowExecutionStartSuccess'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveChildWorkflowExecutionStartSuccess where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveChildWorkflowExecutionStartSuccess "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveChildWorkflowExecutionStartSuccess'runId
+           (\ x__ y__
+              -> x__ {_ResolveChildWorkflowExecutionStartSuccess'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveChildWorkflowExecutionStartSuccess where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccess"
+  packedMessageDescriptor _
+    = "\n\
+      \)ResolveChildWorkflowExecutionStartSuccess\DC2\NAK\n\
+      \\ACKrun_id\CAN\SOH \SOH(\tR\ENQrunId"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor ResolveChildWorkflowExecutionStartSuccess
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, runId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveChildWorkflowExecutionStartSuccess'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ResolveChildWorkflowExecutionStartSuccess'_unknownFields = y__})
+  defMessage
+    = ResolveChildWorkflowExecutionStartSuccess'_constructor
+        {_ResolveChildWorkflowExecutionStartSuccess'runId = Data.ProtoLens.fieldDefault,
+         _ResolveChildWorkflowExecutionStartSuccess'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveChildWorkflowExecutionStartSuccess
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveChildWorkflowExecutionStartSuccess
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ResolveChildWorkflowExecutionStartSuccess"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ResolveChildWorkflowExecutionStartSuccess where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveChildWorkflowExecutionStartSuccess'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveChildWorkflowExecutionStartSuccess'runId x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveNexusOperation Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.result' @:: Lens' ResolveNexusOperation Proto.Temporal.Sdk.Core.Nexus.Nexus.NexusOperationResult@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'result' @:: Lens' ResolveNexusOperation (Prelude.Maybe Proto.Temporal.Sdk.Core.Nexus.Nexus.NexusOperationResult)@ -}
+data ResolveNexusOperation
+  = ResolveNexusOperation'_constructor {_ResolveNexusOperation'seq :: !Data.Word.Word32,
+                                        _ResolveNexusOperation'result :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.Nexus.Nexus.NexusOperationResult),
+                                        _ResolveNexusOperation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveNexusOperation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveNexusOperation "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperation'seq
+           (\ x__ y__ -> x__ {_ResolveNexusOperation'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveNexusOperation "result" Proto.Temporal.Sdk.Core.Nexus.Nexus.NexusOperationResult where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperation'result
+           (\ x__ y__ -> x__ {_ResolveNexusOperation'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResolveNexusOperation "maybe'result" (Prelude.Maybe Proto.Temporal.Sdk.Core.Nexus.Nexus.NexusOperationResult) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperation'result
+           (\ x__ y__ -> x__ {_ResolveNexusOperation'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveNexusOperation where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveNexusOperation"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKResolveNexusOperation\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2;\n\
+      \\ACKresult\CAN\STX \SOH(\v2#.coresdk.nexus.NexusOperationResultR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveNexusOperation
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Nexus.Nexus.NexusOperationResult)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor ResolveNexusOperation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveNexusOperation'_unknownFields
+        (\ x__ y__ -> x__ {_ResolveNexusOperation'_unknownFields = y__})
+  defMessage
+    = ResolveNexusOperation'_constructor
+        {_ResolveNexusOperation'seq = Data.ProtoLens.fieldDefault,
+         _ResolveNexusOperation'result = Prelude.Nothing,
+         _ResolveNexusOperation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveNexusOperation
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveNexusOperation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResolveNexusOperation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResolveNexusOperation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveNexusOperation'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveNexusOperation'seq x__)
+                (Control.DeepSeq.deepseq (_ResolveNexusOperation'result x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveNexusOperationStart Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'status' @:: Lens' ResolveNexusOperationStart (Prelude.Maybe ResolveNexusOperationStart'Status)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'operationId' @:: Lens' ResolveNexusOperationStart (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.operationId' @:: Lens' ResolveNexusOperationStart Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'startedSync' @:: Lens' ResolveNexusOperationStart (Prelude.Maybe Prelude.Bool)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.startedSync' @:: Lens' ResolveNexusOperationStart Prelude.Bool@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'cancelledBeforeStart' @:: Lens' ResolveNexusOperationStart (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.cancelledBeforeStart' @:: Lens' ResolveNexusOperationStart Proto.Temporal.Api.Failure.V1.Message.Failure@ -}
+data ResolveNexusOperationStart
+  = ResolveNexusOperationStart'_constructor {_ResolveNexusOperationStart'seq :: !Data.Word.Word32,
+                                             _ResolveNexusOperationStart'status :: !(Prelude.Maybe ResolveNexusOperationStart'Status),
+                                             _ResolveNexusOperationStart'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveNexusOperationStart where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data ResolveNexusOperationStart'Status
+  = ResolveNexusOperationStart'OperationId !Data.Text.Text |
+    ResolveNexusOperationStart'StartedSync !Prelude.Bool |
+    ResolveNexusOperationStart'CancelledBeforeStart !Proto.Temporal.Api.Failure.V1.Message.Failure
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'seq
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "maybe'status" (Prelude.Maybe ResolveNexusOperationStart'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "maybe'operationId" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResolveNexusOperationStart'OperationId x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap ResolveNexusOperationStart'OperationId y__))
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "operationId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResolveNexusOperationStart'OperationId x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap ResolveNexusOperationStart'OperationId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "maybe'startedSync" (Prelude.Maybe Prelude.Bool) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResolveNexusOperationStart'StartedSync x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap ResolveNexusOperationStart'StartedSync y__))
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "startedSync" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResolveNexusOperationStart'StartedSync x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap ResolveNexusOperationStart'StartedSync y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "maybe'cancelledBeforeStart" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (ResolveNexusOperationStart'CancelledBeforeStart x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   ResolveNexusOperationStart'CancelledBeforeStart y__))
+instance Data.ProtoLens.Field.HasField ResolveNexusOperationStart "cancelledBeforeStart" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveNexusOperationStart'status
+           (\ x__ y__ -> x__ {_ResolveNexusOperationStart'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (ResolveNexusOperationStart'CancelledBeforeStart x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      ResolveNexusOperationStart'CancelledBeforeStart y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message ResolveNexusOperationStart where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveNexusOperationStart"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBResolveNexusOperationStart\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2#\n\
+      \\foperation_id\CAN\STX \SOH(\tH\NULR\voperationId\DC2#\n\
+      \\fstarted_sync\CAN\ETX \SOH(\bH\NULR\vstartedSync\DC2X\n\
+      \\SYNcancelled_before_start\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\DC4cancelledBeforeStartB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveNexusOperationStart
+        operationId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'operationId")) ::
+              Data.ProtoLens.FieldDescriptor ResolveNexusOperationStart
+        startedSync__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "started_sync"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startedSync")) ::
+              Data.ProtoLens.FieldDescriptor ResolveNexusOperationStart
+        cancelledBeforeStart__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancelled_before_start"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelledBeforeStart")) ::
+              Data.ProtoLens.FieldDescriptor ResolveNexusOperationStart
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, operationId__field_descriptor),
+           (Data.ProtoLens.Tag 3, startedSync__field_descriptor),
+           (Data.ProtoLens.Tag 4, cancelledBeforeStart__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveNexusOperationStart'_unknownFields
+        (\ x__ y__
+           -> x__ {_ResolveNexusOperationStart'_unknownFields = y__})
+  defMessage
+    = ResolveNexusOperationStart'_constructor
+        {_ResolveNexusOperationStart'seq = Data.ProtoLens.fieldDefault,
+         _ResolveNexusOperationStart'status = Prelude.Nothing,
+         _ResolveNexusOperationStart'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveNexusOperationStart
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveNexusOperationStart
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operationId") y x)
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "started_sync"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startedSync") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancelled_before_start"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelledBeforeStart") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResolveNexusOperationStart"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (ResolveNexusOperationStart'OperationId v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.Text.Encoding.encodeUtf8 v)
+                   (Prelude.Just (ResolveNexusOperationStart'StartedSync v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                          ((Prelude..)
+                             Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                             v)
+                   (Prelude.Just (ResolveNexusOperationStart'CancelledBeforeStart v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResolveNexusOperationStart where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveNexusOperationStart'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveNexusOperationStart'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveNexusOperationStart'status x__) ()))
+instance Control.DeepSeq.NFData ResolveNexusOperationStart'Status where
+  rnf (ResolveNexusOperationStart'OperationId x__)
+    = Control.DeepSeq.rnf x__
+  rnf (ResolveNexusOperationStart'StartedSync x__)
+    = Control.DeepSeq.rnf x__
+  rnf (ResolveNexusOperationStart'CancelledBeforeStart x__)
+    = Control.DeepSeq.rnf x__
+_ResolveNexusOperationStart'OperationId ::
+  Data.ProtoLens.Prism.Prism' ResolveNexusOperationStart'Status Data.Text.Text
+_ResolveNexusOperationStart'OperationId
+  = Data.ProtoLens.Prism.prism'
+      ResolveNexusOperationStart'OperationId
+      (\ p__
+         -> case p__ of
+              (ResolveNexusOperationStart'OperationId p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResolveNexusOperationStart'StartedSync ::
+  Data.ProtoLens.Prism.Prism' ResolveNexusOperationStart'Status Prelude.Bool
+_ResolveNexusOperationStart'StartedSync
+  = Data.ProtoLens.Prism.prism'
+      ResolveNexusOperationStart'StartedSync
+      (\ p__
+         -> case p__ of
+              (ResolveNexusOperationStart'StartedSync p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_ResolveNexusOperationStart'CancelledBeforeStart ::
+  Data.ProtoLens.Prism.Prism' ResolveNexusOperationStart'Status Proto.Temporal.Api.Failure.V1.Message.Failure
+_ResolveNexusOperationStart'CancelledBeforeStart
+  = Data.ProtoLens.Prism.prism'
+      ResolveNexusOperationStart'CancelledBeforeStart
+      (\ p__
+         -> case p__ of
+              (ResolveNexusOperationStart'CancelledBeforeStart p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveRequestCancelExternalWorkflow Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.failure' @:: Lens' ResolveRequestCancelExternalWorkflow Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'failure' @:: Lens' ResolveRequestCancelExternalWorkflow (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data ResolveRequestCancelExternalWorkflow
+  = ResolveRequestCancelExternalWorkflow'_constructor {_ResolveRequestCancelExternalWorkflow'seq :: !Data.Word.Word32,
+                                                       _ResolveRequestCancelExternalWorkflow'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                       _ResolveRequestCancelExternalWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveRequestCancelExternalWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveRequestCancelExternalWorkflow "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveRequestCancelExternalWorkflow'seq
+           (\ x__ y__
+              -> x__ {_ResolveRequestCancelExternalWorkflow'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveRequestCancelExternalWorkflow "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveRequestCancelExternalWorkflow'failure
+           (\ x__ y__
+              -> x__ {_ResolveRequestCancelExternalWorkflow'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResolveRequestCancelExternalWorkflow "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveRequestCancelExternalWorkflow'failure
+           (\ x__ y__
+              -> x__ {_ResolveRequestCancelExternalWorkflow'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveRequestCancelExternalWorkflow where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveRequestCancelExternalWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \$ResolveRequestCancelExternalWorkflow\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2:\n\
+      \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveRequestCancelExternalWorkflow
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ResolveRequestCancelExternalWorkflow
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveRequestCancelExternalWorkflow'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ResolveRequestCancelExternalWorkflow'_unknownFields = y__})
+  defMessage
+    = ResolveRequestCancelExternalWorkflow'_constructor
+        {_ResolveRequestCancelExternalWorkflow'seq = Data.ProtoLens.fieldDefault,
+         _ResolveRequestCancelExternalWorkflow'failure = Prelude.Nothing,
+         _ResolveRequestCancelExternalWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveRequestCancelExternalWorkflow
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveRequestCancelExternalWorkflow
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "ResolveRequestCancelExternalWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResolveRequestCancelExternalWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveRequestCancelExternalWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveRequestCancelExternalWorkflow'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveRequestCancelExternalWorkflow'failure x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.seq' @:: Lens' ResolveSignalExternalWorkflow Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.failure' @:: Lens' ResolveSignalExternalWorkflow Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'failure' @:: Lens' ResolveSignalExternalWorkflow (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data ResolveSignalExternalWorkflow
+  = ResolveSignalExternalWorkflow'_constructor {_ResolveSignalExternalWorkflow'seq :: !Data.Word.Word32,
+                                                _ResolveSignalExternalWorkflow'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                                _ResolveSignalExternalWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ResolveSignalExternalWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ResolveSignalExternalWorkflow "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveSignalExternalWorkflow'seq
+           (\ x__ y__ -> x__ {_ResolveSignalExternalWorkflow'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ResolveSignalExternalWorkflow "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveSignalExternalWorkflow'failure
+           (\ x__ y__ -> x__ {_ResolveSignalExternalWorkflow'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ResolveSignalExternalWorkflow "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ResolveSignalExternalWorkflow'failure
+           (\ x__ y__ -> x__ {_ResolveSignalExternalWorkflow'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ResolveSignalExternalWorkflow where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.ResolveSignalExternalWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \\GSResolveSignalExternalWorkflow\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2:\n\
+      \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ResolveSignalExternalWorkflow
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor ResolveSignalExternalWorkflow
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ResolveSignalExternalWorkflow'_unknownFields
+        (\ x__ y__
+           -> x__ {_ResolveSignalExternalWorkflow'_unknownFields = y__})
+  defMessage
+    = ResolveSignalExternalWorkflow'_constructor
+        {_ResolveSignalExternalWorkflow'seq = Data.ProtoLens.fieldDefault,
+         _ResolveSignalExternalWorkflow'failure = Prelude.Nothing,
+         _ResolveSignalExternalWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ResolveSignalExternalWorkflow
+          -> Data.ProtoLens.Encoding.Bytes.Parser ResolveSignalExternalWorkflow
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ResolveSignalExternalWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ResolveSignalExternalWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ResolveSignalExternalWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ResolveSignalExternalWorkflow'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ResolveSignalExternalWorkflow'failure x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.signalName' @:: Lens' SignalWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.input' @:: Lens' SignalWorkflow [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.vec'input' @:: Lens' SignalWorkflow (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.identity' @:: Lens' SignalWorkflow Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.headers' @:: Lens' SignalWorkflow (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data SignalWorkflow
+  = SignalWorkflow'_constructor {_SignalWorkflow'signalName :: !Data.Text.Text,
+                                 _SignalWorkflow'input :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                 _SignalWorkflow'identity :: !Data.Text.Text,
+                                 _SignalWorkflow'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                 _SignalWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SignalWorkflow "signalName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'signalName
+           (\ x__ y__ -> x__ {_SignalWorkflow'signalName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalWorkflow "input" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'input
+           (\ x__ y__ -> x__ {_SignalWorkflow'input = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField SignalWorkflow "vec'input" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'input
+           (\ x__ y__ -> x__ {_SignalWorkflow'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalWorkflow "identity" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'identity
+           (\ x__ y__ -> x__ {_SignalWorkflow'identity = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalWorkflow "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'headers
+           (\ x__ y__ -> x__ {_SignalWorkflow'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SignalWorkflow where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.SignalWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOSignalWorkflow\DC2\US\n\
+      \\vsignal_name\CAN\SOH \SOH(\tR\n\
+      \signalName\DC25\n\
+      \\ENQinput\CAN\STX \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2\SUB\n\
+      \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2R\n\
+      \\aheaders\CAN\ENQ \ETX(\v28.coresdk.workflow_activation.SignalWorkflow.HeadersEntryR\aheaders\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        signalName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"signalName")) ::
+              Data.ProtoLens.FieldDescriptor SignalWorkflow
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"input")) ::
+              Data.ProtoLens.FieldDescriptor SignalWorkflow
+        identity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "identity"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"identity")) ::
+              Data.ProtoLens.FieldDescriptor SignalWorkflow
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalWorkflow'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor SignalWorkflow
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, signalName__field_descriptor),
+           (Data.ProtoLens.Tag 2, input__field_descriptor),
+           (Data.ProtoLens.Tag 3, identity__field_descriptor),
+           (Data.ProtoLens.Tag 5, headers__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalWorkflow'_unknownFields
+        (\ x__ y__ -> x__ {_SignalWorkflow'_unknownFields = y__})
+  defMessage
+    = SignalWorkflow'_constructor
+        {_SignalWorkflow'signalName = Data.ProtoLens.fieldDefault,
+         _SignalWorkflow'input = Data.Vector.Generic.empty,
+         _SignalWorkflow'identity = Data.ProtoLens.fieldDefault,
+         _SignalWorkflow'headers = Data.Map.empty,
+         _SignalWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalWorkflow
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser SignalWorkflow
+        loop x mutable'input
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'input)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'input") frozen'input x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "signal_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"signalName") y x)
+                                  mutable'input
+                        18
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "input"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'input y)
+                                loop x v
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "identity"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"identity") y x)
+                                  mutable'input
+                        42
+                          -> do !(entry :: SignalWorkflow'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                             (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                 Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                   (Prelude.fromIntegral
+                                                                                      len)
+                                                                                   Data.ProtoLens.parseMessage)
+                                                                             "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'input)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'input
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'input)
+          "SignalWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"signalName") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage _v))
+                   (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'input") _x))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"identity") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (Data.Monoid.mconcat
+                         (Prelude.map
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                             (Data.ProtoLens.defMessage ::
+                                                SignalWorkflow'HeadersEntry)))))
+                            (Data.Map.toList
+                               (Lens.Family2.view (Data.ProtoLens.Field.field @"headers") _x))))
+                      (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                         (Lens.Family2.view Data.ProtoLens.unknownFields _x)))))
+instance Control.DeepSeq.NFData SignalWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SignalWorkflow'signalName x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalWorkflow'input x__)
+                   (Control.DeepSeq.deepseq
+                      (_SignalWorkflow'identity x__)
+                      (Control.DeepSeq.deepseq (_SignalWorkflow'headers x__) ()))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.key' @:: Lens' SignalWorkflow'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.value' @:: Lens' SignalWorkflow'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'value' @:: Lens' SignalWorkflow'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data SignalWorkflow'HeadersEntry
+  = SignalWorkflow'HeadersEntry'_constructor {_SignalWorkflow'HeadersEntry'key :: !Data.Text.Text,
+                                              _SignalWorkflow'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                              _SignalWorkflow'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalWorkflow'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SignalWorkflow'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'HeadersEntry'key
+           (\ x__ y__ -> x__ {_SignalWorkflow'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalWorkflow'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'HeadersEntry'value
+           (\ x__ y__ -> x__ {_SignalWorkflow'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalWorkflow'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalWorkflow'HeadersEntry'value
+           (\ x__ y__ -> x__ {_SignalWorkflow'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SignalWorkflow'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.SignalWorkflow.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor SignalWorkflow'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor SignalWorkflow'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalWorkflow'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_SignalWorkflow'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = SignalWorkflow'HeadersEntry'_constructor
+        {_SignalWorkflow'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _SignalWorkflow'HeadersEntry'value = Prelude.Nothing,
+         _SignalWorkflow'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalWorkflow'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser SignalWorkflow'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData SignalWorkflow'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalWorkflow'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SignalWorkflow'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalWorkflow'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.randomnessSeed' @:: Lens' UpdateRandomSeed Data.Word.Word64@ -}
+data UpdateRandomSeed
+  = UpdateRandomSeed'_constructor {_UpdateRandomSeed'randomnessSeed :: !Data.Word.Word64,
+                                   _UpdateRandomSeed'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateRandomSeed where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpdateRandomSeed "randomnessSeed" Data.Word.Word64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateRandomSeed'randomnessSeed
+           (\ x__ y__ -> x__ {_UpdateRandomSeed'randomnessSeed = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpdateRandomSeed where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.UpdateRandomSeed"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEUpdateRandomSeed\DC2'\n\
+      \\SIrandomness_seed\CAN\SOH \SOH(\EOTR\SOrandomnessSeed"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        randomnessSeed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "randomness_seed"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"randomnessSeed")) ::
+              Data.ProtoLens.FieldDescriptor UpdateRandomSeed
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, randomnessSeed__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateRandomSeed'_unknownFields
+        (\ x__ y__ -> x__ {_UpdateRandomSeed'_unknownFields = y__})
+  defMessage
+    = UpdateRandomSeed'_constructor
+        {_UpdateRandomSeed'randomnessSeed = Data.ProtoLens.fieldDefault,
+         _UpdateRandomSeed'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateRandomSeed
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateRandomSeed
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       Data.ProtoLens.Encoding.Bytes.getVarInt "randomness_seed"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"randomnessSeed") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpdateRandomSeed"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"randomnessSeed") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData UpdateRandomSeed where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateRandomSeed'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_UpdateRandomSeed'randomnessSeed x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.runId' @:: Lens' WorkflowActivation Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.timestamp' @:: Lens' WorkflowActivation Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'timestamp' @:: Lens' WorkflowActivation (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.isReplaying' @:: Lens' WorkflowActivation Prelude.Bool@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.historyLength' @:: Lens' WorkflowActivation Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.jobs' @:: Lens' WorkflowActivation [WorkflowActivationJob]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.vec'jobs' @:: Lens' WorkflowActivation (Data.Vector.Vector WorkflowActivationJob)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.availableInternalFlags' @:: Lens' WorkflowActivation [Data.Word.Word32]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.vec'availableInternalFlags' @:: Lens' WorkflowActivation (Data.Vector.Unboxed.Vector Data.Word.Word32)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.historySizeBytes' @:: Lens' WorkflowActivation Data.Word.Word64@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.continueAsNewSuggested' @:: Lens' WorkflowActivation Prelude.Bool@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.deploymentVersionForCurrentTask' @:: Lens' WorkflowActivation Proto.Temporal.Sdk.Core.Common.Common.WorkerDeploymentVersion@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'deploymentVersionForCurrentTask' @:: Lens' WorkflowActivation (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.WorkerDeploymentVersion)@ -}
+data WorkflowActivation
+  = WorkflowActivation'_constructor {_WorkflowActivation'runId :: !Data.Text.Text,
+                                     _WorkflowActivation'timestamp :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                     _WorkflowActivation'isReplaying :: !Prelude.Bool,
+                                     _WorkflowActivation'historyLength :: !Data.Word.Word32,
+                                     _WorkflowActivation'jobs :: !(Data.Vector.Vector WorkflowActivationJob),
+                                     _WorkflowActivation'availableInternalFlags :: !(Data.Vector.Unboxed.Vector Data.Word.Word32),
+                                     _WorkflowActivation'historySizeBytes :: !Data.Word.Word64,
+                                     _WorkflowActivation'continueAsNewSuggested :: !Prelude.Bool,
+                                     _WorkflowActivation'deploymentVersionForCurrentTask :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.WorkerDeploymentVersion),
+                                     _WorkflowActivation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowActivation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField WorkflowActivation "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'runId
+           (\ x__ y__ -> x__ {_WorkflowActivation'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "timestamp" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'timestamp
+           (\ x__ y__ -> x__ {_WorkflowActivation'timestamp = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowActivation "maybe'timestamp" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'timestamp
+           (\ x__ y__ -> x__ {_WorkflowActivation'timestamp = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "isReplaying" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'isReplaying
+           (\ x__ y__ -> x__ {_WorkflowActivation'isReplaying = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "historyLength" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'historyLength
+           (\ x__ y__ -> x__ {_WorkflowActivation'historyLength = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "jobs" [WorkflowActivationJob] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'jobs
+           (\ x__ y__ -> x__ {_WorkflowActivation'jobs = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivation "vec'jobs" (Data.Vector.Vector WorkflowActivationJob) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'jobs
+           (\ x__ y__ -> x__ {_WorkflowActivation'jobs = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "availableInternalFlags" [Data.Word.Word32] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'availableInternalFlags
+           (\ x__ y__
+              -> x__ {_WorkflowActivation'availableInternalFlags = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivation "vec'availableInternalFlags" (Data.Vector.Unboxed.Vector Data.Word.Word32) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'availableInternalFlags
+           (\ x__ y__
+              -> x__ {_WorkflowActivation'availableInternalFlags = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "historySizeBytes" Data.Word.Word64 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'historySizeBytes
+           (\ x__ y__ -> x__ {_WorkflowActivation'historySizeBytes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "continueAsNewSuggested" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'continueAsNewSuggested
+           (\ x__ y__
+              -> x__ {_WorkflowActivation'continueAsNewSuggested = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivation "deploymentVersionForCurrentTask" Proto.Temporal.Sdk.Core.Common.Common.WorkerDeploymentVersion where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'deploymentVersionForCurrentTask
+           (\ x__ y__
+              -> x__
+                   {_WorkflowActivation'deploymentVersionForCurrentTask = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowActivation "maybe'deploymentVersionForCurrentTask" (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.WorkerDeploymentVersion) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivation'deploymentVersionForCurrentTask
+           (\ x__ y__
+              -> x__
+                   {_WorkflowActivation'deploymentVersionForCurrentTask = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message WorkflowActivation where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_activation.WorkflowActivation"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC2WorkflowActivation\DC2\NAK\n\
+      \\ACKrun_id\CAN\SOH \SOH(\tR\ENQrunId\DC28\n\
+      \\ttimestamp\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\ttimestamp\DC2!\n\
+      \\fis_replaying\CAN\ETX \SOH(\bR\visReplaying\DC2%\n\
+      \\SOhistory_length\CAN\EOT \SOH(\rR\rhistoryLength\DC2F\n\
+      \\EOTjobs\CAN\ENQ \ETX(\v22.coresdk.workflow_activation.WorkflowActivationJobR\EOTjobs\DC28\n\
+      \\CANavailable_internal_flags\CAN\ACK \ETX(\rR\SYNavailableInternalFlags\DC2,\n\
+      \\DC2history_size_bytes\CAN\a \SOH(\EOTR\DLEhistorySizeBytes\DC29\n\
+      \\EMcontinue_as_new_suggested\CAN\b \SOH(\bR\SYNcontinueAsNewSuggested\DC2u\n\
+      \#deployment_version_for_current_task\CAN\t \SOH(\v2'.coresdk.common.WorkerDeploymentVersionR\USdeploymentVersionForCurrentTask"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        timestamp__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "timestamp"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'timestamp")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        isReplaying__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "is_replaying"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"isReplaying")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        historyLength__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_length"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historyLength")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        jobs__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "jobs"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor WorkflowActivationJob)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"jobs")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        availableInternalFlags__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "available_internal_flags"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"availableInternalFlags")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        historySizeBytes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "history_size_bytes"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt64Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word64)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"historySizeBytes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        continueAsNewSuggested__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continue_as_new_suggested"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"continueAsNewSuggested")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+        deploymentVersionForCurrentTask__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deployment_version_for_current_task"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.WorkerDeploymentVersion)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'deploymentVersionForCurrentTask")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, runId__field_descriptor),
+           (Data.ProtoLens.Tag 2, timestamp__field_descriptor),
+           (Data.ProtoLens.Tag 3, isReplaying__field_descriptor),
+           (Data.ProtoLens.Tag 4, historyLength__field_descriptor),
+           (Data.ProtoLens.Tag 5, jobs__field_descriptor),
+           (Data.ProtoLens.Tag 6, availableInternalFlags__field_descriptor),
+           (Data.ProtoLens.Tag 7, historySizeBytes__field_descriptor),
+           (Data.ProtoLens.Tag 8, continueAsNewSuggested__field_descriptor),
+           (Data.ProtoLens.Tag 9, 
+            deploymentVersionForCurrentTask__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowActivation'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowActivation'_unknownFields = y__})
+  defMessage
+    = WorkflowActivation'_constructor
+        {_WorkflowActivation'runId = Data.ProtoLens.fieldDefault,
+         _WorkflowActivation'timestamp = Prelude.Nothing,
+         _WorkflowActivation'isReplaying = Data.ProtoLens.fieldDefault,
+         _WorkflowActivation'historyLength = Data.ProtoLens.fieldDefault,
+         _WorkflowActivation'jobs = Data.Vector.Generic.empty,
+         _WorkflowActivation'availableInternalFlags = Data.Vector.Generic.empty,
+         _WorkflowActivation'historySizeBytes = Data.ProtoLens.fieldDefault,
+         _WorkflowActivation'continueAsNewSuggested = Data.ProtoLens.fieldDefault,
+         _WorkflowActivation'deploymentVersionForCurrentTask = Prelude.Nothing,
+         _WorkflowActivation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowActivation
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word32
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld WorkflowActivationJob
+                -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowActivation
+        loop x mutable'availableInternalFlags mutable'jobs
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'availableInternalFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                         (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                            mutable'availableInternalFlags)
+                      frozen'jobs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'jobs)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'availableInternalFlags")
+                              frozen'availableInternalFlags
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'jobs") frozen'jobs x)))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "timestamp"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"timestamp") y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        24
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "is_replaying"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"isReplaying") y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "history_length"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historyLength") y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        42
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "jobs"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'jobs y)
+                                loop x mutable'availableInternalFlags v
+                        48
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.fromIntegral
+                                           Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                        "available_internal_flags"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'availableInternalFlags y)
+                                loop x v mutable'jobs
+                        50
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.fromIntegral
+                                                                       Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                                                    "available_internal_flags"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'availableInternalFlags)
+                                loop x y mutable'jobs
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       Data.ProtoLens.Encoding.Bytes.getVarInt "history_size_bytes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"historySizeBytes") y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        64
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "continue_as_new_suggested"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continueAsNewSuggested") y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "deployment_version_for_current_task"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"deploymentVersionForCurrentTask")
+                                     y x)
+                                  mutable'availableInternalFlags mutable'jobs
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'availableInternalFlags mutable'jobs
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'availableInternalFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                  Data.ProtoLens.Encoding.Growing.new
+              mutable'jobs <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'availableInternalFlags
+                mutable'jobs)
+          "WorkflowActivation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'timestamp") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"isReplaying") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 24)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                               _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view
+                               (Data.ProtoLens.Field.field @"historyLength") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage _v))
+                            (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'jobs") _x))
+                         ((Data.Monoid.<>)
+                            (let
+                               p = Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"vec'availableInternalFlags") _x
+                             in
+                               if Data.Vector.Generic.null p then
+                                   Data.Monoid.mempty
+                               else
+                                   (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                     ((\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                        (Data.ProtoLens.Encoding.Bytes.runBuilder
+                                           (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                              ((Prelude..)
+                                                 Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 Prelude.fromIntegral)
+                                              p))))
+                            ((Data.Monoid.<>)
+                               (let
+                                  _v
+                                    = Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"historySizeBytes") _x
+                                in
+                                  if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                      Data.Monoid.mempty
+                                  else
+                                      (Data.Monoid.<>)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                                        (Data.ProtoLens.Encoding.Bytes.putVarInt _v))
+                               ((Data.Monoid.<>)
+                                  (let
+                                     _v
+                                       = Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"continueAsNewSuggested") _x
+                                   in
+                                     if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                         Data.Monoid.mempty
+                                     else
+                                         (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt 64)
+                                           ((Prelude..)
+                                              Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (\ b -> if b then 1 else 0) _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field
+                                               @"maybe'deploymentVersionForCurrentTask")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                        (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))))
+instance Control.DeepSeq.NFData WorkflowActivation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowActivation'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowActivation'runId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowActivation'timestamp x__)
+                   (Control.DeepSeq.deepseq
+                      (_WorkflowActivation'isReplaying x__)
+                      (Control.DeepSeq.deepseq
+                         (_WorkflowActivation'historyLength x__)
+                         (Control.DeepSeq.deepseq
+                            (_WorkflowActivation'jobs x__)
+                            (Control.DeepSeq.deepseq
+                               (_WorkflowActivation'availableInternalFlags x__)
+                               (Control.DeepSeq.deepseq
+                                  (_WorkflowActivation'historySizeBytes x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_WorkflowActivation'continueAsNewSuggested x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_WorkflowActivation'deploymentVersionForCurrentTask x__)
+                                        ())))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'variant' @:: Lens' WorkflowActivationJob (Prelude.Maybe WorkflowActivationJob'Variant)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'initializeWorkflow' @:: Lens' WorkflowActivationJob (Prelude.Maybe InitializeWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.initializeWorkflow' @:: Lens' WorkflowActivationJob InitializeWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'fireTimer' @:: Lens' WorkflowActivationJob (Prelude.Maybe FireTimer)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.fireTimer' @:: Lens' WorkflowActivationJob FireTimer@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'updateRandomSeed' @:: Lens' WorkflowActivationJob (Prelude.Maybe UpdateRandomSeed)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.updateRandomSeed' @:: Lens' WorkflowActivationJob UpdateRandomSeed@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'queryWorkflow' @:: Lens' WorkflowActivationJob (Prelude.Maybe QueryWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.queryWorkflow' @:: Lens' WorkflowActivationJob QueryWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'cancelWorkflow' @:: Lens' WorkflowActivationJob (Prelude.Maybe CancelWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.cancelWorkflow' @:: Lens' WorkflowActivationJob CancelWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'signalWorkflow' @:: Lens' WorkflowActivationJob (Prelude.Maybe SignalWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.signalWorkflow' @:: Lens' WorkflowActivationJob SignalWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveActivity' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveActivity)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveActivity' @:: Lens' WorkflowActivationJob ResolveActivity@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'notifyHasPatch' @:: Lens' WorkflowActivationJob (Prelude.Maybe NotifyHasPatch)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.notifyHasPatch' @:: Lens' WorkflowActivationJob NotifyHasPatch@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveChildWorkflowExecutionStart' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveChildWorkflowExecutionStart)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveChildWorkflowExecutionStart' @:: Lens' WorkflowActivationJob ResolveChildWorkflowExecutionStart@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveChildWorkflowExecution' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveChildWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveChildWorkflowExecution' @:: Lens' WorkflowActivationJob ResolveChildWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveSignalExternalWorkflow' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveSignalExternalWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveSignalExternalWorkflow' @:: Lens' WorkflowActivationJob ResolveSignalExternalWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveRequestCancelExternalWorkflow' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveRequestCancelExternalWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveRequestCancelExternalWorkflow' @:: Lens' WorkflowActivationJob ResolveRequestCancelExternalWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'doUpdate' @:: Lens' WorkflowActivationJob (Prelude.Maybe DoUpdate)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.doUpdate' @:: Lens' WorkflowActivationJob DoUpdate@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveNexusOperationStart' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveNexusOperationStart)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveNexusOperationStart' @:: Lens' WorkflowActivationJob ResolveNexusOperationStart@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'resolveNexusOperation' @:: Lens' WorkflowActivationJob (Prelude.Maybe ResolveNexusOperation)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.resolveNexusOperation' @:: Lens' WorkflowActivationJob ResolveNexusOperation@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.maybe'removeFromCache' @:: Lens' WorkflowActivationJob (Prelude.Maybe RemoveFromCache)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields.removeFromCache' @:: Lens' WorkflowActivationJob RemoveFromCache@ -}
+data WorkflowActivationJob
+  = WorkflowActivationJob'_constructor {_WorkflowActivationJob'variant :: !(Prelude.Maybe WorkflowActivationJob'Variant),
+                                        _WorkflowActivationJob'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowActivationJob where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data WorkflowActivationJob'Variant
+  = WorkflowActivationJob'InitializeWorkflow !InitializeWorkflow |
+    WorkflowActivationJob'FireTimer !FireTimer |
+    WorkflowActivationJob'UpdateRandomSeed !UpdateRandomSeed |
+    WorkflowActivationJob'QueryWorkflow !QueryWorkflow |
+    WorkflowActivationJob'CancelWorkflow !CancelWorkflow |
+    WorkflowActivationJob'SignalWorkflow !SignalWorkflow |
+    WorkflowActivationJob'ResolveActivity !ResolveActivity |
+    WorkflowActivationJob'NotifyHasPatch !NotifyHasPatch |
+    WorkflowActivationJob'ResolveChildWorkflowExecutionStart !ResolveChildWorkflowExecutionStart |
+    WorkflowActivationJob'ResolveChildWorkflowExecution !ResolveChildWorkflowExecution |
+    WorkflowActivationJob'ResolveSignalExternalWorkflow !ResolveSignalExternalWorkflow |
+    WorkflowActivationJob'ResolveRequestCancelExternalWorkflow !ResolveRequestCancelExternalWorkflow |
+    WorkflowActivationJob'DoUpdate !DoUpdate |
+    WorkflowActivationJob'ResolveNexusOperationStart !ResolveNexusOperationStart |
+    WorkflowActivationJob'ResolveNexusOperation !ResolveNexusOperation |
+    WorkflowActivationJob'RemoveFromCache !RemoveFromCache
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'variant" (Prelude.Maybe WorkflowActivationJob'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'initializeWorkflow" (Prelude.Maybe InitializeWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'InitializeWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowActivationJob'InitializeWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "initializeWorkflow" InitializeWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'InitializeWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowActivationJob'InitializeWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'fireTimer" (Prelude.Maybe FireTimer) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'FireTimer x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationJob'FireTimer y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "fireTimer" FireTimer where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'FireTimer x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationJob'FireTimer y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'updateRandomSeed" (Prelude.Maybe UpdateRandomSeed) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'UpdateRandomSeed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowActivationJob'UpdateRandomSeed y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "updateRandomSeed" UpdateRandomSeed where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'UpdateRandomSeed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowActivationJob'UpdateRandomSeed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'queryWorkflow" (Prelude.Maybe QueryWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'QueryWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationJob'QueryWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "queryWorkflow" QueryWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'QueryWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationJob'QueryWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'cancelWorkflow" (Prelude.Maybe CancelWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'CancelWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationJob'CancelWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "cancelWorkflow" CancelWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'CancelWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationJob'CancelWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'signalWorkflow" (Prelude.Maybe SignalWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'SignalWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationJob'SignalWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "signalWorkflow" SignalWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'SignalWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationJob'SignalWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveActivity" (Prelude.Maybe ResolveActivity) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveActivity x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowActivationJob'ResolveActivity y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveActivity" ResolveActivity where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveActivity x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowActivationJob'ResolveActivity y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'notifyHasPatch" (Prelude.Maybe NotifyHasPatch) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'NotifyHasPatch x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationJob'NotifyHasPatch y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "notifyHasPatch" NotifyHasPatch where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'NotifyHasPatch x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationJob'NotifyHasPatch y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveChildWorkflowExecutionStart" (Prelude.Maybe ResolveChildWorkflowExecutionStart) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveChildWorkflowExecutionStart x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowActivationJob'ResolveChildWorkflowExecutionStart y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveChildWorkflowExecutionStart" ResolveChildWorkflowExecutionStart where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveChildWorkflowExecutionStart x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowActivationJob'ResolveChildWorkflowExecutionStart y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveChildWorkflowExecution" (Prelude.Maybe ResolveChildWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveChildWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowActivationJob'ResolveChildWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveChildWorkflowExecution" ResolveChildWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveChildWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowActivationJob'ResolveChildWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveSignalExternalWorkflow" (Prelude.Maybe ResolveSignalExternalWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveSignalExternalWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowActivationJob'ResolveSignalExternalWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveSignalExternalWorkflow" ResolveSignalExternalWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveSignalExternalWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowActivationJob'ResolveSignalExternalWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveRequestCancelExternalWorkflow" (Prelude.Maybe ResolveRequestCancelExternalWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveRequestCancelExternalWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowActivationJob'ResolveRequestCancelExternalWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveRequestCancelExternalWorkflow" ResolveRequestCancelExternalWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveRequestCancelExternalWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowActivationJob'ResolveRequestCancelExternalWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'doUpdate" (Prelude.Maybe DoUpdate) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'DoUpdate x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationJob'DoUpdate y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "doUpdate" DoUpdate where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'DoUpdate x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationJob'DoUpdate y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveNexusOperationStart" (Prelude.Maybe ResolveNexusOperationStart) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveNexusOperationStart x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowActivationJob'ResolveNexusOperationStart y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveNexusOperationStart" ResolveNexusOperationStart where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveNexusOperationStart x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowActivationJob'ResolveNexusOperationStart y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'resolveNexusOperation" (Prelude.Maybe ResolveNexusOperation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'ResolveNexusOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowActivationJob'ResolveNexusOperation y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "resolveNexusOperation" ResolveNexusOperation where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'ResolveNexusOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowActivationJob'ResolveNexusOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "maybe'removeFromCache" (Prelude.Maybe RemoveFromCache) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationJob'RemoveFromCache x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowActivationJob'RemoveFromCache y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationJob "removeFromCache" RemoveFromCache where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationJob'variant
+           (\ x__ y__ -> x__ {_WorkflowActivationJob'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationJob'RemoveFromCache x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowActivationJob'RemoveFromCache y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message WorkflowActivationJob where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_activation.WorkflowActivationJob"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKWorkflowActivationJob\DC2b\n\
+      \\DC3initialize_workflow\CAN\SOH \SOH(\v2/.coresdk.workflow_activation.InitializeWorkflowH\NULR\DC2initializeWorkflow\DC2G\n\
+      \\n\
+      \fire_timer\CAN\STX \SOH(\v2&.coresdk.workflow_activation.FireTimerH\NULR\tfireTimer\DC2]\n\
+      \\DC2update_random_seed\CAN\EOT \SOH(\v2-.coresdk.workflow_activation.UpdateRandomSeedH\NULR\DLEupdateRandomSeed\DC2S\n\
+      \\SOquery_workflow\CAN\ENQ \SOH(\v2*.coresdk.workflow_activation.QueryWorkflowH\NULR\rqueryWorkflow\DC2V\n\
+      \\SIcancel_workflow\CAN\ACK \SOH(\v2+.coresdk.workflow_activation.CancelWorkflowH\NULR\SOcancelWorkflow\DC2V\n\
+      \\SIsignal_workflow\CAN\a \SOH(\v2+.coresdk.workflow_activation.SignalWorkflowH\NULR\SOsignalWorkflow\DC2Y\n\
+      \\DLEresolve_activity\CAN\b \SOH(\v2,.coresdk.workflow_activation.ResolveActivityH\NULR\SIresolveActivity\DC2W\n\
+      \\DLEnotify_has_patch\CAN\t \SOH(\v2+.coresdk.workflow_activation.NotifyHasPatchH\NULR\SOnotifyHasPatch\DC2\149\SOH\n\
+      \&resolve_child_workflow_execution_start\CAN\n\
+      \ \SOH(\v2?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\NULR\"resolveChildWorkflowExecutionStart\DC2\133\SOH\n\
+      \ resolve_child_workflow_execution\CAN\v \SOH(\v2:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\NULR\GSresolveChildWorkflowExecution\DC2\133\SOH\n\
+      \ resolve_signal_external_workflow\CAN\f \SOH(\v2:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\NULR\GSresolveSignalExternalWorkflow\DC2\155\SOH\n\
+      \(resolve_request_cancel_external_workflow\CAN\r \SOH(\v2A.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\NULR$resolveRequestCancelExternalWorkflow\DC2D\n\
+      \\tdo_update\CAN\SO \SOH(\v2%.coresdk.workflow_activation.DoUpdateH\NULR\bdoUpdate\DC2|\n\
+      \\GSresolve_nexus_operation_start\CAN\SI \SOH(\v27.coresdk.workflow_activation.ResolveNexusOperationStartH\NULR\SUBresolveNexusOperationStart\DC2l\n\
+      \\ETBresolve_nexus_operation\CAN\DLE \SOH(\v22.coresdk.workflow_activation.ResolveNexusOperationH\NULR\NAKresolveNexusOperation\DC2Z\n\
+      \\DC1remove_from_cache\CAN2 \SOH(\v2,.coresdk.workflow_activation.RemoveFromCacheH\NULR\SIremoveFromCacheB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        initializeWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "initialize_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor InitializeWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'initializeWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        fireTimer__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fire_timer"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor FireTimer)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'fireTimer")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        updateRandomSeed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_random_seed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpdateRandomSeed)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'updateRandomSeed")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        queryWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor QueryWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'queryWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        cancelWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        signalWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'signalWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveActivity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_activity"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveActivity)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'resolveActivity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        notifyHasPatch__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "notify_has_patch"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor NotifyHasPatch)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'notifyHasPatch")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveChildWorkflowExecutionStart__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_child_workflow_execution_start"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveChildWorkflowExecutionStart)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'resolveChildWorkflowExecutionStart")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveChildWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_child_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveChildWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'resolveChildWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveSignalExternalWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_signal_external_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveSignalExternalWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'resolveSignalExternalWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveRequestCancelExternalWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_request_cancel_external_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveRequestCancelExternalWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'resolveRequestCancelExternalWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        doUpdate__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "do_update"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor DoUpdate)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'doUpdate")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveNexusOperationStart__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_nexus_operation_start"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveNexusOperationStart)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'resolveNexusOperationStart")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        resolveNexusOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "resolve_nexus_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ResolveNexusOperation)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'resolveNexusOperation")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+        removeFromCache__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "remove_from_cache"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RemoveFromCache)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'removeFromCache")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationJob
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, initializeWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 2, fireTimer__field_descriptor),
+           (Data.ProtoLens.Tag 4, updateRandomSeed__field_descriptor),
+           (Data.ProtoLens.Tag 5, queryWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 6, cancelWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 7, signalWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 8, resolveActivity__field_descriptor),
+           (Data.ProtoLens.Tag 9, notifyHasPatch__field_descriptor),
+           (Data.ProtoLens.Tag 10, 
+            resolveChildWorkflowExecutionStart__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            resolveChildWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 12, 
+            resolveSignalExternalWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 13, 
+            resolveRequestCancelExternalWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 14, doUpdate__field_descriptor),
+           (Data.ProtoLens.Tag 15, 
+            resolveNexusOperationStart__field_descriptor),
+           (Data.ProtoLens.Tag 16, resolveNexusOperation__field_descriptor),
+           (Data.ProtoLens.Tag 50, removeFromCache__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowActivationJob'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowActivationJob'_unknownFields = y__})
+  defMessage
+    = WorkflowActivationJob'_constructor
+        {_WorkflowActivationJob'variant = Prelude.Nothing,
+         _WorkflowActivationJob'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowActivationJob
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowActivationJob
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "initialize_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"initializeWorkflow") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "fire_timer"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"fireTimer") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "update_random_seed"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"updateRandomSeed") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "query_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"queryWorkflow") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelWorkflow") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "signal_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"signalWorkflow") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_activity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resolveActivity") y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "notify_has_patch"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"notifyHasPatch") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_child_workflow_execution_start"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"resolveChildWorkflowExecutionStart")
+                                     y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_child_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resolveChildWorkflowExecution") y
+                                     x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_signal_external_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resolveSignalExternalWorkflow") y
+                                     x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_request_cancel_external_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"resolveRequestCancelExternalWorkflow")
+                                     y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "do_update"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"doUpdate") y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_nexus_operation_start"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resolveNexusOperationStart") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "resolve_nexus_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"resolveNexusOperation") y x)
+                        402
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "remove_from_cache"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"removeFromCache") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowActivationJob"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just (WorkflowActivationJob'InitializeWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'FireTimer v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'UpdateRandomSeed v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'QueryWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'CancelWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'SignalWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveActivity v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'NotifyHasPatch v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveChildWorkflowExecutionStart v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveChildWorkflowExecution v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveSignalExternalWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveRequestCancelExternalWorkflow v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 106)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'DoUpdate v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 114)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveNexusOperationStart v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 122)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'ResolveNexusOperation v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 130)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v)
+                (Prelude.Just (WorkflowActivationJob'RemoveFromCache v))
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 402)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData WorkflowActivationJob where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowActivationJob'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_WorkflowActivationJob'variant x__) ())
+instance Control.DeepSeq.NFData WorkflowActivationJob'Variant where
+  rnf (WorkflowActivationJob'InitializeWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'FireTimer x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'UpdateRandomSeed x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'QueryWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'CancelWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'SignalWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'ResolveActivity x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'NotifyHasPatch x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'ResolveChildWorkflowExecutionStart x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'ResolveChildWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'ResolveSignalExternalWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf
+    (WorkflowActivationJob'ResolveRequestCancelExternalWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'DoUpdate x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'ResolveNexusOperationStart x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'ResolveNexusOperation x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationJob'RemoveFromCache x__)
+    = Control.DeepSeq.rnf x__
+_WorkflowActivationJob'InitializeWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant InitializeWorkflow
+_WorkflowActivationJob'InitializeWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'InitializeWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'InitializeWorkflow p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'FireTimer ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant FireTimer
+_WorkflowActivationJob'FireTimer
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'FireTimer
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'FireTimer p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'UpdateRandomSeed ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant UpdateRandomSeed
+_WorkflowActivationJob'UpdateRandomSeed
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'UpdateRandomSeed
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'UpdateRandomSeed p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'QueryWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant QueryWorkflow
+_WorkflowActivationJob'QueryWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'QueryWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'QueryWorkflow p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'CancelWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant CancelWorkflow
+_WorkflowActivationJob'CancelWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'CancelWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'CancelWorkflow p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'SignalWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant SignalWorkflow
+_WorkflowActivationJob'SignalWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'SignalWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'SignalWorkflow p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveActivity ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveActivity
+_WorkflowActivationJob'ResolveActivity
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveActivity
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveActivity p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'NotifyHasPatch ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant NotifyHasPatch
+_WorkflowActivationJob'NotifyHasPatch
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'NotifyHasPatch
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'NotifyHasPatch p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveChildWorkflowExecutionStart ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveChildWorkflowExecutionStart
+_WorkflowActivationJob'ResolveChildWorkflowExecutionStart
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveChildWorkflowExecutionStart
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveChildWorkflowExecutionStart p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveChildWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveChildWorkflowExecution
+_WorkflowActivationJob'ResolveChildWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveChildWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveChildWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveSignalExternalWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveSignalExternalWorkflow
+_WorkflowActivationJob'ResolveSignalExternalWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveSignalExternalWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveSignalExternalWorkflow p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveRequestCancelExternalWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveRequestCancelExternalWorkflow
+_WorkflowActivationJob'ResolveRequestCancelExternalWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveRequestCancelExternalWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveRequestCancelExternalWorkflow p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'DoUpdate ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant DoUpdate
+_WorkflowActivationJob'DoUpdate
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'DoUpdate
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'DoUpdate p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveNexusOperationStart ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveNexusOperationStart
+_WorkflowActivationJob'ResolveNexusOperationStart
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveNexusOperationStart
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveNexusOperationStart p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'ResolveNexusOperation ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant ResolveNexusOperation
+_WorkflowActivationJob'ResolveNexusOperation
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'ResolveNexusOperation
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'ResolveNexusOperation p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationJob'RemoveFromCache ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationJob'Variant RemoveFromCache
+_WorkflowActivationJob'RemoveFromCache
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationJob'RemoveFromCache
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationJob'RemoveFromCache p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \?temporal/sdk/core/workflow_activation/workflow_activation.proto\DC2\ESCcoresdk.workflow_activation\SUB\USgoogle/protobuf/timestamp.proto\SUB\RSgoogle/protobuf/duration.proto\SUB\ESCgoogle/protobuf/empty.proto\SUB%temporal/api/failure/v1/message.proto\SUB$temporal/api/update/v1/message.proto\SUB$temporal/api/common/v1/message.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB7temporal/sdk/core/activity_result/activity_result.proto\SUB5temporal/sdk/core/child_workflow/child_workflow.proto\SUB%temporal/sdk/core/common/common.proto\SUB#temporal/sdk/core/nexus/nexus.proto\"\145\EOT\n\
+    \\DC2WorkflowActivation\DC2\NAK\n\
+    \\ACKrun_id\CAN\SOH \SOH(\tR\ENQrunId\DC28\n\
+    \\ttimestamp\CAN\STX \SOH(\v2\SUB.google.protobuf.TimestampR\ttimestamp\DC2!\n\
+    \\fis_replaying\CAN\ETX \SOH(\bR\visReplaying\DC2%\n\
+    \\SOhistory_length\CAN\EOT \SOH(\rR\rhistoryLength\DC2F\n\
+    \\EOTjobs\CAN\ENQ \ETX(\v22.coresdk.workflow_activation.WorkflowActivationJobR\EOTjobs\DC28\n\
+    \\CANavailable_internal_flags\CAN\ACK \ETX(\rR\SYNavailableInternalFlags\DC2,\n\
+    \\DC2history_size_bytes\CAN\a \SOH(\EOTR\DLEhistorySizeBytes\DC29\n\
+    \\EMcontinue_as_new_suggested\CAN\b \SOH(\bR\SYNcontinueAsNewSuggested\DC2u\n\
+    \#deployment_version_for_current_task\CAN\t \SOH(\v2'.coresdk.common.WorkerDeploymentVersionR\USdeploymentVersionForCurrentTask\"\187\r\n\
+    \\NAKWorkflowActivationJob\DC2b\n\
+    \\DC3initialize_workflow\CAN\SOH \SOH(\v2/.coresdk.workflow_activation.InitializeWorkflowH\NULR\DC2initializeWorkflow\DC2G\n\
+    \\n\
+    \fire_timer\CAN\STX \SOH(\v2&.coresdk.workflow_activation.FireTimerH\NULR\tfireTimer\DC2]\n\
+    \\DC2update_random_seed\CAN\EOT \SOH(\v2-.coresdk.workflow_activation.UpdateRandomSeedH\NULR\DLEupdateRandomSeed\DC2S\n\
+    \\SOquery_workflow\CAN\ENQ \SOH(\v2*.coresdk.workflow_activation.QueryWorkflowH\NULR\rqueryWorkflow\DC2V\n\
+    \\SIcancel_workflow\CAN\ACK \SOH(\v2+.coresdk.workflow_activation.CancelWorkflowH\NULR\SOcancelWorkflow\DC2V\n\
+    \\SIsignal_workflow\CAN\a \SOH(\v2+.coresdk.workflow_activation.SignalWorkflowH\NULR\SOsignalWorkflow\DC2Y\n\
+    \\DLEresolve_activity\CAN\b \SOH(\v2,.coresdk.workflow_activation.ResolveActivityH\NULR\SIresolveActivity\DC2W\n\
+    \\DLEnotify_has_patch\CAN\t \SOH(\v2+.coresdk.workflow_activation.NotifyHasPatchH\NULR\SOnotifyHasPatch\DC2\149\SOH\n\
+    \&resolve_child_workflow_execution_start\CAN\n\
+    \ \SOH(\v2?.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartH\NULR\"resolveChildWorkflowExecutionStart\DC2\133\SOH\n\
+    \ resolve_child_workflow_execution\CAN\v \SOH(\v2:.coresdk.workflow_activation.ResolveChildWorkflowExecutionH\NULR\GSresolveChildWorkflowExecution\DC2\133\SOH\n\
+    \ resolve_signal_external_workflow\CAN\f \SOH(\v2:.coresdk.workflow_activation.ResolveSignalExternalWorkflowH\NULR\GSresolveSignalExternalWorkflow\DC2\155\SOH\n\
+    \(resolve_request_cancel_external_workflow\CAN\r \SOH(\v2A.coresdk.workflow_activation.ResolveRequestCancelExternalWorkflowH\NULR$resolveRequestCancelExternalWorkflow\DC2D\n\
+    \\tdo_update\CAN\SO \SOH(\v2%.coresdk.workflow_activation.DoUpdateH\NULR\bdoUpdate\DC2|\n\
+    \\GSresolve_nexus_operation_start\CAN\SI \SOH(\v27.coresdk.workflow_activation.ResolveNexusOperationStartH\NULR\SUBresolveNexusOperationStart\DC2l\n\
+    \\ETBresolve_nexus_operation\CAN\DLE \SOH(\v22.coresdk.workflow_activation.ResolveNexusOperationH\NULR\NAKresolveNexusOperation\DC2Z\n\
+    \\DC1remove_from_cache\CAN2 \SOH(\v2,.coresdk.workflow_activation.RemoveFromCacheH\NULR\SIremoveFromCacheB\t\n\
+    \\avariant\"\146\SO\n\
+    \\DC2InitializeWorkflow\DC2#\n\
+    \\rworkflow_type\CAN\SOH \SOH(\tR\fworkflowType\DC2\US\n\
+    \\vworkflow_id\CAN\STX \SOH(\tR\n\
+    \workflowId\DC2=\n\
+    \\targuments\CAN\ETX \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2'\n\
+    \\SIrandomness_seed\CAN\EOT \SOH(\EOTR\SOrandomnessSeed\DC2V\n\
+    \\aheaders\CAN\ENQ \ETX(\v2<.coresdk.workflow_activation.InitializeWorkflow.HeadersEntryR\aheaders\DC2\SUB\n\
+    \\bidentity\CAN\ACK \SOH(\tR\bidentity\DC2]\n\
+    \\DC4parent_workflow_info\CAN\a \SOH(\v2+.coresdk.common.NamespacedWorkflowExecutionR\DC2parentWorkflowInfo\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\n\
+    \ \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2D\n\
+    \\UScontinued_from_execution_run_id\CAN\v \SOH(\tR\ESCcontinuedFromExecutionRunId\DC2^\n\
+    \\DC3continued_initiator\CAN\f \SOH(\SO2-.temporal.api.enums.v1.ContinueAsNewInitiatorR\DC2continuedInitiator\DC2M\n\
+    \\DC1continued_failure\CAN\r \SOH(\v2 .temporal.api.failure.v1.FailureR\DLEcontinuedFailure\DC2V\n\
+    \\SYNlast_completion_result\CAN\SO \SOH(\v2 .temporal.api.common.v1.PayloadsR\DC4lastCompletionResult\DC23\n\
+    \\SYNfirst_execution_run_id\CAN\SI \SOH(\tR\DC3firstExecutionRunId\DC2F\n\
+    \\fretry_policy\CAN\DLE \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2\CAN\n\
+    \\aattempt\CAN\DC1 \SOH(\ENQR\aattempt\DC2#\n\
+    \\rcron_schedule\CAN\DC2 \SOH(\tR\fcronSchedule\DC2g\n\
+    \\"workflow_execution_expiration_time\CAN\DC3 \SOH(\v2\SUB.google.protobuf.TimestampR\USworkflowExecutionExpirationTime\DC2e\n\
+    \\"cron_schedule_to_schedule_interval\CAN\DC4 \SOH(\v2\EM.google.protobuf.DurationR\RScronScheduleToScheduleInterval\DC20\n\
+    \\EOTmemo\CAN\NAK \SOH(\v2\FS.temporal.api.common.v1.MemoR\EOTmemo\DC2U\n\
+    \\DC1search_attributes\CAN\SYN \SOH(\v2(.temporal.api.common.v1.SearchAttributesR\DLEsearchAttributes\DC29\n\
+    \\n\
+    \start_time\CAN\ETB \SOH(\v2\SUB.google.protobuf.TimestampR\tstartTime\DC2N\n\
+    \\rroot_workflow\CAN\CAN \SOH(\v2).temporal.api.common.v1.WorkflowExecutionR\frootWorkflow\DC2<\n\
+    \\bpriority\CAN\EM \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\GS\n\
+    \\tFireTimer\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\"\131\SOH\n\
+    \\SIResolveActivity\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2C\n\
+    \\ACKresult\CAN\STX \SOH(\v2+.coresdk.activity_result.ActivityResolutionR\ACKresult\DC2\EM\n\
+    \\bis_local\CAN\ETX \SOH(\bR\aisLocal\"\244\STX\n\
+    \\"ResolveChildWorkflowExecutionStart\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2f\n\
+    \\tsucceeded\CAN\STX \SOH(\v2F.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartSuccessH\NULR\tsucceeded\DC2`\n\
+    \\ACKfailed\CAN\ETX \SOH(\v2F.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartFailureH\NULR\ACKfailed\DC2h\n\
+    \\tcancelled\CAN\EOT \SOH(\v2H.coresdk.workflow_activation.ResolveChildWorkflowExecutionStartCancelledH\NULR\tcancelledB\b\n\
+    \\ACKstatus\"B\n\
+    \)ResolveChildWorkflowExecutionStartSuccess\DC2\NAK\n\
+    \\ACKrun_id\CAN\SOH \SOH(\tR\ENQrunId\"\199\SOH\n\
+    \)ResolveChildWorkflowExecutionStartFailure\DC2\US\n\
+    \\vworkflow_id\CAN\SOH \SOH(\tR\n\
+    \workflowId\DC2#\n\
+    \\rworkflow_type\CAN\STX \SOH(\tR\fworkflowType\DC2T\n\
+    \\ENQcause\CAN\ETX \SOH(\SO2>.coresdk.child_workflow.StartChildWorkflowExecutionFailedCauseR\ENQcause\"i\n\
+    \+ResolveChildWorkflowExecutionStartCancelled\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"v\n\
+    \\GSResolveChildWorkflowExecution\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2C\n\
+    \\ACKresult\CAN\STX \SOH(\v2+.coresdk.child_workflow.ChildWorkflowResultR\ACKresult\";\n\
+    \\DLEUpdateRandomSeed\DC2'\n\
+    \\SIrandomness_seed\CAN\SOH \SOH(\EOTR\SOrandomnessSeed\"\184\STX\n\
+    \\rQueryWorkflow\DC2\EM\n\
+    \\bquery_id\CAN\SOH \SOH(\tR\aqueryId\DC2\GS\n\
+    \\n\
+    \query_type\CAN\STX \SOH(\tR\tqueryType\DC2=\n\
+    \\targuments\CAN\ETX \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2Q\n\
+    \\aheaders\CAN\ENQ \ETX(\v27.coresdk.workflow_activation.QueryWorkflow.HeadersEntryR\aheaders\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"(\n\
+    \\SOCancelWorkflow\DC2\SYN\n\
+    \\ACKreason\CAN\SOH \SOH(\tR\ACKreason\"\181\STX\n\
+    \\SOSignalWorkflow\DC2\US\n\
+    \\vsignal_name\CAN\SOH \SOH(\tR\n\
+    \signalName\DC25\n\
+    \\ENQinput\CAN\STX \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2\SUB\n\
+    \\bidentity\CAN\ETX \SOH(\tR\bidentity\DC2R\n\
+    \\aheaders\CAN\ENQ \ETX(\v28.coresdk.workflow_activation.SignalWorkflow.HeadersEntryR\aheaders\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"+\n\
+    \\SONotifyHasPatch\DC2\EM\n\
+    \\bpatch_id\CAN\SOH \SOH(\tR\apatchId\"m\n\
+    \\GSResolveSignalExternalWorkflow\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2:\n\
+    \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"t\n\
+    \$ResolveRequestCancelExternalWorkflow\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2:\n\
+    \\afailure\CAN\STX \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"\153\ETX\n\
+    \\bDoUpdate\DC2\SO\n\
+    \\STXid\CAN\SOH \SOH(\tR\STXid\DC20\n\
+    \\DC4protocol_instance_id\CAN\STX \SOH(\tR\DC2protocolInstanceId\DC2\DC2\n\
+    \\EOTname\CAN\ETX \SOH(\tR\EOTname\DC25\n\
+    \\ENQinput\CAN\EOT \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2L\n\
+    \\aheaders\CAN\ENQ \ETX(\v22.coresdk.workflow_activation.DoUpdate.HeadersEntryR\aheaders\DC20\n\
+    \\EOTmeta\CAN\ACK \SOH(\v2\FS.temporal.api.update.v1.MetaR\EOTmeta\DC2#\n\
+    \\rrun_validator\CAN\a \SOH(\bR\frunValidator\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\220\SOH\n\
+    \\SUBResolveNexusOperationStart\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2#\n\
+    \\foperation_id\CAN\STX \SOH(\tH\NULR\voperationId\DC2#\n\
+    \\fstarted_sync\CAN\ETX \SOH(\bH\NULR\vstartedSync\DC2X\n\
+    \\SYNcancelled_before_start\CAN\EOT \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\DC4cancelledBeforeStartB\b\n\
+    \\ACKstatus\"f\n\
+    \\NAKResolveNexusOperation\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2;\n\
+    \\ACKresult\CAN\STX \SOH(\v2#.coresdk.nexus.NexusOperationResultR\ACKresult\"\241\STX\n\
+    \\SIRemoveFromCache\DC2\CAN\n\
+    \\amessage\CAN\SOH \SOH(\tR\amessage\DC2S\n\
+    \\ACKreason\CAN\STX \SOH(\SO2;.coresdk.workflow_activation.RemoveFromCache.EvictionReasonR\ACKreason\"\238\SOH\n\
+    \\SOEvictionReason\DC2\SI\n\
+    \\vUNSPECIFIED\DLE\NUL\DC2\SO\n\
+    \\n\
+    \CACHE_FULL\DLE\SOH\DC2\SO\n\
+    \\n\
+    \CACHE_MISS\DLE\STX\DC2\DC2\n\
+    \\SONONDETERMINISM\DLE\ETX\DC2\r\n\
+    \\tLANG_FAIL\DLE\EOT\DC2\DC2\n\
+    \\SOLANG_REQUESTED\DLE\ENQ\DC2\DC2\n\
+    \\SOTASK_NOT_FOUND\DLE\ACK\DC2\NAK\n\
+    \\DC1UNHANDLED_COMMAND\DLE\a\DC2\t\n\
+    \\ENQFATAL\DLE\b\DC2\US\n\
+    \\ESCPAGINATION_OR_HISTORY_FETCH\DLE\t\DC2\GS\n\
+    \\EMWORKFLOW_EXECUTION_ENDING\DLE\n\
+    \B8\234\STX5Temporalio::Internal::Bridge::Api::WorkflowActivationJ\247\151\SOH\n\
+    \\a\DC2\ENQ\NUL\NUL\141\ETX\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\172\SOH\n\
+    \\SOH\STX\DC2\ETX\ACK\NUL$\SUB\161\SOH*\n\
+    \ Definitions of the different workflow activation jobs returned from [crate::Core::poll_task]. The\n\
+    \ lang SDK applies these activation jobs to drive workflows.\n\
+    \\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\a\NULN\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\a\NULN\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\t\NUL)\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\n\
+    \\NUL(\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\v\NUL%\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\f\NUL/\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX\r\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX\SO\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX\SI\NUL.\n\
+    \\t\n\
+    \\STX\ETX\a\DC2\ETX\DLE\NULA\n\
+    \\t\n\
+    \\STX\ETX\b\DC2\ETX\DC1\NUL?\n\
+    \\t\n\
+    \\STX\ETX\t\DC2\ETX\DC2\NUL/\n\
+    \\t\n\
+    \\STX\ETX\n\
+    \\DC2\ETX\DC3\NUL-\n\
+    \\204\DC2\n\
+    \\STX\EOT\NUL\DC2\EOTA\NUL^\SOH\SUB\191\DC2 An instruction to the lang sdk to run some workflow code, whether for the first time or from\n\
+    \ a cached state.\n\
+    \\n\
+    \ ## Job ordering guarantees and semantics\n\
+    \\n\
+    \ Core will, by default, order jobs within the activation as follows:\n\
+    \ 1. init workflow\n\
+    \ 2. patches\n\
+    \ 3. random-seed-updates\n\
+    \ 4. signals/updates\n\
+    \ 5. all others\n\
+    \ 6. local activity resolutions\n\
+    \ 7. queries\n\
+    \ 8. evictions\n\
+    \\n\
+    \ This is because:\n\
+    \ * Patches are expected to apply to the entire activation\n\
+    \ * Signal and update handlers should be invoked before workflow routines are iterated. That is to\n\
+    \  say before the users' main workflow function and anything spawned by it is allowed to continue.\n\
+    \ * Local activities resolutions go after other normal jobs because while *not* replaying, they\n\
+    \  will always take longer than anything else that produces an immediate job (which is\n\
+    \  effectively instant). When *replaying* we need to scan ahead for LA markers so that we can\n\
+    \  resolve them in the same activation that they completed in when not replaying. However, doing\n\
+    \  so would, by default, put those resolutions *before* any other immediate jobs that happened\n\
+    \  in that same activation (prime example: cancelling not-wait-for-cancel activities). So, we do\n\
+    \  this to ensure the LA resolution happens after that cancel (or whatever else it may be) as it\n\
+    \  normally would have when executing.\n\
+    \ * Queries always go last (and, in fact, always come in their own activation)\n\
+    \ * Evictions also always come in their own activation\n\
+    \\n\
+    \ Core does this reordering to ensure that langs observe jobs in the same order during replay as\n\
+    \ they would have during execution. However, in principle, this ordering is not necessary\n\
+    \ (excepting queries/evictions, which definitely must come last) if lang layers apply all jobs to\n\
+    \ state *first* (by resolving promises/futures, marking handlers to be invoked, etc as they iterate\n\
+    \ over the jobs) and then only *after* that is done, drive coroutines/threads/whatever. If\n\
+    \ execution works this way, then determinism is only impacted by the order routines are driven in\n\
+    \ (which must be stable based on lang implementation or convention), rather than the order jobs are\n\
+    \ processed.\n\
+    \\n\
+    \ ## Evictions\n\
+    \\n\
+    \ Evictions appear as an activations that contains only a `remove_from_cache` job. Such activations\n\
+    \ should not cause the workflow code to be invoked and may be responded to with an empty command\n\
+    \ list.\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETXA\b\SUB\n\
+    \\187\SOH\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETXD\EOT\SYN\SUB\173\SOH The id of the currently active run of the workflow. Also used as a cache key. There may\n\
+    \ only ever be one active workflow task (and hence activation) of a run at one time.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETXD\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETXD\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETXD\DC4\NAK\n\
+    \k\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETXF\EOT,\SUB^ The current time as understood by the workflow, which is set by workflow task started events\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETXF\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETXF\RS'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETXF*+\n\
+    \E\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETXH\EOT\SUB\SUB8 Whether or not the activation is replaying past events\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ENQ\DC2\ETXH\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETXH\t\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETXH\CAN\EM\n\
+    \\160\SOH\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETXK\EOT\RS\SUB\146\SOH Current history length as determined by the event id of the most recently processed event.\n\
+    \ This ensures that the number is always deterministic\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ENQ\DC2\ETXK\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETXK\v\EM\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETXK\FS\GS\n\
+    \<\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETXM\EOT,\SUB/ The things to do upon activating the workflow\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\EOT\DC2\ETXM\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETXM\r\"\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETXM#'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETXM*+\n\
+    \\227\SOH\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETXQ\EOT1\SUB\213\SOH Internal flags which are available for use by lang. If `is_replaying` is false, all\n\
+    \ internal flags may be used. This is not a delta - all previously used flags always\n\
+    \ appear since this representation is cheap.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\EOT\DC2\ETXQ\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ENQ\DC2\ETXQ\r\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETXQ\DC4,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETXQ/0\n\
+    \I\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETXS\EOT\"\SUB< The history size in bytes as of the last WFT started event\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ENQ\DC2\ETXS\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETXS\v\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETXS !\n\
+    \P\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETXU\EOT'\SUBC Set true if the most recent WFT started event had this suggestion\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ENQ\DC2\ETXU\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETXU\t\"\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETXU%&\n\
+    \\192\ETX\n\
+    \\EOT\EOT\NUL\STX\b\DC2\ETX]\EOTK\SUB\178\ETX Set to the deployment version of the worker that processed this task,\n\
+    \ which may be empty. During replay this version may not equal the version\n\
+    \ of the replaying worker. If not replaying and this worker has a defined\n\
+    \ Deployment Version, it will equal that. It will also be empty for\n\
+    \ evict-only activations. The deployment name may be empty, but not the\n\
+    \ build id, if this worker was using the deprecated Build ID-only\n\
+    \ feature(s).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ACK\DC2\ETX]\EOT\"\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\SOH\DC2\ETX]#F\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ETX\DC2\ETX]IJ\n\
+    \\v\n\
+    \\STX\EOT\SOH\DC2\ENQ`\NUL\136\SOH\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX`\b\GS\n\
+    \\r\n\
+    \\EOT\EOT\SOH\b\NUL\DC2\ENQa\EOT\135\SOH\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\b\NUL\SOH\DC2\ETXa\n\
+    \\DC1\n\
+    \Y\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETXc\b3\SUBL A workflow is starting, record all of the information from its start event\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETXc\b\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETXc\ESC.\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETXc12\n\
+    \^\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETXe\b!\SUBQ A timer has fired, allowing whatever was waiting on it (if anything) to proceed\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETXe\b\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETXe\DC2\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETXe\US \n\
+    \G\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETXg\b0\SUB: Workflow was reset. The randomness seed must be updated.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETXg\b\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETXg\EM+\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETXg./\n\
+    \\169\SOH\n\
+    \\EOT\EOT\SOH\STX\ETX\DC2\ETXj\b)\SUB\155\SOH A request to query the workflow was received. It is guaranteed that queries (one or more)\n\
+    \ always come in their own activation after other mutating jobs.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ACK\DC2\ETXj\b\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\SOH\DC2\ETXj\SYN$\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ETX\ETX\DC2\ETXj'(\n\
+    \=\n\
+    \\EOT\EOT\SOH\STX\EOT\DC2\ETXl\b+\SUB0 A request to cancel the workflow was received.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ACK\DC2\ETXl\b\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\SOH\DC2\ETXl\ETB&\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\EOT\ETX\DC2\ETXl)*\n\
+    \=\n\
+    \\EOT\EOT\SOH\STX\ENQ\DC2\ETXn\b+\SUB0 A request to signal the workflow was received.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ACK\DC2\ETXn\b\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\SOH\DC2\ETXn\ETB&\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ENQ\ETX\DC2\ETXn)*\n\
+    \W\n\
+    \\EOT\EOT\SOH\STX\ACK\DC2\ETXp\b-\SUBJ An activity was resolved, result could be completed, failed or cancelled\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\ACK\DC2\ETXp\b\ETB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\SOH\DC2\ETXp\CAN(\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\ACK\ETX\DC2\ETXp+,\n\
+    \\206\SOH\n\
+    \\EOT\EOT\SOH\STX\a\DC2\ETXt\b,\SUB\192\SOH A patch marker has been detected and lang is being told that change exists. This\n\
+    \ job is strange in that it is sent pre-emptively to lang without any corresponding\n\
+    \ command being sent first.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\ACK\DC2\ETXt\b\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\SOH\DC2\ETXt\ETB'\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\a\ETX\DC2\ETXt*+\n\
+    \H\n\
+    \\EOT\EOT\SOH\STX\b\DC2\ETXv\bW\SUB; A child workflow execution has started or failed to start\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\b\ACK\DC2\ETXv\b*\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\b\SOH\DC2\ETXv+Q\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\b\ETX\DC2\ETXvTV\n\
+    \Q\n\
+    \\EOT\EOT\SOH\STX\t\DC2\ETXx\bL\SUBD A child workflow was resolved, result could be completed or failed\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\t\ACK\DC2\ETXx\b%\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\t\SOH\DC2\ETXx&F\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\t\ETX\DC2\ETXxIK\n\
+    \A\n\
+    \\EOT\EOT\SOH\STX\n\
+    \\DC2\ETXz\bL\SUB4 An attempt to signal an external workflow resolved\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\n\
+    \\ACK\DC2\ETXz\b%\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\n\
+    \\SOH\DC2\ETXz&F\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\n\
+    \\ETX\DC2\ETXzIK\n\
+    \A\n\
+    \\EOT\EOT\SOH\STX\v\DC2\ETX|\b[\SUB4 An attempt to cancel an external workflow resolved\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\v\ACK\DC2\ETX|\b,\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\v\SOH\DC2\ETX|-U\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\v\ETX\DC2\ETX|XZ\n\
+    \5\n\
+    \\EOT\EOT\SOH\STX\f\DC2\ETX~\b \SUB( A request to handle a workflow update.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\f\ACK\DC2\ETX~\b\DLE\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\f\SOH\DC2\ETX~\DC1\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\f\ETX\DC2\ETX~\GS\US\n\
+    \*\n\
+    \\EOT\EOT\SOH\STX\r\DC2\EOT\128\SOH\bF\SUB\FS A nexus operation started.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\r\ACK\DC2\EOT\128\SOH\b\"\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\r\SOH\DC2\EOT\128\SOH#@\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\r\ETX\DC2\EOT\128\SOHCE\n\
+    \+\n\
+    \\EOT\EOT\SOH\STX\SO\DC2\EOT\130\SOH\b;\SUB\GS A nexus operation resolved.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SO\ACK\DC2\EOT\130\SOH\b\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SO\SOH\DC2\EOT\130\SOH\RS5\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SO\ETX\DC2\EOT\130\SOH8:\n\
+    \\223\SOH\n\
+    \\EOT\EOT\SOH\STX\SI\DC2\EOT\134\SOH\b/\SUB\208\SOH Remove the workflow identified by the [WorkflowActivation] containing this job from the\n\
+    \ cache after performing the activation. It is guaranteed that this will be the only job\n\
+    \ in the activation if present.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SI\ACK\DC2\EOT\134\SOH\b\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SI\SOH\DC2\EOT\134\SOH\CAN)\n\
+    \\r\n\
+    \\ENQ\EOT\SOH\STX\SI\ETX\DC2\EOT\134\SOH,.\n\
+    \)\n\
+    \\STX\EOT\STX\DC2\ACK\139\SOH\NUL\203\SOH\SOH\SUB\ESC Initialize a new workflow\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\STX\SOH\DC2\EOT\139\SOH\b\SUB\n\
+    \R\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\EOT\141\SOH\EOT\GS\SUBD The identifier the lang-specific sdk uses to execute workflow code\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\EOT\141\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\EOT\141\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\EOT\141\SOH\ESC\FS\n\
+    \;\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\EOT\143\SOH\EOT\ESC\SUB- The workflow id used on the temporal server\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ENQ\DC2\EOT\143\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\EOT\143\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\EOT\143\SOH\EM\SUB\n\
+    \+\n\
+    \\EOT\EOT\STX\STX\STX\DC2\EOT\145\SOH\EOT:\SUB\GS Inputs to the workflow code\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\EOT\DC2\EOT\145\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\ACK\DC2\EOT\145\SOH\r+\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\SOH\DC2\EOT\145\SOH,5\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\STX\ETX\DC2\EOT\145\SOH89\n\
+    \\149\SOH\n\
+    \\EOT\EOT\STX\STX\ETX\DC2\EOT\148\SOH\EOT\US\SUB\134\SOH The seed must be used to initialize the random generator used by SDK.\n\
+    \ RandomSeedUpdatedAttributes are used to deliver seed updates.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\ENQ\DC2\EOT\148\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\SOH\DC2\EOT\148\SOH\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETX\ETX\DC2\EOT\148\SOH\GS\RS\n\
+    \p\n\
+    \\EOT\EOT\STX\STX\EOT\DC2\EOT\150\SOH\EOT<\SUBb Used to add metadata e.g. for tracing and auth, meant to be read and written to by interceptors.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\ACK\DC2\EOT\150\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\SOH\DC2\EOT\150\SOH07\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\EOT\ETX\DC2\EOT\150\SOH:;\n\
+    \C\n\
+    \\EOT\EOT\STX\STX\ENQ\DC2\EOT\152\SOH\EOT\CAN\SUB5 Identity of the client who requested this execution\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ENQ\ENQ\DC2\EOT\152\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ENQ\SOH\DC2\EOT\152\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ENQ\ETX\DC2\EOT\152\SOH\SYN\ETB\n\
+    \I\n\
+    \\EOT\EOT\STX\STX\ACK\DC2\EOT\154\SOH\EOT@\SUB; If this workflow is a child, information about the parent\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ACK\ACK\DC2\EOT\154\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ACK\SOH\DC2\EOT\154\SOH';\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ACK\ETX\DC2\EOT\154\SOH>?\n\
+    \W\n\
+    \\EOT\EOT\STX\STX\a\DC2\EOT\156\SOH\EOT<\SUBI Total workflow execution timeout including retries and continue as new.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\a\ACK\DC2\EOT\156\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\a\SOH\DC2\EOT\156\SOH\GS7\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\a\ETX\DC2\EOT\156\SOH:;\n\
+    \1\n\
+    \\EOT\EOT\STX\STX\b\DC2\EOT\158\SOH\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\b\ACK\DC2\EOT\158\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\b\SOH\DC2\EOT\158\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\b\ETX\DC2\EOT\158\SOH45\n\
+    \2\n\
+    \\EOT\EOT\STX\STX\t\DC2\EOT\160\SOH\EOT8\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\t\ACK\DC2\EOT\160\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\t\SOH\DC2\EOT\160\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\t\ETX\DC2\EOT\160\SOH57\n\
+    \\DEL\n\
+    \\EOT\EOT\STX\STX\n\
+    \\DC2\EOT\163\SOH\EOT0\SUBq Run id of the previous workflow which continued-as-new or retired or cron executed into this\n\
+    \ workflow, if any.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\n\
+    \\ENQ\DC2\EOT\163\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\n\
+    \\SOH\DC2\EOT\163\SOH\v*\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\n\
+    \\ETX\DC2\EOT\163\SOH-/\n\
+    \X\n\
+    \\EOT\EOT\STX\STX\v\DC2\EOT\165\SOH\EOTJ\SUBJ If this workflow was a continuation, indicates the type of continuation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\v\ACK\DC2\EOT\165\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\v\SOH\DC2\EOT\165\SOH1D\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\v\ETX\DC2\EOT\165\SOHGI\n\
+    \f\n\
+    \\EOT\EOT\STX\STX\f\DC2\EOT\167\SOH\EOT;\SUBX If this workflow was a continuation and that continuation failed, the details of that.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\f\ACK\DC2\EOT\167\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\f\SOH\DC2\EOT\167\SOH$5\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\f\ETX\DC2\EOT\167\SOH8:\n\
+    \i\n\
+    \\EOT\EOT\STX\STX\r\DC2\EOT\169\SOH\EOT@\SUB[ If this workflow was a continuation and that continuation completed, the details of that.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\r\ACK\DC2\EOT\169\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\r\SOH\DC2\EOT\169\SOH$:\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\r\ETX\DC2\EOT\169\SOH=?\n\
+    \c\n\
+    \\EOT\EOT\STX\STX\SO\DC2\EOT\171\SOH\EOT'\SUBU This is the very first run id the workflow ever had, following continuation chains.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SO\ENQ\DC2\EOT\171\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SO\SOH\DC2\EOT\171\SOH\v!\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SO\ETX\DC2\EOT\171\SOH$&\n\
+    \,\n\
+    \\EOT\EOT\STX\STX\SI\DC2\EOT\173\SOH\EOT9\SUB\RS This workflow's retry policy\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SI\ACK\DC2\EOT\173\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SI\SOH\DC2\EOT\173\SOH'3\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SI\ETX\DC2\EOT\173\SOH68\n\
+    \Y\n\
+    \\EOT\EOT\STX\STX\DLE\DC2\EOT\175\SOH\EOT\ETB\SUBK Starting at 1, the number of times we have tried to execute this workflow\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DLE\ENQ\DC2\EOT\175\SOH\EOT\t\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DLE\SOH\DC2\EOT\175\SOH\n\
+    \\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DLE\ETX\DC2\EOT\175\SOH\DC4\SYN\n\
+    \M\n\
+    \\EOT\EOT\STX\STX\DC1\DC2\EOT\177\SOH\EOT\RS\SUB? If this workflow runs on a cron schedule, it will appear here\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC1\ENQ\DC2\EOT\177\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC1\SOH\DC2\EOT\177\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC1\ETX\DC2\EOT\177\SOH\ESC\GS\n\
+    \\143\SOH\n\
+    \\EOT\EOT\STX\STX\DC2\DC2\EOT\180\SOH\EOTF\SUB\128\SOH The absolute time at which the workflow will be timed out.\n\
+    \ This is passed without change to the next run/retry of a workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC2\ACK\DC2\EOT\180\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC2\SOH\DC2\EOT\180\SOH\RS@\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC2\ETX\DC2\EOT\180\SOHCE\n\
+    \\185\SOH\n\
+    \\EOT\EOT\STX\STX\DC3\DC2\EOT\183\SOH\EOTE\SUB\170\SOH For a cron workflow, this contains the amount of time between when this iteration of\n\
+    \ the cron workflow was scheduled and when it should run next per its cron_schedule.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC3\ACK\DC2\EOT\183\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC3\SOH\DC2\EOT\183\SOH\GS?\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC3\ETX\DC2\EOT\183\SOHBD\n\
+    \!\n\
+    \\EOT\EOT\STX\STX\DC4\DC2\EOT\185\SOH\EOT*\SUB\DC3 User-defined memo\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC4\ACK\DC2\EOT\185\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC4\SOH\DC2\EOT\185\SOH $\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\DC4\ETX\DC2\EOT\185\SOH')\n\
+    \P\n\
+    \\EOT\EOT\STX\STX\NAK\DC2\EOT\187\SOH\EOTC\SUBB Search attributes created/updated when this workflow was started\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NAK\ACK\DC2\EOT\187\SOH\EOT+\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NAK\SOH\DC2\EOT\187\SOH,=\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\NAK\ETX\DC2\EOT\187\SOH@B\n\
+    \K\n\
+    \\EOT\EOT\STX\STX\SYN\DC2\EOT\189\SOH\EOT.\SUB= When the workflow execution started event was first written\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SYN\ACK\DC2\EOT\189\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SYN\SOH\DC2\EOT\189\SOH\RS(\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\SYN\ETX\DC2\EOT\189\SOH+-\n\
+    \\182\EOT\n\
+    \\EOT\EOT\STX\STX\ETB\DC2\EOT\200\SOH\EOT@\SUB\167\EOT Contains information about the root workflow execution. It is possible for the namespace to\n\
+    \ be different than this workflow if using OSS and cross-namespace children, but this\n\
+    \ information is not retained. Users should take care to track it by other means in such\n\
+    \ situations.\n\
+    \\n\
+    \ The root workflow execution is defined as follows:\n\
+    \   1. A workflow without parent workflow is its own root workflow.\n\
+    \   2. A workflow that has a parent workflow has the same root workflow as its parent workflow.\n\
+    \\n\
+    \ See field in WorkflowExecutionStarted for more detail.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETB\ACK\DC2\EOT\200\SOH\EOT,\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETB\SOH\DC2\EOT\200\SOH-:\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\ETB\ETX\DC2\EOT\200\SOH=?\n\
+    \3\n\
+    \\EOT\EOT\STX\STX\CAN\DC2\EOT\202\SOH\EOT2\SUB% Priority of this workflow execution\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\CAN\ACK\DC2\EOT\202\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\CAN\SOH\DC2\EOT\202\SOH$,\n\
+    \\r\n\
+    \\ENQ\EOT\STX\STX\CAN\ETX\DC2\EOT\202\SOH/1\n\
+    \8\n\
+    \\STX\EOT\ETX\DC2\ACK\206\SOH\NUL\209\SOH\SOH\SUB* Notify a workflow that a timer has fired\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ETX\SOH\DC2\EOT\206\SOH\b\DC1\n\
+    \[\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\EOT\208\SOH\EOT\DC3\SUBM Sequence number as provided by lang in the corresponding StartTimer command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\EOT\208\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\EOT\208\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\EOT\208\SOH\DC1\DC2\n\
+    \D\n\
+    \\STX\EOT\EOT\DC2\ACK\212\SOH\NUL\219\SOH\SOH\SUB6 Notify a workflow that an activity has been resolved\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\EOT\SOH\DC2\EOT\212\SOH\b\ETB\n\
+    \a\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\EOT\214\SOH\EOT\DC3\SUBS Sequence number as provided by lang in the corresponding ScheduleActivity command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\EOT\214\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\EOT\214\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\EOT\214\SOH\DC1\DC2\n\
+    \\f\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\EOT\215\SOH\EOT2\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\ACK\DC2\EOT\215\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\EOT\215\SOH'-\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\EOT\215\SOH01\n\
+    \\145\SOH\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\EOT\218\SOH\EOT\SYN\SUB\130\SOH Set to true if the resolution is for a local activity. This is used internally by Core and\n\
+    \ lang does not need to care about it.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\ENQ\DC2\EOT\218\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\EOT\218\SOH\t\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\EOT\218\SOH\DC4\NAK\n\
+    \x\n\
+    \\STX\EOT\ENQ\DC2\ACK\223\SOH\NUL\231\SOH\SOH\SUBj Notify a workflow that a start child workflow execution request has succeeded, failed or was\n\
+    \ cancelled.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ENQ\SOH\DC2\EOT\223\SOH\b*\n\
+    \l\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\225\SOH\EOT\DC3\SUB^ Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\225\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\225\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\225\SOH\DC1\DC2\n\
+    \\SO\n\
+    \\EOT\EOT\ENQ\b\NUL\DC2\ACK\226\SOH\EOT\230\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\b\NUL\SOH\DC2\EOT\226\SOH\n\
+    \\DLE\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\SOH\DC2\EOT\227\SOH\b@\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ACK\DC2\EOT\227\SOH\b1\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\SOH\DC2\EOT\227\SOH2;\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\SOH\ETX\DC2\EOT\227\SOH>?\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\STX\DC2\EOT\228\SOH\b=\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ACK\DC2\EOT\228\SOH\b1\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\SOH\DC2\EOT\228\SOH28\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\STX\ETX\DC2\EOT\228\SOH;<\n\
+    \\f\n\
+    \\EOT\EOT\ENQ\STX\ETX\DC2\EOT\229\SOH\bB\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ACK\DC2\EOT\229\SOH\b3\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\SOH\DC2\EOT\229\SOH4=\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\ETX\ETX\DC2\EOT\229\SOH@A\n\
+    \.\n\
+    \\STX\EOT\ACK\DC2\ACK\234\SOH\NUL\236\SOH\SOH\SUB  Simply pass the run_id to lang\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ACK\SOH\DC2\EOT\234\SOH\b1\n\
+    \\f\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\235\SOH\EOT\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\235\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\235\SOH\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\235\SOH\DC4\NAK\n\
+    \1\n\
+    \\STX\EOT\a\DC2\ACK\239\SOH\NUL\245\SOH\SOH\SUB# Provide lang the cause of failure\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\239\SOH\b1\n\
+    \\132\SOH\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\242\SOH\EOT\ESC\SUBv Lang should have this information but it's more convenient to pass it back\n\
+    \ for error construction on the lang side.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\242\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\242\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\242\SOH\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\243\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ENQ\DC2\EOT\243\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\243\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\243\SOH\ESC\FS\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\244\SOH\EOTD\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\244\SOH\EOT9\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\244\SOH:?\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\244\SOHBC\n\
+    \\153\SOH\n\
+    \\STX\EOT\b\DC2\ACK\249\SOH\NUL\251\SOH\SOH\SUB\138\SOH `failure` should be ChildWorkflowFailure with cause set to CancelledFailure.\n\
+    \ The failure is constructed in core for lang's convenience.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\249\SOH\b3\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\250\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ACK\DC2\EOT\250\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\250\SOH$+\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\250\SOH./\n\
+    \S\n\
+    \\STX\EOT\t\DC2\ACK\254\SOH\NUL\130\STX\SOH\SUBE Notify a workflow that a child workflow execution has been resolved\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\254\SOH\b%\n\
+    \l\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\128\STX\EOT\DC3\SUB^ Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ENQ\DC2\EOT\128\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\128\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\128\STX\DC1\DC2\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\SOH\DC2\EOT\129\STX\EOT2\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ACK\DC2\EOT\129\STX\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\SOH\DC2\EOT\129\STX'-\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\SOH\ETX\DC2\EOT\129\STX01\n\
+    \1\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\133\STX\NUL\135\STX\SOH\SUB# Update the workflow's random seed\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\133\STX\b\CAN\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\134\STX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ENQ\DC2\EOT\134\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\134\STX\v\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\134\STX\GS\RS\n\
+    \ \n\
+    \\STX\EOT\v\DC2\ACK\138\STX\NUL\148\STX\SOH\SUB\DC2 Query a workflow\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\138\STX\b\NAK\n\
+    \\137\STX\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\142\STX\EOT\CAN\SUB\250\SOH For PollWFTResp `query` field, this will be set to the special value `legacy`. For the\n\
+    \ `queries` field, the server provides a unique identifier. If it is a `legacy` query,\n\
+    \ lang cannot issue any commands in response other than to answer the query.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\142\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\142\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\142\STX\SYN\ETB\n\
+    \4\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\144\STX\EOT\SUB\SUB& The query's function/method/etc name\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\144\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\144\STX\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\144\STX\CAN\EM\n\
+    \\f\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\145\STX\EOT:\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\145\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ACK\DC2\EOT\145\STX\r+\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\145\STX,5\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\145\STX89\n\
+    \-\n\
+    \\EOT\EOT\v\STX\ETX\DC2\EOT\147\STX\EOT<\SUB\US Headers attached to the query\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ACK\DC2\EOT\147\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\147\STX07\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\147\STX:;\n\
+    \)\n\
+    \\STX\EOT\f\DC2\ACK\151\STX\NUL\154\STX\SOH\SUB\ESC Cancel a running workflow\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\151\STX\b\SYN\n\
+    \C\n\
+    \\EOT\EOT\f\STX\NUL\DC2\EOT\153\STX\EOT\SYN\SUB5 User-specified reason the cancel request was issued\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ENQ\DC2\EOT\153\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\SOH\DC2\EOT\153\STX\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\f\STX\NUL\ETX\DC2\EOT\153\STX\DC4\NAK\n\
+    \+\n\
+    \\STX\EOT\r\DC2\ACK\157\STX\NUL\164\STX\SOH\SUB\GS Send a signal to a workflow\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\157\STX\b\SYN\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\158\STX\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ENQ\DC2\EOT\158\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\158\STX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\158\STX\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\159\STX\EOT6\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\EOT\DC2\EOT\159\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ACK\DC2\EOT\159\STX\r+\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\159\STX,1\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\159\STX45\n\
+    \4\n\
+    \\EOT\EOT\r\STX\STX\DC2\EOT\161\STX\EOT\CAN\SUB& Identity of the sender of the signal\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ENQ\DC2\EOT\161\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\SOH\DC2\EOT\161\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\STX\ETX\DC2\EOT\161\STX\SYN\ETB\n\
+    \.\n\
+    \\EOT\EOT\r\STX\ETX\DC2\EOT\163\STX\EOT<\SUB  Headers attached to the signal\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ACK\DC2\EOT\163\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\SOH\DC2\EOT\163\STX07\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\ETX\ETX\DC2\EOT\163\STX:;\n\
+    \\176\SOH\n\
+    \\STX\EOT\SO\DC2\ACK\168\STX\NUL\170\STX\SOH\SUB\161\SOH Inform lang what the result of a call to `patched` or similar API should be -- this is always\n\
+    \ sent pre-emptively, so any time it is sent the change is present\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\168\STX\b\SYN\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\169\STX\EOT\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ENQ\DC2\EOT\169\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\169\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\169\STX\SYN\ETB\n\
+    \\f\n\
+    \\STX\EOT\SI\DC2\ACK\172\STX\NUL\179\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\172\STX\b%\n\
+    \q\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\175\STX\EOT\DC3\SUBc Sequence number as provided by lang in the corresponding SignalExternalWorkflowExecution\n\
+    \ command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\175\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\175\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\175\STX\DC1\DC2\n\
+    \v\n\
+    \\EOT\EOT\SI\STX\SOH\DC2\EOT\178\STX\EOT0\SUBh If populated, this signal either failed to be sent or was cancelled depending on failure\n\
+    \ type / info.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ACK\DC2\EOT\178\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\178\STX$+\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\178\STX./\n\
+    \\f\n\
+    \\STX\EOT\DLE\DC2\ACK\181\STX\NUL\188\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\181\STX\b,\n\
+    \x\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\184\STX\EOT\DC3\SUBj Sequence number as provided by lang in the corresponding\n\
+    \ RequestCancelExternalWorkflowExecution command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ENQ\DC2\EOT\184\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\184\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\184\STX\DC1\DC2\n\
+    \v\n\
+    \\EOT\EOT\DLE\STX\SOH\DC2\EOT\187\STX\EOT0\SUBh If populated, this signal either failed to be sent or was cancelled depending on failure\n\
+    \ type / info.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ACK\DC2\EOT\187\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\187\STX$+\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\187\STX./\n\
+    \\160\STX\n\
+    \\STX\EOT\DC1\DC2\ACK\193\STX\NUL\211\STX\SOH\SUB\145\STX Lang is requested to invoke an update handler on the workflow. Lang should invoke the update\n\
+    \ validator first (if requested). If it accepts the update, immediately invoke the update handler.\n\
+    \ Lang must reply to the activation containing this job with an `UpdateResponse`.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\193\STX\b\DLE\n\
+    \<\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\195\STX\EOT\DC2\SUB. A workflow-unique identifier for this update\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ENQ\DC2\EOT\195\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\195\STX\v\r\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\195\STX\DLE\DC1\n\
+    \u\n\
+    \\EOT\EOT\DC1\STX\SOH\DC2\EOT\198\STX\EOT$\SUBg The protocol message instance ID - this is used to uniquely track the ID server side and\n\
+    \ internally.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ENQ\DC2\EOT\198\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\198\STX\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\198\STX\"#\n\
+    \.\n\
+    \\EOT\EOT\DC1\STX\STX\DC2\EOT\200\STX\EOT\DC4\SUB  The name of the update handler\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ENQ\DC2\EOT\200\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\200\STX\v\SI\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\200\STX\DC2\DC3\n\
+    \'\n\
+    \\EOT\EOT\DC1\STX\ETX\DC2\EOT\202\STX\EOT6\SUB\EM The input to the update\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\EOT\DC2\EOT\202\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\ACK\DC2\EOT\202\STX\r+\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\SOH\DC2\EOT\202\STX,1\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\ETX\DC2\EOT\202\STX45\n\
+    \.\n\
+    \\EOT\EOT\DC1\STX\EOT\DC2\EOT\204\STX\EOT<\SUB  Headers attached to the update\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\ACK\DC2\EOT\204\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\SOH\DC2\EOT\204\STX07\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\ETX\DC2\EOT\204\STX:;\n\
+    \\165\SOH\n\
+    \\EOT\EOT\DC1\STX\ENQ\DC2\EOT\207\STX\EOT)\SUB\150\SOH Remaining metadata associated with the update. The `update_id` field is stripped from here\n\
+    \ and moved to `id`, since it is guaranteed to be present.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\ACK\DC2\EOT\207\STX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\SOH\DC2\EOT\207\STX $\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\ETX\DC2\EOT\207\STX'(\n\
+    \\179\SOH\n\
+    \\EOT\EOT\DC1\STX\ACK\DC2\EOT\210\STX\EOT\ESC\SUB\164\SOH If set true, lang must run the update's validator before running the handler. This will be\n\
+    \ set false during replay, since validation is not re-run during replay.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ACK\ENQ\DC2\EOT\210\STX\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ACK\SOH\DC2\EOT\210\STX\t\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ACK\ETX\DC2\EOT\210\STX\EM\SUB\n\
+    \\f\n\
+    \\STX\EOT\DC2\DC2\ACK\213\STX\NUL\229\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC2\SOH\DC2\EOT\213\STX\b\"\n\
+    \g\n\
+    \\EOT\EOT\DC2\STX\NUL\DC2\EOT\215\STX\EOT\DC3\SUBY Sequence number as provided by lang in the corresponding ScheduleNexusOperation command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ENQ\DC2\EOT\215\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\215\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\215\STX\DC1\DC2\n\
+    \\SO\n\
+    \\EOT\EOT\DC2\b\NUL\DC2\ACK\216\STX\EOT\228\STX\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\b\NUL\SOH\DC2\EOT\216\STX\n\
+    \\DLE\n\
+    \\209\SOH\n\
+    \\EOT\EOT\DC2\STX\SOH\DC2\EOT\220\STX\b \SUB\194\SOH The operation started asynchronously. Contains an ID that can be used to perform\n\
+    \ operations on the started operation by, ex, clients. A `ResolveNexusOperation` job will\n\
+    \ follow at some point.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\ENQ\DC2\EOT\220\STX\b\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\SOH\DC2\EOT\220\STX\SI\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\SOH\ETX\DC2\EOT\220\STX\RS\US\n\
+    \\156\SOH\n\
+    \\EOT\EOT\DC2\STX\STX\DC2\EOT\223\STX\b\RS\SUB\141\SOH If true the operation \"started\" but only because it's also already resolved. A\n\
+    \ `ResolveNexusOperation` job will be in the same activation.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\STX\ENQ\DC2\EOT\223\STX\b\f\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\STX\SOH\DC2\EOT\223\STX\r\EM\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\STX\ETX\DC2\EOT\223\STX\FS\GS\n\
+    \\244\SOH\n\
+    \\EOT\EOT\DC2\STX\ETX\DC2\EOT\227\STX\bC\SUB\229\SOH The operation was cancelled before it was ever sent to server (same WFT).\n\
+    \ Note that core will still send a `ResolveNexusOperation` job in the same activation, so\n\
+    \ there does not need to be an exceptional case for this in lang.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\ETX\ACK\DC2\EOT\227\STX\b'\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\ETX\SOH\DC2\EOT\227\STX(>\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\ETX\ETX\DC2\EOT\227\STXAB\n\
+    \\f\n\
+    \\STX\EOT\DC3\DC2\ACK\231\STX\NUL\235\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC3\SOH\DC2\EOT\231\STX\b\GS\n\
+    \g\n\
+    \\EOT\EOT\DC3\STX\NUL\DC2\EOT\233\STX\EOT\DC3\SUBY Sequence number as provided by lang in the corresponding ScheduleNexusOperation command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ENQ\DC2\EOT\233\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\233\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\233\STX\DC1\DC2\n\
+    \\f\n\
+    \\EOT\EOT\DC3\STX\SOH\DC2\EOT\234\STX\EOT*\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ACK\DC2\EOT\234\STX\EOT\RS\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\SOH\DC2\EOT\234\STX\US%\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\SOH\ETX\DC2\EOT\234\STX()\n\
+    \\f\n\
+    \\STX\EOT\DC4\DC2\ACK\237\STX\NUL\141\ETX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC4\SOH\DC2\EOT\237\STX\b\ETB\n\
+    \\f\n\
+    \\EOT\EOT\DC4\STX\NUL\DC2\EOT\238\STX\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ENQ\DC2\EOT\238\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\SOH\DC2\EOT\238\STX\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ETX\DC2\EOT\238\STX\NAK\SYN\n\
+    \\SO\n\
+    \\EOT\EOT\DC4\EOT\NUL\DC2\ACK\240\STX\EOT\139\ETX\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\EOT\NUL\SOH\DC2\EOT\240\STX\t\ETB\n\
+    \\SO\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\NUL\DC2\EOT\241\STX\b\CAN\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\NUL\SOH\DC2\EOT\241\STX\b\DC3\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\NUL\STX\DC2\EOT\241\STX\SYN\ETB\n\
+    \(\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\SOH\DC2\EOT\243\STX\b\ETB\SUB\CAN Workflow cache is full\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\SOH\SOH\DC2\EOT\243\STX\b\DC2\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\SOH\STX\DC2\EOT\243\STX\NAK\SYN\n\
+    \\176\SOH\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\STX\DC2\EOT\246\STX\b\ETB\SUB\159\SOH Workflow received a partial task but was not in the cache. Typically it won't be in the\n\
+    \ lang cache either at this point, but we send an eviction to be sure.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\STX\SOH\DC2\EOT\246\STX\b\DC2\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\STX\STX\DC2\EOT\246\STX\NAK\SYN\n\
+    \J\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\ETX\DC2\EOT\248\STX\b\ESC\SUB: The workflow produced results inconsistent with history.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\ETX\SOH\DC2\EOT\248\STX\b\SYN\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\ETX\STX\DC2\EOT\248\STX\EM\SUB\n\
+    \Q\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\EOT\DC2\EOT\250\STX\b\SYN\SUBA The lang side completed the workflow activation with a failure.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\EOT\SOH\DC2\EOT\250\STX\b\DC1\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\EOT\STX\DC2\EOT\250\STX\DC4\NAK\n\
+    \N\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\ENQ\DC2\EOT\252\STX\b\ESC\SUB> The lang side explicitly requested this workflow be evicted.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\ENQ\SOH\DC2\EOT\252\STX\b\SYN\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\ENQ\STX\DC2\EOT\252\STX\EM\SUB\n\
+    \\173\SOH\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\ACK\DC2\EOT\255\STX\b\ESC\SUB\156\SOH The workflow task we tried to respond to didn't exist. The workflow might have already\n\
+    \ finished, or the WFT timed out but we didn't learn about that yet.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\ACK\SOH\DC2\EOT\255\STX\b\SYN\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\ACK\STX\DC2\EOT\255\STX\EM\SUB\n\
+    \\163\SOH\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\a\DC2\EOT\130\ETX\b\RS\SUB\146\SOH There was new work that must be handled while we attempted to complete the WFT. Ex:\n\
+    \ a new signal came in while trying to complete the workflow.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\a\SOH\DC2\EOT\130\ETX\b\EM\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\a\STX\DC2\EOT\130\ETX\FS\GS\n\
+    \\186\SOH\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\b\DC2\EOT\133\ETX\b\DC2\SUB\169\SOH There was some fatal error processing the workflow, typically an internal error, but\n\
+    \ can also happen if then network drops out while paginating. Check message string.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\b\SOH\DC2\EOT\133\ETX\b\r\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\b\STX\DC2\EOT\133\ETX\DLE\DC1\n\
+    \O\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\t\DC2\EOT\135\ETX\b(\SUB? Something went wrong attempting to fetch more history events.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\t\SOH\DC2\EOT\135\ETX\b#\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\t\STX\DC2\EOT\135\ETX&'\n\
+    \\129\SOH\n\
+    \\ACK\EOT\DC4\EOT\NUL\STX\n\
+    \\DC2\EOT\138\ETX\b'\SUBq The workflow is being completed with a terminal command and we sent the WFT completion\n\
+    \ to server successfully.\n\
+    \\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\n\
+    \\SOH\DC2\EOT\138\ETX\b!\n\
+    \\SI\n\
+    \\a\EOT\DC4\EOT\NUL\STX\n\
+    \\STX\DC2\EOT\138\ETX$&\n\
+    \\f\n\
+    \\EOT\EOT\DC4\STX\SOH\DC2\EOT\140\ETX\EOT\RS\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\SOH\ACK\DC2\EOT\140\ETX\EOT\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\SOH\SOH\DC2\EOT\140\ETX\DC3\EM\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\SOH\ETX\DC2\EOT\140\ETX\FS\GSb\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/WorkflowActivation/WorkflowActivation_Fields.hs b/src/Proto/Temporal/Sdk/Core/WorkflowActivation/WorkflowActivation_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/WorkflowActivation/WorkflowActivation_Fields.hs
@@ -0,0 +1,812 @@
+{- This file was auto-generated from temporal/sdk/core/workflow_activation/workflow_activation.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Update.V1.Message
+import qualified Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult
+import qualified Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+import qualified Proto.Temporal.Sdk.Core.Nexus.Nexus
+arguments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "arguments" a) =>
+  Lens.Family2.LensLike' f s a
+arguments = Data.ProtoLens.Field.field @"arguments"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+availableInternalFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "availableInternalFlags" a) =>
+  Lens.Family2.LensLike' f s a
+availableInternalFlags
+  = Data.ProtoLens.Field.field @"availableInternalFlags"
+cancelWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+cancelWorkflow = Data.ProtoLens.Field.field @"cancelWorkflow"
+cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+cancelled = Data.ProtoLens.Field.field @"cancelled"
+cancelledBeforeStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelledBeforeStart" a) =>
+  Lens.Family2.LensLike' f s a
+cancelledBeforeStart
+  = Data.ProtoLens.Field.field @"cancelledBeforeStart"
+cause ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "cause" a) =>
+  Lens.Family2.LensLike' f s a
+cause = Data.ProtoLens.Field.field @"cause"
+continueAsNewSuggested ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continueAsNewSuggested" a) =>
+  Lens.Family2.LensLike' f s a
+continueAsNewSuggested
+  = Data.ProtoLens.Field.field @"continueAsNewSuggested"
+continuedFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continuedFailure" a) =>
+  Lens.Family2.LensLike' f s a
+continuedFailure = Data.ProtoLens.Field.field @"continuedFailure"
+continuedFromExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continuedFromExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+continuedFromExecutionRunId
+  = Data.ProtoLens.Field.field @"continuedFromExecutionRunId"
+continuedInitiator ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continuedInitiator" a) =>
+  Lens.Family2.LensLike' f s a
+continuedInitiator
+  = Data.ProtoLens.Field.field @"continuedInitiator"
+cronSchedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronSchedule" a) =>
+  Lens.Family2.LensLike' f s a
+cronSchedule = Data.ProtoLens.Field.field @"cronSchedule"
+cronScheduleToScheduleInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronScheduleToScheduleInterval" a) =>
+  Lens.Family2.LensLike' f s a
+cronScheduleToScheduleInterval
+  = Data.ProtoLens.Field.field @"cronScheduleToScheduleInterval"
+deploymentVersionForCurrentTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deploymentVersionForCurrentTask" a) =>
+  Lens.Family2.LensLike' f s a
+deploymentVersionForCurrentTask
+  = Data.ProtoLens.Field.field @"deploymentVersionForCurrentTask"
+doUpdate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "doUpdate" a) =>
+  Lens.Family2.LensLike' f s a
+doUpdate = Data.ProtoLens.Field.field @"doUpdate"
+failed ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failed" a) =>
+  Lens.Family2.LensLike' f s a
+failed = Data.ProtoLens.Field.field @"failed"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+fireTimer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "fireTimer" a) =>
+  Lens.Family2.LensLike' f s a
+fireTimer = Data.ProtoLens.Field.field @"fireTimer"
+firstExecutionRunId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "firstExecutionRunId" a) =>
+  Lens.Family2.LensLike' f s a
+firstExecutionRunId
+  = Data.ProtoLens.Field.field @"firstExecutionRunId"
+headers ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "headers" a) =>
+  Lens.Family2.LensLike' f s a
+headers = Data.ProtoLens.Field.field @"headers"
+historyLength ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historyLength" a) =>
+  Lens.Family2.LensLike' f s a
+historyLength = Data.ProtoLens.Field.field @"historyLength"
+historySizeBytes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "historySizeBytes" a) =>
+  Lens.Family2.LensLike' f s a
+historySizeBytes = Data.ProtoLens.Field.field @"historySizeBytes"
+id ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "id" a) =>
+  Lens.Family2.LensLike' f s a
+id = Data.ProtoLens.Field.field @"id"
+identity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "identity" a) =>
+  Lens.Family2.LensLike' f s a
+identity = Data.ProtoLens.Field.field @"identity"
+initializeWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "initializeWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+initializeWorkflow
+  = Data.ProtoLens.Field.field @"initializeWorkflow"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+isLocal ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "isLocal" a) =>
+  Lens.Family2.LensLike' f s a
+isLocal = Data.ProtoLens.Field.field @"isLocal"
+isReplaying ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "isReplaying" a) =>
+  Lens.Family2.LensLike' f s a
+isReplaying = Data.ProtoLens.Field.field @"isReplaying"
+jobs ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "jobs" a) =>
+  Lens.Family2.LensLike' f s a
+jobs = Data.ProtoLens.Field.field @"jobs"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+lastCompletionResult
+  = Data.ProtoLens.Field.field @"lastCompletionResult"
+maybe'cancelWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelWorkflow
+  = Data.ProtoLens.Field.field @"maybe'cancelWorkflow"
+maybe'cancelled ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelled" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelled = Data.ProtoLens.Field.field @"maybe'cancelled"
+maybe'cancelledBeforeStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelledBeforeStart" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelledBeforeStart
+  = Data.ProtoLens.Field.field @"maybe'cancelledBeforeStart"
+maybe'continuedFailure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'continuedFailure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'continuedFailure
+  = Data.ProtoLens.Field.field @"maybe'continuedFailure"
+maybe'cronScheduleToScheduleInterval ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cronScheduleToScheduleInterval" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cronScheduleToScheduleInterval
+  = Data.ProtoLens.Field.field
+      @"maybe'cronScheduleToScheduleInterval"
+maybe'deploymentVersionForCurrentTask ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'deploymentVersionForCurrentTask" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'deploymentVersionForCurrentTask
+  = Data.ProtoLens.Field.field
+      @"maybe'deploymentVersionForCurrentTask"
+maybe'doUpdate ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'doUpdate" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'doUpdate = Data.ProtoLens.Field.field @"maybe'doUpdate"
+maybe'failed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failed = Data.ProtoLens.Field.field @"maybe'failed"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'fireTimer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'fireTimer" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'fireTimer = Data.ProtoLens.Field.field @"maybe'fireTimer"
+maybe'initializeWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'initializeWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'initializeWorkflow
+  = Data.ProtoLens.Field.field @"maybe'initializeWorkflow"
+maybe'lastCompletionResult ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'lastCompletionResult" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'lastCompletionResult
+  = Data.ProtoLens.Field.field @"maybe'lastCompletionResult"
+maybe'memo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'memo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'memo = Data.ProtoLens.Field.field @"maybe'memo"
+maybe'meta ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'meta" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'meta = Data.ProtoLens.Field.field @"maybe'meta"
+maybe'notifyHasPatch ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'notifyHasPatch" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'notifyHasPatch
+  = Data.ProtoLens.Field.field @"maybe'notifyHasPatch"
+maybe'operationId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'operationId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'operationId = Data.ProtoLens.Field.field @"maybe'operationId"
+maybe'parentWorkflowInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'parentWorkflowInfo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'parentWorkflowInfo
+  = Data.ProtoLens.Field.field @"maybe'parentWorkflowInfo"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'queryWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'queryWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'queryWorkflow
+  = Data.ProtoLens.Field.field @"maybe'queryWorkflow"
+maybe'removeFromCache ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'removeFromCache" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'removeFromCache
+  = Data.ProtoLens.Field.field @"maybe'removeFromCache"
+maybe'resolveActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveActivity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveActivity
+  = Data.ProtoLens.Field.field @"maybe'resolveActivity"
+maybe'resolveChildWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveChildWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveChildWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'resolveChildWorkflowExecution"
+maybe'resolveChildWorkflowExecutionStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveChildWorkflowExecutionStart" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveChildWorkflowExecutionStart
+  = Data.ProtoLens.Field.field
+      @"maybe'resolveChildWorkflowExecutionStart"
+maybe'resolveNexusOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveNexusOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveNexusOperation
+  = Data.ProtoLens.Field.field @"maybe'resolveNexusOperation"
+maybe'resolveNexusOperationStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveNexusOperationStart" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveNexusOperationStart
+  = Data.ProtoLens.Field.field @"maybe'resolveNexusOperationStart"
+maybe'resolveRequestCancelExternalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveRequestCancelExternalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveRequestCancelExternalWorkflow
+  = Data.ProtoLens.Field.field
+      @"maybe'resolveRequestCancelExternalWorkflow"
+maybe'resolveSignalExternalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'resolveSignalExternalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'resolveSignalExternalWorkflow
+  = Data.ProtoLens.Field.field @"maybe'resolveSignalExternalWorkflow"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'rootWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rootWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rootWorkflow
+  = Data.ProtoLens.Field.field @"maybe'rootWorkflow"
+maybe'searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'searchAttributes
+  = Data.ProtoLens.Field.field @"maybe'searchAttributes"
+maybe'signalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalWorkflow
+  = Data.ProtoLens.Field.field @"maybe'signalWorkflow"
+maybe'startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTime = Data.ProtoLens.Field.field @"maybe'startTime"
+maybe'startedSync ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startedSync" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startedSync = Data.ProtoLens.Field.field @"maybe'startedSync"
+maybe'status ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'status" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'status = Data.ProtoLens.Field.field @"maybe'status"
+maybe'succeeded ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'succeeded" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'succeeded = Data.ProtoLens.Field.field @"maybe'succeeded"
+maybe'timestamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'timestamp" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'timestamp = Data.ProtoLens.Field.field @"maybe'timestamp"
+maybe'updateRandomSeed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateRandomSeed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateRandomSeed
+  = Data.ProtoLens.Field.field @"maybe'updateRandomSeed"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+maybe'workflowExecutionExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionExpirationTime
+  = Data.ProtoLens.Field.field
+      @"maybe'workflowExecutionExpirationTime"
+maybe'workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout"
+maybe'workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowRunTimeout"
+maybe'workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+message ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "message" a) =>
+  Lens.Family2.LensLike' f s a
+message = Data.ProtoLens.Field.field @"message"
+meta ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "meta" a) =>
+  Lens.Family2.LensLike' f s a
+meta = Data.ProtoLens.Field.field @"meta"
+name ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "name" a) =>
+  Lens.Family2.LensLike' f s a
+name = Data.ProtoLens.Field.field @"name"
+notifyHasPatch ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "notifyHasPatch" a) =>
+  Lens.Family2.LensLike' f s a
+notifyHasPatch = Data.ProtoLens.Field.field @"notifyHasPatch"
+operationId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operationId" a) =>
+  Lens.Family2.LensLike' f s a
+operationId = Data.ProtoLens.Field.field @"operationId"
+parentWorkflowInfo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentWorkflowInfo" a) =>
+  Lens.Family2.LensLike' f s a
+parentWorkflowInfo
+  = Data.ProtoLens.Field.field @"parentWorkflowInfo"
+patchId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "patchId" a) =>
+  Lens.Family2.LensLike' f s a
+patchId = Data.ProtoLens.Field.field @"patchId"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+protocolInstanceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "protocolInstanceId" a) =>
+  Lens.Family2.LensLike' f s a
+protocolInstanceId
+  = Data.ProtoLens.Field.field @"protocolInstanceId"
+queryId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "queryId" a) =>
+  Lens.Family2.LensLike' f s a
+queryId = Data.ProtoLens.Field.field @"queryId"
+queryType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryType" a) =>
+  Lens.Family2.LensLike' f s a
+queryType = Data.ProtoLens.Field.field @"queryType"
+queryWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "queryWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+queryWorkflow = Data.ProtoLens.Field.field @"queryWorkflow"
+randomnessSeed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "randomnessSeed" a) =>
+  Lens.Family2.LensLike' f s a
+randomnessSeed = Data.ProtoLens.Field.field @"randomnessSeed"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+removeFromCache ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "removeFromCache" a) =>
+  Lens.Family2.LensLike' f s a
+removeFromCache = Data.ProtoLens.Field.field @"removeFromCache"
+resolveActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveActivity" a) =>
+  Lens.Family2.LensLike' f s a
+resolveActivity = Data.ProtoLens.Field.field @"resolveActivity"
+resolveChildWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveChildWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+resolveChildWorkflowExecution
+  = Data.ProtoLens.Field.field @"resolveChildWorkflowExecution"
+resolveChildWorkflowExecutionStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveChildWorkflowExecutionStart" a) =>
+  Lens.Family2.LensLike' f s a
+resolveChildWorkflowExecutionStart
+  = Data.ProtoLens.Field.field @"resolveChildWorkflowExecutionStart"
+resolveNexusOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveNexusOperation" a) =>
+  Lens.Family2.LensLike' f s a
+resolveNexusOperation
+  = Data.ProtoLens.Field.field @"resolveNexusOperation"
+resolveNexusOperationStart ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveNexusOperationStart" a) =>
+  Lens.Family2.LensLike' f s a
+resolveNexusOperationStart
+  = Data.ProtoLens.Field.field @"resolveNexusOperationStart"
+resolveRequestCancelExternalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveRequestCancelExternalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+resolveRequestCancelExternalWorkflow
+  = Data.ProtoLens.Field.field
+      @"resolveRequestCancelExternalWorkflow"
+resolveSignalExternalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "resolveSignalExternalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+resolveSignalExternalWorkflow
+  = Data.ProtoLens.Field.field @"resolveSignalExternalWorkflow"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+rootWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rootWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+rootWorkflow = Data.ProtoLens.Field.field @"rootWorkflow"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+runValidator ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "runValidator" a) =>
+  Lens.Family2.LensLike' f s a
+runValidator = Data.ProtoLens.Field.field @"runValidator"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+seq ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "seq" a) =>
+  Lens.Family2.LensLike' f s a
+seq = Data.ProtoLens.Field.field @"seq"
+signalName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalName" a) =>
+  Lens.Family2.LensLike' f s a
+signalName = Data.ProtoLens.Field.field @"signalName"
+signalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+signalWorkflow = Data.ProtoLens.Field.field @"signalWorkflow"
+startTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTime" a) =>
+  Lens.Family2.LensLike' f s a
+startTime = Data.ProtoLens.Field.field @"startTime"
+startedSync ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startedSync" a) =>
+  Lens.Family2.LensLike' f s a
+startedSync = Data.ProtoLens.Field.field @"startedSync"
+succeeded ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "succeeded" a) =>
+  Lens.Family2.LensLike' f s a
+succeeded = Data.ProtoLens.Field.field @"succeeded"
+timestamp ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "timestamp" a) =>
+  Lens.Family2.LensLike' f s a
+timestamp = Data.ProtoLens.Field.field @"timestamp"
+updateRandomSeed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateRandomSeed" a) =>
+  Lens.Family2.LensLike' f s a
+updateRandomSeed = Data.ProtoLens.Field.field @"updateRandomSeed"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'arguments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'arguments" a) =>
+  Lens.Family2.LensLike' f s a
+vec'arguments = Data.ProtoLens.Field.field @"vec'arguments"
+vec'availableInternalFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'availableInternalFlags" a) =>
+  Lens.Family2.LensLike' f s a
+vec'availableInternalFlags
+  = Data.ProtoLens.Field.field @"vec'availableInternalFlags"
+vec'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'input" a) =>
+  Lens.Family2.LensLike' f s a
+vec'input = Data.ProtoLens.Field.field @"vec'input"
+vec'jobs ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'jobs" a) =>
+  Lens.Family2.LensLike' f s a
+vec'jobs = Data.ProtoLens.Field.field @"vec'jobs"
+workflowExecutionExpirationTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionExpirationTime" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionExpirationTime
+  = Data.ProtoLens.Field.field @"workflowExecutionExpirationTime"
+workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"workflowExecutionTimeout"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowRunTimeout
+  = Data.ProtoLens.Field.field @"workflowRunTimeout"
+workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"workflowTaskTimeout"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Sdk/Core/WorkflowCommands/WorkflowCommands.hs b/src/Proto/Temporal/Sdk/Core/WorkflowCommands/WorkflowCommands.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/WorkflowCommands/WorkflowCommands.hs
@@ -0,0 +1,12470 @@
+{- This file was auto-generated from temporal/sdk/core/workflow_commands/workflow_commands.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands (
+        ActivityCancellationType(..), ActivityCancellationType(),
+        ActivityCancellationType'UnrecognizedValue,
+        CancelChildWorkflowExecution(), CancelSignalWorkflow(),
+        CancelTimer(), CancelWorkflowExecution(),
+        CompleteWorkflowExecution(), ContinueAsNewWorkflowExecution(),
+        ContinueAsNewWorkflowExecution'HeadersEntry(),
+        ContinueAsNewWorkflowExecution'MemoEntry(),
+        ContinueAsNewWorkflowExecution'SearchAttributesEntry(),
+        FailWorkflowExecution(), ModifyWorkflowProperties(), QueryResult(),
+        QueryResult'Variant(..), _QueryResult'Succeeded,
+        _QueryResult'Failed, QuerySuccess(), RequestCancelActivity(),
+        RequestCancelExternalWorkflowExecution(),
+        RequestCancelLocalActivity(), RequestCancelNexusOperation(),
+        ScheduleActivity(), ScheduleActivity'HeadersEntry(),
+        ScheduleLocalActivity(), ScheduleLocalActivity'HeadersEntry(),
+        ScheduleNexusOperation(),
+        ScheduleNexusOperation'NexusHeaderEntry(), SetPatchMarker(),
+        SignalExternalWorkflowExecution(),
+        SignalExternalWorkflowExecution'Target(..),
+        _SignalExternalWorkflowExecution'WorkflowExecution,
+        _SignalExternalWorkflowExecution'ChildWorkflowId,
+        SignalExternalWorkflowExecution'HeadersEntry(),
+        StartChildWorkflowExecution(),
+        StartChildWorkflowExecution'HeadersEntry(),
+        StartChildWorkflowExecution'MemoEntry(),
+        StartChildWorkflowExecution'SearchAttributesEntry(), StartTimer(),
+        UpdateResponse(), UpdateResponse'Response(..),
+        _UpdateResponse'Accepted, _UpdateResponse'Rejected,
+        _UpdateResponse'Completed, UpsertWorkflowSearchAttributes(),
+        UpsertWorkflowSearchAttributes'SearchAttributesEntry(),
+        WorkflowCommand(), WorkflowCommand'Variant(..),
+        _WorkflowCommand'StartTimer, _WorkflowCommand'ScheduleActivity,
+        _WorkflowCommand'RespondToQuery,
+        _WorkflowCommand'RequestCancelActivity,
+        _WorkflowCommand'CancelTimer,
+        _WorkflowCommand'CompleteWorkflowExecution,
+        _WorkflowCommand'FailWorkflowExecution,
+        _WorkflowCommand'ContinueAsNewWorkflowExecution,
+        _WorkflowCommand'CancelWorkflowExecution,
+        _WorkflowCommand'SetPatchMarker,
+        _WorkflowCommand'StartChildWorkflowExecution,
+        _WorkflowCommand'CancelChildWorkflowExecution,
+        _WorkflowCommand'RequestCancelExternalWorkflowExecution,
+        _WorkflowCommand'SignalExternalWorkflowExecution,
+        _WorkflowCommand'CancelSignalWorkflow,
+        _WorkflowCommand'ScheduleLocalActivity,
+        _WorkflowCommand'RequestCancelLocalActivity,
+        _WorkflowCommand'UpsertWorkflowSearchAttributes,
+        _WorkflowCommand'ModifyWorkflowProperties,
+        _WorkflowCommand'UpdateResponse,
+        _WorkflowCommand'ScheduleNexusOperation,
+        _WorkflowCommand'RequestCancelNexusOperation
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+newtype ActivityCancellationType'UnrecognizedValue
+  = ActivityCancellationType'UnrecognizedValue Data.Int.Int32
+  deriving stock (Prelude.Eq, Prelude.Ord, Prelude.Show)
+data ActivityCancellationType
+  = TRY_CANCEL |
+    WAIT_CANCELLATION_COMPLETED |
+    ABANDON |
+    ActivityCancellationType'Unrecognized !ActivityCancellationType'UnrecognizedValue
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.MessageEnum ActivityCancellationType where
+  maybeToEnum 0 = Prelude.Just TRY_CANCEL
+  maybeToEnum 1 = Prelude.Just WAIT_CANCELLATION_COMPLETED
+  maybeToEnum 2 = Prelude.Just ABANDON
+  maybeToEnum k
+    = Prelude.Just
+        (ActivityCancellationType'Unrecognized
+           (ActivityCancellationType'UnrecognizedValue
+              (Prelude.fromIntegral k)))
+  showEnum TRY_CANCEL = "TRY_CANCEL"
+  showEnum WAIT_CANCELLATION_COMPLETED
+    = "WAIT_CANCELLATION_COMPLETED"
+  showEnum ABANDON = "ABANDON"
+  showEnum
+    (ActivityCancellationType'Unrecognized (ActivityCancellationType'UnrecognizedValue k))
+    = Prelude.show k
+  readEnum k
+    | (Prelude.==) k "TRY_CANCEL" = Prelude.Just TRY_CANCEL
+    | (Prelude.==) k "WAIT_CANCELLATION_COMPLETED"
+    = Prelude.Just WAIT_CANCELLATION_COMPLETED
+    | (Prelude.==) k "ABANDON" = Prelude.Just ABANDON
+    | Prelude.otherwise
+    = (Prelude.>>=) (Text.Read.readMaybe k) Data.ProtoLens.maybeToEnum
+instance Prelude.Bounded ActivityCancellationType where
+  minBound = TRY_CANCEL
+  maxBound = ABANDON
+instance Prelude.Enum ActivityCancellationType where
+  toEnum k__
+    = Prelude.maybe
+        (Prelude.error
+           ((Prelude.++)
+              "toEnum: unknown value for enum ActivityCancellationType: "
+              (Prelude.show k__)))
+        Prelude.id (Data.ProtoLens.maybeToEnum k__)
+  fromEnum TRY_CANCEL = 0
+  fromEnum WAIT_CANCELLATION_COMPLETED = 1
+  fromEnum ABANDON = 2
+  fromEnum
+    (ActivityCancellationType'Unrecognized (ActivityCancellationType'UnrecognizedValue k))
+    = Prelude.fromIntegral k
+  succ ABANDON
+    = Prelude.error
+        "ActivityCancellationType.succ: bad argument ABANDON. This value would be out of bounds."
+  succ TRY_CANCEL = WAIT_CANCELLATION_COMPLETED
+  succ WAIT_CANCELLATION_COMPLETED = ABANDON
+  succ (ActivityCancellationType'Unrecognized _)
+    = Prelude.error
+        "ActivityCancellationType.succ: bad argument: unrecognized value"
+  pred TRY_CANCEL
+    = Prelude.error
+        "ActivityCancellationType.pred: bad argument TRY_CANCEL. This value would be out of bounds."
+  pred WAIT_CANCELLATION_COMPLETED = TRY_CANCEL
+  pred ABANDON = WAIT_CANCELLATION_COMPLETED
+  pred (ActivityCancellationType'Unrecognized _)
+    = Prelude.error
+        "ActivityCancellationType.pred: bad argument: unrecognized value"
+  enumFrom = Data.ProtoLens.Message.Enum.messageEnumFrom
+  enumFromTo = Data.ProtoLens.Message.Enum.messageEnumFromTo
+  enumFromThen = Data.ProtoLens.Message.Enum.messageEnumFromThen
+  enumFromThenTo = Data.ProtoLens.Message.Enum.messageEnumFromThenTo
+instance Data.ProtoLens.FieldDefault ActivityCancellationType where
+  fieldDefault = TRY_CANCEL
+instance Control.DeepSeq.NFData ActivityCancellationType where
+  rnf x__ = Prelude.seq x__ ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.childWorkflowSeq' @:: Lens' CancelChildWorkflowExecution Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.reason' @:: Lens' CancelChildWorkflowExecution Data.Text.Text@ -}
+data CancelChildWorkflowExecution
+  = CancelChildWorkflowExecution'_constructor {_CancelChildWorkflowExecution'childWorkflowSeq :: !Data.Word.Word32,
+                                               _CancelChildWorkflowExecution'reason :: !Data.Text.Text,
+                                               _CancelChildWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelChildWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelChildWorkflowExecution "childWorkflowSeq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelChildWorkflowExecution'childWorkflowSeq
+           (\ x__ y__
+              -> x__ {_CancelChildWorkflowExecution'childWorkflowSeq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField CancelChildWorkflowExecution "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelChildWorkflowExecution'reason
+           (\ x__ y__ -> x__ {_CancelChildWorkflowExecution'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelChildWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.CancelChildWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\FSCancelChildWorkflowExecution\DC2,\n\
+      \\DC2child_workflow_seq\CAN\SOH \SOH(\rR\DLEchildWorkflowSeq\DC2\SYN\n\
+      \\ACKreason\CAN\STX \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        childWorkflowSeq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"childWorkflowSeq")) ::
+              Data.ProtoLens.FieldDescriptor CancelChildWorkflowExecution
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor CancelChildWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, childWorkflowSeq__field_descriptor),
+           (Data.ProtoLens.Tag 2, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelChildWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_CancelChildWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = CancelChildWorkflowExecution'_constructor
+        {_CancelChildWorkflowExecution'childWorkflowSeq = Data.ProtoLens.fieldDefault,
+         _CancelChildWorkflowExecution'reason = Data.ProtoLens.fieldDefault,
+         _CancelChildWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelChildWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelChildWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "child_workflow_seq"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"childWorkflowSeq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelChildWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"childWorkflowSeq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData CancelChildWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelChildWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CancelChildWorkflowExecution'childWorkflowSeq x__)
+                (Control.DeepSeq.deepseq
+                   (_CancelChildWorkflowExecution'reason x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' CancelSignalWorkflow Data.Word.Word32@ -}
+data CancelSignalWorkflow
+  = CancelSignalWorkflow'_constructor {_CancelSignalWorkflow'seq :: !Data.Word.Word32,
+                                       _CancelSignalWorkflow'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelSignalWorkflow where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelSignalWorkflow "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelSignalWorkflow'seq
+           (\ x__ y__ -> x__ {_CancelSignalWorkflow'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelSignalWorkflow where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.CancelSignalWorkflow"
+  packedMessageDescriptor _
+    = "\n\
+      \\DC4CancelSignalWorkflow\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor CancelSignalWorkflow
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, seq__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelSignalWorkflow'_unknownFields
+        (\ x__ y__ -> x__ {_CancelSignalWorkflow'_unknownFields = y__})
+  defMessage
+    = CancelSignalWorkflow'_constructor
+        {_CancelSignalWorkflow'seq = Data.ProtoLens.fieldDefault,
+         _CancelSignalWorkflow'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelSignalWorkflow
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelSignalWorkflow
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelSignalWorkflow"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CancelSignalWorkflow where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelSignalWorkflow'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CancelSignalWorkflow'seq x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' CancelTimer Data.Word.Word32@ -}
+data CancelTimer
+  = CancelTimer'_constructor {_CancelTimer'seq :: !Data.Word.Word32,
+                              _CancelTimer'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelTimer where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CancelTimer "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CancelTimer'seq (\ x__ y__ -> x__ {_CancelTimer'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CancelTimer where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.CancelTimer"
+  packedMessageDescriptor _
+    = "\n\
+      \\vCancelTimer\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor CancelTimer
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, seq__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelTimer'_unknownFields
+        (\ x__ y__ -> x__ {_CancelTimer'_unknownFields = y__})
+  defMessage
+    = CancelTimer'_constructor
+        {_CancelTimer'seq = Data.ProtoLens.fieldDefault,
+         _CancelTimer'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelTimer -> Data.ProtoLens.Encoding.Bytes.Parser CancelTimer
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelTimer"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CancelTimer where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelTimer'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_CancelTimer'seq x__) ())
+{- | Fields :
+      -}
+data CancelWorkflowExecution
+  = CancelWorkflowExecution'_constructor {_CancelWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CancelWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Message CancelWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.CancelWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\ETBCancelWorkflowExecution"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag = let in Data.Map.fromList []
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CancelWorkflowExecution'_unknownFields
+        (\ x__ y__ -> x__ {_CancelWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = CancelWorkflowExecution'_constructor
+        {_CancelWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CancelWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser CancelWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CancelWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> Data.ProtoLens.Encoding.Wire.buildFieldSet
+             (Lens.Family2.view Data.ProtoLens.unknownFields _x)
+instance Control.DeepSeq.NFData CancelWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CancelWorkflowExecution'_unknownFields x__) ()
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.result' @:: Lens' CompleteWorkflowExecution Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'result' @:: Lens' CompleteWorkflowExecution (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data CompleteWorkflowExecution
+  = CompleteWorkflowExecution'_constructor {_CompleteWorkflowExecution'result :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                            _CompleteWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show CompleteWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField CompleteWorkflowExecution "result" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompleteWorkflowExecution'result
+           (\ x__ y__ -> x__ {_CompleteWorkflowExecution'result = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField CompleteWorkflowExecution "maybe'result" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _CompleteWorkflowExecution'result
+           (\ x__ y__ -> x__ {_CompleteWorkflowExecution'result = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message CompleteWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.CompleteWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\EMCompleteWorkflowExecution\DC27\n\
+      \\ACKresult\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        result__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "result"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'result")) ::
+              Data.ProtoLens.FieldDescriptor CompleteWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, result__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _CompleteWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_CompleteWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = CompleteWorkflowExecution'_constructor
+        {_CompleteWorkflowExecution'result = Prelude.Nothing,
+         _CompleteWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          CompleteWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser CompleteWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "result"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"result") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "CompleteWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'result") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData CompleteWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_CompleteWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_CompleteWorkflowExecution'result x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowType' @:: Lens' ContinueAsNewWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.taskQueue' @:: Lens' ContinueAsNewWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.arguments' @:: Lens' ContinueAsNewWorkflowExecution [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.vec'arguments' @:: Lens' ContinueAsNewWorkflowExecution (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowRunTimeout' @:: Lens' ContinueAsNewWorkflowExecution Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowRunTimeout' @:: Lens' ContinueAsNewWorkflowExecution (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowTaskTimeout' @:: Lens' ContinueAsNewWorkflowExecution Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowTaskTimeout' @:: Lens' ContinueAsNewWorkflowExecution (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.memo' @:: Lens' ContinueAsNewWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.headers' @:: Lens' ContinueAsNewWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.searchAttributes' @:: Lens' ContinueAsNewWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.retryPolicy' @:: Lens' ContinueAsNewWorkflowExecution Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'retryPolicy' @:: Lens' ContinueAsNewWorkflowExecution (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.versioningIntent' @:: Lens' ContinueAsNewWorkflowExecution Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent@ -}
+data ContinueAsNewWorkflowExecution
+  = ContinueAsNewWorkflowExecution'_constructor {_ContinueAsNewWorkflowExecution'workflowType :: !Data.Text.Text,
+                                                 _ContinueAsNewWorkflowExecution'taskQueue :: !Data.Text.Text,
+                                                 _ContinueAsNewWorkflowExecution'arguments :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                 _ContinueAsNewWorkflowExecution'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                 _ContinueAsNewWorkflowExecution'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                                 _ContinueAsNewWorkflowExecution'memo :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                 _ContinueAsNewWorkflowExecution'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                 _ContinueAsNewWorkflowExecution'searchAttributes :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                 _ContinueAsNewWorkflowExecution'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                                 _ContinueAsNewWorkflowExecution'versioningIntent :: !Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent,
+                                                 _ContinueAsNewWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ContinueAsNewWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "workflowType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'workflowType
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "taskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'taskQueue
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "arguments" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'arguments
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'arguments = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "vec'arguments" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'arguments
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'arguments = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecution'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'workflowTaskTimeout
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecution'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "memo" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'memo
+           (\ x__ y__ -> x__ {_ContinueAsNewWorkflowExecution'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'headers
+           (\ x__ y__ -> x__ {_ContinueAsNewWorkflowExecution'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "searchAttributes" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'searchAttributes
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'retryPolicy
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'retryPolicy
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution "versioningIntent" Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'versioningIntent
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'versioningIntent = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ContinueAsNewWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ContinueAsNewWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSContinueAsNewWorkflowExecution\DC2#\n\
+      \\rworkflow_type\CAN\SOH \SOH(\tR\fworkflowType\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\STX \SOH(\tR\ttaskQueue\DC2=\n\
+      \\targuments\CAN\ETX \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2W\n\
+      \\EOTmemo\CAN\ACK \ETX(\v2C.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntryR\EOTmemo\DC2`\n\
+      \\aheaders\CAN\a \ETX(\v2F.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntryR\aheaders\DC2|\n\
+      \\DC1search_attributes\CAN\b \ETX(\v2O.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntryR\DLEsearchAttributes\DC2F\n\
+      \\fretry_policy\CAN\t \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2M\n\
+      \\DC1versioning_intent\CAN\n\
+      \ \SOH(\SO2 .coresdk.common.VersioningIntentR\DLEversioningIntent\SUBX\n\
+      \\tMemoEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUBd\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowType")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        arguments__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "arguments"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"arguments")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ContinueAsNewWorkflowExecution'MemoEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"memo")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ContinueAsNewWorkflowExecution'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ContinueAsNewWorkflowExecution'SearchAttributesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+        versioningIntent__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_intent"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"versioningIntent")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 2, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 3, arguments__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 5, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 6, memo__field_descriptor),
+           (Data.ProtoLens.Tag 7, headers__field_descriptor),
+           (Data.ProtoLens.Tag 8, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 9, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 10, versioningIntent__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ContinueAsNewWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_ContinueAsNewWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = ContinueAsNewWorkflowExecution'_constructor
+        {_ContinueAsNewWorkflowExecution'workflowType = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecution'taskQueue = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecution'arguments = Data.Vector.Generic.empty,
+         _ContinueAsNewWorkflowExecution'workflowRunTimeout = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecution'workflowTaskTimeout = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecution'memo = Data.Map.empty,
+         _ContinueAsNewWorkflowExecution'headers = Data.Map.empty,
+         _ContinueAsNewWorkflowExecution'searchAttributes = Data.Map.empty,
+         _ContinueAsNewWorkflowExecution'retryPolicy = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecution'versioningIntent = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ContinueAsNewWorkflowExecution
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser ContinueAsNewWorkflowExecution
+        loop x mutable'arguments
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'arguments)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'arguments") frozen'arguments x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                                  mutable'arguments
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                                  mutable'arguments
+                        26
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "arguments"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'arguments y)
+                                loop x v
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                                  mutable'arguments
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                                  mutable'arguments
+                        50
+                          -> do !(entry :: ContinueAsNewWorkflowExecution'MemoEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                          (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                              Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                (Prelude.fromIntegral
+                                                                                                   len)
+                                                                                                Data.ProtoLens.parseMessage)
+                                                                                          "memo"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"memo")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        58
+                          -> do !(entry :: ContinueAsNewWorkflowExecution'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                             (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                 Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                   (Prelude.fromIntegral
+                                                                                                      len)
+                                                                                                   Data.ProtoLens.parseMessage)
+                                                                                             "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        66
+                          -> do !(entry :: ContinueAsNewWorkflowExecution'SearchAttributesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                      (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                          Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                            (Prelude.fromIntegral
+                                                                                                               len)
+                                                                                                            Data.ProtoLens.parseMessage)
+                                                                                                      "search_attributes"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"searchAttributes")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'arguments
+                        80
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "versioning_intent"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningIntent") y x)
+                                  mutable'arguments
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'arguments
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'arguments)
+          "ContinueAsNewWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowType") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskQueue") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'arguments") _x))
+                   ((Data.Monoid.<>)
+                      (case
+                           Lens.Family2.view
+                             (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                       of
+                         Prelude.Nothing -> Data.Monoid.mempty
+                         (Prelude.Just _v)
+                           -> (Data.Monoid.<>)
+                                (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                                ((Prelude..)
+                                   (\ bs
+                                      -> (Data.Monoid.<>)
+                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                              (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                           (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                   Data.ProtoLens.encodeMessage _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (Data.Monoid.mconcat
+                               (Prelude.map
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"value")
+                                                   (Prelude.snd _v)
+                                                   (Data.ProtoLens.defMessage ::
+                                                      ContinueAsNewWorkflowExecution'MemoEntry)))))
+                                  (Data.Map.toList
+                                     (Lens.Family2.view (Data.ProtoLens.Field.field @"memo") _x))))
+                            ((Data.Monoid.<>)
+                               (Data.Monoid.mconcat
+                                  (Prelude.map
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"key")
+                                                   (Prelude.fst _v)
+                                                   (Lens.Family2.set
+                                                      (Data.ProtoLens.Field.field @"value")
+                                                      (Prelude.snd _v)
+                                                      (Data.ProtoLens.defMessage ::
+                                                         ContinueAsNewWorkflowExecution'HeadersEntry)))))
+                                     (Data.Map.toList
+                                        (Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"headers") _x))))
+                               ((Data.Monoid.<>)
+                                  (Data.Monoid.mconcat
+                                     (Prelude.map
+                                        (\ _v
+                                           -> (Data.Monoid.<>)
+                                                (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                                ((Prelude..)
+                                                   (\ bs
+                                                      -> (Data.Monoid.<>)
+                                                           (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                              (Prelude.fromIntegral
+                                                                 (Data.ByteString.length bs)))
+                                                           (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                              bs))
+                                                   Data.ProtoLens.encodeMessage
+                                                   (Lens.Family2.set
+                                                      (Data.ProtoLens.Field.field @"key")
+                                                      (Prelude.fst _v)
+                                                      (Lens.Family2.set
+                                                         (Data.ProtoLens.Field.field @"value")
+                                                         (Prelude.snd _v)
+                                                         (Data.ProtoLens.defMessage ::
+                                                            ContinueAsNewWorkflowExecution'SearchAttributesEntry)))))
+                                        (Data.Map.toList
+                                           (Lens.Family2.view
+                                              (Data.ProtoLens.Field.field @"searchAttributes")
+                                              _x))))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field @"maybe'retryPolicy") _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field @"versioningIntent") _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 80)
+                                                 ((Prelude..)
+                                                    ((Prelude..)
+                                                       Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       Prelude.fromIntegral)
+                                                    Prelude.fromEnum _v))
+                                        (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                           (Lens.Family2.view
+                                              Data.ProtoLens.unknownFields _x)))))))))))
+instance Control.DeepSeq.NFData ContinueAsNewWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ContinueAsNewWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ContinueAsNewWorkflowExecution'workflowType x__)
+                (Control.DeepSeq.deepseq
+                   (_ContinueAsNewWorkflowExecution'taskQueue x__)
+                   (Control.DeepSeq.deepseq
+                      (_ContinueAsNewWorkflowExecution'arguments x__)
+                      (Control.DeepSeq.deepseq
+                         (_ContinueAsNewWorkflowExecution'workflowRunTimeout x__)
+                         (Control.DeepSeq.deepseq
+                            (_ContinueAsNewWorkflowExecution'workflowTaskTimeout x__)
+                            (Control.DeepSeq.deepseq
+                               (_ContinueAsNewWorkflowExecution'memo x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ContinueAsNewWorkflowExecution'headers x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ContinueAsNewWorkflowExecution'searchAttributes x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ContinueAsNewWorkflowExecution'retryPolicy x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ContinueAsNewWorkflowExecution'versioningIntent x__)
+                                           ()))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' ContinueAsNewWorkflowExecution'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' ContinueAsNewWorkflowExecution'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' ContinueAsNewWorkflowExecution'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data ContinueAsNewWorkflowExecution'HeadersEntry
+  = ContinueAsNewWorkflowExecution'HeadersEntry'_constructor {_ContinueAsNewWorkflowExecution'HeadersEntry'key :: !Data.Text.Text,
+                                                              _ContinueAsNewWorkflowExecution'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                              _ContinueAsNewWorkflowExecution'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ContinueAsNewWorkflowExecution'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'HeadersEntry'key
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'HeadersEntry'value
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'HeadersEntry'value
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ContinueAsNewWorkflowExecution'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ContinueAsNewWorkflowExecution'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ContinueAsNewWorkflowExecution'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = ContinueAsNewWorkflowExecution'HeadersEntry'_constructor
+        {_ContinueAsNewWorkflowExecution'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecution'HeadersEntry'value = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecution'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ContinueAsNewWorkflowExecution'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ContinueAsNewWorkflowExecution'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ContinueAsNewWorkflowExecution'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ContinueAsNewWorkflowExecution'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ContinueAsNewWorkflowExecution'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ContinueAsNewWorkflowExecution'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' ContinueAsNewWorkflowExecution'MemoEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' ContinueAsNewWorkflowExecution'MemoEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' ContinueAsNewWorkflowExecution'MemoEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data ContinueAsNewWorkflowExecution'MemoEntry
+  = ContinueAsNewWorkflowExecution'MemoEntry'_constructor {_ContinueAsNewWorkflowExecution'MemoEntry'key :: !Data.Text.Text,
+                                                           _ContinueAsNewWorkflowExecution'MemoEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                           _ContinueAsNewWorkflowExecution'MemoEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ContinueAsNewWorkflowExecution'MemoEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'MemoEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'MemoEntry'key
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'MemoEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'MemoEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'MemoEntry'value
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'MemoEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'MemoEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'MemoEntry'value
+           (\ x__ y__
+              -> x__ {_ContinueAsNewWorkflowExecution'MemoEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ContinueAsNewWorkflowExecution'MemoEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\tMemoEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution'MemoEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution'MemoEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ContinueAsNewWorkflowExecution'MemoEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ContinueAsNewWorkflowExecution'MemoEntry'_unknownFields = y__})
+  defMessage
+    = ContinueAsNewWorkflowExecution'MemoEntry'_constructor
+        {_ContinueAsNewWorkflowExecution'MemoEntry'key = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecution'MemoEntry'value = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecution'MemoEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ContinueAsNewWorkflowExecution'MemoEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ContinueAsNewWorkflowExecution'MemoEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MemoEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ContinueAsNewWorkflowExecution'MemoEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ContinueAsNewWorkflowExecution'MemoEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ContinueAsNewWorkflowExecution'MemoEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ContinueAsNewWorkflowExecution'MemoEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' ContinueAsNewWorkflowExecution'SearchAttributesEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' ContinueAsNewWorkflowExecution'SearchAttributesEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' ContinueAsNewWorkflowExecution'SearchAttributesEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data ContinueAsNewWorkflowExecution'SearchAttributesEntry
+  = ContinueAsNewWorkflowExecution'SearchAttributesEntry'_constructor {_ContinueAsNewWorkflowExecution'SearchAttributesEntry'key :: !Data.Text.Text,
+                                                                       _ContinueAsNewWorkflowExecution'SearchAttributesEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                                       _ContinueAsNewWorkflowExecution'SearchAttributesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ContinueAsNewWorkflowExecution'SearchAttributesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'SearchAttributesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'SearchAttributesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecution'SearchAttributesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'SearchAttributesEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecution'SearchAttributesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ContinueAsNewWorkflowExecution'SearchAttributesEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ContinueAsNewWorkflowExecution'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_ContinueAsNewWorkflowExecution'SearchAttributesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ContinueAsNewWorkflowExecution'SearchAttributesEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution'SearchAttributesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor ContinueAsNewWorkflowExecution'SearchAttributesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ContinueAsNewWorkflowExecution'SearchAttributesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ContinueAsNewWorkflowExecution'SearchAttributesEntry'_unknownFields = y__})
+  defMessage
+    = ContinueAsNewWorkflowExecution'SearchAttributesEntry'_constructor
+        {_ContinueAsNewWorkflowExecution'SearchAttributesEntry'key = Data.ProtoLens.fieldDefault,
+         _ContinueAsNewWorkflowExecution'SearchAttributesEntry'value = Prelude.Nothing,
+         _ContinueAsNewWorkflowExecution'SearchAttributesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ContinueAsNewWorkflowExecution'SearchAttributesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ContinueAsNewWorkflowExecution'SearchAttributesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SearchAttributesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ContinueAsNewWorkflowExecution'SearchAttributesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ContinueAsNewWorkflowExecution'SearchAttributesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_ContinueAsNewWorkflowExecution'SearchAttributesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ContinueAsNewWorkflowExecution'SearchAttributesEntry'value x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.failure' @:: Lens' FailWorkflowExecution Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'failure' @:: Lens' FailWorkflowExecution (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@ -}
+data FailWorkflowExecution
+  = FailWorkflowExecution'_constructor {_FailWorkflowExecution'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                                        _FailWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show FailWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField FailWorkflowExecution "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailWorkflowExecution'failure
+           (\ x__ y__ -> x__ {_FailWorkflowExecution'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField FailWorkflowExecution "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _FailWorkflowExecution'failure
+           (\ x__ y__ -> x__ {_FailWorkflowExecution'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message FailWorkflowExecution where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.FailWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKFailWorkflowExecution\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor FailWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _FailWorkflowExecution'_unknownFields
+        (\ x__ y__ -> x__ {_FailWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = FailWorkflowExecution'_constructor
+        {_FailWorkflowExecution'failure = Prelude.Nothing,
+         _FailWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          FailWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser FailWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "FailWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData FailWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_FailWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_FailWorkflowExecution'failure x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.upsertedMemo' @:: Lens' ModifyWorkflowProperties Proto.Temporal.Api.Common.V1.Message.Memo@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'upsertedMemo' @:: Lens' ModifyWorkflowProperties (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo)@ -}
+data ModifyWorkflowProperties
+  = ModifyWorkflowProperties'_constructor {_ModifyWorkflowProperties'upsertedMemo :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo),
+                                           _ModifyWorkflowProperties'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ModifyWorkflowProperties where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ModifyWorkflowProperties "upsertedMemo" Proto.Temporal.Api.Common.V1.Message.Memo where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ModifyWorkflowProperties'upsertedMemo
+           (\ x__ y__ -> x__ {_ModifyWorkflowProperties'upsertedMemo = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ModifyWorkflowProperties "maybe'upsertedMemo" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Memo) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ModifyWorkflowProperties'upsertedMemo
+           (\ x__ y__ -> x__ {_ModifyWorkflowProperties'upsertedMemo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ModifyWorkflowProperties where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ModifyWorkflowProperties"
+  packedMessageDescriptor _
+    = "\n\
+      \\CANModifyWorkflowProperties\DC2A\n\
+      \\rupserted_memo\CAN\SOH \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        upsertedMemo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upserted_memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Memo)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'upsertedMemo")) ::
+              Data.ProtoLens.FieldDescriptor ModifyWorkflowProperties
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, upsertedMemo__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ModifyWorkflowProperties'_unknownFields
+        (\ x__ y__ -> x__ {_ModifyWorkflowProperties'_unknownFields = y__})
+  defMessage
+    = ModifyWorkflowProperties'_constructor
+        {_ModifyWorkflowProperties'upsertedMemo = Prelude.Nothing,
+         _ModifyWorkflowProperties'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ModifyWorkflowProperties
+          -> Data.ProtoLens.Encoding.Bytes.Parser ModifyWorkflowProperties
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upserted_memo"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"upsertedMemo") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ModifyWorkflowProperties"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'upsertedMemo") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData ModifyWorkflowProperties where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ModifyWorkflowProperties'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ModifyWorkflowProperties'upsertedMemo x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.queryId' @:: Lens' QueryResult Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'variant' @:: Lens' QueryResult (Prelude.Maybe QueryResult'Variant)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'succeeded' @:: Lens' QueryResult (Prelude.Maybe QuerySuccess)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.succeeded' @:: Lens' QueryResult QuerySuccess@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'failed' @:: Lens' QueryResult (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.failed' @:: Lens' QueryResult Proto.Temporal.Api.Failure.V1.Message.Failure@ -}
+data QueryResult
+  = QueryResult'_constructor {_QueryResult'queryId :: !Data.Text.Text,
+                              _QueryResult'variant :: !(Prelude.Maybe QueryResult'Variant),
+                              _QueryResult'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show QueryResult where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data QueryResult'Variant
+  = QueryResult'Succeeded !QuerySuccess |
+    QueryResult'Failed !Proto.Temporal.Api.Failure.V1.Message.Failure
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField QueryResult "queryId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryResult'queryId
+           (\ x__ y__ -> x__ {_QueryResult'queryId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField QueryResult "maybe'variant" (Prelude.Maybe QueryResult'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryResult'variant
+           (\ x__ y__ -> x__ {_QueryResult'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField QueryResult "maybe'succeeded" (Prelude.Maybe QuerySuccess) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryResult'variant
+           (\ x__ y__ -> x__ {_QueryResult'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (QueryResult'Succeeded x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap QueryResult'Succeeded y__))
+instance Data.ProtoLens.Field.HasField QueryResult "succeeded" QuerySuccess where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryResult'variant
+           (\ x__ y__ -> x__ {_QueryResult'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (QueryResult'Succeeded x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap QueryResult'Succeeded y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField QueryResult "maybe'failed" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryResult'variant
+           (\ x__ y__ -> x__ {_QueryResult'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (QueryResult'Failed x__val)) -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap QueryResult'Failed y__))
+instance Data.ProtoLens.Field.HasField QueryResult "failed" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QueryResult'variant
+           (\ x__ y__ -> x__ {_QueryResult'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (QueryResult'Failed x__val)) -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap QueryResult'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message QueryResult where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.QueryResult"
+  packedMessageDescriptor _
+    = "\n\
+      \\vQueryResult\DC2\EM\n\
+      \\bquery_id\CAN\SOH \SOH(\tR\aqueryId\DC2G\n\
+      \\tsucceeded\CAN\STX \SOH(\v2'.coresdk.workflow_commands.QuerySuccessH\NULR\tsucceeded\DC2:\n\
+      \\ACKfailed\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\ACKfailedB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        queryId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "query_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"queryId")) ::
+              Data.ProtoLens.FieldDescriptor QueryResult
+        succeeded__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "succeeded"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor QuerySuccess)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'succeeded")) ::
+              Data.ProtoLens.FieldDescriptor QueryResult
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor QueryResult
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, queryId__field_descriptor),
+           (Data.ProtoLens.Tag 2, succeeded__field_descriptor),
+           (Data.ProtoLens.Tag 3, failed__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _QueryResult'_unknownFields
+        (\ x__ y__ -> x__ {_QueryResult'_unknownFields = y__})
+  defMessage
+    = QueryResult'_constructor
+        {_QueryResult'queryId = Data.ProtoLens.fieldDefault,
+         _QueryResult'variant = Prelude.Nothing,
+         _QueryResult'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          QueryResult -> Data.ProtoLens.Encoding.Bytes.Parser QueryResult
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "query_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"queryId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "succeeded"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"succeeded") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "QueryResult"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"queryId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (QueryResult'Succeeded v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (QueryResult'Failed v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData QueryResult where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_QueryResult'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_QueryResult'queryId x__)
+                (Control.DeepSeq.deepseq (_QueryResult'variant x__) ()))
+instance Control.DeepSeq.NFData QueryResult'Variant where
+  rnf (QueryResult'Succeeded x__) = Control.DeepSeq.rnf x__
+  rnf (QueryResult'Failed x__) = Control.DeepSeq.rnf x__
+_QueryResult'Succeeded ::
+  Data.ProtoLens.Prism.Prism' QueryResult'Variant QuerySuccess
+_QueryResult'Succeeded
+  = Data.ProtoLens.Prism.prism'
+      QueryResult'Succeeded
+      (\ p__
+         -> case p__ of
+              (QueryResult'Succeeded p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_QueryResult'Failed ::
+  Data.ProtoLens.Prism.Prism' QueryResult'Variant Proto.Temporal.Api.Failure.V1.Message.Failure
+_QueryResult'Failed
+  = Data.ProtoLens.Prism.prism'
+      QueryResult'Failed
+      (\ p__
+         -> case p__ of
+              (QueryResult'Failed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.response' @:: Lens' QuerySuccess Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'response' @:: Lens' QuerySuccess (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data QuerySuccess
+  = QuerySuccess'_constructor {_QuerySuccess'response :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                               _QuerySuccess'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show QuerySuccess where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField QuerySuccess "response" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QuerySuccess'response
+           (\ x__ y__ -> x__ {_QuerySuccess'response = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField QuerySuccess "maybe'response" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _QuerySuccess'response
+           (\ x__ y__ -> x__ {_QuerySuccess'response = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message QuerySuccess where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.QuerySuccess"
+  packedMessageDescriptor _
+    = "\n\
+      \\fQuerySuccess\DC2;\n\
+      \\bresponse\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\bresponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        response__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "response"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'response")) ::
+              Data.ProtoLens.FieldDescriptor QuerySuccess
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, response__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _QuerySuccess'_unknownFields
+        (\ x__ y__ -> x__ {_QuerySuccess'_unknownFields = y__})
+  defMessage
+    = QuerySuccess'_constructor
+        {_QuerySuccess'response = Prelude.Nothing,
+         _QuerySuccess'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          QuerySuccess -> Data.ProtoLens.Encoding.Bytes.Parser QuerySuccess
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "response"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"response") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "QuerySuccess"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'response") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData QuerySuccess where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_QuerySuccess'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_QuerySuccess'response x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' RequestCancelActivity Data.Word.Word32@ -}
+data RequestCancelActivity
+  = RequestCancelActivity'_constructor {_RequestCancelActivity'seq :: !Data.Word.Word32,
+                                        _RequestCancelActivity'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelActivity where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelActivity "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelActivity'seq
+           (\ x__ y__ -> x__ {_RequestCancelActivity'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelActivity where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.RequestCancelActivity"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKRequestCancelActivity\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelActivity
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, seq__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelActivity'_unknownFields
+        (\ x__ y__ -> x__ {_RequestCancelActivity'_unknownFields = y__})
+  defMessage
+    = RequestCancelActivity'_constructor
+        {_RequestCancelActivity'seq = Data.ProtoLens.fieldDefault,
+         _RequestCancelActivity'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelActivity
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelActivity
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RequestCancelActivity"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RequestCancelActivity where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelActivity'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_RequestCancelActivity'seq x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' RequestCancelExternalWorkflowExecution Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowExecution' @:: Lens' RequestCancelExternalWorkflowExecution Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowExecution' @:: Lens' RequestCancelExternalWorkflowExecution (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.reason' @:: Lens' RequestCancelExternalWorkflowExecution Data.Text.Text@ -}
+data RequestCancelExternalWorkflowExecution
+  = RequestCancelExternalWorkflowExecution'_constructor {_RequestCancelExternalWorkflowExecution'seq :: !Data.Word.Word32,
+                                                         _RequestCancelExternalWorkflowExecution'workflowExecution :: !(Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution),
+                                                         _RequestCancelExternalWorkflowExecution'reason :: !Data.Text.Text,
+                                                         _RequestCancelExternalWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelExternalWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecution "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecution'seq
+           (\ x__ y__
+              -> x__ {_RequestCancelExternalWorkflowExecution'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecution "workflowExecution" Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecution'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecution'workflowExecution = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecution "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecution'workflowExecution
+           (\ x__ y__
+              -> x__
+                   {_RequestCancelExternalWorkflowExecution'workflowExecution = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField RequestCancelExternalWorkflowExecution "reason" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelExternalWorkflowExecution'reason
+           (\ x__ y__
+              -> x__ {_RequestCancelExternalWorkflowExecution'reason = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelExternalWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.RequestCancelExternalWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \&RequestCancelExternalWorkflowExecution\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2Z\n\
+      \\DC2workflow_execution\CAN\STX \SOH(\v2+.coresdk.common.NamespacedWorkflowExecutionR\DC1workflowExecution\DC2\SYN\n\
+      \\ACKreason\CAN\ETX \SOH(\tR\ACKreason"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecution
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecution
+        reason__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "reason"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"reason")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelExternalWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 3, reason__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelExternalWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_RequestCancelExternalWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = RequestCancelExternalWorkflowExecution'_constructor
+        {_RequestCancelExternalWorkflowExecution'seq = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecution'workflowExecution = Prelude.Nothing,
+         _RequestCancelExternalWorkflowExecution'reason = Data.ProtoLens.fieldDefault,
+         _RequestCancelExternalWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelExternalWorkflowExecution
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelExternalWorkflowExecution
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "reason"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"reason") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "RequestCancelExternalWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'workflowExecution") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"reason") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData RequestCancelExternalWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelExternalWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_RequestCancelExternalWorkflowExecution'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_RequestCancelExternalWorkflowExecution'workflowExecution x__)
+                   (Control.DeepSeq.deepseq
+                      (_RequestCancelExternalWorkflowExecution'reason x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' RequestCancelLocalActivity Data.Word.Word32@ -}
+data RequestCancelLocalActivity
+  = RequestCancelLocalActivity'_constructor {_RequestCancelLocalActivity'seq :: !Data.Word.Word32,
+                                             _RequestCancelLocalActivity'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelLocalActivity where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelLocalActivity "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelLocalActivity'seq
+           (\ x__ y__ -> x__ {_RequestCancelLocalActivity'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelLocalActivity where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.RequestCancelLocalActivity"
+  packedMessageDescriptor _
+    = "\n\
+      \\SUBRequestCancelLocalActivity\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelLocalActivity
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, seq__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelLocalActivity'_unknownFields
+        (\ x__ y__
+           -> x__ {_RequestCancelLocalActivity'_unknownFields = y__})
+  defMessage
+    = RequestCancelLocalActivity'_constructor
+        {_RequestCancelLocalActivity'seq = Data.ProtoLens.fieldDefault,
+         _RequestCancelLocalActivity'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelLocalActivity
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelLocalActivity
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RequestCancelLocalActivity"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RequestCancelLocalActivity where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelLocalActivity'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_RequestCancelLocalActivity'seq x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' RequestCancelNexusOperation Data.Word.Word32@ -}
+data RequestCancelNexusOperation
+  = RequestCancelNexusOperation'_constructor {_RequestCancelNexusOperation'seq :: !Data.Word.Word32,
+                                              _RequestCancelNexusOperation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show RequestCancelNexusOperation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField RequestCancelNexusOperation "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _RequestCancelNexusOperation'seq
+           (\ x__ y__ -> x__ {_RequestCancelNexusOperation'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message RequestCancelNexusOperation where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.RequestCancelNexusOperation"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCRequestCancelNexusOperation\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor RequestCancelNexusOperation
+      in
+        Data.Map.fromList [(Data.ProtoLens.Tag 1, seq__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _RequestCancelNexusOperation'_unknownFields
+        (\ x__ y__
+           -> x__ {_RequestCancelNexusOperation'_unknownFields = y__})
+  defMessage
+    = RequestCancelNexusOperation'_constructor
+        {_RequestCancelNexusOperation'seq = Data.ProtoLens.fieldDefault,
+         _RequestCancelNexusOperation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          RequestCancelNexusOperation
+          -> Data.ProtoLens.Encoding.Bytes.Parser RequestCancelNexusOperation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "RequestCancelNexusOperation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData RequestCancelNexusOperation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_RequestCancelNexusOperation'_unknownFields x__)
+             (Control.DeepSeq.deepseq (_RequestCancelNexusOperation'seq x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' ScheduleActivity Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.activityId' @:: Lens' ScheduleActivity Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.activityType' @:: Lens' ScheduleActivity Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.taskQueue' @:: Lens' ScheduleActivity Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.headers' @:: Lens' ScheduleActivity (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.arguments' @:: Lens' ScheduleActivity [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.vec'arguments' @:: Lens' ScheduleActivity (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleToCloseTimeout' @:: Lens' ScheduleActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ScheduleActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleToStartTimeout' @:: Lens' ScheduleActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleToStartTimeout' @:: Lens' ScheduleActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.startToCloseTimeout' @:: Lens' ScheduleActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'startToCloseTimeout' @:: Lens' ScheduleActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.heartbeatTimeout' @:: Lens' ScheduleActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'heartbeatTimeout' @:: Lens' ScheduleActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.retryPolicy' @:: Lens' ScheduleActivity Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'retryPolicy' @:: Lens' ScheduleActivity (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancellationType' @:: Lens' ScheduleActivity ActivityCancellationType@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.doNotEagerlyExecute' @:: Lens' ScheduleActivity Prelude.Bool@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.versioningIntent' @:: Lens' ScheduleActivity Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.priority' @:: Lens' ScheduleActivity Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'priority' @:: Lens' ScheduleActivity (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data ScheduleActivity
+  = ScheduleActivity'_constructor {_ScheduleActivity'seq :: !Data.Word.Word32,
+                                   _ScheduleActivity'activityId :: !Data.Text.Text,
+                                   _ScheduleActivity'activityType :: !Data.Text.Text,
+                                   _ScheduleActivity'taskQueue :: !Data.Text.Text,
+                                   _ScheduleActivity'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                   _ScheduleActivity'arguments :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                   _ScheduleActivity'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                   _ScheduleActivity'scheduleToStartTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                   _ScheduleActivity'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                   _ScheduleActivity'heartbeatTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                   _ScheduleActivity'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                   _ScheduleActivity'cancellationType :: !ActivityCancellationType,
+                                   _ScheduleActivity'doNotEagerlyExecute :: !Prelude.Bool,
+                                   _ScheduleActivity'versioningIntent :: !Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent,
+                                   _ScheduleActivity'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                   _ScheduleActivity'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleActivity where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleActivity "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'seq
+           (\ x__ y__ -> x__ {_ScheduleActivity'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'activityId
+           (\ x__ y__ -> x__ {_ScheduleActivity'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "activityType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'activityType
+           (\ x__ y__ -> x__ {_ScheduleActivity'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "taskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'taskQueue
+           (\ x__ y__ -> x__ {_ScheduleActivity'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'headers
+           (\ x__ y__ -> x__ {_ScheduleActivity'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "arguments" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'arguments
+           (\ x__ y__ -> x__ {_ScheduleActivity'arguments = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleActivity "vec'arguments" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'arguments
+           (\ x__ y__ -> x__ {_ScheduleActivity'arguments = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleActivity'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleActivity'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "scheduleToStartTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleActivity'scheduleToStartTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity "maybe'scheduleToStartTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleActivity'scheduleToStartTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'startToCloseTimeout
+           (\ x__ y__ -> x__ {_ScheduleActivity'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'startToCloseTimeout
+           (\ x__ y__ -> x__ {_ScheduleActivity'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "heartbeatTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'heartbeatTimeout
+           (\ x__ y__ -> x__ {_ScheduleActivity'heartbeatTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity "maybe'heartbeatTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'heartbeatTimeout
+           (\ x__ y__ -> x__ {_ScheduleActivity'heartbeatTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'retryPolicy
+           (\ x__ y__ -> x__ {_ScheduleActivity'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'retryPolicy
+           (\ x__ y__ -> x__ {_ScheduleActivity'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "cancellationType" ActivityCancellationType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'cancellationType
+           (\ x__ y__ -> x__ {_ScheduleActivity'cancellationType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "doNotEagerlyExecute" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'doNotEagerlyExecute
+           (\ x__ y__ -> x__ {_ScheduleActivity'doNotEagerlyExecute = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "versioningIntent" Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'versioningIntent
+           (\ x__ y__ -> x__ {_ScheduleActivity'versioningIntent = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'priority
+           (\ x__ y__ -> x__ {_ScheduleActivity'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'priority
+           (\ x__ y__ -> x__ {_ScheduleActivity'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleActivity where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.ScheduleActivity"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLEScheduleActivity\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\US\n\
+      \\vactivity_id\CAN\STX \SOH(\tR\n\
+      \activityId\DC2#\n\
+      \\ractivity_type\CAN\ETX \SOH(\tR\factivityType\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\ENQ \SOH(\tR\ttaskQueue\DC2R\n\
+      \\aheaders\CAN\ACK \ETX(\v28.coresdk.workflow_commands.ScheduleActivity.HeadersEntryR\aheaders\DC2=\n\
+      \\targuments\CAN\a \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+      \\EMschedule_to_start_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\n\
+      \ \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+      \\DC1heartbeat_timeout\CAN\v \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+      \\fretry_policy\CAN\f \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2`\n\
+      \\DC1cancellation_type\CAN\r \SOH(\SO23.coresdk.workflow_commands.ActivityCancellationTypeR\DLEcancellationType\DC23\n\
+      \\SYNdo_not_eagerly_execute\CAN\SO \SOH(\bR\DC3doNotEagerlyExecute\DC2M\n\
+      \\DC1versioning_intent\CAN\SI \SOH(\SO2 .coresdk.common.VersioningIntentR\DLEversioningIntent\DC2<\n\
+      \\bpriority\CAN\DLE \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityType")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleActivity'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        arguments__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "arguments"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"arguments")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        scheduleToStartTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_start_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        heartbeatTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "heartbeat_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'heartbeatTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        cancellationType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancellation_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityCancellationType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cancellationType")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        doNotEagerlyExecute__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "do_not_eagerly_execute"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"doNotEagerlyExecute")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        versioningIntent__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_intent"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"versioningIntent")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 3, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 5, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 6, headers__field_descriptor),
+           (Data.ProtoLens.Tag 7, arguments__field_descriptor),
+           (Data.ProtoLens.Tag 8, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, scheduleToStartTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 11, heartbeatTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 12, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 13, cancellationType__field_descriptor),
+           (Data.ProtoLens.Tag 14, doNotEagerlyExecute__field_descriptor),
+           (Data.ProtoLens.Tag 15, versioningIntent__field_descriptor),
+           (Data.ProtoLens.Tag 16, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleActivity'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleActivity'_unknownFields = y__})
+  defMessage
+    = ScheduleActivity'_constructor
+        {_ScheduleActivity'seq = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'activityId = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'activityType = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'taskQueue = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'headers = Data.Map.empty,
+         _ScheduleActivity'arguments = Data.Vector.Generic.empty,
+         _ScheduleActivity'scheduleToCloseTimeout = Prelude.Nothing,
+         _ScheduleActivity'scheduleToStartTimeout = Prelude.Nothing,
+         _ScheduleActivity'startToCloseTimeout = Prelude.Nothing,
+         _ScheduleActivity'heartbeatTimeout = Prelude.Nothing,
+         _ScheduleActivity'retryPolicy = Prelude.Nothing,
+         _ScheduleActivity'cancellationType = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'doNotEagerlyExecute = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'versioningIntent = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'priority = Prelude.Nothing,
+         _ScheduleActivity'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleActivity
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleActivity
+        loop x mutable'arguments
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'arguments)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'arguments") frozen'arguments x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                                  mutable'arguments
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                                  mutable'arguments
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                                  mutable'arguments
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                                  mutable'arguments
+                        50
+                          -> do !(entry :: ScheduleActivity'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                               (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                   Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                     (Prelude.fromIntegral
+                                                                                        len)
+                                                                                     Data.ProtoLens.parseMessage)
+                                                                               "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        58
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "arguments"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'arguments y)
+                                loop x v
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                                  mutable'arguments
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_start_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToStartTimeout") y x)
+                                  mutable'arguments
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                                  mutable'arguments
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "heartbeat_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"heartbeatTimeout") y x)
+                                  mutable'arguments
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'arguments
+                        104
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cancellation_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancellationType") y x)
+                                  mutable'arguments
+                        112
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "do_not_eagerly_execute"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"doNotEagerlyExecute") y x)
+                                  mutable'arguments
+                        120
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "versioning_intent"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningIntent") y x)
+                                  mutable'arguments
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                                  mutable'arguments
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'arguments
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'arguments)
+          "ScheduleActivity"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"activityType") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskQueue") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (Data.Monoid.mconcat
+                            (Prelude.map
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"value")
+                                                (Prelude.snd _v)
+                                                (Data.ProtoLens.defMessage ::
+                                                   ScheduleActivity'HeadersEntry)))))
+                               (Data.Map.toList
+                                  (Lens.Family2.view (Data.ProtoLens.Field.field @"headers") _x))))
+                         ((Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage _v))
+                               (Lens.Family2.view
+                                  (Data.ProtoLens.Field.field @"vec'arguments") _x))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")
+                                      _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field
+                                            @"maybe'scheduleToStartTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field
+                                               @"maybe'startToCloseTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'heartbeatTimeout")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field @"maybe'retryPolicy")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (let
+                                                 _v
+                                                   = Lens.Family2.view
+                                                       (Data.ProtoLens.Field.field
+                                                          @"cancellationType")
+                                                       _x
+                                               in
+                                                 if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                     Data.Monoid.mempty
+                                                 else
+                                                     (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 104)
+                                                       ((Prelude..)
+                                                          ((Prelude..)
+                                                             Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             Prelude.fromIntegral)
+                                                          Prelude.fromEnum _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field
+                                                             @"doNotEagerlyExecute")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             112)
+                                                          ((Prelude..)
+                                                             Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (\ b -> if b then 1 else 0) _v))
+                                                 ((Data.Monoid.<>)
+                                                    (let
+                                                       _v
+                                                         = Lens.Family2.view
+                                                             (Data.ProtoLens.Field.field
+                                                                @"versioningIntent")
+                                                             _x
+                                                     in
+                                                       if (Prelude.==)
+                                                            _v Data.ProtoLens.fieldDefault then
+                                                           Data.Monoid.mempty
+                                                       else
+                                                           (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                120)
+                                                             ((Prelude..)
+                                                                ((Prelude..)
+                                                                   Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   Prelude.fromIntegral)
+                                                                Prelude.fromEnum _v))
+                                                    ((Data.Monoid.<>)
+                                                       (case
+                                                            Lens.Family2.view
+                                                              (Data.ProtoLens.Field.field
+                                                                 @"maybe'priority")
+                                                              _x
+                                                        of
+                                                          Prelude.Nothing -> Data.Monoid.mempty
+                                                          (Prelude.Just _v)
+                                                            -> (Data.Monoid.<>)
+                                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                    130)
+                                                                 ((Prelude..)
+                                                                    (\ bs
+                                                                       -> (Data.Monoid.<>)
+                                                                            (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               (Prelude.fromIntegral
+                                                                                  (Data.ByteString.length
+                                                                                     bs)))
+                                                                            (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                               bs))
+                                                                    Data.ProtoLens.encodeMessage
+                                                                    _v))
+                                                       (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                          (Lens.Family2.view
+                                                             Data.ProtoLens.unknownFields
+                                                             _x))))))))))))))))
+instance Control.DeepSeq.NFData ScheduleActivity where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleActivity'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleActivity'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleActivity'activityId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleActivity'activityType x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleActivity'taskQueue x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleActivity'headers x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleActivity'arguments x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ScheduleActivity'scheduleToCloseTimeout x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ScheduleActivity'scheduleToStartTimeout x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ScheduleActivity'startToCloseTimeout x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ScheduleActivity'heartbeatTimeout x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ScheduleActivity'retryPolicy x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_ScheduleActivity'cancellationType x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_ScheduleActivity'doNotEagerlyExecute x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_ScheduleActivity'versioningIntent x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_ScheduleActivity'priority x__)
+                                                          ())))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' ScheduleActivity'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' ScheduleActivity'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' ScheduleActivity'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data ScheduleActivity'HeadersEntry
+  = ScheduleActivity'HeadersEntry'_constructor {_ScheduleActivity'HeadersEntry'key :: !Data.Text.Text,
+                                                _ScheduleActivity'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                _ScheduleActivity'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleActivity'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleActivity'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'HeadersEntry'key
+           (\ x__ y__ -> x__ {_ScheduleActivity'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleActivity'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'HeadersEntry'value
+           (\ x__ y__ -> x__ {_ScheduleActivity'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleActivity'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleActivity'HeadersEntry'value
+           (\ x__ y__ -> x__ {_ScheduleActivity'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleActivity'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ScheduleActivity.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleActivity'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleActivity'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_ScheduleActivity'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = ScheduleActivity'HeadersEntry'_constructor
+        {_ScheduleActivity'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _ScheduleActivity'HeadersEntry'value = Prelude.Nothing,
+         _ScheduleActivity'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleActivity'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleActivity'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ScheduleActivity'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleActivity'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleActivity'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleActivity'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' ScheduleLocalActivity Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.activityId' @:: Lens' ScheduleLocalActivity Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.activityType' @:: Lens' ScheduleLocalActivity Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.attempt' @:: Lens' ScheduleLocalActivity Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.originalScheduleTime' @:: Lens' ScheduleLocalActivity Proto.Google.Protobuf.Timestamp.Timestamp@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'originalScheduleTime' @:: Lens' ScheduleLocalActivity (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.headers' @:: Lens' ScheduleLocalActivity (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.arguments' @:: Lens' ScheduleLocalActivity [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.vec'arguments' @:: Lens' ScheduleLocalActivity (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleToCloseTimeout' @:: Lens' ScheduleLocalActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ScheduleLocalActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleToStartTimeout' @:: Lens' ScheduleLocalActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleToStartTimeout' @:: Lens' ScheduleLocalActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.startToCloseTimeout' @:: Lens' ScheduleLocalActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'startToCloseTimeout' @:: Lens' ScheduleLocalActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.retryPolicy' @:: Lens' ScheduleLocalActivity Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'retryPolicy' @:: Lens' ScheduleLocalActivity (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.localRetryThreshold' @:: Lens' ScheduleLocalActivity Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'localRetryThreshold' @:: Lens' ScheduleLocalActivity (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancellationType' @:: Lens' ScheduleLocalActivity ActivityCancellationType@ -}
+data ScheduleLocalActivity
+  = ScheduleLocalActivity'_constructor {_ScheduleLocalActivity'seq :: !Data.Word.Word32,
+                                        _ScheduleLocalActivity'activityId :: !Data.Text.Text,
+                                        _ScheduleLocalActivity'activityType :: !Data.Text.Text,
+                                        _ScheduleLocalActivity'attempt :: !Data.Word.Word32,
+                                        _ScheduleLocalActivity'originalScheduleTime :: !(Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp),
+                                        _ScheduleLocalActivity'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                        _ScheduleLocalActivity'arguments :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                        _ScheduleLocalActivity'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                        _ScheduleLocalActivity'scheduleToStartTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                        _ScheduleLocalActivity'startToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                        _ScheduleLocalActivity'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                        _ScheduleLocalActivity'localRetryThreshold :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                        _ScheduleLocalActivity'cancellationType :: !ActivityCancellationType,
+                                        _ScheduleLocalActivity'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleLocalActivity where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'seq
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "activityId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'activityId
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'activityId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "activityType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'activityType
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'activityType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "attempt" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'attempt
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'attempt = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "originalScheduleTime" Proto.Google.Protobuf.Timestamp.Timestamp where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'originalScheduleTime
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'originalScheduleTime = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "maybe'originalScheduleTime" (Prelude.Maybe Proto.Google.Protobuf.Timestamp.Timestamp) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'originalScheduleTime
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'originalScheduleTime = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'headers
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "arguments" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'arguments
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'arguments = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "vec'arguments" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'arguments
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'arguments = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "scheduleToStartTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'scheduleToStartTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "maybe'scheduleToStartTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'scheduleToStartTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'scheduleToStartTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "startToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'startToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'startToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "maybe'startToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'startToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'startToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'retryPolicy
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'retryPolicy
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "localRetryThreshold" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'localRetryThreshold
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'localRetryThreshold = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "maybe'localRetryThreshold" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'localRetryThreshold
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'localRetryThreshold = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity "cancellationType" ActivityCancellationType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'cancellationType
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'cancellationType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleLocalActivity where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.ScheduleLocalActivity"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKScheduleLocalActivity\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\US\n\
+      \\vactivity_id\CAN\STX \SOH(\tR\n\
+      \activityId\DC2#\n\
+      \\ractivity_type\CAN\ETX \SOH(\tR\factivityType\DC2\CAN\n\
+      \\aattempt\CAN\EOT \SOH(\rR\aattempt\DC2P\n\
+      \\SYNoriginal_schedule_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DC4originalScheduleTime\DC2W\n\
+      \\aheaders\CAN\ACK \ETX(\v2=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntryR\aheaders\DC2=\n\
+      \\targuments\CAN\a \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+      \\EMschedule_to_start_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+      \\SYNstart_to_close_timeout\CAN\n\
+      \ \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+      \\fretry_policy\CAN\v \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2M\n\
+      \\NAKlocal_retry_threshold\CAN\f \SOH(\v2\EM.google.protobuf.DurationR\DC3localRetryThreshold\DC2`\n\
+      \\DC1cancellation_type\CAN\r \SOH(\SO23.coresdk.workflow_commands.ActivityCancellationTypeR\DLEcancellationType\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        activityId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityId")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        activityType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "activity_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"activityType")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        attempt__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "attempt"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"attempt")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        originalScheduleTime__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "original_schedule_time"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Timestamp.Timestamp)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'originalScheduleTime")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleLocalActivity'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        arguments__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "arguments"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"arguments")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        scheduleToStartTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_start_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        startToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        localRetryThreshold__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "local_retry_threshold"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'localRetryThreshold")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+        cancellationType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancellation_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor ActivityCancellationType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cancellationType")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, activityId__field_descriptor),
+           (Data.ProtoLens.Tag 3, activityType__field_descriptor),
+           (Data.ProtoLens.Tag 4, attempt__field_descriptor),
+           (Data.ProtoLens.Tag 5, originalScheduleTime__field_descriptor),
+           (Data.ProtoLens.Tag 6, headers__field_descriptor),
+           (Data.ProtoLens.Tag 7, arguments__field_descriptor),
+           (Data.ProtoLens.Tag 8, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, scheduleToStartTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, startToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 11, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 12, localRetryThreshold__field_descriptor),
+           (Data.ProtoLens.Tag 13, cancellationType__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleLocalActivity'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleLocalActivity'_unknownFields = y__})
+  defMessage
+    = ScheduleLocalActivity'_constructor
+        {_ScheduleLocalActivity'seq = Data.ProtoLens.fieldDefault,
+         _ScheduleLocalActivity'activityId = Data.ProtoLens.fieldDefault,
+         _ScheduleLocalActivity'activityType = Data.ProtoLens.fieldDefault,
+         _ScheduleLocalActivity'attempt = Data.ProtoLens.fieldDefault,
+         _ScheduleLocalActivity'originalScheduleTime = Prelude.Nothing,
+         _ScheduleLocalActivity'headers = Data.Map.empty,
+         _ScheduleLocalActivity'arguments = Data.Vector.Generic.empty,
+         _ScheduleLocalActivity'scheduleToCloseTimeout = Prelude.Nothing,
+         _ScheduleLocalActivity'scheduleToStartTimeout = Prelude.Nothing,
+         _ScheduleLocalActivity'startToCloseTimeout = Prelude.Nothing,
+         _ScheduleLocalActivity'retryPolicy = Prelude.Nothing,
+         _ScheduleLocalActivity'localRetryThreshold = Prelude.Nothing,
+         _ScheduleLocalActivity'cancellationType = Data.ProtoLens.fieldDefault,
+         _ScheduleLocalActivity'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleLocalActivity
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleLocalActivity
+        loop x mutable'arguments
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                            (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                               mutable'arguments)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'arguments") frozen'arguments x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                                  mutable'arguments
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"activityId") y x)
+                                  mutable'arguments
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "activity_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"activityType") y x)
+                                  mutable'arguments
+                        32
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "attempt"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"attempt") y x)
+                                  mutable'arguments
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "original_schedule_time"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"originalScheduleTime") y x)
+                                  mutable'arguments
+                        50
+                          -> do !(entry :: ScheduleLocalActivity'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                    (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                          (Prelude.fromIntegral
+                                                                                             len)
+                                                                                          Data.ProtoLens.parseMessage)
+                                                                                    "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'arguments)
+                        58
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "arguments"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'arguments y)
+                                loop x v
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                                  mutable'arguments
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_start_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToStartTimeout") y x)
+                                  mutable'arguments
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToCloseTimeout") y x)
+                                  mutable'arguments
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'arguments
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "local_retry_threshold"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"localRetryThreshold") y x)
+                                  mutable'arguments
+                        104
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cancellation_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancellationType") y x)
+                                  mutable'arguments
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'arguments
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'arguments <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                     Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'arguments)
+          "ScheduleLocalActivity"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"activityId") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"activityType") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"attempt") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 32)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view
+                                (Data.ProtoLens.Field.field @"maybe'originalScheduleTime") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (Data.Monoid.mconcat
+                               (Prelude.map
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage
+                                             (Lens.Family2.set
+                                                (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"value")
+                                                   (Prelude.snd _v)
+                                                   (Data.ProtoLens.defMessage ::
+                                                      ScheduleLocalActivity'HeadersEntry)))))
+                                  (Data.Map.toList
+                                     (Lens.Family2.view
+                                        (Data.ProtoLens.Field.field @"headers") _x))))
+                            ((Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  (\ _v
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                          ((Prelude..)
+                                             (\ bs
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                        (Prelude.fromIntegral
+                                                           (Data.ByteString.length bs)))
+                                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                             Data.ProtoLens.encodeMessage _v))
+                                  (Lens.Family2.view
+                                     (Data.ProtoLens.Field.field @"vec'arguments") _x))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field
+                                            @"maybe'scheduleToCloseTimeout")
+                                         _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field
+                                               @"maybe'scheduleToStartTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (case
+                                             Lens.Family2.view
+                                               (Data.ProtoLens.Field.field
+                                                  @"maybe'startToCloseTimeout")
+                                               _x
+                                         of
+                                           Prelude.Nothing -> Data.Monoid.mempty
+                                           (Prelude.Just _v)
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                                                  ((Prelude..)
+                                                     (\ bs
+                                                        -> (Data.Monoid.<>)
+                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                (Prelude.fromIntegral
+                                                                   (Data.ByteString.length bs)))
+                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                bs))
+                                                     Data.ProtoLens.encodeMessage _v))
+                                        ((Data.Monoid.<>)
+                                           (case
+                                                Lens.Family2.view
+                                                  (Data.ProtoLens.Field.field @"maybe'retryPolicy")
+                                                  _x
+                                            of
+                                              Prelude.Nothing -> Data.Monoid.mempty
+                                              (Prelude.Just _v)
+                                                -> (Data.Monoid.<>)
+                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                                                     ((Prelude..)
+                                                        (\ bs
+                                                           -> (Data.Monoid.<>)
+                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                   (Prelude.fromIntegral
+                                                                      (Data.ByteString.length bs)))
+                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                   bs))
+                                                        Data.ProtoLens.encodeMessage _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field
+                                                        @"maybe'localRetryThreshold")
+                                                     _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field
+                                                             @"cancellationType")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             104)
+                                                          ((Prelude..)
+                                                             ((Prelude..)
+                                                                Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                Prelude.fromIntegral)
+                                                             Prelude.fromEnum _v))
+                                                 (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                    (Lens.Family2.view
+                                                       Data.ProtoLens.unknownFields _x))))))))))))))
+instance Control.DeepSeq.NFData ScheduleLocalActivity where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleLocalActivity'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleLocalActivity'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleLocalActivity'activityId x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleLocalActivity'activityType x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleLocalActivity'attempt x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleLocalActivity'originalScheduleTime x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleLocalActivity'headers x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ScheduleLocalActivity'arguments x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_ScheduleLocalActivity'scheduleToCloseTimeout x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_ScheduleLocalActivity'scheduleToStartTimeout x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_ScheduleLocalActivity'startToCloseTimeout x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_ScheduleLocalActivity'retryPolicy x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_ScheduleLocalActivity'localRetryThreshold x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_ScheduleLocalActivity'cancellationType x__)
+                                                    ())))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' ScheduleLocalActivity'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' ScheduleLocalActivity'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' ScheduleLocalActivity'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data ScheduleLocalActivity'HeadersEntry
+  = ScheduleLocalActivity'HeadersEntry'_constructor {_ScheduleLocalActivity'HeadersEntry'key :: !Data.Text.Text,
+                                                     _ScheduleLocalActivity'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                     _ScheduleLocalActivity'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleLocalActivity'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'HeadersEntry'key
+           (\ x__ y__ -> x__ {_ScheduleLocalActivity'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'HeadersEntry'value
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleLocalActivity'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleLocalActivity'HeadersEntry'value
+           (\ x__ y__
+              -> x__ {_ScheduleLocalActivity'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleLocalActivity'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleLocalActivity'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleLocalActivity'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__ {_ScheduleLocalActivity'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = ScheduleLocalActivity'HeadersEntry'_constructor
+        {_ScheduleLocalActivity'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _ScheduleLocalActivity'HeadersEntry'value = Prelude.Nothing,
+         _ScheduleLocalActivity'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleLocalActivity'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleLocalActivity'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ScheduleLocalActivity'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleLocalActivity'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleLocalActivity'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleLocalActivity'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' ScheduleNexusOperation Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.endpoint' @:: Lens' ScheduleNexusOperation Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.service' @:: Lens' ScheduleNexusOperation Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.operation' @:: Lens' ScheduleNexusOperation Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.input' @:: Lens' ScheduleNexusOperation Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'input' @:: Lens' ScheduleNexusOperation (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleToCloseTimeout' @:: Lens' ScheduleNexusOperation Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleToCloseTimeout' @:: Lens' ScheduleNexusOperation (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.nexusHeader' @:: Lens' ScheduleNexusOperation (Data.Map.Map Data.Text.Text Data.Text.Text)@ -}
+data ScheduleNexusOperation
+  = ScheduleNexusOperation'_constructor {_ScheduleNexusOperation'seq :: !Data.Word.Word32,
+                                         _ScheduleNexusOperation'endpoint :: !Data.Text.Text,
+                                         _ScheduleNexusOperation'service :: !Data.Text.Text,
+                                         _ScheduleNexusOperation'operation :: !Data.Text.Text,
+                                         _ScheduleNexusOperation'input :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                         _ScheduleNexusOperation'scheduleToCloseTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                         _ScheduleNexusOperation'nexusHeader :: !(Data.Map.Map Data.Text.Text Data.Text.Text),
+                                         _ScheduleNexusOperation'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleNexusOperation where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'seq
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "endpoint" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'endpoint
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'endpoint = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "service" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'service
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'service = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "operation" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'operation
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'operation = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "input" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'input
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'input = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "maybe'input" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'input
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "scheduleToCloseTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperation'scheduleToCloseTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "maybe'scheduleToCloseTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'scheduleToCloseTimeout
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperation'scheduleToCloseTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation "nexusHeader" (Data.Map.Map Data.Text.Text Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'nexusHeader
+           (\ x__ y__ -> x__ {_ScheduleNexusOperation'nexusHeader = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleNexusOperation where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.ScheduleNexusOperation"
+  packedMessageDescriptor _
+    = "\n\
+      \\SYNScheduleNexusOperation\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\SUB\n\
+      \\bendpoint\CAN\STX \SOH(\tR\bendpoint\DC2\CAN\n\
+      \\aservice\CAN\ETX \SOH(\tR\aservice\DC2\FS\n\
+      \\toperation\CAN\EOT \SOH(\tR\toperation\DC25\n\
+      \\ENQinput\CAN\ENQ \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2T\n\
+      \\EMschedule_to_close_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2e\n\
+      \\fnexus_header\CAN\a \ETX(\v2B.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntryR\vnexusHeader\SUB>\n\
+      \\DLENexusHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+        endpoint__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "endpoint"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"endpoint")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+        service__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "service"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"service")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+        operation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "operation"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"operation")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'input")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+        scheduleToCloseTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_to_close_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+        nexusHeader__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "nexus_header"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleNexusOperation'NexusHeaderEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"nexusHeader")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, endpoint__field_descriptor),
+           (Data.ProtoLens.Tag 3, service__field_descriptor),
+           (Data.ProtoLens.Tag 4, operation__field_descriptor),
+           (Data.ProtoLens.Tag 5, input__field_descriptor),
+           (Data.ProtoLens.Tag 6, scheduleToCloseTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 7, nexusHeader__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleNexusOperation'_unknownFields
+        (\ x__ y__ -> x__ {_ScheduleNexusOperation'_unknownFields = y__})
+  defMessage
+    = ScheduleNexusOperation'_constructor
+        {_ScheduleNexusOperation'seq = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperation'endpoint = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperation'service = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperation'operation = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperation'input = Prelude.Nothing,
+         _ScheduleNexusOperation'scheduleToCloseTimeout = Prelude.Nothing,
+         _ScheduleNexusOperation'nexusHeader = Data.Map.empty,
+         _ScheduleNexusOperation'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleNexusOperation
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleNexusOperation
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "endpoint"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"endpoint") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "service"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"service") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "operation"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"operation") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "input"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"input") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_to_close_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleToCloseTimeout") y x)
+                        58
+                          -> do !(entry :: ScheduleNexusOperation'NexusHeaderEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                         (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                             Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                               (Prelude.fromIntegral
+                                                                                                  len)
+                                                                                               Data.ProtoLens.parseMessage)
+                                                                                         "nexus_header"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"nexusHeader")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "ScheduleNexusOperation"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"endpoint") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v = Lens.Family2.view (Data.ProtoLens.Field.field @"service") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v = Lens.Family2.view (Data.ProtoLens.Field.field @"operation") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'input") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just _v)
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage _v))
+                         ((Data.Monoid.<>)
+                            (case
+                                 Lens.Family2.view
+                                   (Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout") _x
+                             of
+                               Prelude.Nothing -> Data.Monoid.mempty
+                               (Prelude.Just _v)
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                      ((Prelude..)
+                                         (\ bs
+                                            -> (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                    (Prelude.fromIntegral
+                                                       (Data.ByteString.length bs)))
+                                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                         Data.ProtoLens.encodeMessage _v))
+                            ((Data.Monoid.<>)
+                               (Data.Monoid.mconcat
+                                  (Prelude.map
+                                     (\ _v
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                             ((Prelude..)
+                                                (\ bs
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           (Prelude.fromIntegral
+                                                              (Data.ByteString.length bs)))
+                                                        (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                                Data.ProtoLens.encodeMessage
+                                                (Lens.Family2.set
+                                                   (Data.ProtoLens.Field.field @"key")
+                                                   (Prelude.fst _v)
+                                                   (Lens.Family2.set
+                                                      (Data.ProtoLens.Field.field @"value")
+                                                      (Prelude.snd _v)
+                                                      (Data.ProtoLens.defMessage ::
+                                                         ScheduleNexusOperation'NexusHeaderEntry)))))
+                                     (Data.Map.toList
+                                        (Lens.Family2.view
+                                           (Data.ProtoLens.Field.field @"nexusHeader") _x))))
+                               (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                  (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))))
+instance Control.DeepSeq.NFData ScheduleNexusOperation where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleNexusOperation'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleNexusOperation'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleNexusOperation'endpoint x__)
+                   (Control.DeepSeq.deepseq
+                      (_ScheduleNexusOperation'service x__)
+                      (Control.DeepSeq.deepseq
+                         (_ScheduleNexusOperation'operation x__)
+                         (Control.DeepSeq.deepseq
+                            (_ScheduleNexusOperation'input x__)
+                            (Control.DeepSeq.deepseq
+                               (_ScheduleNexusOperation'scheduleToCloseTimeout x__)
+                               (Control.DeepSeq.deepseq
+                                  (_ScheduleNexusOperation'nexusHeader x__) ())))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' ScheduleNexusOperation'NexusHeaderEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' ScheduleNexusOperation'NexusHeaderEntry Data.Text.Text@ -}
+data ScheduleNexusOperation'NexusHeaderEntry
+  = ScheduleNexusOperation'NexusHeaderEntry'_constructor {_ScheduleNexusOperation'NexusHeaderEntry'key :: !Data.Text.Text,
+                                                          _ScheduleNexusOperation'NexusHeaderEntry'value :: !Data.Text.Text,
+                                                          _ScheduleNexusOperation'NexusHeaderEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show ScheduleNexusOperation'NexusHeaderEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation'NexusHeaderEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'NexusHeaderEntry'key
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperation'NexusHeaderEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField ScheduleNexusOperation'NexusHeaderEntry "value" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _ScheduleNexusOperation'NexusHeaderEntry'value
+           (\ x__ y__
+              -> x__ {_ScheduleNexusOperation'NexusHeaderEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message ScheduleNexusOperation'NexusHeaderEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\DLENexusHeaderEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+      \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation'NexusHeaderEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"value")) ::
+              Data.ProtoLens.FieldDescriptor ScheduleNexusOperation'NexusHeaderEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _ScheduleNexusOperation'NexusHeaderEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_ScheduleNexusOperation'NexusHeaderEntry'_unknownFields = y__})
+  defMessage
+    = ScheduleNexusOperation'NexusHeaderEntry'_constructor
+        {_ScheduleNexusOperation'NexusHeaderEntry'key = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperation'NexusHeaderEntry'value = Data.ProtoLens.fieldDefault,
+         _ScheduleNexusOperation'NexusHeaderEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          ScheduleNexusOperation'NexusHeaderEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser ScheduleNexusOperation'NexusHeaderEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "NexusHeaderEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"value") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData ScheduleNexusOperation'NexusHeaderEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_ScheduleNexusOperation'NexusHeaderEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_ScheduleNexusOperation'NexusHeaderEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_ScheduleNexusOperation'NexusHeaderEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.patchId' @:: Lens' SetPatchMarker Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.deprecated' @:: Lens' SetPatchMarker Prelude.Bool@ -}
+data SetPatchMarker
+  = SetPatchMarker'_constructor {_SetPatchMarker'patchId :: !Data.Text.Text,
+                                 _SetPatchMarker'deprecated :: !Prelude.Bool,
+                                 _SetPatchMarker'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SetPatchMarker where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SetPatchMarker "patchId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SetPatchMarker'patchId
+           (\ x__ y__ -> x__ {_SetPatchMarker'patchId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SetPatchMarker "deprecated" Prelude.Bool where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SetPatchMarker'deprecated
+           (\ x__ y__ -> x__ {_SetPatchMarker'deprecated = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SetPatchMarker where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.SetPatchMarker"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOSetPatchMarker\DC2\EM\n\
+      \\bpatch_id\CAN\SOH \SOH(\tR\apatchId\DC2\RS\n\
+      \\n\
+      \deprecated\CAN\STX \SOH(\bR\n\
+      \deprecated"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        patchId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "patch_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"patchId")) ::
+              Data.ProtoLens.FieldDescriptor SetPatchMarker
+        deprecated__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "deprecated"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.BoolField ::
+                 Data.ProtoLens.FieldTypeDescriptor Prelude.Bool)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"deprecated")) ::
+              Data.ProtoLens.FieldDescriptor SetPatchMarker
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, patchId__field_descriptor),
+           (Data.ProtoLens.Tag 2, deprecated__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SetPatchMarker'_unknownFields
+        (\ x__ y__ -> x__ {_SetPatchMarker'_unknownFields = y__})
+  defMessage
+    = SetPatchMarker'_constructor
+        {_SetPatchMarker'patchId = Data.ProtoLens.fieldDefault,
+         _SetPatchMarker'deprecated = Data.ProtoLens.fieldDefault,
+         _SetPatchMarker'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SetPatchMarker
+          -> Data.ProtoLens.Encoding.Bytes.Parser SetPatchMarker
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "patch_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"patchId") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          ((Prelude./=) 0) Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "deprecated"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"deprecated") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SetPatchMarker"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"patchId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"deprecated") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            Data.ProtoLens.Encoding.Bytes.putVarInt (\ b -> if b then 1 else 0)
+                            _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData SetPatchMarker where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SetPatchMarker'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SetPatchMarker'patchId x__)
+                (Control.DeepSeq.deepseq (_SetPatchMarker'deprecated x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' SignalExternalWorkflowExecution Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.signalName' @:: Lens' SignalExternalWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.args' @:: Lens' SignalExternalWorkflowExecution [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.vec'args' @:: Lens' SignalExternalWorkflowExecution (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.headers' @:: Lens' SignalExternalWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'target' @:: Lens' SignalExternalWorkflowExecution (Prelude.Maybe SignalExternalWorkflowExecution'Target)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowExecution' @:: Lens' SignalExternalWorkflowExecution (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowExecution' @:: Lens' SignalExternalWorkflowExecution Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'childWorkflowId' @:: Lens' SignalExternalWorkflowExecution (Prelude.Maybe Data.Text.Text)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.childWorkflowId' @:: Lens' SignalExternalWorkflowExecution Data.Text.Text@ -}
+data SignalExternalWorkflowExecution
+  = SignalExternalWorkflowExecution'_constructor {_SignalExternalWorkflowExecution'seq :: !Data.Word.Word32,
+                                                  _SignalExternalWorkflowExecution'signalName :: !Data.Text.Text,
+                                                  _SignalExternalWorkflowExecution'args :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                  _SignalExternalWorkflowExecution'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                  _SignalExternalWorkflowExecution'target :: !(Prelude.Maybe SignalExternalWorkflowExecution'Target),
+                                                  _SignalExternalWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalExternalWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data SignalExternalWorkflowExecution'Target
+  = SignalExternalWorkflowExecution'WorkflowExecution !Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution |
+    SignalExternalWorkflowExecution'ChildWorkflowId !Data.Text.Text
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'seq
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "signalName" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'signalName
+           (\ x__ y__
+              -> x__ {_SignalExternalWorkflowExecution'signalName = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "args" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'args
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'args = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "vec'args" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'args
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'args = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'headers
+           (\ x__ y__
+              -> x__ {_SignalExternalWorkflowExecution'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "maybe'target" (Prelude.Maybe SignalExternalWorkflowExecution'Target) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'target
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'target = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "maybe'workflowExecution" (Prelude.Maybe Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'target
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'target = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (SignalExternalWorkflowExecution'WorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   SignalExternalWorkflowExecution'WorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "workflowExecution" Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'target
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'target = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (SignalExternalWorkflowExecution'WorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      SignalExternalWorkflowExecution'WorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "maybe'childWorkflowId" (Prelude.Maybe Data.Text.Text) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'target
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'target = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (SignalExternalWorkflowExecution'ChildWorkflowId x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   SignalExternalWorkflowExecution'ChildWorkflowId y__))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution "childWorkflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'target
+           (\ x__ y__ -> x__ {_SignalExternalWorkflowExecution'target = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (SignalExternalWorkflowExecution'ChildWorkflowId x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      SignalExternalWorkflowExecution'ChildWorkflowId y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault))
+instance Data.ProtoLens.Message SignalExternalWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.SignalExternalWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\USSignalExternalWorkflowExecution\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\\\n\
+      \\DC2workflow_execution\CAN\STX \SOH(\v2+.coresdk.common.NamespacedWorkflowExecutionH\NULR\DC1workflowExecution\DC2,\n\
+      \\DC1child_workflow_id\CAN\ETX \SOH(\tH\NULR\SIchildWorkflowId\DC2\US\n\
+      \\vsignal_name\CAN\EOT \SOH(\tR\n\
+      \signalName\DC23\n\
+      \\EOTargs\CAN\ENQ \ETX(\v2\US.temporal.api.common.v1.PayloadR\EOTargs\DC2a\n\
+      \\aheaders\CAN\ACK \ETX(\v2G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntryR\aheaders\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOHB\b\n\
+      \\ACKtarget"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution
+        signalName__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_name"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"signalName")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution
+        args__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "args"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"args")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalExternalWorkflowExecution'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution
+        workflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution
+        childWorkflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "child_workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'childWorkflowId")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 4, signalName__field_descriptor),
+           (Data.ProtoLens.Tag 5, args__field_descriptor),
+           (Data.ProtoLens.Tag 6, headers__field_descriptor),
+           (Data.ProtoLens.Tag 2, workflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 3, childWorkflowId__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalExternalWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_SignalExternalWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = SignalExternalWorkflowExecution'_constructor
+        {_SignalExternalWorkflowExecution'seq = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecution'signalName = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecution'args = Data.Vector.Generic.empty,
+         _SignalExternalWorkflowExecution'headers = Data.Map.empty,
+         _SignalExternalWorkflowExecution'target = Prelude.Nothing,
+         _SignalExternalWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalExternalWorkflowExecution
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser SignalExternalWorkflowExecution
+        loop x mutable'args
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'args <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'args)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'args") frozen'args x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                                  mutable'args
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "signal_name"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"signalName") y x)
+                                  mutable'args
+                        42
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "args"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'args y)
+                                loop x v
+                        50
+                          -> do !(entry :: SignalExternalWorkflowExecution'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                              (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                  Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                    (Prelude.fromIntegral
+                                                                                                       len)
+                                                                                                    Data.ProtoLens.parseMessage)
+                                                                                              "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'args)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecution") y x)
+                                  mutable'args
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "child_workflow_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"childWorkflowId") y x)
+                                  mutable'args
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'args
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'args <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'args)
+          "SignalExternalWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"signalName") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                      (\ _v
+                         -> (Data.Monoid.<>)
+                              (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                              ((Prelude..)
+                                 (\ bs
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                            (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                         (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                 Data.ProtoLens.encodeMessage _v))
+                      (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'args") _x))
+                   ((Data.Monoid.<>)
+                      (Data.Monoid.mconcat
+                         (Prelude.map
+                            (\ _v
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                    ((Prelude..)
+                                       (\ bs
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                  (Prelude.fromIntegral
+                                                     (Data.ByteString.length bs)))
+                                               (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                       Data.ProtoLens.encodeMessage
+                                       (Lens.Family2.set
+                                          (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                          (Lens.Family2.set
+                                             (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                             (Data.ProtoLens.defMessage ::
+                                                SignalExternalWorkflowExecution'HeadersEntry)))))
+                            (Data.Map.toList
+                               (Lens.Family2.view (Data.ProtoLens.Field.field @"headers") _x))))
+                      ((Data.Monoid.<>)
+                         (case
+                              Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'target") _x
+                          of
+                            Prelude.Nothing -> Data.Monoid.mempty
+                            (Prelude.Just (SignalExternalWorkflowExecution'WorkflowExecution v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.ProtoLens.encodeMessage v)
+                            (Prelude.Just (SignalExternalWorkflowExecution'ChildWorkflowId v))
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                                   ((Prelude..)
+                                      (\ bs
+                                         -> (Data.Monoid.<>)
+                                              (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                 (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                              (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                      Data.Text.Encoding.encodeUtf8 v))
+                         (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                            (Lens.Family2.view Data.ProtoLens.unknownFields _x))))))
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalExternalWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SignalExternalWorkflowExecution'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalExternalWorkflowExecution'signalName x__)
+                   (Control.DeepSeq.deepseq
+                      (_SignalExternalWorkflowExecution'args x__)
+                      (Control.DeepSeq.deepseq
+                         (_SignalExternalWorkflowExecution'headers x__)
+                         (Control.DeepSeq.deepseq
+                            (_SignalExternalWorkflowExecution'target x__) ())))))
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecution'Target where
+  rnf (SignalExternalWorkflowExecution'WorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (SignalExternalWorkflowExecution'ChildWorkflowId x__)
+    = Control.DeepSeq.rnf x__
+_SignalExternalWorkflowExecution'WorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' SignalExternalWorkflowExecution'Target Proto.Temporal.Sdk.Core.Common.Common.NamespacedWorkflowExecution
+_SignalExternalWorkflowExecution'WorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      SignalExternalWorkflowExecution'WorkflowExecution
+      (\ p__
+         -> case p__ of
+              (SignalExternalWorkflowExecution'WorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_SignalExternalWorkflowExecution'ChildWorkflowId ::
+  Data.ProtoLens.Prism.Prism' SignalExternalWorkflowExecution'Target Data.Text.Text
+_SignalExternalWorkflowExecution'ChildWorkflowId
+  = Data.ProtoLens.Prism.prism'
+      SignalExternalWorkflowExecution'ChildWorkflowId
+      (\ p__
+         -> case p__ of
+              (SignalExternalWorkflowExecution'ChildWorkflowId p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' SignalExternalWorkflowExecution'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' SignalExternalWorkflowExecution'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' SignalExternalWorkflowExecution'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data SignalExternalWorkflowExecution'HeadersEntry
+  = SignalExternalWorkflowExecution'HeadersEntry'_constructor {_SignalExternalWorkflowExecution'HeadersEntry'key :: !Data.Text.Text,
+                                                               _SignalExternalWorkflowExecution'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                               _SignalExternalWorkflowExecution'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show SignalExternalWorkflowExecution'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'HeadersEntry'key
+           (\ x__ y__
+              -> x__ {_SignalExternalWorkflowExecution'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'HeadersEntry'value
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecution'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField SignalExternalWorkflowExecution'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _SignalExternalWorkflowExecution'HeadersEntry'value
+           (\ x__ y__
+              -> x__
+                   {_SignalExternalWorkflowExecution'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message SignalExternalWorkflowExecution'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor SignalExternalWorkflowExecution'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _SignalExternalWorkflowExecution'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_SignalExternalWorkflowExecution'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = SignalExternalWorkflowExecution'HeadersEntry'_constructor
+        {_SignalExternalWorkflowExecution'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _SignalExternalWorkflowExecution'HeadersEntry'value = Prelude.Nothing,
+         _SignalExternalWorkflowExecution'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          SignalExternalWorkflowExecution'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser SignalExternalWorkflowExecution'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData SignalExternalWorkflowExecution'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_SignalExternalWorkflowExecution'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_SignalExternalWorkflowExecution'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_SignalExternalWorkflowExecution'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' StartChildWorkflowExecution Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.namespace' @:: Lens' StartChildWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowId' @:: Lens' StartChildWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowType' @:: Lens' StartChildWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.taskQueue' @:: Lens' StartChildWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.input' @:: Lens' StartChildWorkflowExecution [Proto.Temporal.Api.Common.V1.Message.Payload]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.vec'input' @:: Lens' StartChildWorkflowExecution (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowExecutionTimeout' @:: Lens' StartChildWorkflowExecution Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowExecutionTimeout' @:: Lens' StartChildWorkflowExecution (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowRunTimeout' @:: Lens' StartChildWorkflowExecution Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowRunTimeout' @:: Lens' StartChildWorkflowExecution (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowTaskTimeout' @:: Lens' StartChildWorkflowExecution Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'workflowTaskTimeout' @:: Lens' StartChildWorkflowExecution (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.parentClosePolicy' @:: Lens' StartChildWorkflowExecution Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ParentClosePolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.workflowIdReusePolicy' @:: Lens' StartChildWorkflowExecution Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.retryPolicy' @:: Lens' StartChildWorkflowExecution Proto.Temporal.Api.Common.V1.Message.RetryPolicy@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'retryPolicy' @:: Lens' StartChildWorkflowExecution (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cronSchedule' @:: Lens' StartChildWorkflowExecution Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.headers' @:: Lens' StartChildWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.memo' @:: Lens' StartChildWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.searchAttributes' @:: Lens' StartChildWorkflowExecution (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancellationType' @:: Lens' StartChildWorkflowExecution Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowCancellationType@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.versioningIntent' @:: Lens' StartChildWorkflowExecution Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.priority' @:: Lens' StartChildWorkflowExecution Proto.Temporal.Api.Common.V1.Message.Priority@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'priority' @:: Lens' StartChildWorkflowExecution (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority)@ -}
+data StartChildWorkflowExecution
+  = StartChildWorkflowExecution'_constructor {_StartChildWorkflowExecution'seq :: !Data.Word.Word32,
+                                              _StartChildWorkflowExecution'namespace :: !Data.Text.Text,
+                                              _StartChildWorkflowExecution'workflowId :: !Data.Text.Text,
+                                              _StartChildWorkflowExecution'workflowType :: !Data.Text.Text,
+                                              _StartChildWorkflowExecution'taskQueue :: !Data.Text.Text,
+                                              _StartChildWorkflowExecution'input :: !(Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload),
+                                              _StartChildWorkflowExecution'workflowExecutionTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                              _StartChildWorkflowExecution'workflowRunTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                              _StartChildWorkflowExecution'workflowTaskTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                                              _StartChildWorkflowExecution'parentClosePolicy :: !Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ParentClosePolicy,
+                                              _StartChildWorkflowExecution'workflowIdReusePolicy :: !Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy,
+                                              _StartChildWorkflowExecution'retryPolicy :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy),
+                                              _StartChildWorkflowExecution'cronSchedule :: !Data.Text.Text,
+                                              _StartChildWorkflowExecution'headers :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                              _StartChildWorkflowExecution'memo :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                              _StartChildWorkflowExecution'searchAttributes :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                              _StartChildWorkflowExecution'cancellationType :: !Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowCancellationType,
+                                              _StartChildWorkflowExecution'versioningIntent :: !Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent,
+                                              _StartChildWorkflowExecution'priority :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority),
+                                              _StartChildWorkflowExecution'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecution where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'seq
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "namespace" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'namespace
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'namespace = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "workflowId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowId
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'workflowId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "workflowType" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowType
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'workflowType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "taskQueue" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'taskQueue
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'taskQueue = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "input" [Proto.Temporal.Api.Common.V1.Message.Payload] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'input
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'input = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "vec'input" (Data.Vector.Vector Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'input
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'input = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "workflowExecutionTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecution'workflowExecutionTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "maybe'workflowExecutionTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowExecutionTimeout
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecution'workflowExecutionTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "workflowRunTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'workflowRunTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "maybe'workflowRunTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowRunTimeout
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'workflowRunTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "workflowTaskTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowTaskTimeout
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'workflowTaskTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "maybe'workflowTaskTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowTaskTimeout
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'workflowTaskTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "parentClosePolicy" Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ParentClosePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'parentClosePolicy
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'parentClosePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "workflowIdReusePolicy" Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'workflowIdReusePolicy
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'workflowIdReusePolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "retryPolicy" Proto.Temporal.Api.Common.V1.Message.RetryPolicy where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'retryPolicy
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'retryPolicy = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "maybe'retryPolicy" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.RetryPolicy) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'retryPolicy
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'retryPolicy = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "cronSchedule" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'cronSchedule
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'cronSchedule = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "headers" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'headers
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'headers = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "memo" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'memo
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'memo = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "searchAttributes" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'searchAttributes
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "cancellationType" Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowCancellationType where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'cancellationType
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'cancellationType = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "versioningIntent" Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'versioningIntent
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'versioningIntent = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "priority" Proto.Temporal.Api.Common.V1.Message.Priority where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'priority
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'priority = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution "maybe'priority" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Priority) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'priority
+           (\ x__ y__ -> x__ {_StartChildWorkflowExecution'priority = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecution where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.StartChildWorkflowExecution"
+  packedMessageDescriptor _
+    = "\n\
+      \\ESCStartChildWorkflowExecution\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\FS\n\
+      \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2\US\n\
+      \\vworkflow_id\CAN\ETX \SOH(\tR\n\
+      \workflowId\DC2#\n\
+      \\rworkflow_type\CAN\EOT \SOH(\tR\fworkflowType\DC2\GS\n\
+      \\n\
+      \task_queue\CAN\ENQ \SOH(\tR\ttaskQueue\DC25\n\
+      \\ENQinput\CAN\ACK \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2W\n\
+      \\SUBworkflow_execution_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+      \\DC4workflow_run_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+      \\NAKworkflow_task_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2Y\n\
+      \\DC3parent_close_policy\CAN\n\
+      \ \SOH(\SO2).coresdk.child_workflow.ParentClosePolicyR\DC1parentClosePolicy\DC2e\n\
+      \\CANworkflow_id_reuse_policy\CAN\f \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+      \\fretry_policy\CAN\r \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+      \\rcron_schedule\CAN\SO \SOH(\tR\fcronSchedule\DC2]\n\
+      \\aheaders\CAN\SI \ETX(\v2C.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntryR\aheaders\DC2T\n\
+      \\EOTmemo\CAN\DLE \ETX(\v2@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntryR\EOTmemo\DC2y\n\
+      \\DC1search_attributes\CAN\DC1 \ETX(\v2L.coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntryR\DLEsearchAttributes\DC2b\n\
+      \\DC1cancellation_type\CAN\DC2 \SOH(\SO25.coresdk.child_workflow.ChildWorkflowCancellationTypeR\DLEcancellationType\DC2M\n\
+      \\DC1versioning_intent\CAN\DC3 \SOH(\SO2 .coresdk.common.VersioningIntentR\DLEversioningIntent\DC2<\n\
+      \\bpriority\CAN\DC4 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\SUB[\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUBX\n\
+      \\tMemoEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUBd\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        namespace__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "namespace"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"namespace")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        workflowId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowId")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        workflowType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowType")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        taskQueue__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "task_queue"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"taskQueue")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        input__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "input"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked (Data.ProtoLens.Field.field @"input")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        workflowExecutionTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_execution_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        workflowRunTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_run_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        workflowTaskTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_task_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        parentClosePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "parent_close_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ParentClosePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"parentClosePolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        workflowIdReusePolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "workflow_id_reuse_policy"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.WorkflowIdReusePolicy)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"workflowIdReusePolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        retryPolicy__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "retry_policy"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.RetryPolicy)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'retryPolicy")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        cronSchedule__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cron_schedule"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cronSchedule")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        headers__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "headers"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecution'HeadersEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"headers")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        memo__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "memo"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecution'MemoEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"memo")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecution'SearchAttributesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        cancellationType__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancellation_type"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow.ChildWorkflowCancellationType)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"cancellationType")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        versioningIntent__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_intent"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.Common.Common.VersioningIntent)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"versioningIntent")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+        priority__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "priority"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Priority)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'priority")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, namespace__field_descriptor),
+           (Data.ProtoLens.Tag 3, workflowId__field_descriptor),
+           (Data.ProtoLens.Tag 4, workflowType__field_descriptor),
+           (Data.ProtoLens.Tag 5, taskQueue__field_descriptor),
+           (Data.ProtoLens.Tag 6, input__field_descriptor),
+           (Data.ProtoLens.Tag 7, workflowExecutionTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 8, workflowRunTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 9, workflowTaskTimeout__field_descriptor),
+           (Data.ProtoLens.Tag 10, parentClosePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 12, workflowIdReusePolicy__field_descriptor),
+           (Data.ProtoLens.Tag 13, retryPolicy__field_descriptor),
+           (Data.ProtoLens.Tag 14, cronSchedule__field_descriptor),
+           (Data.ProtoLens.Tag 15, headers__field_descriptor),
+           (Data.ProtoLens.Tag 16, memo__field_descriptor),
+           (Data.ProtoLens.Tag 17, searchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 18, cancellationType__field_descriptor),
+           (Data.ProtoLens.Tag 19, versioningIntent__field_descriptor),
+           (Data.ProtoLens.Tag 20, priority__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecution'_unknownFields
+        (\ x__ y__
+           -> x__ {_StartChildWorkflowExecution'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecution'_constructor
+        {_StartChildWorkflowExecution'seq = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'namespace = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'workflowId = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'workflowType = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'taskQueue = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'input = Data.Vector.Generic.empty,
+         _StartChildWorkflowExecution'workflowExecutionTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecution'workflowRunTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecution'workflowTaskTimeout = Prelude.Nothing,
+         _StartChildWorkflowExecution'parentClosePolicy = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'workflowIdReusePolicy = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'retryPolicy = Prelude.Nothing,
+         _StartChildWorkflowExecution'cronSchedule = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'headers = Data.Map.empty,
+         _StartChildWorkflowExecution'memo = Data.Map.empty,
+         _StartChildWorkflowExecution'searchAttributes = Data.Map.empty,
+         _StartChildWorkflowExecution'cancellationType = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'versioningIntent = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'priority = Prelude.Nothing,
+         _StartChildWorkflowExecution'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecution
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Api.Common.V1.Message.Payload
+             -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecution
+        loop x mutable'input
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                        (Data.ProtoLens.Encoding.Growing.unsafeFreeze mutable'input)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'input") frozen'input x))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                                  mutable'input
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "namespace"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"namespace") y x)
+                                  mutable'input
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_id"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"workflowId") y x)
+                                  mutable'input
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "workflow_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowType") y x)
+                                  mutable'input
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "task_queue"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"taskQueue") y x)
+                                  mutable'input
+                        50
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "input"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'input y)
+                                loop x v
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_execution_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowExecutionTimeout") y x)
+                                  mutable'input
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_run_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowRunTimeout") y x)
+                                  mutable'input
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "workflow_task_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowTaskTimeout") y x)
+                                  mutable'input
+                        80
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "parent_close_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"parentClosePolicy") y x)
+                                  mutable'input
+                        96
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "workflow_id_reuse_policy"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"workflowIdReusePolicy") y x)
+                                  mutable'input
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "retry_policy"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"retryPolicy") y x)
+                                  mutable'input
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "cron_schedule"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cronSchedule") y x)
+                                  mutable'input
+                        122
+                          -> do !(entry :: StartChildWorkflowExecution'HeadersEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                          (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                              Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                (Prelude.fromIntegral
+                                                                                                   len)
+                                                                                                Data.ProtoLens.parseMessage)
+                                                                                          "headers"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"headers")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'input)
+                        130
+                          -> do !(entry :: StartChildWorkflowExecution'MemoEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                             (Prelude.fromIntegral
+                                                                                                len)
+                                                                                             Data.ProtoLens.parseMessage)
+                                                                                       "memo"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"memo")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'input)
+                        138
+                          -> do !(entry :: StartChildWorkflowExecution'SearchAttributesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                   (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                       Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                         (Prelude.fromIntegral
+                                                                                                            len)
+                                                                                                         Data.ProtoLens.parseMessage)
+                                                                                                   "search_attributes"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"searchAttributes")
+                                        (\ !t -> Data.Map.insert key value t) x)
+                                     mutable'input)
+                        144
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "cancellation_type"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancellationType") y x)
+                                  mutable'input
+                        152
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "versioning_intent"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningIntent") y x)
+                                  mutable'input
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "priority"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"priority") y x)
+                                  mutable'input
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'input
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'input <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                 Data.ProtoLens.Encoding.Growing.new
+              loop Data.ProtoLens.defMessage mutable'input)
+          "StartChildWorkflowExecution"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v = Lens.Family2.view (Data.ProtoLens.Field.field @"namespace") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                         ((Prelude..)
+                            (\ bs
+                               -> (Data.Monoid.<>)
+                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                       (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            Data.Text.Encoding.encodeUtf8 _v))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowId") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                            ((Prelude..)
+                               (\ bs
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                          (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                               Data.Text.Encoding.encodeUtf8 _v))
+                   ((Data.Monoid.<>)
+                      (let
+                         _v
+                           = Lens.Family2.view (Data.ProtoLens.Field.field @"workflowType") _x
+                       in
+                         if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                             Data.Monoid.mempty
+                         else
+                             (Data.Monoid.<>)
+                               (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                               ((Prelude..)
+                                  (\ bs
+                                     -> (Data.Monoid.<>)
+                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                             (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                          (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                  Data.Text.Encoding.encodeUtf8 _v))
+                      ((Data.Monoid.<>)
+                         (let
+                            _v = Lens.Family2.view (Data.ProtoLens.Field.field @"taskQueue") _x
+                          in
+                            if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                Data.Monoid.mempty
+                            else
+                                (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                                  ((Prelude..)
+                                     (\ bs
+                                        -> (Data.Monoid.<>)
+                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                             (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                     Data.Text.Encoding.encodeUtf8 _v))
+                         ((Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                               (\ _v
+                                  -> (Data.Monoid.<>)
+                                       (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                                       ((Prelude..)
+                                          (\ bs
+                                             -> (Data.Monoid.<>)
+                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                     (Prelude.fromIntegral
+                                                        (Data.ByteString.length bs)))
+                                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                          Data.ProtoLens.encodeMessage _v))
+                               (Lens.Family2.view (Data.ProtoLens.Field.field @"vec'input") _x))
+                            ((Data.Monoid.<>)
+                               (case
+                                    Lens.Family2.view
+                                      (Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout")
+                                      _x
+                                of
+                                  Prelude.Nothing -> Data.Monoid.mempty
+                                  (Prelude.Just _v)
+                                    -> (Data.Monoid.<>)
+                                         (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                                         ((Prelude..)
+                                            (\ bs
+                                               -> (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       (Prelude.fromIntegral
+                                                          (Data.ByteString.length bs)))
+                                                    (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                            Data.ProtoLens.encodeMessage _v))
+                               ((Data.Monoid.<>)
+                                  (case
+                                       Lens.Family2.view
+                                         (Data.ProtoLens.Field.field @"maybe'workflowRunTimeout") _x
+                                   of
+                                     Prelude.Nothing -> Data.Monoid.mempty
+                                     (Prelude.Just _v)
+                                       -> (Data.Monoid.<>)
+                                            (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                                            ((Prelude..)
+                                               (\ bs
+                                                  -> (Data.Monoid.<>)
+                                                       (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          (Prelude.fromIntegral
+                                                             (Data.ByteString.length bs)))
+                                                       (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                                               Data.ProtoLens.encodeMessage _v))
+                                  ((Data.Monoid.<>)
+                                     (case
+                                          Lens.Family2.view
+                                            (Data.ProtoLens.Field.field
+                                               @"maybe'workflowTaskTimeout")
+                                            _x
+                                      of
+                                        Prelude.Nothing -> Data.Monoid.mempty
+                                        (Prelude.Just _v)
+                                          -> (Data.Monoid.<>)
+                                               (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                                               ((Prelude..)
+                                                  (\ bs
+                                                     -> (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             (Prelude.fromIntegral
+                                                                (Data.ByteString.length bs)))
+                                                          (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                             bs))
+                                                  Data.ProtoLens.encodeMessage _v))
+                                     ((Data.Monoid.<>)
+                                        (let
+                                           _v
+                                             = Lens.Family2.view
+                                                 (Data.ProtoLens.Field.field @"parentClosePolicy")
+                                                 _x
+                                         in
+                                           if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                               Data.Monoid.mempty
+                                           else
+                                               (Data.Monoid.<>)
+                                                 (Data.ProtoLens.Encoding.Bytes.putVarInt 80)
+                                                 ((Prelude..)
+                                                    ((Prelude..)
+                                                       Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                       Prelude.fromIntegral)
+                                                    Prelude.fromEnum _v))
+                                        ((Data.Monoid.<>)
+                                           (let
+                                              _v
+                                                = Lens.Family2.view
+                                                    (Data.ProtoLens.Field.field
+                                                       @"workflowIdReusePolicy")
+                                                    _x
+                                            in
+                                              if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                                                  Data.Monoid.mempty
+                                              else
+                                                  (Data.Monoid.<>)
+                                                    (Data.ProtoLens.Encoding.Bytes.putVarInt 96)
+                                                    ((Prelude..)
+                                                       ((Prelude..)
+                                                          Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                          Prelude.fromIntegral)
+                                                       Prelude.fromEnum _v))
+                                           ((Data.Monoid.<>)
+                                              (case
+                                                   Lens.Family2.view
+                                                     (Data.ProtoLens.Field.field
+                                                        @"maybe'retryPolicy")
+                                                     _x
+                                               of
+                                                 Prelude.Nothing -> Data.Monoid.mempty
+                                                 (Prelude.Just _v)
+                                                   -> (Data.Monoid.<>)
+                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                           106)
+                                                        ((Prelude..)
+                                                           (\ bs
+                                                              -> (Data.Monoid.<>)
+                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                      (Prelude.fromIntegral
+                                                                         (Data.ByteString.length
+                                                                            bs)))
+                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                      bs))
+                                                           Data.ProtoLens.encodeMessage _v))
+                                              ((Data.Monoid.<>)
+                                                 (let
+                                                    _v
+                                                      = Lens.Family2.view
+                                                          (Data.ProtoLens.Field.field
+                                                             @"cronSchedule")
+                                                          _x
+                                                  in
+                                                    if (Prelude.==)
+                                                         _v Data.ProtoLens.fieldDefault then
+                                                        Data.Monoid.mempty
+                                                    else
+                                                        (Data.Monoid.<>)
+                                                          (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                             114)
+                                                          ((Prelude..)
+                                                             (\ bs
+                                                                -> (Data.Monoid.<>)
+                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                        (Prelude.fromIntegral
+                                                                           (Data.ByteString.length
+                                                                              bs)))
+                                                                     (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                        bs))
+                                                             Data.Text.Encoding.encodeUtf8 _v))
+                                                 ((Data.Monoid.<>)
+                                                    (Data.Monoid.mconcat
+                                                       (Prelude.map
+                                                          (\ _v
+                                                             -> (Data.Monoid.<>)
+                                                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                     122)
+                                                                  ((Prelude..)
+                                                                     (\ bs
+                                                                        -> (Data.Monoid.<>)
+                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                (Prelude.fromIntegral
+                                                                                   (Data.ByteString.length
+                                                                                      bs)))
+                                                                             (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                bs))
+                                                                     Data.ProtoLens.encodeMessage
+                                                                     (Lens.Family2.set
+                                                                        (Data.ProtoLens.Field.field
+                                                                           @"key")
+                                                                        (Prelude.fst _v)
+                                                                        (Lens.Family2.set
+                                                                           (Data.ProtoLens.Field.field
+                                                                              @"value")
+                                                                           (Prelude.snd _v)
+                                                                           (Data.ProtoLens.defMessage ::
+                                                                              StartChildWorkflowExecution'HeadersEntry)))))
+                                                          (Data.Map.toList
+                                                             (Lens.Family2.view
+                                                                (Data.ProtoLens.Field.field
+                                                                   @"headers")
+                                                                _x))))
+                                                    ((Data.Monoid.<>)
+                                                       (Data.Monoid.mconcat
+                                                          (Prelude.map
+                                                             (\ _v
+                                                                -> (Data.Monoid.<>)
+                                                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                        130)
+                                                                     ((Prelude..)
+                                                                        (\ bs
+                                                                           -> (Data.Monoid.<>)
+                                                                                (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                   (Prelude.fromIntegral
+                                                                                      (Data.ByteString.length
+                                                                                         bs)))
+                                                                                (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                   bs))
+                                                                        Data.ProtoLens.encodeMessage
+                                                                        (Lens.Family2.set
+                                                                           (Data.ProtoLens.Field.field
+                                                                              @"key")
+                                                                           (Prelude.fst _v)
+                                                                           (Lens.Family2.set
+                                                                              (Data.ProtoLens.Field.field
+                                                                                 @"value")
+                                                                              (Prelude.snd _v)
+                                                                              (Data.ProtoLens.defMessage ::
+                                                                                 StartChildWorkflowExecution'MemoEntry)))))
+                                                             (Data.Map.toList
+                                                                (Lens.Family2.view
+                                                                   (Data.ProtoLens.Field.field
+                                                                      @"memo")
+                                                                   _x))))
+                                                       ((Data.Monoid.<>)
+                                                          (Data.Monoid.mconcat
+                                                             (Prelude.map
+                                                                (\ _v
+                                                                   -> (Data.Monoid.<>)
+                                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                           138)
+                                                                        ((Prelude..)
+                                                                           (\ bs
+                                                                              -> (Data.Monoid.<>)
+                                                                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                      (Prelude.fromIntegral
+                                                                                         (Data.ByteString.length
+                                                                                            bs)))
+                                                                                   (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                      bs))
+                                                                           Data.ProtoLens.encodeMessage
+                                                                           (Lens.Family2.set
+                                                                              (Data.ProtoLens.Field.field
+                                                                                 @"key")
+                                                                              (Prelude.fst _v)
+                                                                              (Lens.Family2.set
+                                                                                 (Data.ProtoLens.Field.field
+                                                                                    @"value")
+                                                                                 (Prelude.snd _v)
+                                                                                 (Data.ProtoLens.defMessage ::
+                                                                                    StartChildWorkflowExecution'SearchAttributesEntry)))))
+                                                                (Data.Map.toList
+                                                                   (Lens.Family2.view
+                                                                      (Data.ProtoLens.Field.field
+                                                                         @"searchAttributes")
+                                                                      _x))))
+                                                          ((Data.Monoid.<>)
+                                                             (let
+                                                                _v
+                                                                  = Lens.Family2.view
+                                                                      (Data.ProtoLens.Field.field
+                                                                         @"cancellationType")
+                                                                      _x
+                                                              in
+                                                                if (Prelude.==)
+                                                                     _v
+                                                                     Data.ProtoLens.fieldDefault then
+                                                                    Data.Monoid.mempty
+                                                                else
+                                                                    (Data.Monoid.<>)
+                                                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                         144)
+                                                                      ((Prelude..)
+                                                                         ((Prelude..)
+                                                                            Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            Prelude.fromIntegral)
+                                                                         Prelude.fromEnum _v))
+                                                             ((Data.Monoid.<>)
+                                                                (let
+                                                                   _v
+                                                                     = Lens.Family2.view
+                                                                         (Data.ProtoLens.Field.field
+                                                                            @"versioningIntent")
+                                                                         _x
+                                                                 in
+                                                                   if (Prelude.==)
+                                                                        _v
+                                                                        Data.ProtoLens.fieldDefault then
+                                                                       Data.Monoid.mempty
+                                                                   else
+                                                                       (Data.Monoid.<>)
+                                                                         (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                            152)
+                                                                         ((Prelude..)
+                                                                            ((Prelude..)
+                                                                               Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                               Prelude.fromIntegral)
+                                                                            Prelude.fromEnum _v))
+                                                                ((Data.Monoid.<>)
+                                                                   (case
+                                                                        Lens.Family2.view
+                                                                          (Data.ProtoLens.Field.field
+                                                                             @"maybe'priority")
+                                                                          _x
+                                                                    of
+                                                                      Prelude.Nothing
+                                                                        -> Data.Monoid.mempty
+                                                                      (Prelude.Just _v)
+                                                                        -> (Data.Monoid.<>)
+                                                                             (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                162)
+                                                                             ((Prelude..)
+                                                                                (\ bs
+                                                                                   -> (Data.Monoid.<>)
+                                                                                        (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                                                                           (Prelude.fromIntegral
+                                                                                              (Data.ByteString.length
+                                                                                                 bs)))
+                                                                                        (Data.ProtoLens.Encoding.Bytes.putBytes
+                                                                                           bs))
+                                                                                Data.ProtoLens.encodeMessage
+                                                                                _v))
+                                                                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                                                                      (Lens.Family2.view
+                                                                         Data.ProtoLens.unknownFields
+                                                                         _x))))))))))))))))))))
+instance Control.DeepSeq.NFData StartChildWorkflowExecution where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecution'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecution'seq x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecution'namespace x__)
+                   (Control.DeepSeq.deepseq
+                      (_StartChildWorkflowExecution'workflowId x__)
+                      (Control.DeepSeq.deepseq
+                         (_StartChildWorkflowExecution'workflowType x__)
+                         (Control.DeepSeq.deepseq
+                            (_StartChildWorkflowExecution'taskQueue x__)
+                            (Control.DeepSeq.deepseq
+                               (_StartChildWorkflowExecution'input x__)
+                               (Control.DeepSeq.deepseq
+                                  (_StartChildWorkflowExecution'workflowExecutionTimeout x__)
+                                  (Control.DeepSeq.deepseq
+                                     (_StartChildWorkflowExecution'workflowRunTimeout x__)
+                                     (Control.DeepSeq.deepseq
+                                        (_StartChildWorkflowExecution'workflowTaskTimeout x__)
+                                        (Control.DeepSeq.deepseq
+                                           (_StartChildWorkflowExecution'parentClosePolicy x__)
+                                           (Control.DeepSeq.deepseq
+                                              (_StartChildWorkflowExecution'workflowIdReusePolicy
+                                                 x__)
+                                              (Control.DeepSeq.deepseq
+                                                 (_StartChildWorkflowExecution'retryPolicy x__)
+                                                 (Control.DeepSeq.deepseq
+                                                    (_StartChildWorkflowExecution'cronSchedule x__)
+                                                    (Control.DeepSeq.deepseq
+                                                       (_StartChildWorkflowExecution'headers x__)
+                                                       (Control.DeepSeq.deepseq
+                                                          (_StartChildWorkflowExecution'memo x__)
+                                                          (Control.DeepSeq.deepseq
+                                                             (_StartChildWorkflowExecution'searchAttributes
+                                                                x__)
+                                                             (Control.DeepSeq.deepseq
+                                                                (_StartChildWorkflowExecution'cancellationType
+                                                                   x__)
+                                                                (Control.DeepSeq.deepseq
+                                                                   (_StartChildWorkflowExecution'versioningIntent
+                                                                      x__)
+                                                                   (Control.DeepSeq.deepseq
+                                                                      (_StartChildWorkflowExecution'priority
+                                                                         x__)
+                                                                      ())))))))))))))))))))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' StartChildWorkflowExecution'HeadersEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' StartChildWorkflowExecution'HeadersEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' StartChildWorkflowExecution'HeadersEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data StartChildWorkflowExecution'HeadersEntry
+  = StartChildWorkflowExecution'HeadersEntry'_constructor {_StartChildWorkflowExecution'HeadersEntry'key :: !Data.Text.Text,
+                                                           _StartChildWorkflowExecution'HeadersEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                           _StartChildWorkflowExecution'HeadersEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecution'HeadersEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'HeadersEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'HeadersEntry'key
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'HeadersEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'HeadersEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'HeadersEntry'value
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'HeadersEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'HeadersEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'HeadersEntry'value
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'HeadersEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecution'HeadersEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\fHeadersEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution'HeadersEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution'HeadersEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecution'HeadersEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartChildWorkflowExecution'HeadersEntry'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecution'HeadersEntry'_constructor
+        {_StartChildWorkflowExecution'HeadersEntry'key = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'HeadersEntry'value = Prelude.Nothing,
+         _StartChildWorkflowExecution'HeadersEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecution'HeadersEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecution'HeadersEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "HeadersEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartChildWorkflowExecution'HeadersEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecution'HeadersEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecution'HeadersEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecution'HeadersEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' StartChildWorkflowExecution'MemoEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' StartChildWorkflowExecution'MemoEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' StartChildWorkflowExecution'MemoEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data StartChildWorkflowExecution'MemoEntry
+  = StartChildWorkflowExecution'MemoEntry'_constructor {_StartChildWorkflowExecution'MemoEntry'key :: !Data.Text.Text,
+                                                        _StartChildWorkflowExecution'MemoEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                        _StartChildWorkflowExecution'MemoEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecution'MemoEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'MemoEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'MemoEntry'key
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'MemoEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'MemoEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'MemoEntry'value
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'MemoEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'MemoEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'MemoEntry'value
+           (\ x__ y__
+              -> x__ {_StartChildWorkflowExecution'MemoEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecution'MemoEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\tMemoEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution'MemoEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution'MemoEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecution'MemoEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartChildWorkflowExecution'MemoEntry'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecution'MemoEntry'_constructor
+        {_StartChildWorkflowExecution'MemoEntry'key = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'MemoEntry'value = Prelude.Nothing,
+         _StartChildWorkflowExecution'MemoEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecution'MemoEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecution'MemoEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "MemoEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartChildWorkflowExecution'MemoEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecution'MemoEntry'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecution'MemoEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecution'MemoEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' StartChildWorkflowExecution'SearchAttributesEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' StartChildWorkflowExecution'SearchAttributesEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' StartChildWorkflowExecution'SearchAttributesEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data StartChildWorkflowExecution'SearchAttributesEntry
+  = StartChildWorkflowExecution'SearchAttributesEntry'_constructor {_StartChildWorkflowExecution'SearchAttributesEntry'key :: !Data.Text.Text,
+                                                                    _StartChildWorkflowExecution'SearchAttributesEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                                    _StartChildWorkflowExecution'SearchAttributesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartChildWorkflowExecution'SearchAttributesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'SearchAttributesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'SearchAttributesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecution'SearchAttributesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'SearchAttributesEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecution'SearchAttributesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartChildWorkflowExecution'SearchAttributesEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartChildWorkflowExecution'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_StartChildWorkflowExecution'SearchAttributesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartChildWorkflowExecution'SearchAttributesEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution'SearchAttributesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor StartChildWorkflowExecution'SearchAttributesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartChildWorkflowExecution'SearchAttributesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_StartChildWorkflowExecution'SearchAttributesEntry'_unknownFields = y__})
+  defMessage
+    = StartChildWorkflowExecution'SearchAttributesEntry'_constructor
+        {_StartChildWorkflowExecution'SearchAttributesEntry'key = Data.ProtoLens.fieldDefault,
+         _StartChildWorkflowExecution'SearchAttributesEntry'value = Prelude.Nothing,
+         _StartChildWorkflowExecution'SearchAttributesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartChildWorkflowExecution'SearchAttributesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser StartChildWorkflowExecution'SearchAttributesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SearchAttributesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartChildWorkflowExecution'SearchAttributesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartChildWorkflowExecution'SearchAttributesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_StartChildWorkflowExecution'SearchAttributesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_StartChildWorkflowExecution'SearchAttributesEntry'value x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.seq' @:: Lens' StartTimer Data.Word.Word32@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.startToFireTimeout' @:: Lens' StartTimer Proto.Google.Protobuf.Duration.Duration@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'startToFireTimeout' @:: Lens' StartTimer (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration)@ -}
+data StartTimer
+  = StartTimer'_constructor {_StartTimer'seq :: !Data.Word.Word32,
+                             _StartTimer'startToFireTimeout :: !(Prelude.Maybe Proto.Google.Protobuf.Duration.Duration),
+                             _StartTimer'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show StartTimer where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField StartTimer "seq" Data.Word.Word32 where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimer'seq (\ x__ y__ -> x__ {_StartTimer'seq = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField StartTimer "startToFireTimeout" Proto.Google.Protobuf.Duration.Duration where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimer'startToFireTimeout
+           (\ x__ y__ -> x__ {_StartTimer'startToFireTimeout = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField StartTimer "maybe'startToFireTimeout" (Prelude.Maybe Proto.Google.Protobuf.Duration.Duration) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _StartTimer'startToFireTimeout
+           (\ x__ y__ -> x__ {_StartTimer'startToFireTimeout = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message StartTimer where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.StartTimer"
+  packedMessageDescriptor _
+    = "\n\
+      \\n\
+      \StartTimer\DC2\DLE\n\
+      \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2L\n\
+      \\NAKstart_to_fire_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC2startToFireTimeout"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        seq__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "seq"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"seq")) ::
+              Data.ProtoLens.FieldDescriptor StartTimer
+        startToFireTimeout__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_to_fire_timeout"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Duration.Duration)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startToFireTimeout")) ::
+              Data.ProtoLens.FieldDescriptor StartTimer
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, seq__field_descriptor),
+           (Data.ProtoLens.Tag 2, startToFireTimeout__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _StartTimer'_unknownFields
+        (\ x__ y__ -> x__ {_StartTimer'_unknownFields = y__})
+  defMessage
+    = StartTimer'_constructor
+        {_StartTimer'seq = Data.ProtoLens.fieldDefault,
+         _StartTimer'startToFireTimeout = Prelude.Nothing,
+         _StartTimer'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          StartTimer -> Data.ProtoLens.Encoding.Bytes.Parser StartTimer
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        8 -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.fromIntegral
+                                          Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                       "seq"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"seq") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_to_fire_timeout"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startToFireTimeout") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "StartTimer"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"seq") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 8)
+                      ((Prelude..)
+                         Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view
+                       (Data.ProtoLens.Field.field @"maybe'startToFireTimeout") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData StartTimer where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_StartTimer'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_StartTimer'seq x__)
+                (Control.DeepSeq.deepseq (_StartTimer'startToFireTimeout x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.protocolInstanceId' @:: Lens' UpdateResponse Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'response' @:: Lens' UpdateResponse (Prelude.Maybe UpdateResponse'Response)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'accepted' @:: Lens' UpdateResponse (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.accepted' @:: Lens' UpdateResponse Proto.Google.Protobuf.Empty.Empty@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'rejected' @:: Lens' UpdateResponse (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.rejected' @:: Lens' UpdateResponse Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'completed' @:: Lens' UpdateResponse (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.completed' @:: Lens' UpdateResponse Proto.Temporal.Api.Common.V1.Message.Payload@ -}
+data UpdateResponse
+  = UpdateResponse'_constructor {_UpdateResponse'protocolInstanceId :: !Data.Text.Text,
+                                 _UpdateResponse'response :: !(Prelude.Maybe UpdateResponse'Response),
+                                 _UpdateResponse'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpdateResponse where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data UpdateResponse'Response
+  = UpdateResponse'Accepted !Proto.Google.Protobuf.Empty.Empty |
+    UpdateResponse'Rejected !Proto.Temporal.Api.Failure.V1.Message.Failure |
+    UpdateResponse'Completed !Proto.Temporal.Api.Common.V1.Message.Payload
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField UpdateResponse "protocolInstanceId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'protocolInstanceId
+           (\ x__ y__ -> x__ {_UpdateResponse'protocolInstanceId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateResponse "maybe'response" (Prelude.Maybe UpdateResponse'Response) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpdateResponse "maybe'accepted" (Prelude.Maybe Proto.Google.Protobuf.Empty.Empty) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (UpdateResponse'Accepted x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap UpdateResponse'Accepted y__))
+instance Data.ProtoLens.Field.HasField UpdateResponse "accepted" Proto.Google.Protobuf.Empty.Empty where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (UpdateResponse'Accepted x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap UpdateResponse'Accepted y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField UpdateResponse "maybe'rejected" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (UpdateResponse'Rejected x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap UpdateResponse'Rejected y__))
+instance Data.ProtoLens.Field.HasField UpdateResponse "rejected" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (UpdateResponse'Rejected x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap UpdateResponse'Rejected y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField UpdateResponse "maybe'completed" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (UpdateResponse'Completed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap UpdateResponse'Completed y__))
+instance Data.ProtoLens.Field.HasField UpdateResponse "completed" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpdateResponse'response
+           (\ x__ y__ -> x__ {_UpdateResponse'response = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (UpdateResponse'Completed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap UpdateResponse'Completed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message UpdateResponse where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.UpdateResponse"
+  packedMessageDescriptor _
+    = "\n\
+      \\SOUpdateResponse\DC20\n\
+      \\DC4protocol_instance_id\CAN\SOH \SOH(\tR\DC2protocolInstanceId\DC24\n\
+      \\baccepted\CAN\STX \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\baccepted\DC2>\n\
+      \\brejected\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\brejected\DC2?\n\
+      \\tcompleted\CAN\EOT \SOH(\v2\US.temporal.api.common.v1.PayloadH\NULR\tcompletedB\n\
+      \\n\
+      \\bresponse"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        protocolInstanceId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "protocol_instance_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"protocolInstanceId")) ::
+              Data.ProtoLens.FieldDescriptor UpdateResponse
+        accepted__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "accepted"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Google.Protobuf.Empty.Empty)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'accepted")) ::
+              Data.ProtoLens.FieldDescriptor UpdateResponse
+        rejected__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "rejected"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'rejected")) ::
+              Data.ProtoLens.FieldDescriptor UpdateResponse
+        completed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "completed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completed")) ::
+              Data.ProtoLens.FieldDescriptor UpdateResponse
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, protocolInstanceId__field_descriptor),
+           (Data.ProtoLens.Tag 2, accepted__field_descriptor),
+           (Data.ProtoLens.Tag 3, rejected__field_descriptor),
+           (Data.ProtoLens.Tag 4, completed__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpdateResponse'_unknownFields
+        (\ x__ y__ -> x__ {_UpdateResponse'_unknownFields = y__})
+  defMessage
+    = UpdateResponse'_constructor
+        {_UpdateResponse'protocolInstanceId = Data.ProtoLens.fieldDefault,
+         _UpdateResponse'response = Prelude.Nothing,
+         _UpdateResponse'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpdateResponse
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpdateResponse
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "protocol_instance_id"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"protocolInstanceId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "accepted"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"accepted") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "rejected"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"rejected") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "completed"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"completed") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "UpdateResponse"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v
+                  = Lens.Family2.view
+                      (Data.ProtoLens.Field.field @"protocolInstanceId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'response") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (UpdateResponse'Accepted v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (UpdateResponse'Rejected v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (UpdateResponse'Completed v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpdateResponse where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpdateResponse'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpdateResponse'protocolInstanceId x__)
+                (Control.DeepSeq.deepseq (_UpdateResponse'response x__) ()))
+instance Control.DeepSeq.NFData UpdateResponse'Response where
+  rnf (UpdateResponse'Accepted x__) = Control.DeepSeq.rnf x__
+  rnf (UpdateResponse'Rejected x__) = Control.DeepSeq.rnf x__
+  rnf (UpdateResponse'Completed x__) = Control.DeepSeq.rnf x__
+_UpdateResponse'Accepted ::
+  Data.ProtoLens.Prism.Prism' UpdateResponse'Response Proto.Google.Protobuf.Empty.Empty
+_UpdateResponse'Accepted
+  = Data.ProtoLens.Prism.prism'
+      UpdateResponse'Accepted
+      (\ p__
+         -> case p__ of
+              (UpdateResponse'Accepted p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_UpdateResponse'Rejected ::
+  Data.ProtoLens.Prism.Prism' UpdateResponse'Response Proto.Temporal.Api.Failure.V1.Message.Failure
+_UpdateResponse'Rejected
+  = Data.ProtoLens.Prism.prism'
+      UpdateResponse'Rejected
+      (\ p__
+         -> case p__ of
+              (UpdateResponse'Rejected p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_UpdateResponse'Completed ::
+  Data.ProtoLens.Prism.Prism' UpdateResponse'Response Proto.Temporal.Api.Common.V1.Message.Payload
+_UpdateResponse'Completed
+  = Data.ProtoLens.Prism.prism'
+      UpdateResponse'Completed
+      (\ p__
+         -> case p__ of
+              (UpdateResponse'Completed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.searchAttributes' @:: Lens' UpsertWorkflowSearchAttributes (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data UpsertWorkflowSearchAttributes
+  = UpsertWorkflowSearchAttributes'_constructor {_UpsertWorkflowSearchAttributes'searchAttributes :: !(Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                 _UpsertWorkflowSearchAttributes'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpsertWorkflowSearchAttributes where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributes "searchAttributes" (Data.Map.Map Data.Text.Text Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributes'searchAttributes
+           (\ x__ y__
+              -> x__ {_UpsertWorkflowSearchAttributes'searchAttributes = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpsertWorkflowSearchAttributes where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.UpsertWorkflowSearchAttributes"
+  packedMessageDescriptor _
+    = "\n\
+      \\RSUpsertWorkflowSearchAttributes\DC2|\n\
+      \\DC1search_attributes\CAN\SOH \ETX(\v2O.coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntryR\DLEsearchAttributes\SUBd\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        searchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpsertWorkflowSearchAttributes'SearchAttributesEntry)
+              (Data.ProtoLens.MapField
+                 (Data.ProtoLens.Field.field @"key")
+                 (Data.ProtoLens.Field.field @"value")
+                 (Data.ProtoLens.Field.field @"searchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor UpsertWorkflowSearchAttributes
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, searchAttributes__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpsertWorkflowSearchAttributes'_unknownFields
+        (\ x__ y__
+           -> x__ {_UpsertWorkflowSearchAttributes'_unknownFields = y__})
+  defMessage
+    = UpsertWorkflowSearchAttributes'_constructor
+        {_UpsertWorkflowSearchAttributes'searchAttributes = Data.Map.empty,
+         _UpsertWorkflowSearchAttributes'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpsertWorkflowSearchAttributes
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpsertWorkflowSearchAttributes
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !(entry :: UpsertWorkflowSearchAttributes'SearchAttributesEntry) <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                                                      (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                                                                                          Data.ProtoLens.Encoding.Bytes.isolate
+                                                                                                            (Prelude.fromIntegral
+                                                                                                               len)
+                                                                                                            Data.ProtoLens.parseMessage)
+                                                                                                      "search_attributes"
+                                (let
+                                   key = Lens.Family2.view (Data.ProtoLens.Field.field @"key") entry
+                                   value
+                                     = Lens.Family2.view (Data.ProtoLens.Field.field @"value") entry
+                                 in
+                                   loop
+                                     (Lens.Family2.over
+                                        (Data.ProtoLens.Field.field @"searchAttributes")
+                                        (\ !t -> Data.Map.insert key value t) x))
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage)
+          "UpsertWorkflowSearchAttributes"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.Monoid.mconcat
+                (Prelude.map
+                   (\ _v
+                      -> (Data.Monoid.<>)
+                           (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                           ((Prelude..)
+                              (\ bs
+                                 -> (Data.Monoid.<>)
+                                      (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                         (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                      (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                              Data.ProtoLens.encodeMessage
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"key") (Prelude.fst _v)
+                                 (Lens.Family2.set
+                                    (Data.ProtoLens.Field.field @"value") (Prelude.snd _v)
+                                    (Data.ProtoLens.defMessage ::
+                                       UpsertWorkflowSearchAttributes'SearchAttributesEntry)))))
+                   (Data.Map.toList
+                      (Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"searchAttributes") _x))))
+             (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                (Lens.Family2.view Data.ProtoLens.unknownFields _x))
+instance Control.DeepSeq.NFData UpsertWorkflowSearchAttributes where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpsertWorkflowSearchAttributes'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_UpsertWorkflowSearchAttributes'searchAttributes x__) ())
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.key' @:: Lens' UpsertWorkflowSearchAttributes'SearchAttributesEntry Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.value' @:: Lens' UpsertWorkflowSearchAttributes'SearchAttributesEntry Proto.Temporal.Api.Common.V1.Message.Payload@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'value' @:: Lens' UpsertWorkflowSearchAttributes'SearchAttributesEntry (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload)@ -}
+data UpsertWorkflowSearchAttributes'SearchAttributesEntry
+  = UpsertWorkflowSearchAttributes'SearchAttributesEntry'_constructor {_UpsertWorkflowSearchAttributes'SearchAttributesEntry'key :: !Data.Text.Text,
+                                                                       _UpsertWorkflowSearchAttributes'SearchAttributesEntry'value :: !(Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload),
+                                                                       _UpsertWorkflowSearchAttributes'SearchAttributesEntry'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show UpsertWorkflowSearchAttributes'SearchAttributesEntry where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributes'SearchAttributesEntry "key" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributes'SearchAttributesEntry'key
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributes'SearchAttributesEntry'key = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributes'SearchAttributesEntry "value" Proto.Temporal.Api.Common.V1.Message.Payload where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributes'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributes'SearchAttributesEntry'value = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField UpsertWorkflowSearchAttributes'SearchAttributesEntry "maybe'value" (Prelude.Maybe Proto.Temporal.Api.Common.V1.Message.Payload) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _UpsertWorkflowSearchAttributes'SearchAttributesEntry'value
+           (\ x__ y__
+              -> x__
+                   {_UpsertWorkflowSearchAttributes'SearchAttributesEntry'value = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message UpsertWorkflowSearchAttributes'SearchAttributesEntry where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntry"
+  packedMessageDescriptor _
+    = "\n\
+      \\NAKSearchAttributesEntry\DC2\DLE\n\
+      \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+      \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        key__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "key"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"key")) ::
+              Data.ProtoLens.FieldDescriptor UpsertWorkflowSearchAttributes'SearchAttributesEntry
+        value__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "value"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Common.V1.Message.Payload)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'value")) ::
+              Data.ProtoLens.FieldDescriptor UpsertWorkflowSearchAttributes'SearchAttributesEntry
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, key__field_descriptor),
+           (Data.ProtoLens.Tag 2, value__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _UpsertWorkflowSearchAttributes'SearchAttributesEntry'_unknownFields
+        (\ x__ y__
+           -> x__
+                {_UpsertWorkflowSearchAttributes'SearchAttributesEntry'_unknownFields = y__})
+  defMessage
+    = UpsertWorkflowSearchAttributes'SearchAttributesEntry'_constructor
+        {_UpsertWorkflowSearchAttributes'SearchAttributesEntry'key = Data.ProtoLens.fieldDefault,
+         _UpsertWorkflowSearchAttributes'SearchAttributesEntry'value = Prelude.Nothing,
+         _UpsertWorkflowSearchAttributes'SearchAttributesEntry'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          UpsertWorkflowSearchAttributes'SearchAttributesEntry
+          -> Data.ProtoLens.Encoding.Bytes.Parser UpsertWorkflowSearchAttributes'SearchAttributesEntry
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "key"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"key") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "value"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"value") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "SearchAttributesEntry"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let _v = Lens.Family2.view (Data.ProtoLens.Field.field @"key") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'value") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just _v)
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData UpsertWorkflowSearchAttributes'SearchAttributesEntry where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_UpsertWorkflowSearchAttributes'SearchAttributesEntry'_unknownFields
+                x__)
+             (Control.DeepSeq.deepseq
+                (_UpsertWorkflowSearchAttributes'SearchAttributesEntry'key x__)
+                (Control.DeepSeq.deepseq
+                   (_UpsertWorkflowSearchAttributes'SearchAttributesEntry'value x__)
+                   ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.userMetadata' @:: Lens' WorkflowCommand Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'userMetadata' @:: Lens' WorkflowCommand (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'variant' @:: Lens' WorkflowCommand (Prelude.Maybe WorkflowCommand'Variant)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'startTimer' @:: Lens' WorkflowCommand (Prelude.Maybe StartTimer)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.startTimer' @:: Lens' WorkflowCommand StartTimer@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleActivity' @:: Lens' WorkflowCommand (Prelude.Maybe ScheduleActivity)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleActivity' @:: Lens' WorkflowCommand ScheduleActivity@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'respondToQuery' @:: Lens' WorkflowCommand (Prelude.Maybe QueryResult)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.respondToQuery' @:: Lens' WorkflowCommand QueryResult@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'requestCancelActivity' @:: Lens' WorkflowCommand (Prelude.Maybe RequestCancelActivity)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.requestCancelActivity' @:: Lens' WorkflowCommand RequestCancelActivity@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'cancelTimer' @:: Lens' WorkflowCommand (Prelude.Maybe CancelTimer)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancelTimer' @:: Lens' WorkflowCommand CancelTimer@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'completeWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe CompleteWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.completeWorkflowExecution' @:: Lens' WorkflowCommand CompleteWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'failWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe FailWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.failWorkflowExecution' @:: Lens' WorkflowCommand FailWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'continueAsNewWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe ContinueAsNewWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.continueAsNewWorkflowExecution' @:: Lens' WorkflowCommand ContinueAsNewWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'cancelWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe CancelWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancelWorkflowExecution' @:: Lens' WorkflowCommand CancelWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'setPatchMarker' @:: Lens' WorkflowCommand (Prelude.Maybe SetPatchMarker)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.setPatchMarker' @:: Lens' WorkflowCommand SetPatchMarker@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'startChildWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe StartChildWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.startChildWorkflowExecution' @:: Lens' WorkflowCommand StartChildWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'cancelChildWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe CancelChildWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancelChildWorkflowExecution' @:: Lens' WorkflowCommand CancelChildWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'requestCancelExternalWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe RequestCancelExternalWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.requestCancelExternalWorkflowExecution' @:: Lens' WorkflowCommand RequestCancelExternalWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'signalExternalWorkflowExecution' @:: Lens' WorkflowCommand (Prelude.Maybe SignalExternalWorkflowExecution)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.signalExternalWorkflowExecution' @:: Lens' WorkflowCommand SignalExternalWorkflowExecution@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'cancelSignalWorkflow' @:: Lens' WorkflowCommand (Prelude.Maybe CancelSignalWorkflow)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.cancelSignalWorkflow' @:: Lens' WorkflowCommand CancelSignalWorkflow@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleLocalActivity' @:: Lens' WorkflowCommand (Prelude.Maybe ScheduleLocalActivity)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleLocalActivity' @:: Lens' WorkflowCommand ScheduleLocalActivity@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'requestCancelLocalActivity' @:: Lens' WorkflowCommand (Prelude.Maybe RequestCancelLocalActivity)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.requestCancelLocalActivity' @:: Lens' WorkflowCommand RequestCancelLocalActivity@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'upsertWorkflowSearchAttributes' @:: Lens' WorkflowCommand (Prelude.Maybe UpsertWorkflowSearchAttributes)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.upsertWorkflowSearchAttributes' @:: Lens' WorkflowCommand UpsertWorkflowSearchAttributes@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'modifyWorkflowProperties' @:: Lens' WorkflowCommand (Prelude.Maybe ModifyWorkflowProperties)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.modifyWorkflowProperties' @:: Lens' WorkflowCommand ModifyWorkflowProperties@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'updateResponse' @:: Lens' WorkflowCommand (Prelude.Maybe UpdateResponse)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.updateResponse' @:: Lens' WorkflowCommand UpdateResponse@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'scheduleNexusOperation' @:: Lens' WorkflowCommand (Prelude.Maybe ScheduleNexusOperation)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.scheduleNexusOperation' @:: Lens' WorkflowCommand ScheduleNexusOperation@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.maybe'requestCancelNexusOperation' @:: Lens' WorkflowCommand (Prelude.Maybe RequestCancelNexusOperation)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields.requestCancelNexusOperation' @:: Lens' WorkflowCommand RequestCancelNexusOperation@ -}
+data WorkflowCommand
+  = WorkflowCommand'_constructor {_WorkflowCommand'userMetadata :: !(Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata),
+                                  _WorkflowCommand'variant :: !(Prelude.Maybe WorkflowCommand'Variant),
+                                  _WorkflowCommand'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowCommand where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data WorkflowCommand'Variant
+  = WorkflowCommand'StartTimer !StartTimer |
+    WorkflowCommand'ScheduleActivity !ScheduleActivity |
+    WorkflowCommand'RespondToQuery !QueryResult |
+    WorkflowCommand'RequestCancelActivity !RequestCancelActivity |
+    WorkflowCommand'CancelTimer !CancelTimer |
+    WorkflowCommand'CompleteWorkflowExecution !CompleteWorkflowExecution |
+    WorkflowCommand'FailWorkflowExecution !FailWorkflowExecution |
+    WorkflowCommand'ContinueAsNewWorkflowExecution !ContinueAsNewWorkflowExecution |
+    WorkflowCommand'CancelWorkflowExecution !CancelWorkflowExecution |
+    WorkflowCommand'SetPatchMarker !SetPatchMarker |
+    WorkflowCommand'StartChildWorkflowExecution !StartChildWorkflowExecution |
+    WorkflowCommand'CancelChildWorkflowExecution !CancelChildWorkflowExecution |
+    WorkflowCommand'RequestCancelExternalWorkflowExecution !RequestCancelExternalWorkflowExecution |
+    WorkflowCommand'SignalExternalWorkflowExecution !SignalExternalWorkflowExecution |
+    WorkflowCommand'CancelSignalWorkflow !CancelSignalWorkflow |
+    WorkflowCommand'ScheduleLocalActivity !ScheduleLocalActivity |
+    WorkflowCommand'RequestCancelLocalActivity !RequestCancelLocalActivity |
+    WorkflowCommand'UpsertWorkflowSearchAttributes !UpsertWorkflowSearchAttributes |
+    WorkflowCommand'ModifyWorkflowProperties !ModifyWorkflowProperties |
+    WorkflowCommand'UpdateResponse !UpdateResponse |
+    WorkflowCommand'ScheduleNexusOperation !ScheduleNexusOperation |
+    WorkflowCommand'RequestCancelNexusOperation !RequestCancelNexusOperation
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField WorkflowCommand "userMetadata" Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'userMetadata
+           (\ x__ y__ -> x__ {_WorkflowCommand'userMetadata = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'userMetadata" (Prelude.Maybe Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'userMetadata
+           (\ x__ y__ -> x__ {_WorkflowCommand'userMetadata = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'variant" (Prelude.Maybe WorkflowCommand'Variant) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'startTimer" (Prelude.Maybe StartTimer) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'StartTimer x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'StartTimer y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "startTimer" StartTimer where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'StartTimer x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'StartTimer y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'scheduleActivity" (Prelude.Maybe ScheduleActivity) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'ScheduleActivity x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'ScheduleActivity y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "scheduleActivity" ScheduleActivity where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'ScheduleActivity x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'ScheduleActivity y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'respondToQuery" (Prelude.Maybe QueryResult) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'RespondToQuery x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'RespondToQuery y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "respondToQuery" QueryResult where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'RespondToQuery x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'RespondToQuery y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'requestCancelActivity" (Prelude.Maybe RequestCancelActivity) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'RequestCancelActivity x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'RequestCancelActivity y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "requestCancelActivity" RequestCancelActivity where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'RequestCancelActivity x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'RequestCancelActivity y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'cancelTimer" (Prelude.Maybe CancelTimer) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'CancelTimer x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'CancelTimer y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "cancelTimer" CancelTimer where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'CancelTimer x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'CancelTimer y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'completeWorkflowExecution" (Prelude.Maybe CompleteWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'CompleteWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'CompleteWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "completeWorkflowExecution" CompleteWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'CompleteWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'CompleteWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'failWorkflowExecution" (Prelude.Maybe FailWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'FailWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'FailWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "failWorkflowExecution" FailWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'FailWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'FailWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'continueAsNewWorkflowExecution" (Prelude.Maybe ContinueAsNewWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'ContinueAsNewWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowCommand'ContinueAsNewWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "continueAsNewWorkflowExecution" ContinueAsNewWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'ContinueAsNewWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowCommand'ContinueAsNewWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'cancelWorkflowExecution" (Prelude.Maybe CancelWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'CancelWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'CancelWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "cancelWorkflowExecution" CancelWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'CancelWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'CancelWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'setPatchMarker" (Prelude.Maybe SetPatchMarker) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'SetPatchMarker x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'SetPatchMarker y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "setPatchMarker" SetPatchMarker where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'SetPatchMarker x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'SetPatchMarker y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'startChildWorkflowExecution" (Prelude.Maybe StartChildWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'StartChildWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'StartChildWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "startChildWorkflowExecution" StartChildWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'StartChildWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'StartChildWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'cancelChildWorkflowExecution" (Prelude.Maybe CancelChildWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'CancelChildWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'CancelChildWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "cancelChildWorkflowExecution" CancelChildWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'CancelChildWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'CancelChildWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'requestCancelExternalWorkflowExecution" (Prelude.Maybe RequestCancelExternalWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'RequestCancelExternalWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowCommand'RequestCancelExternalWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "requestCancelExternalWorkflowExecution" RequestCancelExternalWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'RequestCancelExternalWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowCommand'RequestCancelExternalWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'signalExternalWorkflowExecution" (Prelude.Maybe SignalExternalWorkflowExecution) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'SignalExternalWorkflowExecution x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowCommand'SignalExternalWorkflowExecution y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "signalExternalWorkflowExecution" SignalExternalWorkflowExecution where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'SignalExternalWorkflowExecution x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowCommand'SignalExternalWorkflowExecution y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'cancelSignalWorkflow" (Prelude.Maybe CancelSignalWorkflow) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'CancelSignalWorkflow x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'CancelSignalWorkflow y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "cancelSignalWorkflow" CancelSignalWorkflow where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'CancelSignalWorkflow x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'CancelSignalWorkflow y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'scheduleLocalActivity" (Prelude.Maybe ScheduleLocalActivity) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'ScheduleLocalActivity x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'ScheduleLocalActivity y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "scheduleLocalActivity" ScheduleLocalActivity where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'ScheduleLocalActivity x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'ScheduleLocalActivity y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'requestCancelLocalActivity" (Prelude.Maybe RequestCancelLocalActivity) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'RequestCancelLocalActivity x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'RequestCancelLocalActivity y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "requestCancelLocalActivity" RequestCancelLocalActivity where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'RequestCancelLocalActivity x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'RequestCancelLocalActivity y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'upsertWorkflowSearchAttributes" (Prelude.Maybe UpsertWorkflowSearchAttributes) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'UpsertWorkflowSearchAttributes x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap
+                   WorkflowCommand'UpsertWorkflowSearchAttributes y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "upsertWorkflowSearchAttributes" UpsertWorkflowSearchAttributes where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'UpsertWorkflowSearchAttributes x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap
+                      WorkflowCommand'UpsertWorkflowSearchAttributes y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'modifyWorkflowProperties" (Prelude.Maybe ModifyWorkflowProperties) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'ModifyWorkflowProperties x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'ModifyWorkflowProperties y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "modifyWorkflowProperties" ModifyWorkflowProperties where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'ModifyWorkflowProperties x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'ModifyWorkflowProperties y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'updateResponse" (Prelude.Maybe UpdateResponse) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'UpdateResponse x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowCommand'UpdateResponse y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "updateResponse" UpdateResponse where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'UpdateResponse x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowCommand'UpdateResponse y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'scheduleNexusOperation" (Prelude.Maybe ScheduleNexusOperation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'ScheduleNexusOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'ScheduleNexusOperation y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "scheduleNexusOperation" ScheduleNexusOperation where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'ScheduleNexusOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'ScheduleNexusOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "maybe'requestCancelNexusOperation" (Prelude.Maybe RequestCancelNexusOperation) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowCommand'RequestCancelNexusOperation x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowCommand'RequestCancelNexusOperation y__))
+instance Data.ProtoLens.Field.HasField WorkflowCommand "requestCancelNexusOperation" RequestCancelNexusOperation where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowCommand'variant
+           (\ x__ y__ -> x__ {_WorkflowCommand'variant = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowCommand'RequestCancelNexusOperation x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowCommand'RequestCancelNexusOperation y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message WorkflowCommand where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_commands.WorkflowCommand"
+  packedMessageDescriptor _
+    = "\n\
+      \\SIWorkflowCommand\DC2F\n\
+      \\ruser_metadata\CANd \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC2H\n\
+      \\vstart_timer\CAN\SOH \SOH(\v2%.coresdk.workflow_commands.StartTimerH\NULR\n\
+      \startTimer\DC2Z\n\
+      \\DC1schedule_activity\CAN\STX \SOH(\v2+.coresdk.workflow_commands.ScheduleActivityH\NULR\DLEscheduleActivity\DC2R\n\
+      \\DLErespond_to_query\CAN\ETX \SOH(\v2&.coresdk.workflow_commands.QueryResultH\NULR\SOrespondToQuery\DC2j\n\
+      \\ETBrequest_cancel_activity\CAN\EOT \SOH(\v20.coresdk.workflow_commands.RequestCancelActivityH\NULR\NAKrequestCancelActivity\DC2K\n\
+      \\fcancel_timer\CAN\ENQ \SOH(\v2&.coresdk.workflow_commands.CancelTimerH\NULR\vcancelTimer\DC2v\n\
+      \\ESCcomplete_workflow_execution\CAN\ACK \SOH(\v24.coresdk.workflow_commands.CompleteWorkflowExecutionH\NULR\EMcompleteWorkflowExecution\DC2j\n\
+      \\ETBfail_workflow_execution\CAN\a \SOH(\v20.coresdk.workflow_commands.FailWorkflowExecutionH\NULR\NAKfailWorkflowExecution\DC2\135\SOH\n\
+      \\"continue_as_new_workflow_execution\CAN\b \SOH(\v29.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\NULR\RScontinueAsNewWorkflowExecution\DC2p\n\
+      \\EMcancel_workflow_execution\CAN\t \SOH(\v22.coresdk.workflow_commands.CancelWorkflowExecutionH\NULR\ETBcancelWorkflowExecution\DC2U\n\
+      \\DLEset_patch_marker\CAN\n\
+      \ \SOH(\v2).coresdk.workflow_commands.SetPatchMarkerH\NULR\SOsetPatchMarker\DC2}\n\
+      \\RSstart_child_workflow_execution\CAN\v \SOH(\v26.coresdk.workflow_commands.StartChildWorkflowExecutionH\NULR\ESCstartChildWorkflowExecution\DC2\128\SOH\n\
+      \\UScancel_child_workflow_execution\CAN\f \SOH(\v27.coresdk.workflow_commands.CancelChildWorkflowExecutionH\NULR\FScancelChildWorkflowExecution\DC2\159\SOH\n\
+      \*request_cancel_external_workflow_execution\CAN\r \SOH(\v2A.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\NULR&requestCancelExternalWorkflowExecution\DC2\137\SOH\n\
+      \\"signal_external_workflow_execution\CAN\SO \SOH(\v2:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\NULR\USsignalExternalWorkflowExecution\DC2g\n\
+      \\SYNcancel_signal_workflow\CAN\SI \SOH(\v2/.coresdk.workflow_commands.CancelSignalWorkflowH\NULR\DC4cancelSignalWorkflow\DC2j\n\
+      \\ETBschedule_local_activity\CAN\DLE \SOH(\v20.coresdk.workflow_commands.ScheduleLocalActivityH\NULR\NAKscheduleLocalActivity\DC2z\n\
+      \\GSrequest_cancel_local_activity\CAN\DC1 \SOH(\v25.coresdk.workflow_commands.RequestCancelLocalActivityH\NULR\SUBrequestCancelLocalActivity\DC2\134\SOH\n\
+      \!upsert_workflow_search_attributes\CAN\DC2 \SOH(\v29.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\NULR\RSupsertWorkflowSearchAttributes\DC2s\n\
+      \\SUBmodify_workflow_properties\CAN\DC3 \SOH(\v23.coresdk.workflow_commands.ModifyWorkflowPropertiesH\NULR\CANmodifyWorkflowProperties\DC2T\n\
+      \\SIupdate_response\CAN\DC4 \SOH(\v2).coresdk.workflow_commands.UpdateResponseH\NULR\SOupdateResponse\DC2m\n\
+      \\CANschedule_nexus_operation\CAN\NAK \SOH(\v21.coresdk.workflow_commands.ScheduleNexusOperationH\NULR\SYNscheduleNexusOperation\DC2}\n\
+      \\RSrequest_cancel_nexus_operation\CAN\SYN \SOH(\v26.coresdk.workflow_commands.RequestCancelNexusOperationH\NULR\ESCrequestCancelNexusOperationB\t\n\
+      \\avariant"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        userMetadata__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "user_metadata"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Sdk.V1.UserMetadata.UserMetadata)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'userMetadata")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        startTimer__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_timer"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartTimer)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'startTimer")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        scheduleActivity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_activity"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleActivity)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleActivity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        respondToQuery__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "respond_to_query"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor QueryResult)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'respondToQuery")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        requestCancelActivity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_activity"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelActivity)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'requestCancelActivity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        cancelTimer__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_timer"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelTimer)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelTimer")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        completeWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "complete_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CompleteWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'completeWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        failWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "fail_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor FailWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        continueAsNewWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "continue_as_new_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ContinueAsNewWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'continueAsNewWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        cancelWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        setPatchMarker__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "set_patch_marker"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SetPatchMarker)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'setPatchMarker")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        startChildWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "start_child_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor StartChildWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'startChildWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        cancelChildWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_child_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelChildWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'cancelChildWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        requestCancelExternalWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_external_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelExternalWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelExternalWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        signalExternalWorkflowExecution__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "signal_external_workflow_execution"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor SignalExternalWorkflowExecution)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'signalExternalWorkflowExecution")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        cancelSignalWorkflow__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "cancel_signal_workflow"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor CancelSignalWorkflow)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'cancelSignalWorkflow")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        scheduleLocalActivity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_local_activity"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleLocalActivity)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleLocalActivity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        requestCancelLocalActivity__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_local_activity"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelLocalActivity)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelLocalActivity")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        upsertWorkflowSearchAttributes__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "upsert_workflow_search_attributes"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpsertWorkflowSearchAttributes)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'upsertWorkflowSearchAttributes")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        modifyWorkflowProperties__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "modify_workflow_properties"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ModifyWorkflowProperties)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'modifyWorkflowProperties")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        updateResponse__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "update_response"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor UpdateResponse)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'updateResponse")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        scheduleNexusOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "schedule_nexus_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor ScheduleNexusOperation)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'scheduleNexusOperation")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+        requestCancelNexusOperation__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "request_cancel_nexus_operation"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor RequestCancelNexusOperation)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field
+                    @"maybe'requestCancelNexusOperation")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowCommand
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 100, userMetadata__field_descriptor),
+           (Data.ProtoLens.Tag 1, startTimer__field_descriptor),
+           (Data.ProtoLens.Tag 2, scheduleActivity__field_descriptor),
+           (Data.ProtoLens.Tag 3, respondToQuery__field_descriptor),
+           (Data.ProtoLens.Tag 4, requestCancelActivity__field_descriptor),
+           (Data.ProtoLens.Tag 5, cancelTimer__field_descriptor),
+           (Data.ProtoLens.Tag 6, 
+            completeWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 7, failWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 8, 
+            continueAsNewWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 9, cancelWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 10, setPatchMarker__field_descriptor),
+           (Data.ProtoLens.Tag 11, 
+            startChildWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 12, 
+            cancelChildWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 13, 
+            requestCancelExternalWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 14, 
+            signalExternalWorkflowExecution__field_descriptor),
+           (Data.ProtoLens.Tag 15, cancelSignalWorkflow__field_descriptor),
+           (Data.ProtoLens.Tag 16, scheduleLocalActivity__field_descriptor),
+           (Data.ProtoLens.Tag 17, 
+            requestCancelLocalActivity__field_descriptor),
+           (Data.ProtoLens.Tag 18, 
+            upsertWorkflowSearchAttributes__field_descriptor),
+           (Data.ProtoLens.Tag 19, 
+            modifyWorkflowProperties__field_descriptor),
+           (Data.ProtoLens.Tag 20, updateResponse__field_descriptor),
+           (Data.ProtoLens.Tag 21, scheduleNexusOperation__field_descriptor),
+           (Data.ProtoLens.Tag 22, 
+            requestCancelNexusOperation__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowCommand'_unknownFields
+        (\ x__ y__ -> x__ {_WorkflowCommand'_unknownFields = y__})
+  defMessage
+    = WorkflowCommand'_constructor
+        {_WorkflowCommand'userMetadata = Prelude.Nothing,
+         _WorkflowCommand'variant = Prelude.Nothing,
+         _WorkflowCommand'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowCommand
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowCommand
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        802
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "user_metadata"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"userMetadata") y x)
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_timer"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"startTimer") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_activity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleActivity") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "respond_to_query"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"respondToQuery") y x)
+                        34
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_activity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestCancelActivity") y x)
+                        42
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_timer"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"cancelTimer") y x)
+                        50
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "complete_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"completeWorkflowExecution") y x)
+                        58
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "fail_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"failWorkflowExecution") y x)
+                        66
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "continue_as_new_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"continueAsNewWorkflowExecution")
+                                     y x)
+                        74
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelWorkflowExecution") y x)
+                        82
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "set_patch_marker"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"setPatchMarker") y x)
+                        90
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "start_child_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"startChildWorkflowExecution") y
+                                     x)
+                        98
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_child_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelChildWorkflowExecution") y
+                                     x)
+                        106
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_external_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field
+                                        @"requestCancelExternalWorkflowExecution")
+                                     y x)
+                        114
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "signal_external_workflow_execution"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"signalExternalWorkflowExecution")
+                                     y x)
+                        122
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "cancel_signal_workflow"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"cancelSignalWorkflow") y x)
+                        130
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_local_activity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleLocalActivity") y x)
+                        138
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_local_activity"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestCancelLocalActivity") y x)
+                        146
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "upsert_workflow_search_attributes"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"upsertWorkflowSearchAttributes")
+                                     y x)
+                        154
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "modify_workflow_properties"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"modifyWorkflowProperties") y x)
+                        162
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "update_response"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"updateResponse") y x)
+                        170
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "schedule_nexus_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"scheduleNexusOperation") y x)
+                        178
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "request_cancel_nexus_operation"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"requestCancelNexusOperation") y
+                                     x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowCommand"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view
+                    (Data.ProtoLens.Field.field @"maybe'userMetadata") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 802)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'variant") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (WorkflowCommand'StartTimer v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'ScheduleActivity v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'RespondToQuery v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'RequestCancelActivity v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 34)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'CancelTimer v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 42)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'CompleteWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'FailWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 58)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'ContinueAsNewWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 66)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'CancelWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 74)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'SetPatchMarker v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 82)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'StartChildWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 90)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'CancelChildWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 98)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'RequestCancelExternalWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 106)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'SignalExternalWorkflowExecution v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 114)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'CancelSignalWorkflow v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 122)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'ScheduleLocalActivity v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 130)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'RequestCancelLocalActivity v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 138)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'UpsertWorkflowSearchAttributes v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 146)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'ModifyWorkflowProperties v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 154)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'UpdateResponse v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 162)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'ScheduleNexusOperation v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 170)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowCommand'RequestCancelNexusOperation v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 178)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowCommand where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowCommand'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowCommand'userMetadata x__)
+                (Control.DeepSeq.deepseq (_WorkflowCommand'variant x__) ()))
+instance Control.DeepSeq.NFData WorkflowCommand'Variant where
+  rnf (WorkflowCommand'StartTimer x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'ScheduleActivity x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'RespondToQuery x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'RequestCancelActivity x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'CancelTimer x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'CompleteWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'FailWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'ContinueAsNewWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'CancelWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'SetPatchMarker x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'StartChildWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'CancelChildWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'RequestCancelExternalWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'SignalExternalWorkflowExecution x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'CancelSignalWorkflow x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'ScheduleLocalActivity x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'RequestCancelLocalActivity x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'UpsertWorkflowSearchAttributes x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'ModifyWorkflowProperties x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'UpdateResponse x__) = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'ScheduleNexusOperation x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowCommand'RequestCancelNexusOperation x__)
+    = Control.DeepSeq.rnf x__
+_WorkflowCommand'StartTimer ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant StartTimer
+_WorkflowCommand'StartTimer
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'StartTimer
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'StartTimer p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'ScheduleActivity ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant ScheduleActivity
+_WorkflowCommand'ScheduleActivity
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'ScheduleActivity
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'ScheduleActivity p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'RespondToQuery ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant QueryResult
+_WorkflowCommand'RespondToQuery
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'RespondToQuery
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'RespondToQuery p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'RequestCancelActivity ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant RequestCancelActivity
+_WorkflowCommand'RequestCancelActivity
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'RequestCancelActivity
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'RequestCancelActivity p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'CancelTimer ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant CancelTimer
+_WorkflowCommand'CancelTimer
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'CancelTimer
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'CancelTimer p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'CompleteWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant CompleteWorkflowExecution
+_WorkflowCommand'CompleteWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'CompleteWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'CompleteWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'FailWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant FailWorkflowExecution
+_WorkflowCommand'FailWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'FailWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'FailWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'ContinueAsNewWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant ContinueAsNewWorkflowExecution
+_WorkflowCommand'ContinueAsNewWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'ContinueAsNewWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'ContinueAsNewWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'CancelWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant CancelWorkflowExecution
+_WorkflowCommand'CancelWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'CancelWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'CancelWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'SetPatchMarker ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant SetPatchMarker
+_WorkflowCommand'SetPatchMarker
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'SetPatchMarker
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'SetPatchMarker p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'StartChildWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant StartChildWorkflowExecution
+_WorkflowCommand'StartChildWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'StartChildWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'StartChildWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'CancelChildWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant CancelChildWorkflowExecution
+_WorkflowCommand'CancelChildWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'CancelChildWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'CancelChildWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'RequestCancelExternalWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant RequestCancelExternalWorkflowExecution
+_WorkflowCommand'RequestCancelExternalWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'RequestCancelExternalWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'RequestCancelExternalWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'SignalExternalWorkflowExecution ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant SignalExternalWorkflowExecution
+_WorkflowCommand'SignalExternalWorkflowExecution
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'SignalExternalWorkflowExecution
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'SignalExternalWorkflowExecution p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'CancelSignalWorkflow ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant CancelSignalWorkflow
+_WorkflowCommand'CancelSignalWorkflow
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'CancelSignalWorkflow
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'CancelSignalWorkflow p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'ScheduleLocalActivity ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant ScheduleLocalActivity
+_WorkflowCommand'ScheduleLocalActivity
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'ScheduleLocalActivity
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'ScheduleLocalActivity p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'RequestCancelLocalActivity ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant RequestCancelLocalActivity
+_WorkflowCommand'RequestCancelLocalActivity
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'RequestCancelLocalActivity
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'RequestCancelLocalActivity p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'UpsertWorkflowSearchAttributes ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant UpsertWorkflowSearchAttributes
+_WorkflowCommand'UpsertWorkflowSearchAttributes
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'UpsertWorkflowSearchAttributes
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'UpsertWorkflowSearchAttributes p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'ModifyWorkflowProperties ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant ModifyWorkflowProperties
+_WorkflowCommand'ModifyWorkflowProperties
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'ModifyWorkflowProperties
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'ModifyWorkflowProperties p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'UpdateResponse ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant UpdateResponse
+_WorkflowCommand'UpdateResponse
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'UpdateResponse
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'UpdateResponse p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'ScheduleNexusOperation ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant ScheduleNexusOperation
+_WorkflowCommand'ScheduleNexusOperation
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'ScheduleNexusOperation
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'ScheduleNexusOperation p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowCommand'RequestCancelNexusOperation ::
+  Data.ProtoLens.Prism.Prism' WorkflowCommand'Variant RequestCancelNexusOperation
+_WorkflowCommand'RequestCancelNexusOperation
+  = Data.ProtoLens.Prism.prism'
+      WorkflowCommand'RequestCancelNexusOperation
+      (\ p__
+         -> case p__ of
+              (WorkflowCommand'RequestCancelNexusOperation p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \;temporal/sdk/core/workflow_commands/workflow_commands.proto\DC2\EMcoresdk.workflow_commands\SUB\RSgoogle/protobuf/duration.proto\SUB\USgoogle/protobuf/timestamp.proto\SUB\ESCgoogle/protobuf/empty.proto\SUB$temporal/api/common/v1/message.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB%temporal/api/failure/v1/message.proto\SUB'temporal/api/sdk/v1/user_metadata.proto\SUB5temporal/sdk/core/child_workflow/child_workflow.proto\SUB%temporal/sdk/core/common/common.proto\"\145\DC4\n\
+    \\SIWorkflowCommand\DC2F\n\
+    \\ruser_metadata\CANd \SOH(\v2!.temporal.api.sdk.v1.UserMetadataR\fuserMetadata\DC2H\n\
+    \\vstart_timer\CAN\SOH \SOH(\v2%.coresdk.workflow_commands.StartTimerH\NULR\n\
+    \startTimer\DC2Z\n\
+    \\DC1schedule_activity\CAN\STX \SOH(\v2+.coresdk.workflow_commands.ScheduleActivityH\NULR\DLEscheduleActivity\DC2R\n\
+    \\DLErespond_to_query\CAN\ETX \SOH(\v2&.coresdk.workflow_commands.QueryResultH\NULR\SOrespondToQuery\DC2j\n\
+    \\ETBrequest_cancel_activity\CAN\EOT \SOH(\v20.coresdk.workflow_commands.RequestCancelActivityH\NULR\NAKrequestCancelActivity\DC2K\n\
+    \\fcancel_timer\CAN\ENQ \SOH(\v2&.coresdk.workflow_commands.CancelTimerH\NULR\vcancelTimer\DC2v\n\
+    \\ESCcomplete_workflow_execution\CAN\ACK \SOH(\v24.coresdk.workflow_commands.CompleteWorkflowExecutionH\NULR\EMcompleteWorkflowExecution\DC2j\n\
+    \\ETBfail_workflow_execution\CAN\a \SOH(\v20.coresdk.workflow_commands.FailWorkflowExecutionH\NULR\NAKfailWorkflowExecution\DC2\135\SOH\n\
+    \\"continue_as_new_workflow_execution\CAN\b \SOH(\v29.coresdk.workflow_commands.ContinueAsNewWorkflowExecutionH\NULR\RScontinueAsNewWorkflowExecution\DC2p\n\
+    \\EMcancel_workflow_execution\CAN\t \SOH(\v22.coresdk.workflow_commands.CancelWorkflowExecutionH\NULR\ETBcancelWorkflowExecution\DC2U\n\
+    \\DLEset_patch_marker\CAN\n\
+    \ \SOH(\v2).coresdk.workflow_commands.SetPatchMarkerH\NULR\SOsetPatchMarker\DC2}\n\
+    \\RSstart_child_workflow_execution\CAN\v \SOH(\v26.coresdk.workflow_commands.StartChildWorkflowExecutionH\NULR\ESCstartChildWorkflowExecution\DC2\128\SOH\n\
+    \\UScancel_child_workflow_execution\CAN\f \SOH(\v27.coresdk.workflow_commands.CancelChildWorkflowExecutionH\NULR\FScancelChildWorkflowExecution\DC2\159\SOH\n\
+    \*request_cancel_external_workflow_execution\CAN\r \SOH(\v2A.coresdk.workflow_commands.RequestCancelExternalWorkflowExecutionH\NULR&requestCancelExternalWorkflowExecution\DC2\137\SOH\n\
+    \\"signal_external_workflow_execution\CAN\SO \SOH(\v2:.coresdk.workflow_commands.SignalExternalWorkflowExecutionH\NULR\USsignalExternalWorkflowExecution\DC2g\n\
+    \\SYNcancel_signal_workflow\CAN\SI \SOH(\v2/.coresdk.workflow_commands.CancelSignalWorkflowH\NULR\DC4cancelSignalWorkflow\DC2j\n\
+    \\ETBschedule_local_activity\CAN\DLE \SOH(\v20.coresdk.workflow_commands.ScheduleLocalActivityH\NULR\NAKscheduleLocalActivity\DC2z\n\
+    \\GSrequest_cancel_local_activity\CAN\DC1 \SOH(\v25.coresdk.workflow_commands.RequestCancelLocalActivityH\NULR\SUBrequestCancelLocalActivity\DC2\134\SOH\n\
+    \!upsert_workflow_search_attributes\CAN\DC2 \SOH(\v29.coresdk.workflow_commands.UpsertWorkflowSearchAttributesH\NULR\RSupsertWorkflowSearchAttributes\DC2s\n\
+    \\SUBmodify_workflow_properties\CAN\DC3 \SOH(\v23.coresdk.workflow_commands.ModifyWorkflowPropertiesH\NULR\CANmodifyWorkflowProperties\DC2T\n\
+    \\SIupdate_response\CAN\DC4 \SOH(\v2).coresdk.workflow_commands.UpdateResponseH\NULR\SOupdateResponse\DC2m\n\
+    \\CANschedule_nexus_operation\CAN\NAK \SOH(\v21.coresdk.workflow_commands.ScheduleNexusOperationH\NULR\SYNscheduleNexusOperation\DC2}\n\
+    \\RSrequest_cancel_nexus_operation\CAN\SYN \SOH(\v26.coresdk.workflow_commands.RequestCancelNexusOperationH\NULR\ESCrequestCancelNexusOperationB\t\n\
+    \\avariant\"l\n\
+    \\n\
+    \StartTimer\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2L\n\
+    \\NAKstart_to_fire_timeout\CAN\STX \SOH(\v2\EM.google.protobuf.DurationR\DC2startToFireTimeout\"\US\n\
+    \\vCancelTimer\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\"\169\b\n\
+    \\DLEScheduleActivity\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\US\n\
+    \\vactivity_id\CAN\STX \SOH(\tR\n\
+    \activityId\DC2#\n\
+    \\ractivity_type\CAN\ETX \SOH(\tR\factivityType\DC2\GS\n\
+    \\n\
+    \task_queue\CAN\ENQ \SOH(\tR\ttaskQueue\DC2R\n\
+    \\aheaders\CAN\ACK \ETX(\v28.coresdk.workflow_commands.ScheduleActivity.HeadersEntryR\aheaders\DC2=\n\
+    \\targuments\CAN\a \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+    \\EMschedule_to_start_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\n\
+    \ \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+    \\DC1heartbeat_timeout\CAN\v \SOH(\v2\EM.google.protobuf.DurationR\DLEheartbeatTimeout\DC2F\n\
+    \\fretry_policy\CAN\f \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2`\n\
+    \\DC1cancellation_type\CAN\r \SOH(\SO23.coresdk.workflow_commands.ActivityCancellationTypeR\DLEcancellationType\DC23\n\
+    \\SYNdo_not_eagerly_execute\CAN\SO \SOH(\bR\DC3doNotEagerlyExecute\DC2M\n\
+    \\DC1versioning_intent\CAN\SI \SOH(\SO2 .coresdk.common.VersioningIntentR\DLEversioningIntent\DC2<\n\
+    \\bpriority\CAN\DLE \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\197\a\n\
+    \\NAKScheduleLocalActivity\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\US\n\
+    \\vactivity_id\CAN\STX \SOH(\tR\n\
+    \activityId\DC2#\n\
+    \\ractivity_type\CAN\ETX \SOH(\tR\factivityType\DC2\CAN\n\
+    \\aattempt\CAN\EOT \SOH(\rR\aattempt\DC2P\n\
+    \\SYNoriginal_schedule_time\CAN\ENQ \SOH(\v2\SUB.google.protobuf.TimestampR\DC4originalScheduleTime\DC2W\n\
+    \\aheaders\CAN\ACK \ETX(\v2=.coresdk.workflow_commands.ScheduleLocalActivity.HeadersEntryR\aheaders\DC2=\n\
+    \\targuments\CAN\a \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2T\n\
+    \\EMschedule_to_start_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToStartTimeout\DC2N\n\
+    \\SYNstart_to_close_timeout\CAN\n\
+    \ \SOH(\v2\EM.google.protobuf.DurationR\DC3startToCloseTimeout\DC2F\n\
+    \\fretry_policy\CAN\v \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2M\n\
+    \\NAKlocal_retry_threshold\CAN\f \SOH(\v2\EM.google.protobuf.DurationR\DC3localRetryThreshold\DC2`\n\
+    \\DC1cancellation_type\CAN\r \SOH(\SO23.coresdk.workflow_commands.ActivityCancellationTypeR\DLEcancellationType\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\")\n\
+    \\NAKRequestCancelActivity\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\".\n\
+    \\SUBRequestCancelLocalActivity\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\"\184\SOH\n\
+    \\vQueryResult\DC2\EM\n\
+    \\bquery_id\CAN\SOH \SOH(\tR\aqueryId\DC2G\n\
+    \\tsucceeded\CAN\STX \SOH(\v2'.coresdk.workflow_commands.QuerySuccessH\NULR\tsucceeded\DC2:\n\
+    \\ACKfailed\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\ACKfailedB\t\n\
+    \\avariant\"K\n\
+    \\fQuerySuccess\DC2;\n\
+    \\bresponse\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\bresponse\"T\n\
+    \\EMCompleteWorkflowExecution\DC27\n\
+    \\ACKresult\CAN\SOH \SOH(\v2\US.temporal.api.common.v1.PayloadR\ACKresult\"S\n\
+    \\NAKFailWorkflowExecution\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\"\172\b\n\
+    \\RSContinueAsNewWorkflowExecution\DC2#\n\
+    \\rworkflow_type\CAN\SOH \SOH(\tR\fworkflowType\DC2\GS\n\
+    \\n\
+    \task_queue\CAN\STX \SOH(\tR\ttaskQueue\DC2=\n\
+    \\targuments\CAN\ETX \ETX(\v2\US.temporal.api.common.v1.PayloadR\targuments\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\EOT \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\ENQ \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2W\n\
+    \\EOTmemo\CAN\ACK \ETX(\v2C.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.MemoEntryR\EOTmemo\DC2`\n\
+    \\aheaders\CAN\a \ETX(\v2F.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.HeadersEntryR\aheaders\DC2|\n\
+    \\DC1search_attributes\CAN\b \ETX(\v2O.coresdk.workflow_commands.ContinueAsNewWorkflowExecution.SearchAttributesEntryR\DLEsearchAttributes\DC2F\n\
+    \\fretry_policy\CAN\t \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2M\n\
+    \\DC1versioning_intent\CAN\n\
+    \ \SOH(\SO2 .coresdk.common.VersioningIntentR\DLEversioningIntent\SUBX\n\
+    \\tMemoEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUBd\n\
+    \\NAKSearchAttributesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"\EM\n\
+    \\ETBCancelWorkflowExecution\"K\n\
+    \\SOSetPatchMarker\DC2\EM\n\
+    \\bpatch_id\CAN\SOH \SOH(\tR\apatchId\DC2\RS\n\
+    \\n\
+    \deprecated\CAN\STX \SOH(\bR\n\
+    \deprecated\"\203\f\n\
+    \\ESCStartChildWorkflowExecution\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\FS\n\
+    \\tnamespace\CAN\STX \SOH(\tR\tnamespace\DC2\US\n\
+    \\vworkflow_id\CAN\ETX \SOH(\tR\n\
+    \workflowId\DC2#\n\
+    \\rworkflow_type\CAN\EOT \SOH(\tR\fworkflowType\DC2\GS\n\
+    \\n\
+    \task_queue\CAN\ENQ \SOH(\tR\ttaskQueue\DC25\n\
+    \\ENQinput\CAN\ACK \ETX(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2W\n\
+    \\SUBworkflow_execution_timeout\CAN\a \SOH(\v2\EM.google.protobuf.DurationR\CANworkflowExecutionTimeout\DC2K\n\
+    \\DC4workflow_run_timeout\CAN\b \SOH(\v2\EM.google.protobuf.DurationR\DC2workflowRunTimeout\DC2M\n\
+    \\NAKworkflow_task_timeout\CAN\t \SOH(\v2\EM.google.protobuf.DurationR\DC3workflowTaskTimeout\DC2Y\n\
+    \\DC3parent_close_policy\CAN\n\
+    \ \SOH(\SO2).coresdk.child_workflow.ParentClosePolicyR\DC1parentClosePolicy\DC2e\n\
+    \\CANworkflow_id_reuse_policy\CAN\f \SOH(\SO2,.temporal.api.enums.v1.WorkflowIdReusePolicyR\NAKworkflowIdReusePolicy\DC2F\n\
+    \\fretry_policy\CAN\r \SOH(\v2#.temporal.api.common.v1.RetryPolicyR\vretryPolicy\DC2#\n\
+    \\rcron_schedule\CAN\SO \SOH(\tR\fcronSchedule\DC2]\n\
+    \\aheaders\CAN\SI \ETX(\v2C.coresdk.workflow_commands.StartChildWorkflowExecution.HeadersEntryR\aheaders\DC2T\n\
+    \\EOTmemo\CAN\DLE \ETX(\v2@.coresdk.workflow_commands.StartChildWorkflowExecution.MemoEntryR\EOTmemo\DC2y\n\
+    \\DC1search_attributes\CAN\DC1 \ETX(\v2L.coresdk.workflow_commands.StartChildWorkflowExecution.SearchAttributesEntryR\DLEsearchAttributes\DC2b\n\
+    \\DC1cancellation_type\CAN\DC2 \SOH(\SO25.coresdk.child_workflow.ChildWorkflowCancellationTypeR\DLEcancellationType\DC2M\n\
+    \\DC1versioning_intent\CAN\DC3 \SOH(\SO2 .coresdk.common.VersioningIntentR\DLEversioningIntent\DC2<\n\
+    \\bpriority\CAN\DC4 \SOH(\v2 .temporal.api.common.v1.PriorityR\bpriority\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUBX\n\
+    \\tMemoEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\SUBd\n\
+    \\NAKSearchAttributesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"d\n\
+    \\FSCancelChildWorkflowExecution\DC2,\n\
+    \\DC2child_workflow_seq\CAN\SOH \SOH(\rR\DLEchildWorkflowSeq\DC2\SYN\n\
+    \\ACKreason\CAN\STX \SOH(\tR\ACKreason\"\174\SOH\n\
+    \&RequestCancelExternalWorkflowExecution\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2Z\n\
+    \\DC2workflow_execution\CAN\STX \SOH(\v2+.coresdk.common.NamespacedWorkflowExecutionR\DC1workflowExecution\DC2\SYN\n\
+    \\ACKreason\CAN\ETX \SOH(\tR\ACKreason\"\223\ETX\n\
+    \\USSignalExternalWorkflowExecution\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\\\n\
+    \\DC2workflow_execution\CAN\STX \SOH(\v2+.coresdk.common.NamespacedWorkflowExecutionH\NULR\DC1workflowExecution\DC2,\n\
+    \\DC1child_workflow_id\CAN\ETX \SOH(\tH\NULR\SIchildWorkflowId\DC2\US\n\
+    \\vsignal_name\CAN\EOT \SOH(\tR\n\
+    \signalName\DC23\n\
+    \\EOTargs\CAN\ENQ \ETX(\v2\US.temporal.api.common.v1.PayloadR\EOTargs\DC2a\n\
+    \\aheaders\CAN\ACK \ETX(\v2G.coresdk.workflow_commands.SignalExternalWorkflowExecution.HeadersEntryR\aheaders\SUB[\n\
+    \\fHeadersEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOHB\b\n\
+    \\ACKtarget\"(\n\
+    \\DC4CancelSignalWorkflow\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\"\132\STX\n\
+    \\RSUpsertWorkflowSearchAttributes\DC2|\n\
+    \\DC1search_attributes\CAN\SOH \ETX(\v2O.coresdk.workflow_commands.UpsertWorkflowSearchAttributes.SearchAttributesEntryR\DLEsearchAttributes\SUBd\n\
+    \\NAKSearchAttributesEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC25\n\
+    \\ENQvalue\CAN\STX \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQvalue:\STX8\SOH\"]\n\
+    \\CANModifyWorkflowProperties\DC2A\n\
+    \\rupserted_memo\CAN\SOH \SOH(\v2\FS.temporal.api.common.v1.MemoR\fupsertedMemo\"\133\STX\n\
+    \\SOUpdateResponse\DC20\n\
+    \\DC4protocol_instance_id\CAN\SOH \SOH(\tR\DC2protocolInstanceId\DC24\n\
+    \\baccepted\CAN\STX \SOH(\v2\SYN.google.protobuf.EmptyH\NULR\baccepted\DC2>\n\
+    \\brejected\CAN\ETX \SOH(\v2 .temporal.api.failure.v1.FailureH\NULR\brejected\DC2?\n\
+    \\tcompleted\CAN\EOT \SOH(\v2\US.temporal.api.common.v1.PayloadH\NULR\tcompletedB\n\
+    \\n\
+    \\bresponse\"\178\ETX\n\
+    \\SYNScheduleNexusOperation\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq\DC2\SUB\n\
+    \\bendpoint\CAN\STX \SOH(\tR\bendpoint\DC2\CAN\n\
+    \\aservice\CAN\ETX \SOH(\tR\aservice\DC2\FS\n\
+    \\toperation\CAN\EOT \SOH(\tR\toperation\DC25\n\
+    \\ENQinput\CAN\ENQ \SOH(\v2\US.temporal.api.common.v1.PayloadR\ENQinput\DC2T\n\
+    \\EMschedule_to_close_timeout\CAN\ACK \SOH(\v2\EM.google.protobuf.DurationR\SYNscheduleToCloseTimeout\DC2e\n\
+    \\fnexus_header\CAN\a \ETX(\v2B.coresdk.workflow_commands.ScheduleNexusOperation.NexusHeaderEntryR\vnexusHeader\SUB>\n\
+    \\DLENexusHeaderEntry\DC2\DLE\n\
+    \\ETXkey\CAN\SOH \SOH(\tR\ETXkey\DC2\DC4\n\
+    \\ENQvalue\CAN\STX \SOH(\tR\ENQvalue:\STX8\SOH\"/\n\
+    \\ESCRequestCancelNexusOperation\DC2\DLE\n\
+    \\ETXseq\CAN\SOH \SOH(\rR\ETXseq*X\n\
+    \\CANActivityCancellationType\DC2\SO\n\
+    \\n\
+    \TRY_CANCEL\DLE\NUL\DC2\US\n\
+    \\ESCWAIT_CANCELLATION_COMPLETED\DLE\SOH\DC2\v\n\
+    \\aABANDON\DLE\STXB6\234\STX3Temporalio::Internal::Bridge::Api::WorkflowCommandsJ\141\146\SOH\n\
+    \\a\DC2\ENQ\NUL\NUL\255\STX\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\215\SOH\n\
+    \\SOH\STX\DC2\ETX\a\NUL\"\SUB\204\SOH\n\
+    \ Definitions for commands from a workflow in lang SDK to core. While a workflow processes a batch\n\
+    \ of activation jobs, it accumulates these commands to be sent back to core to conclude that\n\
+    \ activation.\n\
+    \\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\b\NULL\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\b\NULL\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\n\
+    \\NUL(\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\v\NUL)\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\f\NUL%\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\r\NUL.\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX\SO\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ENQ\DC2\ETX\SI\NUL/\n\
+    \\t\n\
+    \\STX\ETX\ACK\DC2\ETX\DLE\NUL1\n\
+    \\t\n\
+    \\STX\ETX\a\DC2\ETX\DC1\NUL?\n\
+    \\t\n\
+    \\STX\ETX\b\DC2\ETX\DC2\NUL/\n\
+    \\n\
+    \\n\
+    \\STX\EOT\NUL\DC2\EOT\DC4\NUL2\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\DC4\b\ETB\n\
+    \\230\SOH\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\CAN\EOT9\SUB\216\SOH User metadata that may or may not be persisted into history depending on the command type.\n\
+    \ Lang layers are expected to expose the setting of the internals of this metadata on a\n\
+    \ per-command basis where applicable.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ACK\DC2\ETX\CAN\EOT$\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\CAN%2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\CAN58\n\
+    \\f\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT\SUB\EOT1\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\SUB\n\
+    \\DC1\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\ESC\b#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\ESC\b\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\ESC\DC3\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\ESC!\"\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\FS\b/\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX\FS\b\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\FS\EM*\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\FS-.\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ETX\DC2\ETX\GS\b)\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ACK\DC2\ETX\GS\b\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\SOH\DC2\ETX\GS\DC4$\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ETX\ETX\DC2\ETX\GS'(\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\EOT\DC2\ETX\RS\b:\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ACK\DC2\ETX\RS\b\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\SOH\DC2\ETX\RS\RS5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\EOT\ETX\DC2\ETX\RS89\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ENQ\DC2\ETX\US\b%\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ACK\DC2\ETX\US\b\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\SOH\DC2\ETX\US\DC4 \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ENQ\ETX\DC2\ETX\US#$\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\ACK\DC2\ETX \bB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ACK\DC2\ETX \b!\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\SOH\DC2\ETX \"=\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\ACK\ETX\DC2\ETX @A\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\a\DC2\ETX!\b:\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ACK\DC2\ETX!\b\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\SOH\DC2\ETX!\RS5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\a\ETX\DC2\ETX!89\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\b\DC2\ETX\"\bN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ACK\DC2\ETX\"\b&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\SOH\DC2\ETX\"'I\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\b\ETX\DC2\ETX\"LM\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\t\DC2\ETX#\b>\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ACK\DC2\ETX#\b\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\SOH\DC2\ETX# 9\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\t\ETX\DC2\ETX#<=\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\n\
+    \\DC2\ETX$\b-\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ACK\DC2\ETX$\b\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\SOH\DC2\ETX$\ETB'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\n\
+    \\ETX\DC2\ETX$*,\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\v\DC2\ETX%\bH\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ACK\DC2\ETX%\b#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\SOH\DC2\ETX%$B\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\v\ETX\DC2\ETX%EG\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\f\DC2\ETX&\bJ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ACK\DC2\ETX&\b$\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\SOH\DC2\ETX&%D\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\f\ETX\DC2\ETX&GI\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\r\DC2\ETX'\b_\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\ACK\DC2\ETX'\b.\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\SOH\DC2\ETX'/Y\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\r\ETX\DC2\ETX'\\^\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SO\DC2\ETX(\bP\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\ACK\DC2\ETX(\b'\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\SOH\DC2\ETX((J\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SO\ETX\DC2\ETX(MO\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SI\DC2\ETX)\b9\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\ACK\DC2\ETX)\b\FS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\SOH\DC2\ETX)\GS3\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SI\ETX\DC2\ETX)68\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\DLE\DC2\ETX*\b;\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\ACK\DC2\ETX*\b\GS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\SOH\DC2\ETX*\RS5\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DLE\ETX\DC2\ETX*8:\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\DC1\DC2\ETX+\bF\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\ACK\DC2\ETX+\b\"\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\SOH\DC2\ETX+#@\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC1\ETX\DC2\ETX+CE\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\DC2\DC2\ETX,\bN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\ACK\DC2\ETX,\b&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\SOH\DC2\ETX,'H\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC2\ETX\DC2\ETX,KM\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\DC3\DC2\ETX-\bA\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\ACK\DC2\ETX-\b \n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\SOH\DC2\ETX-!;\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC3\ETX\DC2\ETX->@\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\DC4\DC2\ETX.\b,\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\ACK\DC2\ETX.\b\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\SOH\DC2\ETX.\ETB&\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\DC4\ETX\DC2\ETX.)+\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\NAK\DC2\ETX/\b=\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\ACK\DC2\ETX/\b\RS\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\SOH\DC2\ETX/\US7\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NAK\ETX\DC2\ETX/:<\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SYN\DC2\ETX0\bH\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\ACK\DC2\ETX0\b#\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\SOH\DC2\ETX0$B\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SYN\ETX\DC2\ETX0EG\n\
+    \\n\
+    \\n\
+    \\STX\EOT\SOH\DC2\EOT4\NUL8\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX4\b\DC2\n\
+    \S\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX6\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ENQ\DC2\ETX6\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX6\v\SO\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX6\DC1\DC2\n\
+    \\v\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX7\EOT7\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ACK\DC2\ETX7\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX7\GS2\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX756\n\
+    \\n\
+    \\n\
+    \\STX\EOT\STX\DC2\EOT:\NUL=\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX:\b\DC3\n\
+    \K\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX<\EOT\DC3\SUB> Lang's incremental sequence number as passed to `StartTimer`\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ENQ\DC2\ETX<\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX<\v\SO\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX<\DC1\DC2\n\
+    \\n\
+    \\n\
+    \\STX\EOT\ETX\DC2\EOT?\NULd\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\ETX\SOH\DC2\ETX?\b\CAN\n\
+    \S\n\
+    \\EOT\EOT\ETX\STX\NUL\DC2\ETXA\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ENQ\DC2\ETXA\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\SOH\DC2\ETXA\v\SO\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\NUL\ETX\DC2\ETXA\DC1\DC2\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\SOH\DC2\ETXB\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ENQ\DC2\ETXB\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\SOH\DC2\ETXB\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SOH\ETX\DC2\ETXB\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\STX\DC2\ETXC\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ENQ\DC2\ETXC\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\SOH\DC2\ETXC\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\STX\ETX\DC2\ETXC\ESC\FS\n\
+    \K\n\
+    \\EOT\EOT\ETX\STX\ETX\DC2\ETXE\EOT\SUB\SUB> The name of the task queue to place this activity request in\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ETX\ENQ\DC2\ETXE\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ETX\SOH\DC2\ETXE\v\NAK\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ETX\ETX\DC2\ETXE\CAN\EM\n\
+    \\v\n\
+    \\EOT\EOT\ETX\STX\EOT\DC2\ETXF\EOT<\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\EOT\ACK\DC2\ETXF\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\EOT\SOH\DC2\ETXF07\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\EOT\ETX\DC2\ETXF:;\n\
+    \H\n\
+    \\EOT\EOT\ETX\STX\ENQ\DC2\ETXH\EOT:\SUB; Arguments/input to the activity. Called \"input\" upstream.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ENQ\EOT\DC2\ETXH\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ENQ\ACK\DC2\ETXH\r+\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ENQ\SOH\DC2\ETXH,5\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ENQ\ETX\DC2\ETXH89\n\
+    \\137\STX\n\
+    \\EOT\EOT\ETX\STX\ACK\DC2\ETXL\EOT;\SUB\251\SOH Indicates how long the caller is willing to wait for an activity completion. Limits how long\n\
+    \ retries will be attempted. Either this or start_to_close_timeout_seconds must be specified.\n\
+    \ When not specified defaults to the workflow execution timeout.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ACK\ACK\DC2\ETXL\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ACK\SOH\DC2\ETXL\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\ACK\ETX\DC2\ETXL9:\n\
+    \\163\STX\n\
+    \\EOT\EOT\ETX\STX\a\DC2\ETXP\EOT;\SUB\149\STX Limits time an activity task can stay in a task queue before a worker picks it up. This\n\
+    \ timeout is always non retryable as all a retry would achieve is to put it back into the same\n\
+    \ queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\a\ACK\DC2\ETXP\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\a\SOH\DC2\ETXP\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\a\ETX\DC2\ETXP9:\n\
+    \\186\SOH\n\
+    \\EOT\EOT\ETX\STX\b\DC2\ETXS\EOT9\SUB\172\SOH Maximum time an activity is allowed to execute after a pick up by a worker. This timeout is\n\
+    \ always retryable. Either this or schedule_to_close_timeout must be specified.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\b\ACK\DC2\ETXS\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\b\SOH\DC2\ETXS\GS3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\b\ETX\DC2\ETXS68\n\
+    \I\n\
+    \\EOT\EOT\ETX\STX\t\DC2\ETXU\EOT4\SUB< Maximum time allowed between successful worker heartbeats.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\t\ACK\DC2\ETXU\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\t\SOH\DC2\ETXU\GS.\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\t\ETX\DC2\ETXU13\n\
+    \\235\SOH\n\
+    \\EOT\EOT\ETX\STX\n\
+    \\DC2\ETXY\EOT9\SUB\221\SOH Activities are provided by a default retry policy controlled through the service dynamic\n\
+    \ configuration. Retries are happening up to schedule_to_close_timeout. To disable retries set\n\
+    \ retry_policy.maximum_attempts to 1.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\n\
+    \\ACK\DC2\ETXY\EOT&\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\n\
+    \\SOH\DC2\ETXY'3\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\n\
+    \\ETX\DC2\ETXY68\n\
+    \k\n\
+    \\EOT\EOT\ETX\STX\v\DC2\ETX[\EOT4\SUB^ Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\v\ACK\DC2\ETX[\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\v\SOH\DC2\ETX[\GS.\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\v\ETX\DC2\ETX[13\n\
+    \\217\SOH\n\
+    \\EOT\EOT\ETX\STX\f\DC2\ETX_\EOT%\SUB\203\SOH If set, the worker will not tell the service that it can immediately start executing this\n\
+    \ activity. When unset/default, workers will always attempt to do so if activity execution\n\
+    \ slots are available.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\f\ENQ\DC2\ETX_\EOT\b\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\f\SOH\DC2\ETX_\t\US\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\f\ETX\DC2\ETX_\"$\n\
+    \^\n\
+    \\EOT\EOT\ETX\STX\r\DC2\ETXa\EOT;\SUBQ Whether this activity should run on a worker with a compatible build id or not.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\r\ACK\DC2\ETXa\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\r\SOH\DC2\ETXa$5\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\r\ETX\DC2\ETXa8:\n\
+    \4\n\
+    \\EOT\EOT\ETX\STX\SO\DC2\ETXc\EOT2\SUB' The Priority to use for this activity\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SO\ACK\DC2\ETXc\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SO\SOH\DC2\ETXc$,\n\
+    \\f\n\
+    \\ENQ\EOT\ETX\STX\SO\ETX\DC2\ETXc/1\n\
+    \\v\n\
+    \\STX\EOT\EOT\DC2\ENQf\NUL\143\SOH\SOH\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\EOT\SOH\DC2\ETXf\b\GS\n\
+    \S\n\
+    \\EOT\EOT\EOT\STX\NUL\DC2\ETXh\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ENQ\DC2\ETXh\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\SOH\DC2\ETXh\v\SO\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\NUL\ETX\DC2\ETXh\DC1\DC2\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\SOH\DC2\ETXi\EOT\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ENQ\DC2\ETXi\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\SOH\DC2\ETXi\v\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\SOH\ETX\DC2\ETXi\EM\SUB\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\STX\DC2\ETXj\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ENQ\DC2\ETXj\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\SOH\DC2\ETXj\v\CAN\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\STX\ETX\DC2\ETXj\ESC\FS\n\
+    \\204\SOH\n\
+    \\EOT\EOT\EOT\STX\ETX\DC2\ETXn\EOT\ETB\SUB\190\SOH Local activities can start with a non-1 attempt, if lang has been told to backoff using\n\
+    \ a timer before retrying. It should pass the attempt number from a `DoBackoff` activity\n\
+    \ resolution.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\ENQ\DC2\ETXn\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\SOH\DC2\ETXn\v\DC2\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ETX\ETX\DC2\ETXn\NAK\SYN\n\
+    \\152\SOH\n\
+    \\EOT\EOT\EOT\STX\EOT\DC2\ETXq\EOT9\SUB\138\SOH If this local activity is a retry (as per the attempt field) this needs to be the original\n\
+    \ scheduling time (as provided in `DoBackoff`)\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\EOT\ACK\DC2\ETXq\EOT\GS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\EOT\SOH\DC2\ETXq\RS4\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\EOT\ETX\DC2\ETXq78\n\
+    \\v\n\
+    \\EOT\EOT\EOT\STX\ENQ\DC2\ETXr\EOT<\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ACK\DC2\ETXr\EOT/\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ENQ\SOH\DC2\ETXr07\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ENQ\ETX\DC2\ETXr:;\n\
+    \/\n\
+    \\EOT\EOT\EOT\STX\ACK\DC2\ETXt\EOT:\SUB\" Arguments/input to the activity.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\EOT\DC2\ETXt\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\ACK\DC2\ETXt\r+\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\SOH\DC2\ETXt,5\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\ACK\ETX\DC2\ETXt89\n\
+    \\224\SOH\n\
+    \\EOT\EOT\EOT\STX\a\DC2\ETXx\EOT;\SUB\210\SOH Indicates how long the caller is willing to wait for local activity completion. Limits how\n\
+    \ long retries will be attempted. When not specified defaults to the workflow execution\n\
+    \ timeout (which may be unset).\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\a\ACK\DC2\ETXx\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\a\SOH\DC2\ETXx\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\a\ETX\DC2\ETXx9:\n\
+    \\189\ETX\n\
+    \\EOT\EOT\EOT\STX\b\DC2\ETX~\EOT;\SUB\175\ETX Limits time the local activity can idle internally before being executed. That can happen if\n\
+    \ the worker is currently at max concurrent local activity executions. This timeout is always\n\
+    \ non retryable as all a retry would achieve is to put it back into the same queue. Defaults\n\
+    \ to `schedule_to_close_timeout` if not specified and that is set. Must be <=\n\
+    \ `schedule_to_close_timeout` when set, otherwise, it will be clamped down.\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\b\ACK\DC2\ETX~\EOT\FS\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\b\SOH\DC2\ETX~\GS6\n\
+    \\f\n\
+    \\ENQ\EOT\EOT\STX\b\ETX\DC2\ETX~9:\n\
+    \\172\STX\n\
+    \\EOT\EOT\EOT\STX\t\DC2\EOT\131\SOH\EOT9\SUB\157\STX Maximum time the local activity is allowed to execute after the task is dispatched. This\n\
+    \ timeout is always retryable. Either or both of `schedule_to_close_timeout` and this must be\n\
+    \ specified. If set, this must be <= `schedule_to_close_timeout`, otherwise, it will be\n\
+    \ clamped down.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\ACK\DC2\EOT\131\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\SOH\DC2\EOT\131\SOH\GS3\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\t\ETX\DC2\EOT\131\SOH68\n\
+    \y\n\
+    \\EOT\EOT\EOT\STX\n\
+    \\DC2\EOT\134\SOH\EOT9\SUBk Specify a retry policy for the local activity. By default local activities will be retried\n\
+    \ indefinitely.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\ACK\DC2\EOT\134\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\SOH\DC2\EOT\134\SOH'3\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\n\
+    \\ETX\DC2\EOT\134\SOH68\n\
+    \\224\SOH\n\
+    \\EOT\EOT\EOT\STX\v\DC2\EOT\138\SOH\EOT8\SUB\209\SOH If the activity is retrying and backoff would exceed this value, lang will be told to\n\
+    \ schedule a timer and retry the activity after. Otherwise, backoff will happen internally in\n\
+    \ core. Defaults to 1 minute.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\v\ACK\DC2\EOT\138\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\v\SOH\DC2\EOT\138\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\v\ETX\DC2\EOT\138\SOH57\n\
+    \\233\SOH\n\
+    \\EOT\EOT\EOT\STX\f\DC2\EOT\142\SOH\EOT4\SUB\218\SOH Defines how the workflow will wait (or not) for cancellation of the activity to be\n\
+    \ confirmed. Lang should default this to `WAIT_CANCELLATION_COMPLETED`, even though proto\n\
+    \ will default to `TRY_CANCEL` automatically.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\f\ACK\DC2\EOT\142\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\f\SOH\DC2\EOT\142\SOH\GS.\n\
+    \\r\n\
+    \\ENQ\EOT\EOT\STX\f\ETX\DC2\EOT\142\SOH13\n\
+    \\f\n\
+    \\STX\ENQ\NUL\DC2\ACK\145\SOH\NUL\155\SOH\SOH\n\
+    \\v\n\
+    \\ETX\ENQ\NUL\SOH\DC2\EOT\145\SOH\ENQ\GS\n\
+    \d\n\
+    \\EOT\ENQ\NUL\STX\NUL\DC2\EOT\147\SOH\EOT\DC3\SUBV Initiate a cancellation request and immediately report cancellation to the workflow.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\ENQ\NUL\STX\NUL\SOH\DC2\EOT\147\SOH\EOT\SO\n\
+    \\r\n\
+    \\ENQ\ENQ\NUL\STX\NUL\STX\DC2\EOT\147\SOH\DC1\DC2\n\
+    \\132\STX\n\
+    \\EOT\ENQ\NUL\STX\SOH\DC2\EOT\151\SOH\EOT$\SUB\245\SOH Wait for activity cancellation completion. Note that activity must heartbeat to receive a\n\
+    \ cancellation notification. This can block the cancellation for a long time if activity\n\
+    \ doesn't heartbeat or chooses to ignore the cancellation request.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\ENQ\NUL\STX\SOH\SOH\DC2\EOT\151\SOH\EOT\US\n\
+    \\r\n\
+    \\ENQ\ENQ\NUL\STX\SOH\STX\DC2\EOT\151\SOH\"#\n\
+    \p\n\
+    \\EOT\ENQ\NUL\STX\STX\DC2\EOT\154\SOH\EOT\DLE\SUBb Do not request cancellation of the activity and immediately report cancellation to the\n\
+    \ workflow\n\
+    \\n\
+    \\r\n\
+    \\ENQ\ENQ\NUL\STX\STX\SOH\DC2\EOT\154\SOH\EOT\v\n\
+    \\r\n\
+    \\ENQ\ENQ\NUL\STX\STX\STX\DC2\EOT\154\SOH\SO\SI\n\
+    \\f\n\
+    \\STX\EOT\ENQ\DC2\ACK\157\SOH\NUL\160\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ENQ\SOH\DC2\EOT\157\SOH\b\GS\n\
+    \R\n\
+    \\EOT\EOT\ENQ\STX\NUL\DC2\EOT\159\SOH\EOT\DC3\SUBD Lang's incremental sequence number as passed to `ScheduleActivity`\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ENQ\DC2\EOT\159\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\SOH\DC2\EOT\159\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\ENQ\STX\NUL\ETX\DC2\EOT\159\SOH\DC1\DC2\n\
+    \\f\n\
+    \\STX\EOT\ACK\DC2\ACK\162\SOH\NUL\165\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\ACK\SOH\DC2\EOT\162\SOH\b\"\n\
+    \W\n\
+    \\EOT\EOT\ACK\STX\NUL\DC2\EOT\164\SOH\EOT\DC3\SUBI Lang's incremental sequence number as passed to `ScheduleLocalActivity`\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ENQ\DC2\EOT\164\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\SOH\DC2\EOT\164\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\ACK\STX\NUL\ETX\DC2\EOT\164\SOH\DC1\DC2\n\
+    \\f\n\
+    \\STX\EOT\a\DC2\ACK\167\SOH\NUL\174\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\a\SOH\DC2\EOT\167\SOH\b\DC3\n\
+    \D\n\
+    \\EOT\EOT\a\STX\NUL\DC2\EOT\169\SOH\EOT\CAN\SUB6 Corresponds to the id provided in the activation job\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ENQ\DC2\EOT\169\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\SOH\DC2\EOT\169\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\NUL\ETX\DC2\EOT\169\SOH\SYN\ETB\n\
+    \\SO\n\
+    \\EOT\EOT\a\b\NUL\DC2\ACK\170\SOH\EOT\173\SOH\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\a\b\NUL\SOH\DC2\EOT\170\SOH\n\
+    \\DC1\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\SOH\DC2\EOT\171\SOH\b#\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ACK\DC2\EOT\171\SOH\b\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\SOH\DC2\EOT\171\SOH\NAK\RS\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\SOH\ETX\DC2\EOT\171\SOH!\"\n\
+    \\f\n\
+    \\EOT\EOT\a\STX\STX\DC2\EOT\172\SOH\b3\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ACK\DC2\EOT\172\SOH\b'\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\SOH\DC2\EOT\172\SOH(.\n\
+    \\r\n\
+    \\ENQ\EOT\a\STX\STX\ETX\DC2\EOT\172\SOH12\n\
+    \\f\n\
+    \\STX\EOT\b\DC2\ACK\176\SOH\NUL\178\SOH\SOH\n\
+    \\v\n\
+    \\ETX\EOT\b\SOH\DC2\EOT\176\SOH\b\DC4\n\
+    \\f\n\
+    \\EOT\EOT\b\STX\NUL\DC2\EOT\177\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ACK\DC2\EOT\177\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\SOH\DC2\EOT\177\SOH#+\n\
+    \\r\n\
+    \\ENQ\EOT\b\STX\NUL\ETX\DC2\EOT\177\SOH./\n\
+    \?\n\
+    \\STX\EOT\t\DC2\ACK\181\SOH\NUL\183\SOH\SOH\SUB1 Issued when the workflow completes successfully\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\t\SOH\DC2\EOT\181\SOH\b!\n\
+    \\f\n\
+    \\EOT\EOT\t\STX\NUL\DC2\EOT\182\SOH\EOT.\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ACK\DC2\EOT\182\SOH\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\SOH\DC2\EOT\182\SOH#)\n\
+    \\r\n\
+    \\ENQ\EOT\t\STX\NUL\ETX\DC2\EOT\182\SOH,-\n\
+    \3\n\
+    \\STX\EOT\n\
+    \\DC2\ACK\186\SOH\NUL\188\SOH\SOH\SUB% Issued when the workflow errors out\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\n\
+    \\SOH\DC2\EOT\186\SOH\b\GS\n\
+    \\f\n\
+    \\EOT\EOT\n\
+    \\STX\NUL\DC2\EOT\187\SOH\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ACK\DC2\EOT\187\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\SOH\DC2\EOT\187\SOH$+\n\
+    \\r\n\
+    \\ENQ\EOT\n\
+    \\STX\NUL\ETX\DC2\EOT\187\SOH./\n\
+    \8\n\
+    \\STX\EOT\v\DC2\ACK\191\SOH\NUL\216\SOH\SOH\SUB* Continue the workflow as a new execution\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\v\SOH\DC2\EOT\191\SOH\b&\n\
+    \R\n\
+    \\EOT\EOT\v\STX\NUL\DC2\EOT\193\SOH\EOT\GS\SUBD The identifier the lang-specific sdk uses to execute workflow code\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ENQ\DC2\EOT\193\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\SOH\DC2\EOT\193\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\NUL\ETX\DC2\EOT\193\SOH\ESC\FS\n\
+    \9\n\
+    \\EOT\EOT\v\STX\SOH\DC2\EOT\195\SOH\EOT\SUB\SUB+ Task queue for the new workflow execution\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ENQ\DC2\EOT\195\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\SOH\DC2\EOT\195\SOH\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\SOH\ETX\DC2\EOT\195\SOH\CAN\EM\n\
+    \\140\SOH\n\
+    \\EOT\EOT\v\STX\STX\DC2\EOT\198\SOH\EOT:\SUB~ Inputs to the workflow code. Should be specified. Will not re-use old arguments, as that\n\
+    \ typically wouldn't make any sense.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\EOT\DC2\EOT\198\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ACK\DC2\EOT\198\SOH\r+\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\SOH\DC2\EOT\198\SOH,5\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\STX\ETX\DC2\EOT\198\SOH89\n\
+    \g\n\
+    \\EOT\EOT\v\STX\ETX\DC2\EOT\200\SOH\EOT6\SUBY Timeout for a single run of the new workflow. Will not re-use current workflow's value.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ACK\DC2\EOT\200\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\SOH\DC2\EOT\200\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ETX\ETX\DC2\EOT\200\SOH45\n\
+    \\\\n\
+    \\EOT\EOT\v\STX\EOT\DC2\EOT\202\SOH\EOT7\SUBN Timeout of a single workflow task. Will not re-use current workflow's value.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\ACK\DC2\EOT\202\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\SOH\DC2\EOT\202\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\EOT\ETX\DC2\EOT\202\SOH56\n\
+    \k\n\
+    \\EOT\EOT\v\STX\ENQ\DC2\EOT\204\SOH\EOT9\SUB] If set, the new workflow will have this memo. If unset, re-uses the current workflow's memo\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\ACK\DC2\EOT\204\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\SOH\DC2\EOT\204\SOH04\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ENQ\ETX\DC2\EOT\204\SOH78\n\
+    \z\n\
+    \\EOT\EOT\v\STX\ACK\DC2\EOT\207\SOH\EOT<\SUBl If set, the new workflow will have these headers. Will *not* re-use current workflow's\n\
+    \ headers otherwise.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\ACK\DC2\EOT\207\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\SOH\DC2\EOT\207\SOH07\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\ACK\ETX\DC2\EOT\207\SOH:;\n\
+    \\136\SOH\n\
+    \\EOT\EOT\v\STX\a\DC2\EOT\210\SOH\EOTF\SUBz If set, the new workflow will have these search attributes. If unset, re-uses the current\n\
+    \ workflow's search attributes.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\a\ACK\DC2\EOT\210\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\a\SOH\DC2\EOT\210\SOH0A\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\a\ETX\DC2\EOT\210\SOHDE\n\
+    \}\n\
+    \\EOT\EOT\v\STX\b\DC2\EOT\213\SOH\EOT8\SUBo If set, the new workflow will have this retry policy. If unset, re-uses the current\n\
+    \ workflow's retry policy.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\b\ACK\DC2\EOT\213\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\b\SOH\DC2\EOT\213\SOH'3\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\b\ETX\DC2\EOT\213\SOH67\n\
+    \h\n\
+    \\EOT\EOT\v\STX\t\DC2\EOT\215\SOH\EOT;\SUBZ Whether the continued workflow should run on a worker with a compatible build id or not.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\t\ACK\DC2\EOT\215\SOH\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\t\SOH\DC2\EOT\215\SOH$5\n\
+    \\r\n\
+    \\ENQ\EOT\v\STX\t\ETX\DC2\EOT\215\SOH8:\n\
+    \\139\SOH\n\
+    \\STX\EOT\f\DC2\EOT\220\SOH\NUL\"\SUB\DEL Indicate a workflow has completed as cancelled. Generally sent as a response to an activation\n\
+    \ containing a cancellation job.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\f\SOH\DC2\EOT\220\SOH\b\US\n\
+    \K\n\
+    \\STX\EOT\r\DC2\ACK\223\SOH\NUL\231\SOH\SOH\SUB= A request to set/check if a certain patch is present or not\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\r\SOH\DC2\EOT\223\SOH\b\SYN\n\
+    \\242\SOH\n\
+    \\EOT\EOT\r\STX\NUL\DC2\EOT\227\SOH\EOT\CAN\SUB\227\SOH A user-chosen identifier for this patch. If the same identifier is used in multiple places in\n\
+    \ the code, those places are considered to be versioned as one unit. IE: The check call will\n\
+    \ return the same result for all of them\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ENQ\DC2\EOT\227\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\SOH\DC2\EOT\227\SOH\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\NUL\ETX\DC2\EOT\227\SOH\SYN\ETB\n\
+    \\180\SOH\n\
+    \\EOT\EOT\r\STX\SOH\DC2\EOT\230\SOH\EOT\CAN\SUB\165\SOH Can be set to true to indicate that branches using this change are being removed, and all\n\
+    \ future worker deployments will only have the \"with change\" code in them.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ENQ\DC2\EOT\230\SOH\EOT\b\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\SOH\DC2\EOT\230\SOH\t\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\r\STX\SOH\ETX\DC2\EOT\230\SOH\SYN\ETB\n\
+    \0\n\
+    \\STX\EOT\SO\DC2\ACK\234\SOH\NUL\139\STX\SOH\SUB\" Start a child workflow execution\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SO\SOH\DC2\EOT\234\SOH\b#\n\
+    \T\n\
+    \\EOT\EOT\SO\STX\NUL\DC2\EOT\236\SOH\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ENQ\DC2\EOT\236\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\SOH\DC2\EOT\236\SOH\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\NUL\ETX\DC2\EOT\236\SOH\DC1\DC2\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\SOH\DC2\EOT\237\SOH\EOT\EM\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ENQ\DC2\EOT\237\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\SOH\DC2\EOT\237\SOH\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SOH\ETX\DC2\EOT\237\SOH\ETB\CAN\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\STX\DC2\EOT\238\SOH\EOT\ESC\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ENQ\DC2\EOT\238\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\SOH\DC2\EOT\238\SOH\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\STX\ETX\DC2\EOT\238\SOH\EM\SUB\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\ETX\DC2\EOT\239\SOH\EOT\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ENQ\DC2\EOT\239\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\SOH\DC2\EOT\239\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ETX\ETX\DC2\EOT\239\SOH\ESC\FS\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\EOT\DC2\EOT\240\SOH\EOT\SUB\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\ENQ\DC2\EOT\240\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\SOH\DC2\EOT\240\SOH\v\NAK\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\EOT\ETX\DC2\EOT\240\SOH\CAN\EM\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\ENQ\DC2\EOT\241\SOH\EOT6\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\EOT\DC2\EOT\241\SOH\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ACK\DC2\EOT\241\SOH\r+\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\SOH\DC2\EOT\241\SOH,1\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ENQ\ETX\DC2\EOT\241\SOH45\n\
+    \W\n\
+    \\EOT\EOT\SO\STX\ACK\DC2\EOT\243\SOH\EOT<\SUBI Total workflow execution timeout including retries and continue as new.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\ACK\DC2\EOT\243\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\SOH\DC2\EOT\243\SOH\GS7\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\ACK\ETX\DC2\EOT\243\SOH:;\n\
+    \1\n\
+    \\EOT\EOT\SO\STX\a\DC2\EOT\245\SOH\EOT6\SUB# Timeout of a single workflow run.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\a\ACK\DC2\EOT\245\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\a\SOH\DC2\EOT\245\SOH\GS1\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\a\ETX\DC2\EOT\245\SOH45\n\
+    \2\n\
+    \\EOT\EOT\SO\STX\b\DC2\EOT\247\SOH\EOT7\SUB$ Timeout of a single workflow task.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\b\ACK\DC2\EOT\247\SOH\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\b\SOH\DC2\EOT\247\SOH\GS2\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\b\ETX\DC2\EOT\247\SOH56\n\
+    \7\n\
+    \\EOT\EOT\SO\STX\t\DC2\EOT\249\SOH\EOT>\SUB) Default: PARENT_CLOSE_POLICY_TERMINATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\t\ACK\DC2\EOT\249\SOH\EOT$\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\t\SOH\DC2\EOT\249\SOH%8\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\t\ETX\DC2\EOT\249\SOH;=\n\
+    \\148\SOH\n\
+    \\EOT\EOT\SO\STX\n\
+    \\DC2\EOT\252\SOH\EOTN\SUB\133\SOH string control = 11; (unused from StartChildWorkflowExecutionCommandAttributes)\n\
+    \ Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\n\
+    \\ACK\DC2\EOT\252\SOH\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\n\
+    \\SOH\DC2\EOT\252\SOH0H\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\n\
+    \\ETX\DC2\EOT\252\SOHKM\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\v\DC2\EOT\253\SOH\EOT9\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\v\ACK\DC2\EOT\253\SOH\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\v\SOH\DC2\EOT\253\SOH'3\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\v\ETX\DC2\EOT\253\SOH68\n\
+    \\f\n\
+    \\EOT\EOT\SO\STX\f\DC2\EOT\254\SOH\EOT\RS\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\f\ENQ\DC2\EOT\254\SOH\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\f\SOH\DC2\EOT\254\SOH\v\CAN\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\f\ETX\DC2\EOT\254\SOH\ESC\GS\n\
+    \\GS\n\
+    \\EOT\EOT\SO\STX\r\DC2\EOT\128\STX\EOT=\SUB\SI Header fields\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\r\ACK\DC2\EOT\128\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\r\SOH\DC2\EOT\128\STX07\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\r\ETX\DC2\EOT\128\STX:<\n\
+    \\ESC\n\
+    \\EOT\EOT\SO\STX\SO\DC2\EOT\130\STX\EOT:\SUB\r Memo fields\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SO\ACK\DC2\EOT\130\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SO\SOH\DC2\EOT\130\STX04\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SO\ETX\DC2\EOT\130\STX79\n\
+    \!\n\
+    \\EOT\EOT\SO\STX\SI\DC2\EOT\132\STX\EOTG\SUB\DC3 Search attributes\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SI\ACK\DC2\EOT\132\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SI\SOH\DC2\EOT\132\STX0A\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\SI\ETX\DC2\EOT\132\STXDF\n\
+    \q\n\
+    \\EOT\EOT\SO\STX\DLE\DC2\EOT\134\STX\EOTH\SUBc Defines behaviour of the underlying workflow when child workflow cancellation has been requested.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DLE\ACK\DC2\EOT\134\STX\EOT0\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DLE\SOH\DC2\EOT\134\STX1B\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DLE\ETX\DC2\EOT\134\STXEG\n\
+    \\\\n\
+    \\EOT\EOT\SO\STX\DC1\DC2\EOT\136\STX\EOT;\SUBN Whether this child should run on a worker with a compatible build id or not.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DC1\ACK\DC2\EOT\136\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DC1\SOH\DC2\EOT\136\STX$5\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DC1\ETX\DC2\EOT\136\STX8:\n\
+    \5\n\
+    \\EOT\EOT\SO\STX\DC2\DC2\EOT\138\STX\EOT2\SUB' The Priority to use for this activity\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DC2\ACK\DC2\EOT\138\STX\EOT#\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DC2\SOH\DC2\EOT\138\STX$,\n\
+    \\r\n\
+    \\ENQ\EOT\SO\STX\DC2\ETX\DC2\EOT\138\STX/1\n\
+    \'\n\
+    \\STX\EOT\SI\DC2\ACK\142\STX\NUL\147\STX\SOH\SUB\EM Cancel a child workflow\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SI\SOH\DC2\EOT\142\STX\b$\n\
+    \U\n\
+    \\EOT\EOT\SI\STX\NUL\DC2\EOT\144\STX\EOT\"\SUBG Sequence number as given to the `StartChildWorkflowExecution` command\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ENQ\DC2\EOT\144\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\SOH\DC2\EOT\144\STX\v\GS\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\NUL\ETX\DC2\EOT\144\STX !\n\
+    \-\n\
+    \\EOT\EOT\SI\STX\SOH\DC2\EOT\146\STX\EOT\SYN\SUB\US A reason for the cancellation\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ENQ\DC2\EOT\146\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\SOH\DC2\EOT\146\STX\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\SI\STX\SOH\ETX\DC2\EOT\146\STX\DC4\NAK\n\
+    \\207\SOH\n\
+    \\STX\EOT\DLE\DC2\ACK\151\STX\NUL\158\STX\SOH\SUB\192\SOH Request cancellation of an external workflow execution. For cancellation of a child workflow,\n\
+    \ prefer `CancelChildWorkflowExecution` instead, as it guards against cancel-before-start issues.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DLE\SOH\DC2\EOT\151\STX\b.\n\
+    \T\n\
+    \\EOT\EOT\DLE\STX\NUL\DC2\EOT\153\STX\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ENQ\DC2\EOT\153\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\SOH\DC2\EOT\153\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\NUL\ETX\DC2\EOT\153\STX\DC1\DC2\n\
+    \4\n\
+    \\EOT\EOT\DLE\STX\SOH\DC2\EOT\155\STX\EOT>\SUB& The workflow instance being targeted\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ACK\DC2\EOT\155\STX\EOT&\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\SOH\DC2\EOT\155\STX'9\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\SOH\ETX\DC2\EOT\155\STX<=\n\
+    \-\n\
+    \\EOT\EOT\DLE\STX\STX\DC2\EOT\157\STX\EOT\SYN\SUB\US A reason for the cancellation\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\ENQ\DC2\EOT\157\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\SOH\DC2\EOT\157\STX\v\DC1\n\
+    \\r\n\
+    \\ENQ\EOT\DLE\STX\STX\ETX\DC2\EOT\157\STX\DC4\NAK\n\
+    \>\n\
+    \\STX\EOT\DC1\DC2\ACK\161\STX\NUL\177\STX\SOH\SUB0 Send a signal to an external or child workflow\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DC1\SOH\DC2\EOT\161\STX\b'\n\
+    \T\n\
+    \\EOT\EOT\DC1\STX\NUL\DC2\EOT\163\STX\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ENQ\DC2\EOT\163\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\SOH\DC2\EOT\163\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\NUL\ETX\DC2\EOT\163\STX\DC1\DC2\n\
+    \1\n\
+    \\EOT\EOT\DC1\b\NUL\DC2\ACK\165\STX\EOT\170\STX\ENQ\SUB! What workflow is being targeted\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\b\NUL\SOH\DC2\EOT\165\STX\n\
+    \\DLE\n\
+    \,\n\
+    \\EOT\EOT\DC1\STX\SOH\DC2\EOT\167\STX\bB\SUB\RS A specific workflow instance\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ACK\DC2\EOT\167\STX\b*\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\SOH\DC2\EOT\167\STX+=\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\SOH\ETX\DC2\EOT\167\STX@A\n\
+    \g\n\
+    \\EOT\EOT\DC1\STX\STX\DC2\EOT\169\STX\b%\SUBY The desired target must be a child of the issuing workflow, and this is its workflow id\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ENQ\DC2\EOT\169\STX\b\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\SOH\DC2\EOT\169\STX\SI \n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\STX\ETX\DC2\EOT\169\STX#$\n\
+    \*\n\
+    \\EOT\EOT\DC1\STX\ETX\DC2\EOT\172\STX\EOT\ESC\SUB\FS Name of the signal handler\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\ENQ\DC2\EOT\172\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\SOH\DC2\EOT\172\STX\v\SYN\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ETX\ETX\DC2\EOT\172\STX\EM\SUB\n\
+    \)\n\
+    \\EOT\EOT\DC1\STX\EOT\DC2\EOT\174\STX\EOT5\SUB\ESC Arguments for the handler\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\EOT\DC2\EOT\174\STX\EOT\f\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\ACK\DC2\EOT\174\STX\r+\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\SOH\DC2\EOT\174\STX,0\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\EOT\ETX\DC2\EOT\174\STX34\n\
+    \/\n\
+    \\EOT\EOT\DC1\STX\ENQ\DC2\EOT\176\STX\EOT<\SUB! Headers to attach to the signal\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\ACK\DC2\EOT\176\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\SOH\DC2\EOT\176\STX07\n\
+    \\r\n\
+    \\ENQ\EOT\DC1\STX\ENQ\ETX\DC2\EOT\176\STX:;\n\
+    \a\n\
+    \\STX\EOT\DC2\DC2\ACK\180\STX\NUL\183\STX\SOH\SUBS Can be used to cancel not-already-sent `SignalExternalWorkflowExecution` commands\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\DC2\SOH\DC2\EOT\180\STX\b\FS\n\
+    \a\n\
+    \\EOT\EOT\DC2\STX\NUL\DC2\EOT\182\STX\EOT\DC3\SUBS Lang's incremental sequence number as passed to `SignalExternalWorkflowExecution`\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ENQ\DC2\EOT\182\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\SOH\DC2\EOT\182\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\DC2\STX\NUL\ETX\DC2\EOT\182\STX\DC1\DC2\n\
+    \\f\n\
+    \\STX\EOT\DC3\DC2\ACK\185\STX\NUL\189\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC3\SOH\DC2\EOT\185\STX\b&\n\
+    \r\n\
+    \\EOT\EOT\DC3\STX\NUL\DC2\EOT\188\STX\EOTF\SUBd SearchAttributes fields - equivalent to indexed_fields on api. Key = search index, Value =\n\
+    \ value?\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ACK\DC2\EOT\188\STX\EOT/\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\SOH\DC2\EOT\188\STX0A\n\
+    \\r\n\
+    \\ENQ\EOT\DC3\STX\NUL\ETX\DC2\EOT\188\STXDE\n\
+    \\f\n\
+    \\STX\EOT\DC4\DC2\ACK\191\STX\NUL\196\STX\SOH\n\
+    \\v\n\
+    \\ETX\EOT\DC4\SOH\DC2\EOT\191\STX\b \n\
+    \\242\SOH\n\
+    \\EOT\EOT\DC4\STX\NUL\DC2\EOT\195\STX\EOT2\SUB\227\SOH If set, update the workflow memo with the provided values. The values will be merged with\n\
+    \ the existing memo. If the user wants to delete values, a default/empty Payload should be\n\
+    \ used as the value for the key being deleted.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ACK\DC2\EOT\195\STX\EOT\US\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\SOH\DC2\EOT\195\STX -\n\
+    \\r\n\
+    \\ENQ\EOT\DC4\STX\NUL\ETX\DC2\EOT\195\STX01\n\
+    \\166\EOT\n\
+    \\STX\EOT\NAK\DC2\ACK\207\STX\NUL\221\STX\SOH\SUB\151\EOT A reply to a `DoUpdate` job - lang must run the update's validator if told to, and then\n\
+    \ immediately run the handler, if the update was accepted.\n\
+    \\n\
+    \ There must always be an accepted or rejected response immediately, in the same activation as\n\
+    \ this job, to indicate the result of the validator. Accepted for ran and accepted or skipped, or\n\
+    \ rejected for rejected.\n\
+    \\n\
+    \ Then, in the same or any subsequent activation, after the update handler has completed, respond\n\
+    \ with completed or rejected as appropriate for the result of the handler.\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\NAK\SOH\DC2\EOT\207\STX\b\SYN\n\
+    \0\n\
+    \\EOT\EOT\NAK\STX\NUL\DC2\EOT\209\STX\EOT$\SUB\" The protocol message instance ID\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\ENQ\DC2\EOT\209\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\SOH\DC2\EOT\209\STX\v\US\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\NUL\ETX\DC2\EOT\209\STX\"#\n\
+    \\SO\n\
+    \\EOT\EOT\NAK\b\NUL\DC2\ACK\210\STX\EOT\220\STX\ENQ\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\b\NUL\SOH\DC2\EOT\210\STX\n\
+    \\DC2\n\
+    \\209\SOH\n\
+    \\EOT\EOT\NAK\STX\SOH\DC2\EOT\214\STX\b+\SUB\194\SOH Must be sent if the update's validator has passed (or lang was not asked to run it, and\n\
+    \ thus should be considered already-accepted, allowing lang to always send the same\n\
+    \ sequence on replay).\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\ACK\DC2\EOT\214\STX\b\GS\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\SOH\DC2\EOT\214\STX\RS&\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\SOH\ETX\DC2\EOT\214\STX)*\n\
+    \w\n\
+    \\EOT\EOT\NAK\STX\STX\DC2\EOT\217\STX\b5\SUBi Must be sent if the update's validator does not pass, or after acceptance if the update\n\
+    \ handler fails.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\STX\ACK\DC2\EOT\217\STX\b'\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\STX\SOH\DC2\EOT\217\STX(0\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\STX\ETX\DC2\EOT\217\STX34\n\
+    \L\n\
+    \\EOT\EOT\NAK\STX\ETX\DC2\EOT\219\STX\b5\SUB> Must be sent once the update handler completes successfully.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\ETX\ACK\DC2\EOT\219\STX\b&\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\ETX\SOH\DC2\EOT\219\STX'0\n\
+    \\r\n\
+    \\ENQ\EOT\NAK\STX\ETX\ETX\DC2\EOT\219\STX34\n\
+    \4\n\
+    \\STX\EOT\SYN\DC2\ACK\224\STX\NUL\249\STX\SOH\SUB& A request to begin a Nexus operation\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\SYN\SOH\DC2\EOT\224\STX\b\RS\n\
+    \T\n\
+    \\EOT\EOT\SYN\STX\NUL\DC2\EOT\226\STX\EOT\DC3\SUBF Lang's incremental sequence number, used as the operation identifier\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\NUL\ENQ\DC2\EOT\226\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\NUL\SOH\DC2\EOT\226\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\NUL\ETX\DC2\EOT\226\STX\DC1\DC2\n\
+    \]\n\
+    \\EOT\EOT\SYN\STX\SOH\DC2\EOT\228\STX\EOT\CAN\SUBO Endpoint name, must exist in the endpoint registry or this command will fail.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\SOH\ENQ\DC2\EOT\228\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\SOH\SOH\DC2\EOT\228\STX\v\DC3\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\SOH\ETX\DC2\EOT\228\STX\SYN\ETB\n\
+    \\GS\n\
+    \\EOT\EOT\SYN\STX\STX\DC2\EOT\230\STX\EOT\ETB\SUB\SI Service name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\STX\ENQ\DC2\EOT\230\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\STX\SOH\DC2\EOT\230\STX\v\DC2\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\STX\ETX\DC2\EOT\230\STX\NAK\SYN\n\
+    \\US\n\
+    \\EOT\EOT\SYN\STX\ETX\DC2\EOT\232\STX\EOT\EM\SUB\DC1 Operation name.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ETX\ENQ\DC2\EOT\232\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ETX\SOH\DC2\EOT\232\STX\v\DC4\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ETX\ETX\DC2\EOT\232\STX\ETB\CAN\n\
+    \\189\STX\n\
+    \\EOT\EOT\SYN\STX\EOT\DC2\EOT\237\STX\EOT-\SUB\174\STX Input for the operation. The server converts this into Nexus request content and the\n\
+    \ appropriate content headers internally when sending the StartOperation request. On the\n\
+    \ handler side, if it is also backed by Temporal, the content is transformed back to the\n\
+    \ original Payload sent in this command.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\EOT\ACK\DC2\EOT\237\STX\EOT\"\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\EOT\SOH\DC2\EOT\237\STX#(\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\EOT\ETX\DC2\EOT\237\STX+,\n\
+    \\183\SOH\n\
+    \\EOT\EOT\SYN\STX\ENQ\DC2\EOT\241\STX\EOT;\SUB\168\SOH Schedule-to-close timeout for this operation.\n\
+    \ Indicates how long the caller is willing to wait for operation completion.\n\
+    \ Calls are retried internally by the server.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ENQ\ACK\DC2\EOT\241\STX\EOT\FS\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ENQ\SOH\DC2\EOT\241\STX\GS6\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ENQ\ETX\DC2\EOT\241\STX9:\n\
+    \\200\ETX\n\
+    \\EOT\EOT\SYN\STX\ACK\DC2\EOT\248\STX\EOT)\SUB\185\ETX Header to attach to the Nexus request.\n\
+    \ Users are responsible for encrypting sensitive data in this header as it is stored in\n\
+    \ workflow history and transmitted to external services as-is. This is useful for propagating\n\
+    \ tracing information. Note these headers are not the same as Temporal headers on internal\n\
+    \ activities and child workflows, these are transmitted to Nexus operations that may be\n\
+    \ external and are not traditional payloads.\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ACK\ACK\DC2\EOT\248\STX\EOT\ETB\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ACK\SOH\DC2\EOT\248\STX\CAN$\n\
+    \\r\n\
+    \\ENQ\EOT\SYN\STX\ACK\ETX\DC2\EOT\248\STX'(\n\
+    \^\n\
+    \\STX\EOT\ETB\DC2\ACK\252\STX\NUL\255\STX\SOH\SUBP Request cancellation of a nexus operation started via `ScheduleNexusOperation`\n\
+    \\n\
+    \\v\n\
+    \\ETX\EOT\ETB\SOH\DC2\EOT\252\STX\b#\n\
+    \X\n\
+    \\EOT\EOT\ETB\STX\NUL\DC2\EOT\254\STX\EOT\DC3\SUBJ Lang's incremental sequence number as passed to `ScheduleNexusOperation`\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\ENQ\DC2\EOT\254\STX\EOT\n\
+    \\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\SOH\DC2\EOT\254\STX\v\SO\n\
+    \\r\n\
+    \\ENQ\EOT\ETB\STX\NUL\ETX\DC2\EOT\254\STX\DC1\DC2b\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/WorkflowCommands/WorkflowCommands_Fields.hs b/src/Proto/Temporal/Sdk/Core/WorkflowCommands/WorkflowCommands_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/WorkflowCommands/WorkflowCommands_Fields.hs
@@ -0,0 +1,882 @@
+{- This file was auto-generated from temporal/sdk/core/workflow_commands/workflow_commands.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Google.Protobuf.Duration
+import qualified Proto.Google.Protobuf.Empty
+import qualified Proto.Google.Protobuf.Timestamp
+import qualified Proto.Temporal.Api.Common.V1.Message
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Api.Sdk.V1.UserMetadata
+import qualified Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+accepted ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "accepted" a) =>
+  Lens.Family2.LensLike' f s a
+accepted = Data.ProtoLens.Field.field @"accepted"
+activityId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityId" a) =>
+  Lens.Family2.LensLike' f s a
+activityId = Data.ProtoLens.Field.field @"activityId"
+activityType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "activityType" a) =>
+  Lens.Family2.LensLike' f s a
+activityType = Data.ProtoLens.Field.field @"activityType"
+args ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "args" a) =>
+  Lens.Family2.LensLike' f s a
+args = Data.ProtoLens.Field.field @"args"
+arguments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "arguments" a) =>
+  Lens.Family2.LensLike' f s a
+arguments = Data.ProtoLens.Field.field @"arguments"
+attempt ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "attempt" a) =>
+  Lens.Family2.LensLike' f s a
+attempt = Data.ProtoLens.Field.field @"attempt"
+cancelChildWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelChildWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+cancelChildWorkflowExecution
+  = Data.ProtoLens.Field.field @"cancelChildWorkflowExecution"
+cancelSignalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelSignalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+cancelSignalWorkflow
+  = Data.ProtoLens.Field.field @"cancelSignalWorkflow"
+cancelTimer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelTimer" a) =>
+  Lens.Family2.LensLike' f s a
+cancelTimer = Data.ProtoLens.Field.field @"cancelTimer"
+cancelWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancelWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+cancelWorkflowExecution
+  = Data.ProtoLens.Field.field @"cancelWorkflowExecution"
+cancellationType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cancellationType" a) =>
+  Lens.Family2.LensLike' f s a
+cancellationType = Data.ProtoLens.Field.field @"cancellationType"
+childWorkflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowId" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowId = Data.ProtoLens.Field.field @"childWorkflowId"
+childWorkflowSeq ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "childWorkflowSeq" a) =>
+  Lens.Family2.LensLike' f s a
+childWorkflowSeq = Data.ProtoLens.Field.field @"childWorkflowSeq"
+completeWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completeWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+completeWorkflowExecution
+  = Data.ProtoLens.Field.field @"completeWorkflowExecution"
+completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "completed" a) =>
+  Lens.Family2.LensLike' f s a
+completed = Data.ProtoLens.Field.field @"completed"
+continueAsNewWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "continueAsNewWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+continueAsNewWorkflowExecution
+  = Data.ProtoLens.Field.field @"continueAsNewWorkflowExecution"
+cronSchedule ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "cronSchedule" a) =>
+  Lens.Family2.LensLike' f s a
+cronSchedule = Data.ProtoLens.Field.field @"cronSchedule"
+deprecated ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "deprecated" a) =>
+  Lens.Family2.LensLike' f s a
+deprecated = Data.ProtoLens.Field.field @"deprecated"
+doNotEagerlyExecute ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "doNotEagerlyExecute" a) =>
+  Lens.Family2.LensLike' f s a
+doNotEagerlyExecute
+  = Data.ProtoLens.Field.field @"doNotEagerlyExecute"
+endpoint ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "endpoint" a) =>
+  Lens.Family2.LensLike' f s a
+endpoint = Data.ProtoLens.Field.field @"endpoint"
+failWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "failWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+failWorkflowExecution
+  = Data.ProtoLens.Field.field @"failWorkflowExecution"
+failed ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failed" a) =>
+  Lens.Family2.LensLike' f s a
+failed = Data.ProtoLens.Field.field @"failed"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+headers ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "headers" a) =>
+  Lens.Family2.LensLike' f s a
+headers = Data.ProtoLens.Field.field @"headers"
+heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+heartbeatTimeout = Data.ProtoLens.Field.field @"heartbeatTimeout"
+input ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "input" a) =>
+  Lens.Family2.LensLike' f s a
+input = Data.ProtoLens.Field.field @"input"
+key ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "key" a) =>
+  Lens.Family2.LensLike' f s a
+key = Data.ProtoLens.Field.field @"key"
+localRetryThreshold ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "localRetryThreshold" a) =>
+  Lens.Family2.LensLike' f s a
+localRetryThreshold
+  = Data.ProtoLens.Field.field @"localRetryThreshold"
+maybe'accepted ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'accepted" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'accepted = Data.ProtoLens.Field.field @"maybe'accepted"
+maybe'cancelChildWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelChildWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelChildWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'cancelChildWorkflowExecution"
+maybe'cancelSignalWorkflow ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelSignalWorkflow" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelSignalWorkflow
+  = Data.ProtoLens.Field.field @"maybe'cancelSignalWorkflow"
+maybe'cancelTimer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelTimer" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelTimer = Data.ProtoLens.Field.field @"maybe'cancelTimer"
+maybe'cancelWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'cancelWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'cancelWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'cancelWorkflowExecution"
+maybe'childWorkflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'childWorkflowId" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'childWorkflowId
+  = Data.ProtoLens.Field.field @"maybe'childWorkflowId"
+maybe'completeWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completeWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completeWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'completeWorkflowExecution"
+maybe'completed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'completed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'completed = Data.ProtoLens.Field.field @"maybe'completed"
+maybe'continueAsNewWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'continueAsNewWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'continueAsNewWorkflowExecution
+  = Data.ProtoLens.Field.field
+      @"maybe'continueAsNewWorkflowExecution"
+maybe'failWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'failWorkflowExecution"
+maybe'failed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failed = Data.ProtoLens.Field.field @"maybe'failed"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'heartbeatTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'heartbeatTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'heartbeatTimeout
+  = Data.ProtoLens.Field.field @"maybe'heartbeatTimeout"
+maybe'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'input" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'input = Data.ProtoLens.Field.field @"maybe'input"
+maybe'localRetryThreshold ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'localRetryThreshold" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'localRetryThreshold
+  = Data.ProtoLens.Field.field @"maybe'localRetryThreshold"
+maybe'modifyWorkflowProperties ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'modifyWorkflowProperties" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'modifyWorkflowProperties
+  = Data.ProtoLens.Field.field @"maybe'modifyWorkflowProperties"
+maybe'originalScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'originalScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'originalScheduleTime
+  = Data.ProtoLens.Field.field @"maybe'originalScheduleTime"
+maybe'priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'priority" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'priority = Data.ProtoLens.Field.field @"maybe'priority"
+maybe'rejected ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'rejected" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'rejected = Data.ProtoLens.Field.field @"maybe'rejected"
+maybe'requestCancelActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelActivity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelActivity
+  = Data.ProtoLens.Field.field @"maybe'requestCancelActivity"
+maybe'requestCancelExternalWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelExternalWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelExternalWorkflowExecution
+  = Data.ProtoLens.Field.field
+      @"maybe'requestCancelExternalWorkflowExecution"
+maybe'requestCancelLocalActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelLocalActivity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelLocalActivity
+  = Data.ProtoLens.Field.field @"maybe'requestCancelLocalActivity"
+maybe'requestCancelNexusOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'requestCancelNexusOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'requestCancelNexusOperation
+  = Data.ProtoLens.Field.field @"maybe'requestCancelNexusOperation"
+maybe'respondToQuery ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'respondToQuery" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'respondToQuery
+  = Data.ProtoLens.Field.field @"maybe'respondToQuery"
+maybe'response ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'response" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'response = Data.ProtoLens.Field.field @"maybe'response"
+maybe'result ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'result" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'result = Data.ProtoLens.Field.field @"maybe'result"
+maybe'retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'retryPolicy = Data.ProtoLens.Field.field @"maybe'retryPolicy"
+maybe'scheduleActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleActivity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleActivity
+  = Data.ProtoLens.Field.field @"maybe'scheduleActivity"
+maybe'scheduleLocalActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleLocalActivity" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleLocalActivity
+  = Data.ProtoLens.Field.field @"maybe'scheduleLocalActivity"
+maybe'scheduleNexusOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleNexusOperation" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleNexusOperation
+  = Data.ProtoLens.Field.field @"maybe'scheduleNexusOperation"
+maybe'scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToCloseTimeout"
+maybe'scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"maybe'scheduleToStartTimeout"
+maybe'setPatchMarker ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'setPatchMarker" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'setPatchMarker
+  = Data.ProtoLens.Field.field @"maybe'setPatchMarker"
+maybe'signalExternalWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'signalExternalWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'signalExternalWorkflowExecution
+  = Data.ProtoLens.Field.field
+      @"maybe'signalExternalWorkflowExecution"
+maybe'startChildWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startChildWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startChildWorkflowExecution
+  = Data.ProtoLens.Field.field @"maybe'startChildWorkflowExecution"
+maybe'startTimer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startTimer" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startTimer = Data.ProtoLens.Field.field @"maybe'startTimer"
+maybe'startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToCloseTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToCloseTimeout"
+maybe'startToFireTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'startToFireTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'startToFireTimeout
+  = Data.ProtoLens.Field.field @"maybe'startToFireTimeout"
+maybe'succeeded ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'succeeded" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'succeeded = Data.ProtoLens.Field.field @"maybe'succeeded"
+maybe'target ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'target" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'target = Data.ProtoLens.Field.field @"maybe'target"
+maybe'updateResponse ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'updateResponse" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'updateResponse
+  = Data.ProtoLens.Field.field @"maybe'updateResponse"
+maybe'upsertWorkflowSearchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'upsertWorkflowSearchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'upsertWorkflowSearchAttributes
+  = Data.ProtoLens.Field.field
+      @"maybe'upsertWorkflowSearchAttributes"
+maybe'upsertedMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'upsertedMemo" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'upsertedMemo
+  = Data.ProtoLens.Field.field @"maybe'upsertedMemo"
+maybe'userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'userMetadata
+  = Data.ProtoLens.Field.field @"maybe'userMetadata"
+maybe'value ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'value" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'value = Data.ProtoLens.Field.field @"maybe'value"
+maybe'variant ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'variant" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'variant = Data.ProtoLens.Field.field @"maybe'variant"
+maybe'workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecution
+  = Data.ProtoLens.Field.field @"maybe'workflowExecution"
+maybe'workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowExecutionTimeout"
+maybe'workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowRunTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowRunTimeout"
+maybe'workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"maybe'workflowTaskTimeout"
+memo ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "memo" a) =>
+  Lens.Family2.LensLike' f s a
+memo = Data.ProtoLens.Field.field @"memo"
+modifyWorkflowProperties ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "modifyWorkflowProperties" a) =>
+  Lens.Family2.LensLike' f s a
+modifyWorkflowProperties
+  = Data.ProtoLens.Field.field @"modifyWorkflowProperties"
+namespace ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "namespace" a) =>
+  Lens.Family2.LensLike' f s a
+namespace = Data.ProtoLens.Field.field @"namespace"
+nexusHeader ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "nexusHeader" a) =>
+  Lens.Family2.LensLike' f s a
+nexusHeader = Data.ProtoLens.Field.field @"nexusHeader"
+operation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "operation" a) =>
+  Lens.Family2.LensLike' f s a
+operation = Data.ProtoLens.Field.field @"operation"
+originalScheduleTime ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "originalScheduleTime" a) =>
+  Lens.Family2.LensLike' f s a
+originalScheduleTime
+  = Data.ProtoLens.Field.field @"originalScheduleTime"
+parentClosePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "parentClosePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+parentClosePolicy = Data.ProtoLens.Field.field @"parentClosePolicy"
+patchId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "patchId" a) =>
+  Lens.Family2.LensLike' f s a
+patchId = Data.ProtoLens.Field.field @"patchId"
+priority ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "priority" a) =>
+  Lens.Family2.LensLike' f s a
+priority = Data.ProtoLens.Field.field @"priority"
+protocolInstanceId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "protocolInstanceId" a) =>
+  Lens.Family2.LensLike' f s a
+protocolInstanceId
+  = Data.ProtoLens.Field.field @"protocolInstanceId"
+queryId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "queryId" a) =>
+  Lens.Family2.LensLike' f s a
+queryId = Data.ProtoLens.Field.field @"queryId"
+reason ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "reason" a) =>
+  Lens.Family2.LensLike' f s a
+reason = Data.ProtoLens.Field.field @"reason"
+rejected ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "rejected" a) =>
+  Lens.Family2.LensLike' f s a
+rejected = Data.ProtoLens.Field.field @"rejected"
+requestCancelActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelActivity" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelActivity
+  = Data.ProtoLens.Field.field @"requestCancelActivity"
+requestCancelExternalWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelExternalWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelExternalWorkflowExecution
+  = Data.ProtoLens.Field.field
+      @"requestCancelExternalWorkflowExecution"
+requestCancelLocalActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelLocalActivity" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelLocalActivity
+  = Data.ProtoLens.Field.field @"requestCancelLocalActivity"
+requestCancelNexusOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "requestCancelNexusOperation" a) =>
+  Lens.Family2.LensLike' f s a
+requestCancelNexusOperation
+  = Data.ProtoLens.Field.field @"requestCancelNexusOperation"
+respondToQuery ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "respondToQuery" a) =>
+  Lens.Family2.LensLike' f s a
+respondToQuery = Data.ProtoLens.Field.field @"respondToQuery"
+response ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "response" a) =>
+  Lens.Family2.LensLike' f s a
+response = Data.ProtoLens.Field.field @"response"
+result ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "result" a) =>
+  Lens.Family2.LensLike' f s a
+result = Data.ProtoLens.Field.field @"result"
+retryPolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "retryPolicy" a) =>
+  Lens.Family2.LensLike' f s a
+retryPolicy = Data.ProtoLens.Field.field @"retryPolicy"
+scheduleActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleActivity" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleActivity = Data.ProtoLens.Field.field @"scheduleActivity"
+scheduleLocalActivity ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleLocalActivity" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleLocalActivity
+  = Data.ProtoLens.Field.field @"scheduleLocalActivity"
+scheduleNexusOperation ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleNexusOperation" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleNexusOperation
+  = Data.ProtoLens.Field.field @"scheduleNexusOperation"
+scheduleToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToCloseTimeout
+  = Data.ProtoLens.Field.field @"scheduleToCloseTimeout"
+scheduleToStartTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "scheduleToStartTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+scheduleToStartTimeout
+  = Data.ProtoLens.Field.field @"scheduleToStartTimeout"
+searchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "searchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+searchAttributes = Data.ProtoLens.Field.field @"searchAttributes"
+seq ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "seq" a) =>
+  Lens.Family2.LensLike' f s a
+seq = Data.ProtoLens.Field.field @"seq"
+service ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "service" a) =>
+  Lens.Family2.LensLike' f s a
+service = Data.ProtoLens.Field.field @"service"
+setPatchMarker ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "setPatchMarker" a) =>
+  Lens.Family2.LensLike' f s a
+setPatchMarker = Data.ProtoLens.Field.field @"setPatchMarker"
+signalExternalWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalExternalWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+signalExternalWorkflowExecution
+  = Data.ProtoLens.Field.field @"signalExternalWorkflowExecution"
+signalName ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "signalName" a) =>
+  Lens.Family2.LensLike' f s a
+signalName = Data.ProtoLens.Field.field @"signalName"
+startChildWorkflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startChildWorkflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+startChildWorkflowExecution
+  = Data.ProtoLens.Field.field @"startChildWorkflowExecution"
+startTimer ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startTimer" a) =>
+  Lens.Family2.LensLike' f s a
+startTimer = Data.ProtoLens.Field.field @"startTimer"
+startToCloseTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToCloseTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToCloseTimeout
+  = Data.ProtoLens.Field.field @"startToCloseTimeout"
+startToFireTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "startToFireTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+startToFireTimeout
+  = Data.ProtoLens.Field.field @"startToFireTimeout"
+succeeded ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "succeeded" a) =>
+  Lens.Family2.LensLike' f s a
+succeeded = Data.ProtoLens.Field.field @"succeeded"
+taskQueue ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "taskQueue" a) =>
+  Lens.Family2.LensLike' f s a
+taskQueue = Data.ProtoLens.Field.field @"taskQueue"
+updateResponse ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "updateResponse" a) =>
+  Lens.Family2.LensLike' f s a
+updateResponse = Data.ProtoLens.Field.field @"updateResponse"
+upsertWorkflowSearchAttributes ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertWorkflowSearchAttributes" a) =>
+  Lens.Family2.LensLike' f s a
+upsertWorkflowSearchAttributes
+  = Data.ProtoLens.Field.field @"upsertWorkflowSearchAttributes"
+upsertedMemo ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "upsertedMemo" a) =>
+  Lens.Family2.LensLike' f s a
+upsertedMemo = Data.ProtoLens.Field.field @"upsertedMemo"
+userMetadata ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "userMetadata" a) =>
+  Lens.Family2.LensLike' f s a
+userMetadata = Data.ProtoLens.Field.field @"userMetadata"
+value ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "value" a) =>
+  Lens.Family2.LensLike' f s a
+value = Data.ProtoLens.Field.field @"value"
+vec'args ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'args" a) =>
+  Lens.Family2.LensLike' f s a
+vec'args = Data.ProtoLens.Field.field @"vec'args"
+vec'arguments ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'arguments" a) =>
+  Lens.Family2.LensLike' f s a
+vec'arguments = Data.ProtoLens.Field.field @"vec'arguments"
+vec'input ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'input" a) =>
+  Lens.Family2.LensLike' f s a
+vec'input = Data.ProtoLens.Field.field @"vec'input"
+versioningIntent ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningIntent" a) =>
+  Lens.Family2.LensLike' f s a
+versioningIntent = Data.ProtoLens.Field.field @"versioningIntent"
+workflowExecution ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecution" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecution = Data.ProtoLens.Field.field @"workflowExecution"
+workflowExecutionTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowExecutionTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowExecutionTimeout
+  = Data.ProtoLens.Field.field @"workflowExecutionTimeout"
+workflowId ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowId" a) =>
+  Lens.Family2.LensLike' f s a
+workflowId = Data.ProtoLens.Field.field @"workflowId"
+workflowIdReusePolicy ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowIdReusePolicy" a) =>
+  Lens.Family2.LensLike' f s a
+workflowIdReusePolicy
+  = Data.ProtoLens.Field.field @"workflowIdReusePolicy"
+workflowRunTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowRunTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowRunTimeout
+  = Data.ProtoLens.Field.field @"workflowRunTimeout"
+workflowTaskTimeout ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowTaskTimeout" a) =>
+  Lens.Family2.LensLike' f s a
+workflowTaskTimeout
+  = Data.ProtoLens.Field.field @"workflowTaskTimeout"
+workflowType ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "workflowType" a) =>
+  Lens.Family2.LensLike' f s a
+workflowType = Data.ProtoLens.Field.field @"workflowType"
diff --git a/src/Proto/Temporal/Sdk/Core/WorkflowCompletion/WorkflowCompletion.hs b/src/Proto/Temporal/Sdk/Core/WorkflowCompletion/WorkflowCompletion.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/WorkflowCompletion/WorkflowCompletion.hs
@@ -0,0 +1,902 @@
+{- This file was auto-generated from temporal/sdk/core/workflow_completion/workflow_completion.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion (
+        Failure(), Success(), WorkflowActivationCompletion(),
+        WorkflowActivationCompletion'Status(..),
+        _WorkflowActivationCompletion'Successful,
+        _WorkflowActivationCompletion'Failed
+    ) where
+import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+import qualified Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.failure' @:: Lens' Failure Proto.Temporal.Api.Failure.V1.Message.Failure@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.maybe'failure' @:: Lens' Failure (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.forceCause' @:: Lens' Failure Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause@ -}
+data Failure
+  = Failure'_constructor {_Failure'failure :: !(Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure),
+                          _Failure'forceCause :: !Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause,
+                          _Failure'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Failure where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Failure "failure" Proto.Temporal.Api.Failure.V1.Message.Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failure (\ x__ y__ -> x__ {_Failure'failure = y__}))
+        (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage)
+instance Data.ProtoLens.Field.HasField Failure "maybe'failure" (Prelude.Maybe Proto.Temporal.Api.Failure.V1.Message.Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'failure (\ x__ y__ -> x__ {_Failure'failure = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Failure "forceCause" Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Failure'forceCause (\ x__ y__ -> x__ {_Failure'forceCause = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Failure where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_completion.Failure"
+  packedMessageDescriptor _
+    = "\n\
+      \\aFailure\DC2:\n\
+      \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2O\n\
+      \\vforce_cause\CAN\STX \SOH(\SO2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\n\
+      \forceCause"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        failure__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failure"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Failure.V1.Message.Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failure")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+        forceCause__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "force_cause"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.FailedCause.WorkflowTaskFailedCause)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"forceCause")) ::
+              Data.ProtoLens.FieldDescriptor Failure
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, failure__field_descriptor),
+           (Data.ProtoLens.Tag 2, forceCause__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Failure'_unknownFields
+        (\ x__ y__ -> x__ {_Failure'_unknownFields = y__})
+  defMessage
+    = Failure'_constructor
+        {_Failure'failure = Prelude.Nothing,
+         _Failure'forceCause = Data.ProtoLens.fieldDefault,
+         _Failure'_unknownFields = []}
+  parseMessage
+    = let
+        loop :: Failure -> Data.ProtoLens.Encoding.Bytes.Parser Failure
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failure"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failure") y x)
+                        16
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "force_cause"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"forceCause") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "Failure"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (case
+                  Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'failure") _x
+              of
+                Prelude.Nothing -> Data.Monoid.mempty
+                (Prelude.Just _v)
+                  -> (Data.Monoid.<>)
+                       (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                       ((Prelude..)
+                          (\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                          Data.ProtoLens.encodeMessage _v))
+             ((Data.Monoid.<>)
+                (let
+                   _v
+                     = Lens.Family2.view (Data.ProtoLens.Field.field @"forceCause") _x
+                 in
+                   if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 16)
+                         ((Prelude..)
+                            ((Prelude..)
+                               Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                            Prelude.fromEnum _v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData Failure where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Failure'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Failure'failure x__)
+                (Control.DeepSeq.deepseq (_Failure'forceCause x__) ()))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.commands' @:: Lens' Success [Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.vec'commands' @:: Lens' Success (Data.Vector.Vector Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.usedInternalFlags' @:: Lens' Success [Data.Word.Word32]@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.vec'usedInternalFlags' @:: Lens' Success (Data.Vector.Unboxed.Vector Data.Word.Word32)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.versioningBehavior' @:: Lens' Success Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior@ -}
+data Success
+  = Success'_constructor {_Success'commands :: !(Data.Vector.Vector Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand),
+                          _Success'usedInternalFlags :: !(Data.Vector.Unboxed.Vector Data.Word.Word32),
+                          _Success'versioningBehavior :: !Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior,
+                          _Success'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show Success where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+instance Data.ProtoLens.Field.HasField Success "commands" [Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'commands (\ x__ y__ -> x__ {_Success'commands = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Success "vec'commands" (Data.Vector.Vector Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'commands (\ x__ y__ -> x__ {_Success'commands = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Success "usedInternalFlags" [Data.Word.Word32] where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'usedInternalFlags
+           (\ x__ y__ -> x__ {_Success'usedInternalFlags = y__}))
+        (Lens.Family2.Unchecked.lens
+           Data.Vector.Generic.toList
+           (\ _ y__ -> Data.Vector.Generic.fromList y__))
+instance Data.ProtoLens.Field.HasField Success "vec'usedInternalFlags" (Data.Vector.Unboxed.Vector Data.Word.Word32) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'usedInternalFlags
+           (\ x__ y__ -> x__ {_Success'usedInternalFlags = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField Success "versioningBehavior" Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _Success'versioningBehavior
+           (\ x__ y__ -> x__ {_Success'versioningBehavior = y__}))
+        Prelude.id
+instance Data.ProtoLens.Message Success where
+  messageName _
+    = Data.Text.pack "coresdk.workflow_completion.Success"
+  packedMessageDescriptor _
+    = "\n\
+      \\aSuccess\DC2F\n\
+      \\bcommands\CAN\SOH \ETX(\v2*.coresdk.workflow_commands.WorkflowCommandR\bcommands\DC2.\n\
+      \\DC3used_internal_flags\CAN\ACK \ETX(\rR\DC1usedInternalFlags\DC2Z\n\
+      \\DC3versioning_behavior\CAN\a \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\DC2versioningBehavior"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        commands__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "commands"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Unpacked
+                 (Data.ProtoLens.Field.field @"commands")) ::
+              Data.ProtoLens.FieldDescriptor Success
+        usedInternalFlags__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "used_internal_flags"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.UInt32Field ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Word.Word32)
+              (Data.ProtoLens.RepeatedField
+                 Data.ProtoLens.Packed
+                 (Data.ProtoLens.Field.field @"usedInternalFlags")) ::
+              Data.ProtoLens.FieldDescriptor Success
+        versioningBehavior__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "versioning_behavior"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.EnumField ::
+                 Data.ProtoLens.FieldTypeDescriptor Proto.Temporal.Api.Enums.V1.Workflow.VersioningBehavior)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional
+                 (Data.ProtoLens.Field.field @"versioningBehavior")) ::
+              Data.ProtoLens.FieldDescriptor Success
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, commands__field_descriptor),
+           (Data.ProtoLens.Tag 6, usedInternalFlags__field_descriptor),
+           (Data.ProtoLens.Tag 7, versioningBehavior__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _Success'_unknownFields
+        (\ x__ y__ -> x__ {_Success'_unknownFields = y__})
+  defMessage
+    = Success'_constructor
+        {_Success'commands = Data.Vector.Generic.empty,
+         _Success'usedInternalFlags = Data.Vector.Generic.empty,
+         _Success'versioningBehavior = Data.ProtoLens.fieldDefault,
+         _Success'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          Success
+          -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Vector Data.ProtoLens.Encoding.Growing.RealWorld Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands.WorkflowCommand
+             -> Data.ProtoLens.Encoding.Growing.Growing Data.Vector.Unboxed.Vector Data.ProtoLens.Encoding.Growing.RealWorld Data.Word.Word32
+                -> Data.ProtoLens.Encoding.Bytes.Parser Success
+        loop x mutable'commands mutable'usedInternalFlags
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do frozen'commands <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                           (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                              mutable'commands)
+                      frozen'usedInternalFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                    (Data.ProtoLens.Encoding.Growing.unsafeFreeze
+                                                       mutable'usedInternalFlags)
+                      (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t)
+                           (Lens.Family2.set
+                              (Data.ProtoLens.Field.field @"vec'commands") frozen'commands
+                              (Lens.Family2.set
+                                 (Data.ProtoLens.Field.field @"vec'usedInternalFlags")
+                                 frozen'usedInternalFlags x)))
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                            Data.ProtoLens.Encoding.Bytes.isolate
+                                              (Prelude.fromIntegral len)
+                                              Data.ProtoLens.parseMessage)
+                                        "commands"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append mutable'commands y)
+                                loop x v mutable'usedInternalFlags
+                        48
+                          -> do !y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                        (Prelude.fmap
+                                           Prelude.fromIntegral
+                                           Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                        "used_internal_flags"
+                                v <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                       (Data.ProtoLens.Encoding.Growing.append
+                                          mutable'usedInternalFlags y)
+                                loop x mutable'commands v
+                        50
+                          -> do y <- do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                        Data.ProtoLens.Encoding.Bytes.isolate
+                                          (Prelude.fromIntegral len)
+                                          ((let
+                                              ploop qs
+                                                = do packedEnd <- Data.ProtoLens.Encoding.Bytes.atEnd
+                                                     if packedEnd then
+                                                         Prelude.return qs
+                                                     else
+                                                         do !q <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                                                    (Prelude.fmap
+                                                                       Prelude.fromIntegral
+                                                                       Data.ProtoLens.Encoding.Bytes.getVarInt)
+                                                                    "used_internal_flags"
+                                                            qs' <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                                                     (Data.ProtoLens.Encoding.Growing.append
+                                                                        qs q)
+                                                            ploop qs'
+                                            in ploop)
+                                             mutable'usedInternalFlags)
+                                loop x mutable'commands y
+                        56
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (Prelude.fmap
+                                          Prelude.toEnum
+                                          (Prelude.fmap
+                                             Prelude.fromIntegral
+                                             Data.ProtoLens.Encoding.Bytes.getVarInt))
+                                       "versioning_behavior"
+                                loop
+                                  (Lens.Family2.set
+                                     (Data.ProtoLens.Field.field @"versioningBehavior") y x)
+                                  mutable'commands mutable'usedInternalFlags
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+                                  mutable'commands mutable'usedInternalFlags
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do mutable'commands <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                    Data.ProtoLens.Encoding.Growing.new
+              mutable'usedInternalFlags <- Data.ProtoLens.Encoding.Parser.Unsafe.unsafeLiftIO
+                                             Data.ProtoLens.Encoding.Growing.new
+              loop
+                Data.ProtoLens.defMessage mutable'commands
+                mutable'usedInternalFlags)
+          "Success"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                (\ _v
+                   -> (Data.Monoid.<>)
+                        (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                        ((Prelude..)
+                           (\ bs
+                              -> (Data.Monoid.<>)
+                                   (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                      (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                   (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                           Data.ProtoLens.encodeMessage _v))
+                (Lens.Family2.view
+                   (Data.ProtoLens.Field.field @"vec'commands") _x))
+             ((Data.Monoid.<>)
+                (let
+                   p = Lens.Family2.view
+                         (Data.ProtoLens.Field.field @"vec'usedInternalFlags") _x
+                 in
+                   if Data.Vector.Generic.null p then
+                       Data.Monoid.mempty
+                   else
+                       (Data.Monoid.<>)
+                         (Data.ProtoLens.Encoding.Bytes.putVarInt 50)
+                         ((\ bs
+                             -> (Data.Monoid.<>)
+                                  (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                     (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                  (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                            (Data.ProtoLens.Encoding.Bytes.runBuilder
+                               (Data.ProtoLens.Encoding.Bytes.foldMapBuilder
+                                  ((Prelude..)
+                                     Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                                  p))))
+                ((Data.Monoid.<>)
+                   (let
+                      _v
+                        = Lens.Family2.view
+                            (Data.ProtoLens.Field.field @"versioningBehavior") _x
+                    in
+                      if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                          Data.Monoid.mempty
+                      else
+                          (Data.Monoid.<>)
+                            (Data.ProtoLens.Encoding.Bytes.putVarInt 56)
+                            ((Prelude..)
+                               ((Prelude..)
+                                  Data.ProtoLens.Encoding.Bytes.putVarInt Prelude.fromIntegral)
+                               Prelude.fromEnum _v))
+                   (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                      (Lens.Family2.view Data.ProtoLens.unknownFields _x))))
+instance Control.DeepSeq.NFData Success where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_Success'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_Success'commands x__)
+                (Control.DeepSeq.deepseq
+                   (_Success'usedInternalFlags x__)
+                   (Control.DeepSeq.deepseq (_Success'versioningBehavior x__) ())))
+{- | Fields :
+     
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.runId' @:: Lens' WorkflowActivationCompletion Data.Text.Text@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.maybe'status' @:: Lens' WorkflowActivationCompletion (Prelude.Maybe WorkflowActivationCompletion'Status)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.maybe'successful' @:: Lens' WorkflowActivationCompletion (Prelude.Maybe Success)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.successful' @:: Lens' WorkflowActivationCompletion Success@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.maybe'failed' @:: Lens' WorkflowActivationCompletion (Prelude.Maybe Failure)@
+         * 'Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields.failed' @:: Lens' WorkflowActivationCompletion Failure@ -}
+data WorkflowActivationCompletion
+  = WorkflowActivationCompletion'_constructor {_WorkflowActivationCompletion'runId :: !Data.Text.Text,
+                                               _WorkflowActivationCompletion'status :: !(Prelude.Maybe WorkflowActivationCompletion'Status),
+                                               _WorkflowActivationCompletion'_unknownFields :: !Data.ProtoLens.FieldSet}
+  deriving stock (Prelude.Eq, Prelude.Ord)
+instance Prelude.Show WorkflowActivationCompletion where
+  showsPrec _ __x __s
+    = Prelude.showChar
+        '{'
+        (Prelude.showString
+           (Data.ProtoLens.showMessageShort __x) (Prelude.showChar '}' __s))
+data WorkflowActivationCompletion'Status
+  = WorkflowActivationCompletion'Successful !Success |
+    WorkflowActivationCompletion'Failed !Failure
+  deriving stock (Prelude.Show, Prelude.Eq, Prelude.Ord)
+instance Data.ProtoLens.Field.HasField WorkflowActivationCompletion "runId" Data.Text.Text where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationCompletion'runId
+           (\ x__ y__ -> x__ {_WorkflowActivationCompletion'runId = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivationCompletion "maybe'status" (Prelude.Maybe WorkflowActivationCompletion'Status) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationCompletion'status
+           (\ x__ y__ -> x__ {_WorkflowActivationCompletion'status = y__}))
+        Prelude.id
+instance Data.ProtoLens.Field.HasField WorkflowActivationCompletion "maybe'successful" (Prelude.Maybe Success) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationCompletion'status
+           (\ x__ y__ -> x__ {_WorkflowActivationCompletion'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationCompletion'Successful x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__
+              -> Prelude.fmap WorkflowActivationCompletion'Successful y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationCompletion "successful" Success where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationCompletion'status
+           (\ x__ y__ -> x__ {_WorkflowActivationCompletion'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationCompletion'Successful x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__
+                 -> Prelude.fmap WorkflowActivationCompletion'Successful y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Field.HasField WorkflowActivationCompletion "maybe'failed" (Prelude.Maybe Failure) where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationCompletion'status
+           (\ x__ y__ -> x__ {_WorkflowActivationCompletion'status = y__}))
+        (Lens.Family2.Unchecked.lens
+           (\ x__
+              -> case x__ of
+                   (Prelude.Just (WorkflowActivationCompletion'Failed x__val))
+                     -> Prelude.Just x__val
+                   _otherwise -> Prelude.Nothing)
+           (\ _ y__ -> Prelude.fmap WorkflowActivationCompletion'Failed y__))
+instance Data.ProtoLens.Field.HasField WorkflowActivationCompletion "failed" Failure where
+  fieldOf _
+    = (Prelude..)
+        (Lens.Family2.Unchecked.lens
+           _WorkflowActivationCompletion'status
+           (\ x__ y__ -> x__ {_WorkflowActivationCompletion'status = y__}))
+        ((Prelude..)
+           (Lens.Family2.Unchecked.lens
+              (\ x__
+                 -> case x__ of
+                      (Prelude.Just (WorkflowActivationCompletion'Failed x__val))
+                        -> Prelude.Just x__val
+                      _otherwise -> Prelude.Nothing)
+              (\ _ y__ -> Prelude.fmap WorkflowActivationCompletion'Failed y__))
+           (Data.ProtoLens.maybeLens Data.ProtoLens.defMessage))
+instance Data.ProtoLens.Message WorkflowActivationCompletion where
+  messageName _
+    = Data.Text.pack
+        "coresdk.workflow_completion.WorkflowActivationCompletion"
+  packedMessageDescriptor _
+    = "\n\
+      \\FSWorkflowActivationCompletion\DC2\NAK\n\
+      \\ACKrun_id\CAN\SOH \SOH(\tR\ENQrunId\DC2F\n\
+      \\n\
+      \successful\CAN\STX \SOH(\v2$.coresdk.workflow_completion.SuccessH\NULR\n\
+      \successful\DC2>\n\
+      \\ACKfailed\CAN\ETX \SOH(\v2$.coresdk.workflow_completion.FailureH\NULR\ACKfailedB\b\n\
+      \\ACKstatus"
+  packedFileDescriptor _ = packedFileDescriptor
+  fieldsByTag
+    = let
+        runId__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "run_id"
+              (Data.ProtoLens.ScalarField Data.ProtoLens.StringField ::
+                 Data.ProtoLens.FieldTypeDescriptor Data.Text.Text)
+              (Data.ProtoLens.PlainField
+                 Data.ProtoLens.Optional (Data.ProtoLens.Field.field @"runId")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationCompletion
+        successful__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "successful"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Success)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'successful")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationCompletion
+        failed__field_descriptor
+          = Data.ProtoLens.FieldDescriptor
+              "failed"
+              (Data.ProtoLens.MessageField Data.ProtoLens.MessageType ::
+                 Data.ProtoLens.FieldTypeDescriptor Failure)
+              (Data.ProtoLens.OptionalField
+                 (Data.ProtoLens.Field.field @"maybe'failed")) ::
+              Data.ProtoLens.FieldDescriptor WorkflowActivationCompletion
+      in
+        Data.Map.fromList
+          [(Data.ProtoLens.Tag 1, runId__field_descriptor),
+           (Data.ProtoLens.Tag 2, successful__field_descriptor),
+           (Data.ProtoLens.Tag 3, failed__field_descriptor)]
+  unknownFields
+    = Lens.Family2.Unchecked.lens
+        _WorkflowActivationCompletion'_unknownFields
+        (\ x__ y__
+           -> x__ {_WorkflowActivationCompletion'_unknownFields = y__})
+  defMessage
+    = WorkflowActivationCompletion'_constructor
+        {_WorkflowActivationCompletion'runId = Data.ProtoLens.fieldDefault,
+         _WorkflowActivationCompletion'status = Prelude.Nothing,
+         _WorkflowActivationCompletion'_unknownFields = []}
+  parseMessage
+    = let
+        loop ::
+          WorkflowActivationCompletion
+          -> Data.ProtoLens.Encoding.Bytes.Parser WorkflowActivationCompletion
+        loop x
+          = do end <- Data.ProtoLens.Encoding.Bytes.atEnd
+               if end then
+                   do (let missing = []
+                       in
+                         if Prelude.null missing then
+                             Prelude.return ()
+                         else
+                             Prelude.fail
+                               ((Prelude.++)
+                                  "Missing required fields: "
+                                  (Prelude.show (missing :: [Prelude.String]))))
+                      Prelude.return
+                        (Lens.Family2.over
+                           Data.ProtoLens.unknownFields (\ !t -> Prelude.reverse t) x)
+               else
+                   do tag <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                      case tag of
+                        10
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.getText
+                                             (Prelude.fromIntegral len))
+                                       "run_id"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"runId") y x)
+                        18
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "successful"
+                                loop
+                                  (Lens.Family2.set (Data.ProtoLens.Field.field @"successful") y x)
+                        26
+                          -> do y <- (Data.ProtoLens.Encoding.Bytes.<?>)
+                                       (do len <- Data.ProtoLens.Encoding.Bytes.getVarInt
+                                           Data.ProtoLens.Encoding.Bytes.isolate
+                                             (Prelude.fromIntegral len) Data.ProtoLens.parseMessage)
+                                       "failed"
+                                loop (Lens.Family2.set (Data.ProtoLens.Field.field @"failed") y x)
+                        wire
+                          -> do !y <- Data.ProtoLens.Encoding.Wire.parseTaggedValueFromWire
+                                        wire
+                                loop
+                                  (Lens.Family2.over
+                                     Data.ProtoLens.unknownFields (\ !t -> (:) y t) x)
+      in
+        (Data.ProtoLens.Encoding.Bytes.<?>)
+          (do loop Data.ProtoLens.defMessage) "WorkflowActivationCompletion"
+  buildMessage
+    = \ _x
+        -> (Data.Monoid.<>)
+             (let
+                _v = Lens.Family2.view (Data.ProtoLens.Field.field @"runId") _x
+              in
+                if (Prelude.==) _v Data.ProtoLens.fieldDefault then
+                    Data.Monoid.mempty
+                else
+                    (Data.Monoid.<>)
+                      (Data.ProtoLens.Encoding.Bytes.putVarInt 10)
+                      ((Prelude..)
+                         (\ bs
+                            -> (Data.Monoid.<>)
+                                 (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                    (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                 (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                         Data.Text.Encoding.encodeUtf8 _v))
+             ((Data.Monoid.<>)
+                (case
+                     Lens.Family2.view (Data.ProtoLens.Field.field @"maybe'status") _x
+                 of
+                   Prelude.Nothing -> Data.Monoid.mempty
+                   (Prelude.Just (WorkflowActivationCompletion'Successful v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 18)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v)
+                   (Prelude.Just (WorkflowActivationCompletion'Failed v))
+                     -> (Data.Monoid.<>)
+                          (Data.ProtoLens.Encoding.Bytes.putVarInt 26)
+                          ((Prelude..)
+                             (\ bs
+                                -> (Data.Monoid.<>)
+                                     (Data.ProtoLens.Encoding.Bytes.putVarInt
+                                        (Prelude.fromIntegral (Data.ByteString.length bs)))
+                                     (Data.ProtoLens.Encoding.Bytes.putBytes bs))
+                             Data.ProtoLens.encodeMessage v))
+                (Data.ProtoLens.Encoding.Wire.buildFieldSet
+                   (Lens.Family2.view Data.ProtoLens.unknownFields _x)))
+instance Control.DeepSeq.NFData WorkflowActivationCompletion where
+  rnf
+    = \ x__
+        -> Control.DeepSeq.deepseq
+             (_WorkflowActivationCompletion'_unknownFields x__)
+             (Control.DeepSeq.deepseq
+                (_WorkflowActivationCompletion'runId x__)
+                (Control.DeepSeq.deepseq
+                   (_WorkflowActivationCompletion'status x__) ()))
+instance Control.DeepSeq.NFData WorkflowActivationCompletion'Status where
+  rnf (WorkflowActivationCompletion'Successful x__)
+    = Control.DeepSeq.rnf x__
+  rnf (WorkflowActivationCompletion'Failed x__)
+    = Control.DeepSeq.rnf x__
+_WorkflowActivationCompletion'Successful ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationCompletion'Status Success
+_WorkflowActivationCompletion'Successful
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationCompletion'Successful
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationCompletion'Successful p__val)
+                -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+_WorkflowActivationCompletion'Failed ::
+  Data.ProtoLens.Prism.Prism' WorkflowActivationCompletion'Status Failure
+_WorkflowActivationCompletion'Failed
+  = Data.ProtoLens.Prism.prism'
+      WorkflowActivationCompletion'Failed
+      (\ p__
+         -> case p__ of
+              (WorkflowActivationCompletion'Failed p__val) -> Prelude.Just p__val
+              _otherwise -> Prelude.Nothing)
+packedFileDescriptor :: Data.ByteString.ByteString
+packedFileDescriptor
+  = "\n\
+    \?temporal/sdk/core/workflow_completion/workflow_completion.proto\DC2\ESCcoresdk.workflow_completion\SUB%temporal/api/failure/v1/message.proto\SUB(temporal/api/enums/v1/failed_cause.proto\SUB$temporal/api/enums/v1/workflow.proto\SUB%temporal/sdk/core/common/common.proto\SUB;temporal/sdk/core/workflow_commands/workflow_commands.proto\"\199\SOH\n\
+    \\FSWorkflowActivationCompletion\DC2\NAK\n\
+    \\ACKrun_id\CAN\SOH \SOH(\tR\ENQrunId\DC2F\n\
+    \\n\
+    \successful\CAN\STX \SOH(\v2$.coresdk.workflow_completion.SuccessH\NULR\n\
+    \successful\DC2>\n\
+    \\ACKfailed\CAN\ETX \SOH(\v2$.coresdk.workflow_completion.FailureH\NULR\ACKfailedB\b\n\
+    \\ACKstatus\"\221\SOH\n\
+    \\aSuccess\DC2F\n\
+    \\bcommands\CAN\SOH \ETX(\v2*.coresdk.workflow_commands.WorkflowCommandR\bcommands\DC2.\n\
+    \\DC3used_internal_flags\CAN\ACK \ETX(\rR\DC1usedInternalFlags\DC2Z\n\
+    \\DC3versioning_behavior\CAN\a \SOH(\SO2).temporal.api.enums.v1.VersioningBehaviorR\DC2versioningBehavior\"\150\SOH\n\
+    \\aFailure\DC2:\n\
+    \\afailure\CAN\SOH \SOH(\v2 .temporal.api.failure.v1.FailureR\afailure\DC2O\n\
+    \\vforce_cause\CAN\STX \SOH(\SO2..temporal.api.enums.v1.WorkflowTaskFailedCauseR\n\
+    \forceCauseB8\234\STX5Temporalio::Internal::Bridge::Api::WorkflowCompletionJ\163\t\n\
+    \\ACK\DC2\EOT\NUL\NUL$\SOH\n\
+    \\b\n\
+    \\SOH\f\DC2\ETX\NUL\NUL\DC2\n\
+    \\b\n\
+    \\SOH\STX\DC2\ETX\STX\NUL$\n\
+    \\b\n\
+    \\SOH\b\DC2\ETX\ETX\NULN\n\
+    \\t\n\
+    \\STX\b-\DC2\ETX\ETX\NULN\n\
+    \\t\n\
+    \\STX\ETX\NUL\DC2\ETX\ENQ\NUL/\n\
+    \\t\n\
+    \\STX\ETX\SOH\DC2\ETX\ACK\NUL2\n\
+    \\t\n\
+    \\STX\ETX\STX\DC2\ETX\a\NUL.\n\
+    \\t\n\
+    \\STX\ETX\ETX\DC2\ETX\b\NUL/\n\
+    \\t\n\
+    \\STX\ETX\EOT\DC2\ETX\t\NULE\n\
+    \P\n\
+    \\STX\EOT\NUL\DC2\EOT\f\NUL\DC3\SOH\SUBD Result of a single workflow activation, reported from lang to core\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\NUL\SOH\DC2\ETX\f\b$\n\
+    \I\n\
+    \\EOT\EOT\NUL\STX\NUL\DC2\ETX\SO\EOT\SYN\SUB< The run id from the workflow activation you are completing\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ENQ\DC2\ETX\SO\EOT\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\SOH\DC2\ETX\SO\v\DC1\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\NUL\ETX\DC2\ETX\SO\DC4\NAK\n\
+    \\f\n\
+    \\EOT\EOT\NUL\b\NUL\DC2\EOT\SI\EOT\DC2\ENQ\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\b\NUL\SOH\DC2\ETX\SI\n\
+    \\DLE\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\SOH\DC2\ETX\DLE\b\US\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ACK\DC2\ETX\DLE\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\SOH\DC2\ETX\DLE\DLE\SUB\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\SOH\ETX\DC2\ETX\DLE\GS\RS\n\
+    \\v\n\
+    \\EOT\EOT\NUL\STX\STX\DC2\ETX\DC1\b\ESC\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ACK\DC2\ETX\DC1\b\SI\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\SOH\DC2\ETX\DC1\DLE\SYN\n\
+    \\f\n\
+    \\ENQ\EOT\NUL\STX\STX\ETX\DC2\ETX\DC1\EM\SUB\n\
+    \h\n\
+    \\STX\EOT\SOH\DC2\EOT\SYN\NUL\GS\SOH\SUB\\ Successful workflow activation with a list of commands generated by the workflow execution\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\SOH\SOH\DC2\ETX\SYN\b\SI\n\
+    \E\n\
+    \\EOT\EOT\SOH\STX\NUL\DC2\ETX\CAN\EOT<\SUB8 A list of commands to send back to the temporal server\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\EOT\DC2\ETX\CAN\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ACK\DC2\ETX\CAN\r.\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\SOH\DC2\ETX\CAN/7\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\NUL\ETX\DC2\ETX\CAN:;\n\
+    \^\n\
+    \\EOT\EOT\SOH\STX\SOH\DC2\ETX\SUB\EOT,\SUBQ Any internal flags which the lang SDK used in the processing of this activation\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\EOT\DC2\ETX\SUB\EOT\f\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ENQ\DC2\ETX\SUB\r\DC3\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\SOH\DC2\ETX\SUB\DC4'\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\SOH\ETX\DC2\ETX\SUB*+\n\
+    \G\n\
+    \\EOT\EOT\SOH\STX\STX\DC2\ETX\FS\EOTE\SUB: The versioning behavior this workflow is currently using\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ACK\DC2\ETX\FS\EOT,\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\SOH\DC2\ETX\FS-@\n\
+    \\f\n\
+    \\ENQ\EOT\SOH\STX\STX\ETX\DC2\ETX\FSCD\n\
+    \7\n\
+    \\STX\EOT\STX\DC2\EOT \NUL$\SOH\SUB+ Failure to activate or execute a workflow\n\
+    \\n\
+    \\n\
+    \\n\
+    \\ETX\EOT\STX\SOH\DC2\ETX \b\SI\n\
+    \\v\n\
+    \\EOT\EOT\STX\STX\NUL\DC2\ETX!\EOT0\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ACK\DC2\ETX!\EOT#\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\SOH\DC2\ETX!$+\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\NUL\ETX\DC2\ETX!./\n\
+    \6\n\
+    \\EOT\EOT\STX\STX\SOH\DC2\ETX#\EOTB\SUB) Forces overriding the WFT failure cause\n\
+    \\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ACK\DC2\ETX#\EOT1\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\SOH\DC2\ETX#2=\n\
+    \\f\n\
+    \\ENQ\EOT\STX\STX\SOH\ETX\DC2\ETX#@Ab\ACKproto3"
diff --git a/src/Proto/Temporal/Sdk/Core/WorkflowCompletion/WorkflowCompletion_Fields.hs b/src/Proto/Temporal/Sdk/Core/WorkflowCompletion/WorkflowCompletion_Fields.hs
new file mode 100644
--- /dev/null
+++ b/src/Proto/Temporal/Sdk/Core/WorkflowCompletion/WorkflowCompletion_Fields.hs
@@ -0,0 +1,117 @@
+{- This file was auto-generated from temporal/sdk/core/workflow_completion/workflow_completion.proto by the proto-lens-protoc program. -}
+{-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, DataKinds, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies#-}
+{-# OPTIONS_GHC -Wno-unused-imports#-}
+{-# OPTIONS_GHC -Wno-duplicate-exports#-}
+{-# OPTIONS_GHC -Wno-dodgy-exports#-}
+module Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields where
+import qualified Data.ProtoLens.Runtime.Prelude as Prelude
+import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
+import qualified Data.ProtoLens.Runtime.Data.Monoid as Data.Monoid
+import qualified Data.ProtoLens.Runtime.Data.Word as Data.Word
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens as Data.ProtoLens
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Bytes as Data.ProtoLens.Encoding.Bytes
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Growing as Data.ProtoLens.Encoding.Growing
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Parser.Unsafe as Data.ProtoLens.Encoding.Parser.Unsafe
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Encoding.Wire as Data.ProtoLens.Encoding.Wire
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Field as Data.ProtoLens.Field
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Message.Enum as Data.ProtoLens.Message.Enum
+import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Service.Types as Data.ProtoLens.Service.Types
+import qualified Data.ProtoLens.Runtime.Lens.Family2 as Lens.Family2
+import qualified Data.ProtoLens.Runtime.Lens.Family2.Unchecked as Lens.Family2.Unchecked
+import qualified Data.ProtoLens.Runtime.Data.Text as Data.Text
+import qualified Data.ProtoLens.Runtime.Data.Map as Data.Map
+import qualified Data.ProtoLens.Runtime.Data.ByteString as Data.ByteString
+import qualified Data.ProtoLens.Runtime.Data.ByteString.Char8 as Data.ByteString.Char8
+import qualified Data.ProtoLens.Runtime.Data.Text.Encoding as Data.Text.Encoding
+import qualified Data.ProtoLens.Runtime.Data.Vector as Data.Vector
+import qualified Data.ProtoLens.Runtime.Data.Vector.Generic as Data.Vector.Generic
+import qualified Data.ProtoLens.Runtime.Data.Vector.Unboxed as Data.Vector.Unboxed
+import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
+import qualified Proto.Temporal.Api.Enums.V1.FailedCause
+import qualified Proto.Temporal.Api.Enums.V1.Workflow
+import qualified Proto.Temporal.Api.Failure.V1.Message
+import qualified Proto.Temporal.Sdk.Core.Common.Common
+import qualified Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands
+commands ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "commands" a) =>
+  Lens.Family2.LensLike' f s a
+commands = Data.ProtoLens.Field.field @"commands"
+failed ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failed" a) =>
+  Lens.Family2.LensLike' f s a
+failed = Data.ProtoLens.Field.field @"failed"
+failure ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "failure" a) =>
+  Lens.Family2.LensLike' f s a
+failure = Data.ProtoLens.Field.field @"failure"
+forceCause ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "forceCause" a) =>
+  Lens.Family2.LensLike' f s a
+forceCause = Data.ProtoLens.Field.field @"forceCause"
+maybe'failed ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failed" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failed = Data.ProtoLens.Field.field @"maybe'failed"
+maybe'failure ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'failure" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'failure = Data.ProtoLens.Field.field @"maybe'failure"
+maybe'status ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'status" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'status = Data.ProtoLens.Field.field @"maybe'status"
+maybe'successful ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "maybe'successful" a) =>
+  Lens.Family2.LensLike' f s a
+maybe'successful = Data.ProtoLens.Field.field @"maybe'successful"
+runId ::
+  forall f s a.
+  (Prelude.Functor f, Data.ProtoLens.Field.HasField s "runId" a) =>
+  Lens.Family2.LensLike' f s a
+runId = Data.ProtoLens.Field.field @"runId"
+successful ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "successful" a) =>
+  Lens.Family2.LensLike' f s a
+successful = Data.ProtoLens.Field.field @"successful"
+usedInternalFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "usedInternalFlags" a) =>
+  Lens.Family2.LensLike' f s a
+usedInternalFlags = Data.ProtoLens.Field.field @"usedInternalFlags"
+vec'commands ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'commands" a) =>
+  Lens.Family2.LensLike' f s a
+vec'commands = Data.ProtoLens.Field.field @"vec'commands"
+vec'usedInternalFlags ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "vec'usedInternalFlags" a) =>
+  Lens.Family2.LensLike' f s a
+vec'usedInternalFlags
+  = Data.ProtoLens.Field.field @"vec'usedInternalFlags"
+versioningBehavior ::
+  forall f s a.
+  (Prelude.Functor f,
+   Data.ProtoLens.Field.HasField s "versioningBehavior" a) =>
+  Lens.Family2.LensLike' f s a
+versioningBehavior
+  = Data.ProtoLens.Field.field @"versioningBehavior"
diff --git a/temporal-api-protos.cabal b/temporal-api-protos.cabal
new file mode 100644
--- /dev/null
+++ b/temporal-api-protos.cabal
@@ -0,0 +1,145 @@
+cabal-version: 3.0
+
+-- This file has been generated from package.yaml by hpack version 0.36.1.
+--
+-- see: https://github.com/sol/hpack
+
+name:           temporal-api-protos
+version:        2025.10.1.0
+description:    Temporal is a durable execution system that transparently makes your code durable, fault-tolerant, and simple. These are low-level protocol buffer definitions for the Temporal API.
+author:         Ian Duncan
+maintainer:     temporal@mercury.com
+license:        BSD-3-Clause
+license-file:   LICENSE
+build-type:     Simple
+
+library
+  exposed-modules:
+      Proto.Dependencies.Gogoproto.Gogo
+      Proto.Dependencies.Gogoproto.Gogo_Fields
+      Proto.Health.V1.Health
+      Proto.Health.V1.Health_Fields
+      Proto.Rpc.Status
+      Proto.Rpc.Status_Fields
+      Proto.Temporal.Api.Activity.V1.Message
+      Proto.Temporal.Api.Activity.V1.Message_Fields
+      Proto.Temporal.Api.Batch.V1.Message
+      Proto.Temporal.Api.Batch.V1.Message_Fields
+      Proto.Temporal.Api.Command.V1.Message
+      Proto.Temporal.Api.Command.V1.Message_Fields
+      Proto.Temporal.Api.Common.V1.Message
+      Proto.Temporal.Api.Common.V1.Message_Fields
+      Proto.Temporal.Api.Deployment.V1.Message
+      Proto.Temporal.Api.Deployment.V1.Message_Fields
+      Proto.Temporal.Api.Enums.V1.BatchOperation
+      Proto.Temporal.Api.Enums.V1.BatchOperation_Fields
+      Proto.Temporal.Api.Enums.V1.CommandType
+      Proto.Temporal.Api.Enums.V1.CommandType_Fields
+      Proto.Temporal.Api.Enums.V1.Common
+      Proto.Temporal.Api.Enums.V1.Common_Fields
+      Proto.Temporal.Api.Enums.V1.Deployment
+      Proto.Temporal.Api.Enums.V1.Deployment_Fields
+      Proto.Temporal.Api.Enums.V1.EventType
+      Proto.Temporal.Api.Enums.V1.EventType_Fields
+      Proto.Temporal.Api.Enums.V1.FailedCause
+      Proto.Temporal.Api.Enums.V1.FailedCause_Fields
+      Proto.Temporal.Api.Enums.V1.Namespace
+      Proto.Temporal.Api.Enums.V1.Namespace_Fields
+      Proto.Temporal.Api.Enums.V1.Nexus
+      Proto.Temporal.Api.Enums.V1.Nexus_Fields
+      Proto.Temporal.Api.Enums.V1.Query
+      Proto.Temporal.Api.Enums.V1.Query_Fields
+      Proto.Temporal.Api.Enums.V1.Reset
+      Proto.Temporal.Api.Enums.V1.Reset_Fields
+      Proto.Temporal.Api.Enums.V1.Schedule
+      Proto.Temporal.Api.Enums.V1.Schedule_Fields
+      Proto.Temporal.Api.Enums.V1.TaskQueue
+      Proto.Temporal.Api.Enums.V1.TaskQueue_Fields
+      Proto.Temporal.Api.Enums.V1.Update
+      Proto.Temporal.Api.Enums.V1.Update_Fields
+      Proto.Temporal.Api.Enums.V1.Workflow
+      Proto.Temporal.Api.Enums.V1.Workflow_Fields
+      Proto.Temporal.Api.Errordetails.V1.Message
+      Proto.Temporal.Api.Errordetails.V1.Message_Fields
+      Proto.Temporal.Api.Export.V1.Message
+      Proto.Temporal.Api.Export.V1.Message_Fields
+      Proto.Temporal.Api.Failure.V1.Message
+      Proto.Temporal.Api.Failure.V1.Message_Fields
+      Proto.Temporal.Api.Filter.V1.Message
+      Proto.Temporal.Api.Filter.V1.Message_Fields
+      Proto.Temporal.Api.History.V1.Message
+      Proto.Temporal.Api.History.V1.Message_Fields
+      Proto.Temporal.Api.Namespace.V1.Message
+      Proto.Temporal.Api.Namespace.V1.Message_Fields
+      Proto.Temporal.Api.Nexus.V1.Message
+      Proto.Temporal.Api.Nexus.V1.Message_Fields
+      Proto.Temporal.Api.Operatorservice.V1.RequestResponse
+      Proto.Temporal.Api.Operatorservice.V1.RequestResponse_Fields
+      Proto.Temporal.Api.Operatorservice.V1.Service
+      Proto.Temporal.Api.Operatorservice.V1.Service_Fields
+      Proto.Temporal.Api.Protocol.V1.Message
+      Proto.Temporal.Api.Protocol.V1.Message_Fields
+      Proto.Temporal.Api.Query.V1.Message
+      Proto.Temporal.Api.Query.V1.Message_Fields
+      Proto.Temporal.Api.Replication.V1.Message
+      Proto.Temporal.Api.Replication.V1.Message_Fields
+      Proto.Temporal.Api.Rules.V1.Message
+      Proto.Temporal.Api.Rules.V1.Message_Fields
+      Proto.Temporal.Api.Schedule.V1.Message
+      Proto.Temporal.Api.Schedule.V1.Message_Fields
+      Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace
+      Proto.Temporal.Api.Sdk.V1.EnhancedStackTrace_Fields
+      Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata
+      Proto.Temporal.Api.Sdk.V1.TaskCompleteMetadata_Fields
+      Proto.Temporal.Api.Sdk.V1.UserMetadata
+      Proto.Temporal.Api.Sdk.V1.UserMetadata_Fields
+      Proto.Temporal.Api.Sdk.V1.WorkflowMetadata
+      Proto.Temporal.Api.Sdk.V1.WorkflowMetadata_Fields
+      Proto.Temporal.Api.Taskqueue.V1.Message
+      Proto.Temporal.Api.Taskqueue.V1.Message_Fields
+      Proto.Temporal.Api.Testservice.V1.RequestResponse
+      Proto.Temporal.Api.Testservice.V1.RequestResponse_Fields
+      Proto.Temporal.Api.Testservice.V1.Service
+      Proto.Temporal.Api.Testservice.V1.Service_Fields
+      Proto.Temporal.Api.Update.V1.Message
+      Proto.Temporal.Api.Update.V1.Message_Fields
+      Proto.Temporal.Api.Version.V1.Message
+      Proto.Temporal.Api.Version.V1.Message_Fields
+      Proto.Temporal.Api.Workflow.V1.Message
+      Proto.Temporal.Api.Workflow.V1.Message_Fields
+      Proto.Temporal.Api.Workflowservice.V1.RequestResponse
+      Proto.Temporal.Api.Workflowservice.V1.RequestResponse_Fields
+      Proto.Temporal.Api.Workflowservice.V1.Service
+      Proto.Temporal.Api.Workflowservice.V1.Service_Fields
+      Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult
+      Proto.Temporal.Sdk.Core.ActivityResult.ActivityResult_Fields
+      Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask
+      Proto.Temporal.Sdk.Core.ActivityTask.ActivityTask_Fields
+      Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow
+      Proto.Temporal.Sdk.Core.ChildWorkflow.ChildWorkflow_Fields
+      Proto.Temporal.Sdk.Core.Common.Common
+      Proto.Temporal.Sdk.Core.Common.Common_Fields
+      Proto.Temporal.Sdk.Core.CoreInterface
+      Proto.Temporal.Sdk.Core.CoreInterface_Fields
+      Proto.Temporal.Sdk.Core.ExternalData.ExternalData
+      Proto.Temporal.Sdk.Core.ExternalData.ExternalData_Fields
+      Proto.Temporal.Sdk.Core.Nexus.Nexus
+      Proto.Temporal.Sdk.Core.Nexus.Nexus_Fields
+      Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation
+      Proto.Temporal.Sdk.Core.WorkflowActivation.WorkflowActivation_Fields
+      Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands
+      Proto.Temporal.Sdk.Core.WorkflowCommands.WorkflowCommands_Fields
+      Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion
+      Proto.Temporal.Sdk.Core.WorkflowCompletion.WorkflowCompletion_Fields
+  other-modules:
+      Proto.Google.Api.Annotations
+      Proto.Google.Api.Annotations_Fields
+      Proto.Google.Api.Http
+      Proto.Google.Api.Http_Fields
+  hs-source-dirs:
+      src
+  build-depends:
+      base >=4.14 && <5
+    , proto-lens-protobuf-types
+    , proto-lens-runtime
+  default-language: Haskell2010
